/* ============================================================
   7KBET Theme — styles.css
   Brand: deep navy #0A0E1A + gold #F5C518 + accent #FF6B00
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:        #0A0E1A;
    --surface:   #111827;
    --surface-2: #1a2235;
    --surface-3: #222d42;
    --gold:      #F5C518;
    --gold-2:    #e6b800;
    --orange:    #FF6B00;
    --text:      #E8EAF0;
    --muted:     #8892a4;
    --border:    rgba(245,197,24,0.15);
    --shadow:    0 8px 32px rgba(0,0,0,0.5);
    --radius:    12px;
    --radius-sm: 8px;
    --container: 1200px;
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ── Skip link ── */
.skip-link { position: absolute; top: -48px; left: 16px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 700; z-index: 9999; }
.skip-link:focus { top: 12px; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(10,14,26,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.topbar {
    background: rgba(245,197,24,0.08);
    border-bottom: 1px solid var(--border);
}
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 8px 0; font-size: 0.88rem; color: var(--muted);
}
.topbar-search { display: flex; gap: 8px; }
.topbar-search input {
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 20px; padding: 6px 16px; color: var(--text);
    font-size: 0.88rem; outline: none; width: 220px;
    transition: border-color .2s;
}
.topbar-search input:focus { border-color: var(--gold); }

.navbar { padding: 0; }
.nav-container {
    display: flex; align-items: center;
    justify-content: space-between; gap: 24px;
    padding: 14px 20px; max-width: var(--container); margin: 0 auto;
}
.logo img { height: 48px; width: auto; }
.logo-text { font-size: 1.6rem; font-weight: 900; color: var(--gold); letter-spacing: -0.5px; }

.nav-menu { display: flex; gap: 4px; list-style: none; }
.nav-menu a {
    padding: 8px 14px; border-radius: var(--radius-sm);
    font-size: 0.92rem; font-weight: 600; color: var(--muted);
    transition: color .2s, background .2s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); background: rgba(245,197,24,0.08); }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }

.btn-cta {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #000; font-weight: 800; font-size: 0.92rem;
    padding: 10px 22px; border-radius: 25px; white-space: nowrap;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(245,197,24,0.3);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(245,197,24,0.45); }

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 25px; font-weight: 700; cursor: pointer; transition: all .2s; border: none; font-family: var(--font); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--orange)); color: #000; padding: 14px 32px; font-size: 1rem; box-shadow: 0 4px 20px rgba(245,197,24,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,197,24,0.5); }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); padding: 12px 28px; font-size: 0.95rem; }
.btn-outline:hover { background: var(--gold); color: #000; }
.btn-small { padding: 8px 18px; font-size: 0.85rem; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(ellipse 900px 600px at 60% 0%, rgba(245,197,24,0.12) 0%, transparent 65%),
                radial-gradient(ellipse 600px 400px at 0% 100%, rgba(255,107,0,0.1) 0%, transparent 60%),
                var(--bg);
    padding: 80px 0 60px;
}
.hero::before {
    content: "7K"; position: absolute; right: -40px; top: -60px;
    font-size: 320px; font-weight: 900; color: rgba(245,197,24,0.03);
    line-height: 1; pointer-events: none; user-select: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,197,24,0.1); border: 1px solid rgba(245,197,24,0.3); border-radius: 20px; padding: 6px 16px; font-size: 0.82rem; color: var(--gold); font-weight: 700; margin-bottom: 20px; }
.hero h1 { font-size: 3rem; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero-desc { font-size: 1.1rem; color: var(--muted); margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-bonus-pill {
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 24px;
    display: flex; align-items: center; gap: 16px; margin-top: 32px;
}
.hero-bonus-pill .amount { font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.hero-bonus-pill .label { font-size: 0.85rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 20px; padding: 28px; box-shadow: var(--shadow);
}
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.hero-stat { background: var(--surface-2); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.hero-stat .num { font-size: 1.6rem; font-weight: 900; color: var(--gold); }
.hero-stat .lbl { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* ══════════════════════════════
   STATS BAR
══════════════════════════════ */
.stats-bar {
    background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.stats-bar-inner { display: flex; justify-content: space-around; align-items: center; gap: 20px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item .stat-num { font-size: 1.5rem; font-weight: 900; color: var(--gold); }
.stat-item .stat-lbl { font-size: 0.8rem; color: var(--muted); }

/* ══════════════════════════════
   SECTIONS
══════════════════════════════ */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.section-title h2 span { color: var(--gold); }
.section-title p { color: var(--muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ══════════════════════════════
   CARDS / GRID
══════════════════════════════ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245,197,24,0.35); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.card-body { padding: 24px; }
.card-thumb img { width: 100%; height: 180px; object-fit: cover; }

/* Casino / Brand card */
.casino-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.casino-logo { width: 64px; height: 64px; border-radius: var(--radius-sm); background: var(--surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.casino-logo img { width: 100%; height: 100%; object-fit: contain; }
.casino-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.casino-desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }

.pill { display: inline-block; background: rgba(245,197,24,0.12); border: 1px solid rgba(245,197,24,0.25); color: var(--gold); border-radius: 20px; padding: 3px 10px; font-size: 0.75rem; font-weight: 700; margin-bottom: 6px; }

.meta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.rating { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 700; }
.stars { color: var(--gold); font-size: 1rem; letter-spacing: -2px; }

/* Article card */
.article-thumb img { width: 100%; height: 180px; object-fit: cover; }
.kicker { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.article-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.article-excerpt { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.article-link { font-size: 0.88rem; font-weight: 700; color: var(--gold); }
.article-link:hover { color: var(--orange); }

/* Feature card */
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(245,197,24,0.15), rgba(255,107,0,0.1)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 0.88rem; color: var(--muted); }

/* ══════════════════════════════
   REVIEW TABLE
══════════════════════════════ */
.review-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.review-table th { background: var(--surface-2); color: var(--gold); font-weight: 700; padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.review-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.review-table tr:last-child td { border-bottom: none; }
.review-table tr:hover td { background: rgba(245,197,24,0.03); }

/* ══════════════════════════════
   FAQ
══════════════════════════════ */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-question {
    width: 100%; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px 20px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-size: 0.95rem; font-weight: 600; color: var(--text);
    text-align: left; transition: border-color .2s;
}
.faq-question:hover { border-color: var(--gold); }
.faq-icon { font-size: 1.2rem; color: var(--gold); flex-shrink: 0; transition: transform .25s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 16px; font-size: 0.92rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.faq-answer.open { display: block; }

/* ══════════════════════════════
   FRIENDLY LINKS
══════════════════════════════ */
.link-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.link-list a { background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; font-size: 0.85rem; color: var(--muted); transition: all .2s; }
.link-list a:hover { color: var(--gold); border-color: rgba(245,197,24,0.3); }

/* ══════════════════════════════
   ARTICLE / SHOW PAGE
══════════════════════════════ */
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.post-header { margin-bottom: 32px; }
.post-header h1 { font-size: 2.2rem; font-weight: 900; line-height: 1.25; margin-bottom: 16px; }
.post-meta { display: flex; align-items: center; gap: 16px; font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; }
.post-meta .author-link { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.post-meta .author-link img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.post-featured-img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; }
.post-content { font-size: 0.97rem; line-height: 1.8; }
.post-content h2 { font-size: 1.5rem; font-weight: 800; margin: 32px 0 14px; color: var(--text); }
.post-content h3 { font-size: 1.15rem; font-weight: 700; margin: 24px 0 10px; color: var(--gold); }
.post-content p { margin-bottom: 16px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 16px; }
.post-content li { margin-bottom: 6px; }
.post-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.post-content table th { background: var(--surface-2); color: var(--gold); padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.post-content table td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.post-content strong { color: var(--gold); font-weight: 700; }
.post-content a { color: var(--gold); text-decoration: underline; }

/* TOC */
.toc-box { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 32px; }
.toc-box h4 { font-size: 0.9rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.toc-box ol { padding-left: 20px; }
.toc-box li { margin-bottom: 6px; font-size: 0.9rem; }
.toc-box a { color: var(--muted); transition: color .2s; }
.toc-box a:hover { color: var(--gold); }

/* Prev/Next */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-nav-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; transition: border-color .2s; }
.post-nav-item:hover { border-color: rgba(245,197,24,0.35); }
.post-nav-item .nav-dir { font-size: 0.78rem; color: var(--muted); margin-bottom: 4px; }
.post-nav-item .nav-title { font-size: 0.9rem; font-weight: 600; color: var(--text); line-height: 1.4; }

/* Sidebar */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.sidebar-widget h3 { font-size: 0.9rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-cta { background: linear-gradient(135deg, rgba(245,197,24,0.12), rgba(255,107,0,0.08)); border-color: rgba(245,197,24,0.3); text-align: center; }
.sidebar-cta .bonus-amount { font-size: 2rem; font-weight: 900; color: var(--gold); }
.sidebar-cta p { font-size: 0.85rem; color: var(--muted); margin: 8px 0 16px; }

/* Related articles */
.related-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.related-item:last-child { border-bottom: none; }
.related-item img { width: 64px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.related-item .rel-title { font-size: 0.88rem; font-weight: 600; line-height: 1.4; }
.related-item .rel-title:hover { color: var(--gold); }

/* ══════════════════════════════
   BREADCRUMB
══════════════════════════════ */
.breadcrumb { padding: 14px 0; font-size: 0.83rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ══════════════════════════════
   AUTHOR BOX
══════════════════════════════ */
.author-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--gold); }
.author-box-name { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.author-box-bio { font-size: 0.88rem; color: var(--muted); }
.author-box-link { font-size: 0.85rem; color: var(--gold); font-weight: 600; margin-top: 8px; display: inline-block; }

/* ══════════════════════════════
   TAGS
══════════════════════════════ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 5px 14px; font-size: 0.82rem; color: var(--muted); transition: all .2s; }
.tag-cloud a:hover { color: var(--gold); border-color: rgba(245,197,24,0.3); background: rgba(245,197,24,0.06); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
    background: var(--surface); border-top: 1px solid var(--border);
    margin-top: 80px;
}
.footer-container {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; padding: 60px 20px 40px; max-width: var(--container); margin: 0 auto;
}
.footer-logo-text { font-size: 1.6rem; font-weight: 900; color: var(--gold); margin-bottom: 12px; }
.footer-desc { font-size: 0.88rem; color: var(--muted); max-width: 280px; line-height: 1.7; }
.footer-section h3 { font-size: 0.85rem; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
.footer-section ul { list-style: none; display: grid; gap: 10px; }
.footer-section a { font-size: 0.9rem; color: var(--muted); transition: color .2s; }
.footer-section a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 20px; max-width: var(--container); margin: 0 auto; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal { font-size: 0.82rem; color: var(--muted); }
.responsible { background: rgba(245,197,24,0.06); border: 1px solid rgba(245,197,24,0.15); border-radius: var(--radius-sm); padding: 8px 16px; font-size: 0.82rem; color: var(--muted); margin-top: 16px; max-width: var(--container); margin-left: auto; margin-right: auto; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .post-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 2rem; }
    .hero-visual { display: none; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px; }
    .nav-menu.open { display: flex; }
    .menu-toggle { display: flex; }
    .footer-container { grid-template-columns: 1fr; gap: 28px; }
    .post-nav { grid-template-columns: 1fr; }
    .stats-bar-inner { gap: 24px; }
}
@media (max-width: 480px) {
    .hero { padding: 48px 0 40px; }
    .hero h1 { font-size: 1.7rem; }
    .hero-actions { flex-direction: column; }
    .section { padding: 48px 0; }
    .section-title h2 { font-size: 1.6rem; }
}
