/*
Theme Name: Golobet
Theme URI: https://golobet.one/
Author: Golobet Editorial
Description: Custom theme for Golobet casino affiliate. Dark navy + gold, left sidebar nav, theatrical hero with mascot, no Google CDN fonts.
Version: 1.0.1779169924
Text Domain: golobet
*/

:root {
    --bg-deep:      #0F1543;
    --bg-surface:   #1A1F5C;
    --bg-card:      #232966;
    --bg-card-hi:   #2D3478;
    --gold:         #E6B450;
    --gold-deep:    #B8862E;
    --gold-soft:    #F4DC8F;
    --green-cta:    #3DAA4E;
    --green-hover:  #4DC563;
    --red-accent:   #7A1F2B;
    --red-hover:    #963244;
    --text-main:    #F4EBC8;
    --text-muted:   #9CA3D8;
    --text-dim:     #6E76B5;
    --border-gold:  rgba(230, 180, 80, 0.35);
    --border-gold-strong: rgba(230, 180, 80, 0.7);
    --shadow-glow:  0 0 22px rgba(230, 180, 80, 0.18);
    --shadow-card:  0 4px 16px rgba(0, 0, 0, 0.35);

    --font-display: 'Arial Narrow', 'Helvetica Neue Condensed', 'Roboto Condensed', sans-serif;
    --font-body:    system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --sidebar-w: 248px;
    --topbar-h:  64px;
    --container-max: 1280px;
    --radius:    16px;
    --radius-sm: 8px;
}

/* Fonts: используем системный стек, без external загрузок */

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-main);
    background: var(--bg-deep);
    background-image:
        radial-gradient(ellipse at top, rgba(46, 28, 88, 0.5) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(230, 180, 80, 0.06) 0%, transparent 50%);
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    color: var(--text-main);
    line-height: 1.15;
    margin: 0 0 .65em;
    font-weight: 400;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); color: var(--gold-soft); text-shadow: 0 2px 12px rgba(230,180,80,0.3); }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); color: var(--gold); margin-top: 2em; }
h3 { font-size: 1.3rem; color: var(--gold-soft); margin-top: 1.5em; }
h4 { font-size: 1.1rem; color: var(--text-main); }

p { margin: 0 0 1.05em; }
strong { color: var(--gold-soft); font-weight: 600; }
dfn { font-style: normal; color: var(--gold-soft); border-bottom: 1px dotted var(--gold-deep); font-weight: 500; }
small { color: var(--text-muted); font-size: 0.85rem; }

/* === LAYOUT === */
.site-wrap {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
}
@media (max-width: 1024px) {
    .site-wrap { grid-template-columns: 1fr; }
}

/* === SIDEBAR === */
.sidebar {
    background: var(--bg-surface);
    border-right: 1px solid var(--border-gold);
    padding: 18px 0 30px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.sidebar-logo {
    text-align: center;
    padding: 8px 16px 22px;
    border-bottom: 1px solid var(--border-gold);
    margin-bottom: 14px;
}
.sidebar-logo svg, .sidebar-logo img { max-width: 160px; margin: 0 auto; }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { margin: 2px 10px; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
}
.sidebar-nav a:hover, .sidebar-nav .current-menu-item > a, .sidebar-nav .current-page-item > a {
    background: var(--bg-card);
    color: var(--gold);
    text-decoration: none;
}
.sidebar-nav .nav-ico {
    width: 28px; height: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.sidebar-nav .nav-ico svg { width: 16px; height: 16px; }
.sidebar-lang {
    margin: 22px 14px 0;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1024px) {
    .sidebar { position: relative; height: auto; border-right: 0; border-bottom: 1px solid var(--border-gold); }
}

/* === TOP BAR === */
.topbar {
    height: var(--topbar-h);
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 24px;
    position: sticky; top: 0; z-index: 10;
}
.search-pill {
    background: rgba(244, 235, 200, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 8px 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
    min-width: 260px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .12s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-login {
    background: transparent;
    color: var(--text-main);
    border-color: var(--red-accent);
}
.btn-login:hover { border-color: var(--red-hover); background: rgba(122,31,43,0.18); color: var(--text-main); }
.btn-register, .btn-cta {
    background: var(--green-cta);
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(230,180,80,0.4) inset, var(--shadow-glow);
}
.btn-register:hover, .btn-cta:hover { background: var(--green-hover); box-shadow: 0 0 24px rgba(61,170,78,0.4), 0 0 0 1px var(--gold) inset; color: #fff; }
.btn-cta-large {
    padding: 16px 38px;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
}

/* === HERO === */
.hero {
    position: relative;
    padding: 38px 24px 56px;
    overflow: hidden;
}
.hero-frame {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(160deg, #1a1146 0%, #2b1056 60%, #1a1146 100%);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 1px var(--gold-deep) inset, 0 12px 36px rgba(0,0,0,.45), var(--shadow-glow);
    min-height: 340px;
}
.hero-frame::before, .hero-frame::after {
    content: "";
    position: absolute; top: 0; bottom: 0;
    width: 110px;
    background:
        repeating-linear-gradient(180deg, rgba(122,31,43,.9) 0 8px, rgba(150,40,60,.9) 8px 16px),
        radial-gradient(ellipse at 50% 0, rgba(0,0,0,.4), transparent 60%);
    z-index: 1;
    pointer-events: none;
}
.hero-frame::before { left: 0; border-right: 2px solid var(--gold); border-radius: var(--radius) 0 0 var(--radius); }
.hero-frame::after { right: 0; border-left: 2px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    z-index: 0;
}
.hero-body {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 36px 130px;
}
@media (max-width: 768px) {
    .hero-frame::before, .hero-frame::after { width: 44px; }
    .hero-body { grid-template-columns: 1fr; padding: 30px 56px; text-align: center; }
}
.hero-text h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 12px;
}
.hero-offer {
    background: rgba(15, 21, 67, 0.85);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    padding: 18px 28px;
    margin-bottom: 22px;
    text-align: center;
    box-shadow: 0 0 0 4px rgba(230,180,80,0.1), var(--shadow-glow);
}
.hero-offer-label {
    font-family: var(--font-display);
    color: var(--gold-soft);
    letter-spacing: 0.12em;
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.hero-offer-value {
    font-family: var(--font-display);
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    letter-spacing: 0.04em;
    text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.hero-mascot {
    max-width: 320px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.55));
}
.hero-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 14px;
    display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.hero-meta time { color: var(--gold-soft); }

/* === CONTAINER & SECTIONS === */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.content-area { padding: 30px 24px 50px; }
section { margin: 38px 0; }
section[id] { scroll-margin-top: 80px; }

/* === CARDS === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-card);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover {
    transform: translateY(-2px);
    border-color: var(--border-gold-strong);
    box-shadow: 0 8px 28px rgba(0,0,0,.4), var(--shadow-glow);
}
.card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Game tile (для каталогов) */
.game-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    position: relative;
}
.game-tile img { width: 100%; height: 100%; object-fit: cover; }
.game-tile-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* === TABLES === */
.semantic-table, table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-gold);
}
.semantic-table caption, table caption {
    caption-side: top;
    text-align: left;
    padding: 14px 18px;
    color: var(--gold-soft);
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    background: var(--bg-card-hi);
    border-bottom: 1px solid var(--border-gold);
}
.semantic-table th, table th {
    background: var(--bg-card-hi);
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.06em;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-gold);
}
.semantic-table td, table td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(230,180,80,0.12);
    color: var(--text-main);
}
.semantic-table tr:last-child td, table tr:last-child td { border-bottom: 0; }
.semantic-table tbody tr:nth-child(even), table tbody tr:nth-child(even) { background: rgba(255,255,255,0.018); }

/* === LISTS === */
ul, ol { padding-left: 22px; margin: 0 0 1.1em; }
li { margin: 0.35em 0; }
.feature-list { list-style: none; padding: 0; }
.feature-list li {
    padding: 10px 14px 10px 38px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    margin: 8px 0;
    position: relative;
}
.feature-list li::before {
    content: "✦";
    position: absolute;
    left: 14px; top: 10px;
    color: var(--gold);
}

/* === FAQ accordion === */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    margin: 10px 0;
    overflow: hidden;
}
.faq-item summary {
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    color: var(--gold-soft);
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    position: relative;
    padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--gold);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item-body { padding: 0 18px 16px; color: var(--text-main); }

/* === BREADCRUMB === */
.breadcrumb {
    padding: 18px 24px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: var(--container-max);
    margin: 0 auto;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 8px; color: var(--gold-deep); }
.breadcrumb .current { color: var(--gold-soft); }

/* === CHIPS / TAGS === */
.chip {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-card-hi);
    color: var(--gold-soft);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    font-size: 0.78rem;
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 2px 4px 2px 0;
}
.chip-hot     { background: rgba(230,80,40,0.18); color: #FFB088; border-color: rgba(230,80,40,0.5); }
.chip-new     { background: rgba(80,180,230,0.15); color: #95D5F0; border-color: rgba(80,180,230,0.5); }
.chip-exclusive { background: rgba(180,80,230,0.15); color: #D199F0; border-color: rgba(180,80,230,0.5); }

/* === RELATED PAGES === */
.related-pages {
    margin: 48px auto 24px;
    max-width: var(--container-max);
    padding: 0 24px;
}
.related-pages h2 { margin-bottom: 16px; }
.related-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.related-card {
    display: block;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    color: var(--text-main);
    transition: transform .15s, border-color .15s;
}
.related-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-gold-strong);
    text-decoration: none;
    color: var(--text-main);
}
.related-card h3 {
    margin: 0 0 8px;
    color: var(--gold-soft);
    font-size: 1.1rem;
}
.related-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* === FOOTER === */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-gold);
    padding: 40px 24px 26px;
    color: var(--text-muted);
}
.footer-cols {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}
@media (max-width: 900px) {
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
.footer-cols h4 {
    font-family: var(--font-display);
    color: var(--gold);
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    margin: 0 0 14px;
    text-transform: uppercase;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin: 6px 0; }
.footer-cols a { color: var(--text-muted); font-size: 0.92rem; }
.footer-cols a:hover { color: var(--gold-soft); }

.footer-payments {
    max-width: var(--container-max);
    margin: 30px auto 16px;
    padding: 18px 0;
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-payments img { height: 26px; opacity: 0.85; transition: opacity .15s; }
.footer-payments img:hover { opacity: 1; }

.footer-disclaimer {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.65;
    padding: 18px 0 0;
}
.footer-disclaimer .age18 {
    display: inline-block;
    background: var(--gold-deep);
    color: var(--bg-deep);
    border-radius: 50%;
    width: 30px; height: 30px;
    line-height: 30px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    margin-right: 12px;
    vertical-align: middle;
}

/* === UTIL === */
.text-center { text-align: center; }
.text-gold { color: var(--gold-soft); }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 22px; }

/* === PROSE — для контента из the_content() === */
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote {
    border-left: 3px solid var(--gold);
    background: var(--bg-card);
    padding: 14px 20px;
    margin: 18px 0;
    color: var(--text-muted);
    font-style: italic;
}
.prose .direct-answer {
    background: rgba(230, 180, 80, 0.06);
    border-left: 3px solid var(--gold);
    padding: 12px 18px;
    margin: 14px 0 22px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose .ctab {
    display: flex;
    justify-content: center;
    margin: 26px 0;
}

/* Skip link */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--gold); color: var(--bg-deep); padding: 8px 14px; z-index: 999; }


/* ============================================
   PREVIEW SECTIONS, SPOKE-HERO, RELATED PAGES
   ============================================ */

.preview-section {
    padding: 32px 0;
    background: var(--bg-deep);
}
.preview-section:nth-child(even) {
    background: var(--bg-surface);
}
.preview-section .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--gold);
    margin: 0 0 16px 0;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.section-cta {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.section-cta:hover { opacity: .8; }

/* Categories grid */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}
.cat-tile {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    border: 1px solid var(--border-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.cat-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: var(--gold);
}
.cat-tile-img {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-tile-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cat-tile-label { display: flex; flex-direction: column; gap: 2px; }
.cat-tile-label span { font-weight: 600; font-size: 14px; }
.cat-tile-label em {
    font-style: normal;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

/* Featured games grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}
.game-tile {
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    transition: transform .2s, box-shadow .2s;
    display: block;
    border: 1px solid rgba(230,180,80,0.1);
}
.game-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--gold);
}
.game-tile img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}
.game-tile-name {
    display: block;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* Live preview */
.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.live-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-surface);
    color: var(--text-main);
    text-decoration: none;
    transition: transform .25s;
    border: 1px solid rgba(230,180,80,0.15);
}
.live-tile:hover { transform: translateY(-3px); border-color: var(--gold); }
.live-tile img {
    width: 100%;
    aspect-ratio: 14/9;
    object-fit: cover;
    display: block;
}
.live-tile-meta {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.live-tile-meta strong { font-size: 15px; }
.live-tile-meta span {
    background: var(--gold);
    color: var(--bg-deep);
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

/* Jackpot preview */
.jackpot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.jackpot-tile {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-surface);
    color: var(--text-main);
    text-decoration: none;
    transition: transform .25s, border-color .25s;
    border: 1px solid var(--border-gold);
    display: block;
}
.jackpot-tile:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}
.jackpot-tile img {
    width: 100%;
    aspect-ratio: 17/10;
    object-fit: cover;
    display: block;
}
.jackpot-tile-name {
    display: block;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
}

/* VIP tiers grid */
.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.vip-tile {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid var(--border-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.vip-tile img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.vip-tile strong {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.vip-tile span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Bottom CTA */
.bottom-cta {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card-hi) 50%, var(--bg-surface) 100%);
    padding: 50px 0;
    text-align: center;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    margin: 32px 0 0 0;
}
.bottom-cta h2 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 32px;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}
.bottom-cta p {
    color: var(--text-main);
    font-size: 18px;
    margin: 0 0 20px 0;
}

/* Spoke hero */
.spoke-hero {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card-hi) 100%);
    padding: 40px 0;
    border-bottom: 2px solid var(--gold);
}
.spoke-hero-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}
.spoke-hero-text h1 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.spoke-hero-meta {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 20px 0;
}
.spoke-hero-meta time {
    color: var(--gold);
    font-weight: 600;
}
.spoke-hero-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--gold);
}

@media (max-width: 720px) {
    .spoke-hero-inner { grid-template-columns: 1fr; }
    .spoke-hero-img { order: -1; max-width: 320px; margin: 0 auto; }
}

.spoke-bottom-cta {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card-hi) 100%);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--gold);
    margin: 32px 0;
}
.spoke-bottom-cta h2 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 26px;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}
.spoke-bottom-cta p {
    color: var(--text-main);
    margin: 0 0 16px 0;
}

/* Related */
.related-pages {
    background: var(--bg-surface);
    padding: 32px 0;
}
.related-pages h2 {
    font-family: var(--font-display);
    color: var(--gold);
    text-align: center;
    text-transform: uppercase;
    margin: 0 auto 24px;
    max-width: var(--container-max);
    padding: 0 24px;
    font-size: 24px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}
.related-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid var(--border-gold);
    transition: border-color .2s, transform .2s;
    display: block;
}
.related-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}
.related-card h3 {
    color: var(--gold);
    font-size: 16px;
    margin: 0 0 8px 0;
    font-family: var(--font-display);
}
.related-card p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Content prose */
.content-area.prose section { margin: 28px 0; }
.content-area.prose h2 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 24px;
    margin: 32px 0 12px 0;
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.content-area.prose h3 {
    color: var(--gold);
    font-size: 18px;
    margin: 24px 0 10px 0;
    font-family: var(--font-display);
}
.content-area.prose .direct-answer {
    background: rgba(230,180,80,0.08);
    border-left: 4px solid var(--gold);
    padding: 14px 18px;
    margin: 12px 0 18px 0;
    border-radius: 4px;
}
.content-area.prose .direct-answer p { margin: 0; color: var(--text-main); }
.content-area.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.content-area.prose th,
.content-area.prose td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(230,180,80,0.15);
}
.content-area.prose thead th {
    background: rgba(230,180,80,0.15);
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.content-area.prose caption {
    color: var(--gold);
    font-style: italic;
    margin-bottom: 8px;
    text-align: left;
    caption-side: top;
}
.content-area.prose details.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin: 10px 0;
}
.content-area.prose details.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--gold);
    font-size: 16px;
    list-style: none;
}
.content-area.prose details.faq-item summary::-webkit-details-marker {
    display: none;
}
.content-area.prose details.faq-item summary::before {
    content: "+";
    margin-right: 10px;
    color: var(--gold);
    font-weight: 700;
}
.content-area.prose details.faq-item[open] summary::before {
    content: "−";
}
.content-area.prose details.faq-item[open] summary {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(230,180,80,0.2);
    padding-bottom: 8px;
}
.content-area.prose .faq-item-body p { margin: 6px 0; }
.content-area.prose .chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 6px;
}
.content-area.prose .chip-hot { background: var(--red-accent); color: #fff; }
.content-area.prose .chip-new { background: var(--green-cta); color: #fff; }
.content-area.prose .chip-exclusive { background: var(--gold); color: var(--bg-deep); }
.content-area.prose dfn {
    font-style: normal;
    color: var(--gold);
    font-weight: 600;
    border-bottom: 1px dashed rgba(230,180,80,0.4);
}
.content-area.prose .ctab { text-align: center; margin: 24px 0; }
.content-area.prose ul.feature-list {
    list-style: none;
    padding: 0;
}
.content-area.prose ul.feature-list li {
    padding: 8px 0 8px 32px;
    position: relative;
    border-bottom: 1px solid rgba(230,180,80,0.1);
}
.content-area.prose ul.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 8px;
    color: var(--gold);
    font-weight: 700;
}

/* Breadcrumb */
.breadcrumb {
    max-width: var(--container-max);
    margin: 16px auto;
    padding: 0 24px;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
}
.breadcrumb .sep { margin: 0 6px; opacity: 0.5; }
.breadcrumb .current { color: var(--text-main); }

/* ============================================
   MOBILE & TABLET RESPONSIVE — full rewrite
   Breakpoints: ≤1024 (tablet), ≤640 (phone)
   ============================================ */

/* Mobile topbar — hidden by default (desktop) */
.mobile-topbar { display: none; }
.mobile-drawer-backdrop { display: none; }
.mobile-drawer { display: none; }

/* ============ ≤1024 px — tablet & mobile ============ */
@media (max-width: 1024px) {

    /* Desktop sidebar hidden — replaced by drawer */
    .site-wrap > .sidebar { display: none; }
    .site-wrap { grid-template-columns: 1fr; }

    /* Desktop topbar hidden — replaced by mobile-topbar */
    .site-main-col > .topbar { display: none; }

    /* Mobile topbar visible */
    .mobile-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        height: 56px;
        padding: 0 14px;
        background: var(--bg-deep);
        border-bottom: 1px solid var(--border-gold);
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .mobile-burger {
        background: transparent;
        border: 1px solid var(--border-gold);
        border-radius: 8px;
        width: 40px;
        height: 40px;
        padding: 0;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }
    .mobile-burger span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--gold);
        border-radius: 2px;
    }
    .mobile-logo {
        display: flex;
        align-items: center;
    }
    .mobile-logo svg { width: 110px; height: auto; }

    .btn-register-mobile {
        font-size: 12px !important;
        padding: 8px 12px !important;
        height: auto !important;
        white-space: nowrap;
    }

    /* Drawer */
    .mobile-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 200;
        opacity: 0;
        transition: opacity .25s ease;
    }
    .mobile-drawer-backdrop.is-open { opacity: 1; }

    .mobile-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(86vw, 320px);
        background: var(--bg-surface);
        z-index: 300;
        padding: 16px 14px 24px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .28s ease;
        border-right: 1px solid var(--border-gold);
        box-shadow: 4px 0 24px rgba(0,0,0,0.6);
    }
    .mobile-drawer.is-open { transform: translateX(0); }
    .mobile-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border-gold);
        margin-bottom: 12px;
    }
    .mobile-drawer-logo svg { width: 130px; height: auto; }
    .mobile-drawer-close {
        background: transparent;
        border: 1px solid var(--border-gold);
        color: var(--gold);
        width: 36px;
        height: 36px;
        font-size: 18px;
        cursor: pointer;
        border-radius: 8px;
    }
    .mobile-drawer-nav {
        list-style: none;
        padding: 0;
        margin: 0 0 16px 0;
    }
    .mobile-drawer-nav li { margin: 4px 0; }
    .mobile-drawer-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        color: var(--text-main);
        font-family: var(--font-display);
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        border-radius: 8px;
        text-decoration: none;
        transition: background .15s, color .15s;
    }
    .mobile-drawer-nav a:hover,
    .mobile-drawer-nav .current-menu-item > a,
    .mobile-drawer-nav .current-page-item > a {
        background: var(--bg-card);
        color: var(--gold);
    }
    .mobile-drawer-nav .nav-ico {
        width: 28px;
        height: 28px;
        background: var(--bg-card);
        border: 1px solid var(--border-gold);
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--gold);
        flex-shrink: 0;
    }
    .mobile-drawer-nav .nav-ico svg { width: 16px; height: 16px; }

    .mobile-drawer-cta {
        display: flex;
        gap: 8px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border-gold);
    }
    .mobile-drawer-cta .btn {
        flex: 1;
        text-align: center;
        font-size: 13px;
        padding: 12px 8px;
        height: auto;
    }
    .mobile-drawer-lang {
        margin-top: 16px;
        padding: 10px 12px;
        background: var(--bg-card);
        border: 1px solid var(--border-gold);
        border-radius: 8px;
        color: var(--text-main);
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    body.drawer-open { overflow: hidden; }

    /* Hero */
    .hero { padding: 16px 12px; }
    .hero-frame { border-radius: 12px; }
    .hero-body {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 24px 18px;
    }
    .hero-text { width: 100%; }
    .hero-text h1 {
        font-size: 24px !important;
        line-height: 1.2;
        margin: 0 0 12px 0;
    }
    .hero-offer-label { font-size: 13px; }
    .hero-offer-value {
        font-size: 22px !important;
        line-height: 1.25;
    }
    .hero-mascot-wrap {
        order: -1;
        align-self: center;
    }
    .hero-mascot {
        width: 200px !important;
        height: 200px !important;
    }
    .hero-meta {
        font-size: 12px;
        flex-wrap: wrap;
    }
    .hero-meta span { display: block; margin-top: 4px; }

    /* Preview sections — tighter on mobile */
    .preview-section { padding: 24px 0; }
    .preview-section .container { padding: 0 14px; }
    .section-title { font-size: 20px !important; }

    /* Categories — 3 per row */
    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cat-tile { padding: 12px 8px; }
    .cat-tile-img { width: 48px; height: 48px; }
    .cat-tile-label span { font-size: 12px; }
    .cat-tile-label em { font-size: 11px; }

    /* Featured games — 3 per row */
    .game-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .game-tile-name { font-size: 11px; padding: 6px 4px; }

    /* Live — 2 per row */
    .live-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .live-tile-meta { padding: 8px; }
    .live-tile-meta strong { font-size: 12px; }
    .live-tile-meta span { font-size: 10px; padding: 2px 6px; }

    /* Jackpot — 1 per row */
    .jackpot-grid { grid-template-columns: 1fr; gap: 12px; }

    /* VIP — 2 per row */
    .vip-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vip-tile { padding: 16px 10px; }
    .vip-tile img { width: 60px; height: 60px; }
    .vip-tile strong { font-size: 15px; }
    .vip-tile span { font-size: 11px; }

    /* Spoke hero */
    .spoke-hero { padding: 20px 0; }
    .spoke-hero-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 14px;
    }
    .spoke-hero-text h1 {
        font-size: 22px !important;
        line-height: 1.25;
    }
    .spoke-hero-img {
        order: -1;
        max-width: 220px;
        margin: 0 auto;
    }

    /* Bottom CTA */
    .bottom-cta, .spoke-bottom-cta { padding: 32px 14px; }
    .bottom-cta h2, .spoke-bottom-cta h2 { font-size: 22px; }
    .bottom-cta p, .spoke-bottom-cta p { font-size: 15px; }

    /* Content prose */
    .content-area.prose { padding: 0 14px; }
    .content-area.prose h2 { font-size: 19px; margin: 24px 0 10px; }
    .content-area.prose h3 { font-size: 16px; }
    .content-area.prose p, .content-area.prose li { font-size: 15px; line-height: 1.6; }
    .content-area.prose .direct-answer { padding: 12px 14px; }
    .content-area.prose details.faq-item { padding: 12px 14px; }
    .content-area.prose details.faq-item summary { font-size: 14px; }

    /* Tables scroll horizontally on mobile */
    .content-area.prose table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 13px;
    }
    .content-area.prose th,
    .content-area.prose td {
        padding: 8px 10px;
    }

    /* Footer */
    .site-footer { padding: 24px 14px 14px; }
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .footer-columns h3,
    .footer-col strong,
    .footer-col h3 { font-size: 13px; }
    .footer-col a, .footer-col li a { font-size: 13px; }

    /* Breadcrumb */
    .breadcrumb { padding: 0 14px; font-size: 12px; margin: 12px auto; }

    /* Related */
    .related-grid { grid-template-columns: 1fr; padding: 0 14px; }
    .related-card { padding: 16px; }
    .related-card h3 { font-size: 15px; }
    .related-card p { font-size: 13px; }
}

/* ============ ≤640 px — phone only refinements ============ */
@media (max-width: 640px) {
    /* Categories tighter — 2 per row, bigger tap targets */
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-tile { padding: 14px 10px; }
    .cat-tile-img { width: 56px; height: 56px; }
    .cat-tile-label span { font-size: 13px; }

    /* Games — 2 per row */
    .game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .game-tile-name { font-size: 12px; padding: 8px 6px; }

    /* Live — 1 per row */
    .live-grid { grid-template-columns: 1fr; }

    /* Footer — single column */
    .footer-columns { grid-template-columns: 1fr; gap: 14px; }
    .footer-payments {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .footer-payments img {
        width: 36px;
        height: auto;
    }

    /* Hero on very small screens */
    .hero-body { padding: 18px 14px; }
    .hero-text h1 { font-size: 21px !important; }
    .hero-offer-value { font-size: 19px !important; }
    .hero-mascot { width: 160px !important; height: 160px !important; }

    /* Bottom CTA tighter */
    .bottom-cta h2, .spoke-bottom-cta h2 { font-size: 19px; }
    .bottom-cta .btn, .spoke-bottom-cta .btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 20px;
    }
}

/* ============ Buttons — universal tap targets ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: transform .15s, box-shadow .15s, background .15s;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 14px;
    border: 0;
    cursor: pointer;
    line-height: 1;
}
.btn-cta {
    background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    color: var(--bg-deep);
    box-shadow: 0 4px 14px rgba(230,180,80,0.35);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,180,80,0.5); }
.btn-cta-large { padding: 14px 28px; font-size: 15px; }
.btn-login {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-gold);
}
.btn-login:hover { background: var(--bg-card); color: var(--gold); }
.btn-register {
    background: var(--green-cta);
    color: #fff;
    box-shadow: 0 3px 10px rgba(61,170,78,0.3);
}
.btn-register:hover { background: var(--green-hover); transform: translateY(-1px); }

/* === FIX: footer menu — hide nav icons + universal nav-ico safety === */
.footer-list .nav-ico,
.footer-list li > a > .nav-ico { display: none !important; }
.footer-list a {
    display: block;
    padding: 4px 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color .15s;
}
.footer-list a:hover { color: var(--gold-soft); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin: 6px 0; }

/* Universal safety net — any .nav-ico svg without explicit parent never exceeds 28px */
.nav-ico { display: inline-flex; flex-shrink: 0; }
.nav-ico svg { width: 16px; height: 16px; max-width: 16px; max-height: 16px; }

/* === FINAL MOBILE FIX — prevent horizontal scroll, fix hero padding === */
@media (max-width: 1024px) {
    /* Universal: no element exceeds viewport */
    html, body {
    }
    .site-wrap, .site-main-col, main#main {
        overflow-x: hidden;
    }
    img, video, iframe, svg {
        max-width: 100%;
        height: auto;
    }

    /* Hero — fix padding & curtains */
    .hero {
        padding: 12px 8px 16px !important;
        overflow: hidden;
    }
    .hero-frame {
        min-height: auto !important;
        border-width: 1px;
        margin: 0;
    }
    .hero-frame::before,
    .hero-frame::after {
        width: 20px !important;
        border-width: 1px !important;
    }
    .hero-body {
        grid-template-columns: 1fr !important;
        padding: 22px 32px !important;
        gap: 14px !important;
    }
    .hero-text h1 {
        font-size: 22px !important;
        line-height: 1.22;
        margin: 0 0 10px 0;
    }
    .hero-offer {
        margin-bottom: 12px;
    }
    .hero-offer-label { font-size: 12px; }
    .hero-offer-value {
        font-size: 19px !important;
        line-height: 1.2;
    }
    .hero-mascot-wrap {
        order: -1;
        align-self: center;
        margin: 0 auto;
    }
    .hero-mascot {
        width: 160px !important;
        height: 160px !important;
    }
    .hero-meta {
        font-size: 11px;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 10px;
    }
    .hero-meta span { display: inline; }

    /* Topbar safety — desktop topbar must NOT be visible */
    .site-main-col > .topbar {
        display: none !important;
    }
    .search-pill {
        min-width: 0 !important;
        display: none;
    }

    /* Preview sections — kill any wide gaps */
    .preview-section {
        padding: 20px 0 !important;
        overflow: hidden;
    }
    .preview-section .container {
        padding: 0 12px !important;
        max-width: 100% !important;
    }
    .section-head {
        flex-wrap: wrap;
        gap: 8px;
    }
    .section-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    .section-cta {
        font-size: 12px !important;
    }

    /* Grids — strictly 2 columns on mobile, no exceptions */
    .cat-grid,
    .game-grid,
    .live-grid,
    .vip-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .jackpot-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .cat-tile { padding: 12px 8px; }
    .cat-tile-img { width: 48px; height: 48px; }
    .cat-tile-img img { width: 48px; height: 48px; object-fit: contain; }
    .cat-tile-label span { font-size: 12px; line-height: 1.2; }
    .cat-tile-label em { font-size: 11px; }

    .game-tile img { aspect-ratio: 3/4; width: 100%; }
    .game-tile-name { font-size: 11px; padding: 6px 4px; }

    .live-tile img { aspect-ratio: 14/9; width: 100%; }

    .vip-tile { padding: 14px 8px; }
    .vip-tile img { width: 56px; height: 56px; }
    .vip-tile strong { font-size: 13px; }
    .vip-tile span { font-size: 10px; }

    /* Content — proper padding */
    .content-area.prose,
    article.hub .content-area,
    .container.prose {
        padding: 0 14px !important;
        max-width: 100% !important;
    }

    /* Tables horizontal scroll */
    .content-area.prose table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        font-size: 12px;
        max-width: 100%;
    }

    /* Footer payments — wrap properly */
    .footer-payments {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 8px !important;
    }
    .footer-payments img {
        width: 38px !important;
        height: auto !important;
    }
    .footer-cols {
        padding: 0 14px;
    }
    .footer-disclaimer {
        padding: 16px 14px 0;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Phones: even tighter */
    .hero-frame::before,
    .hero-frame::after { width: 14px !important; }
    .hero-body { padding: 18px 24px !important; }
    .hero-text h1 { font-size: 19px !important; }
    .hero-offer-value { font-size: 17px !important; }
    .hero-mascot { width: 140px !important; height: 140px !important; }

    /* On tiny screens, single column for category & games is better */
    .cat-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .game-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .live-grid { grid-template-columns: 1fr !important; }

    .section-title { font-size: 16px !important; }
}

/* === TABLES — proper scrollable wrapper === */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin: 18px 0;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(230,180,80,0.15);
}
.table-scroll table {
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    min-width: 100%;
    width: max-content;
}
@media (max-width: 1024px) {
    /* Override the bad mobile rule that made table display:block */
    .content-area.prose table {
        display: table !important;
        white-space: normal !important;
        font-size: 13px;
    }
    .content-area.prose th,
    .content-area.prose td {
        padding: 8px 10px;
        white-space: nowrap;
    }
    .table-scroll {
        margin: 12px 0;
    }
}

/* === SAFETY — drawer must be above everything === */
.mobile-drawer-backdrop { z-index: 9998 !important; }
.mobile-drawer { z-index: 9999 !important; }
.mobile-topbar { z-index: 100; }

/* === CRITICAL FIX: drawer must not block burger when closed === */
/* Default state when not open: invisible + non-clickable */
.mobile-drawer {
    visibility: hidden;
    pointer-events: none;
}
.mobile-drawer-backdrop {
    visibility: hidden;
    pointer-events: none;
}
/* When open: visible + clickable */
.mobile-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}
.mobile-drawer-backdrop.is-open {
    visibility: visible;
    pointer-events: auto;
}

/* Burger must be on top of any UI layer */
.mobile-topbar {
    z-index: 100;
    position: sticky;
    top: 0;
}
.mobile-burger {
    position: relative;
    z-index: 101;
}
