/* ============================================
   CasinoLab Casino - Stylesheet
   Comic Pop-Art + Science Lab aesthetic
   Mobile-first, dark base, neon accents
   ============================================ */

/* ============================================
   RESET & SAFETY NET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, video, iframe, embed, object, svg { max-width: 100%; height: auto; display: block; }
[class*="grid"] > *, [class*="flex"] > * { min-width: 0; }
pre, code, .code-block { max-width: 100%; overflow-x: auto; }
.table-wrapper { max-width: 100%; overflow-x: auto; min-width: 0; }
.table-wrapper:focus { outline: 3px solid var(--primary); outline-offset: 2px; }
p, li, td, th { overflow-wrap: break-word; }
input, textarea, select, button { font: inherit; max-width: 100%; }
section { overflow: clip; }
a { color: inherit; text-decoration: none; }

.skip-link {
    position: absolute; top: -100px; left: 12px; z-index: 9999;
    background: var(--primary); color: var(--primary-foreground);
    padding: 12px 18px; border: 3px solid var(--ink); font-weight: 800;
}
.skip-link:focus { top: 12px; }

/* ============================================
   TYPOGRAPHY
   Bangers for explosive headings, Inter Tight for body
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: "Bangers", "Inter Tight", sans-serif;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.05;
    margin: 0 0 0.4em;
    text-transform: uppercase;
    color: var(--foreground);
}
h1 { font-size: clamp(2.4rem, 7vw + 1rem, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw + 1rem, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2vw + 0.9rem, 2.25rem); line-height: 1.1; }
h4 { font-size: clamp(1.2rem, 1vw + 1rem, 1.6rem); line-height: 1.15; }
p { margin: 0 0 1.2em; }
strong { font-weight: 800; color: inherit; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }
a:not(.btn):not(.brand) { color: var(--primary); border-bottom: 2px solid transparent; transition: border-color .2s; }
a:not(.btn):not(.brand):hover { border-bottom-color: var(--primary); }

.text-stroke {
    -webkit-text-stroke: 2px var(--ink);
    paint-order: stroke fill;
    color: var(--primary);
}
.text-stroke-gold { -webkit-text-stroke: 2px var(--ink); color: var(--accent); paint-order: stroke fill; }
.text-stroke-white { -webkit-text-stroke: 2px var(--ink); color: #fff; paint-order: stroke fill; }

/* ============================================
   LAYOUT - Container, sections
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.section { padding: 64px 0; position: relative; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section-tight { padding: 40px 0; }
@media (min-width: 1024px) { .section-tight { padding: 64px 0; } }

.section-cream { background: var(--card-cream); color: var(--card-cream-fg); }
.section-cream h1, .section-cream h2, .section-cream h3, .section-cream h4 { color: var(--card-cream-fg); }
.section-cream p, .section-cream li { color: var(--card-cream-fg); }
.section-cream strong { color: var(--card-cream-fg); }
.section-cream a:not(.btn):not(.brand) { color: #0a2a72; border-bottom-color: transparent; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.section-cream a:not(.btn):not(.brand):hover { color: #1857c4; }
.section-dark { background: var(--background); }
.section-blue { background: var(--secondary); color: #fff; }
.section-blue h1, .section-blue h2, .section-blue h3 { color: #fff; }
.section-blue strong { color: #fff; }
.section-muted { background: var(--muted); }

.section-eyebrow {
    display: inline-block;
    background: var(--accent);
    color: var(--ink);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-comic-sm);
    padding: 6px 14px;
    font-family: "Bangers", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    transform: rotate(-2deg);
}

/* ============================================
   HALFTONE & COMIC EFFECTS
   ============================================ */
.halftone-bg {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(14,17,22,0.25) 1.2px, transparent 1.6px);
    background-size: 14px 14px;
    pointer-events: none;
    opacity: 0.55;
}
.halftone-bg-green {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(57,255,122,0.45) 1.4px, transparent 1.8px);
    background-size: 12px 12px;
    pointer-events: none;
}
.halftone-bg-light {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1.2px, transparent 1.6px);
    background-size: 16px 16px;
    pointer-events: none;
}

.speed-lines {
    position: absolute; inset: 0;
    background:
        repeating-linear-gradient(115deg,
            transparent 0 22px,
            rgba(255,255,255,0.05) 22px 24px);
    pointer-events: none;
    opacity: 0.5;
}

.comic-frame {
    border: 4px solid var(--ink);
    box-shadow: var(--shadow-comic);
    background: var(--card);
    position: relative;
}
.comic-frame-cream { background: var(--card-cream); color: var(--card-cream-fg); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Bangers", sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: 3px solid var(--ink);
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 14px 22px;
    font-size: 1.1rem;
    min-height: 48px;
    cursor: pointer;
    box-shadow: var(--shadow-comic-sm);
    transition: transform .15s ease, box-shadow .15s ease;
    line-height: 1;
    white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn-primary { background: var(--primary); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-secondary { background: #1857c4; color: #fff; }
.btn-outline {
    background: transparent; color: var(--foreground);
    border-color: var(--primary);
    box-shadow: 3px 3px 0 0 var(--primary);
}
.btn-outline:hover { box-shadow: 5px 5px 0 0 var(--primary); }
.btn-sm { padding: 10px 14px; font-size: 0.95rem; min-height: 40px; }
.btn-lg { padding: 16px 26px; font-size: 1.2rem; min-height: 56px; }
.btn-xl { padding: 20px 32px; font-size: 1.4rem; min-height: 64px; box-shadow: var(--shadow-comic); }
.btn-block { display: flex; width: 100%; }

/* ============================================
   HEADER - fixed, dark, neon underline
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--background);
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 4px 0 0 var(--ink), 0 10px 24px rgba(0,0,0,0.4);
}
.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
@media (min-width: 1024px) {
    .header-inner { padding: 0 32px; }
}
body { padding-top: var(--header-h); }

/* Brand / Logo */
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    flex-shrink: 0;
}
.brand-icon { display: inline-flex; }
.brand-icon svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: "Bangers", sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    color: var(--primary);
    -webkit-text-stroke: 1px var(--ink);
    paint-order: stroke fill;
}
.brand-sub {
    font-family: "Bangers", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--foreground);
    margin-top: 2px;
}
@media (min-width: 768px) {
    .brand-name { font-size: 1.75rem; }
    .brand-sub { font-size: 0.8rem; }
}

/* Footer brand - needs higher contrast on near-black footer */
.brand-footer .brand-name {
    color: var(--primary);
    -webkit-text-stroke: 0;
    paint-order: normal;
}

/* Mobile menu toggle (burger) */
.menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px;
    border: 3px solid var(--primary);
    background: var(--background);
    cursor: pointer;
    padding: 0; align-items: center;
    z-index: 1001;
    box-shadow: 3px 3px 0 0 var(--primary);
}
.menu-toggle span {
    display: block; width: 22px; height: 3px;
    background: var(--primary);
    transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Main nav - mobile default: drawer hidden */
.main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--background);
    border-top: 4px solid var(--primary);
    overflow-y: auto;
    z-index: 999;
    padding: 24px 20px 80px;
}
.main-nav.is-open { display: block; }

.nav-list {
    list-style: none; padding: 0; margin: 0 0 28px;
    display: flex; flex-direction: column; gap: 4px;
}
.nav-list a {
    display: flex; align-items: center;
    min-height: 56px;
    padding: 12px 16px;
    font-family: "Bangers", sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    color: var(--foreground);
    border: 3px solid transparent;
    text-transform: uppercase;
}
.nav-list a:hover, .nav-list a:focus {
    background: var(--muted);
    border-color: var(--primary);
    color: var(--primary);
}
.nav-cta { display: flex; flex-direction: column; gap: 12px; }
.nav-cta .btn { width: 100%; }

@media (min-width: 1024px) {
    .menu-toggle { display: none; }
    .main-nav {
        display: flex !important;
        position: static;
        background: transparent;
        border-top: none;
        padding: 0;
        flex: 1;
        align-items: center;
        justify-content: flex-end;
        gap: 24px;
        overflow: visible;
    }
    .nav-list {
        flex-direction: row; gap: 4px; margin: 0;
        align-items: center;
    }
    .nav-list a {
        min-height: 40px; padding: 8px 12px;
        font-size: 1.05rem; border-width: 0;
        border-bottom: 3px solid transparent;
    }
    .nav-list a:hover, .nav-list a:focus {
        background: transparent;
        color: var(--primary);
        border-bottom-color: var(--primary);
    }
    .nav-cta { flex-direction: row; gap: 10px; }
    .nav-cta .btn { width: auto; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #060810;
    color: var(--foreground);
    border-top: 6px solid var(--primary);
    padding: 56px 0 24px;
    margin-top: 64px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: 1fr 1fr; padding: 0 24px; }
}
@media (min-width: 1024px) {
    .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; padding: 0 32px; gap: 40px; }
}
.footer-brand-col .brand-name { font-size: 1.6rem; }
.footer-tagline { color: var(--muted-foreground); font-size: 0.95rem; margin-top: 12px; }
.age-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 60px; height: 60px;
    border: 4px solid var(--destructive);
    color: var(--destructive);
    font-family: "Bangers", sans-serif;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-top: 8px;
    box-shadow: 3px 3px 0 0 var(--ink);
}
.footer-h {
    font-family: "Bangers", sans-serif;
    font-size: 1.3rem;
    color: var(--primary);
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}
.footer-h-sub { margin-top: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}
.footer-links a:hover { color: var(--primary); }
.pay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
@media (min-width: 480px) { .pay-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .pay-grid { grid-template-columns: repeat(2, 1fr); } }
.pay-badge {
    display: flex; align-items: center; justify-content: center;
    background: var(--card);
    color: var(--foreground);
    border: 2px solid var(--primary);
    padding: 8px 10px;
    font-family: "Bangers", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-align: center;
    min-height: 40px;
}
.license-row { display: flex; flex-wrap: wrap; gap: 10px; }
.license-badge {
    flex: 1 1 100px;
    background: var(--card);
    border: 2px solid var(--accent);
    color: var(--foreground);
    padding: 10px 12px;
    font-family: "Bangers", sans-serif;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.2;
}
.license-badge small { font-family: "Inter Tight", sans-serif; font-size: 0.7rem; color: var(--muted-foreground); }
.license-rg { border-color: var(--secondary); }
.footer-bottom {
    max-width: var(--max-w);
    margin: 40px auto 0;
    padding: 24px 16px 0;
    border-top: 2px dashed var(--muted);
    text-align: center;
}
@media (min-width: 1024px) { .footer-bottom { padding: 24px 32px 0; } }
.rg-warn { color: var(--accent); font-size: 0.95rem; margin-bottom: 8px; }
.copyright { color: var(--muted-foreground); font-size: 0.85rem; margin: 0; }

/* ============================================
   HERO - Full-bleed comic scene
   ============================================ */
.hero {
    position: relative;
    overflow: clip;
    padding: 48px 0 56px;
    background: linear-gradient(135deg, #0e1116 0%, #142039 100%);
    border-bottom: 6px solid var(--ink);
}
@media (min-width: 1024px) { .hero { padding: 96px 0 112px; } }
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(57,255,122,0.15) 1.5px, transparent 2px);
    background-size: 18px 18px;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: repeating-linear-gradient(115deg, transparent 0 30px, rgba(255,255,255,0.04) 30px 32px);
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
@media (min-width: 900px) {
    .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 40px; }
}
.hero-title {
    font-size: clamp(2.4rem, 8vw + 0.5rem, 5.2rem);
    line-height: 1;
    margin-bottom: 16px;
    color: #fff;
}
.hero-title .accent { color: var(--primary); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.hero-amount {
    font-family: "Bangers", sans-serif;
    font-size: clamp(3.5rem, 14vw, 7.5rem);
    line-height: 0.9;
    color: var(--primary);
    -webkit-text-stroke: 3px var(--ink);
    paint-order: stroke fill;
    margin: 8px 0 16px;
    text-shadow: 0 0 30px rgba(57,255,122,0.4);
}
.hero-sub {
    font-size: 1.1rem;
    color: #d8dde6;
    margin-bottom: 24px;
    max-width: 540px;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-microcopy { font-size: 0.8rem; color: var(--muted-foreground); margin-top: 14px; }
.hero-illu {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 520px;
    margin: 0 auto;
}
.hero-illu img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(6px 8px 0 var(--ink)); }
.hero-trust {
    margin-top: 28px;
    display: flex; flex-wrap: wrap; gap: 8px 16px;
    align-items: center;
    color: var(--muted-foreground);
    font-size: 0.85rem;
}
.hero-trust strong { color: var(--primary); }

/* ============================================
   GAME CARD
   ============================================ */
.game-card {
    background: var(--card);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-comic-sm);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    overflow: hidden;
}
.game-card:hover {
    transform: translate(-3px, -4px) rotate(-1deg);
    box-shadow: 8px 9px 0 0 var(--ink);
}
.game-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #1a2233 0%, #0e1116 100%);
    overflow: hidden;
    border-bottom: 3px solid var(--ink);
}
.game-card-media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.game-card-media .halftone-bg { opacity: 0.4; z-index: 0; }
.game-card-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: "Bangers", sans-serif;
    font-size: 4rem;
    color: var(--primary);
    -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
    z-index: 1;
}
.game-card-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--accent);
    color: var(--ink);
    border: 2px solid var(--ink);
    padding: 4px 10px;
    font-family: "Bangers", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    z-index: 2;
    box-shadow: 2px 2px 0 0 var(--ink);
    transform: rotate(4deg);
}
.game-card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-card-title {
    font-family: "Bangers", sans-serif;
    font-size: 1.4rem;
    margin: 0;
    color: #f4f4f0;
    letter-spacing: 0.03em;
}
.section-cream .game-card-title,
.section-muted .game-card-title { color: #f4f4f0; }
.game-card-meta {
    display: flex; flex-wrap: wrap; gap: 6px;
    font-size: 0.78rem;
    color: var(--muted-foreground);
    margin-bottom: 6px;
}
.game-card-meta span {
    border: 2px solid var(--muted);
    padding: 3px 8px;
    font-weight: 600;
}
.meta-rtp { color: var(--primary) !important; border-color: var(--primary) !important; }
.meta-provider { color: var(--accent) !important; border-color: var(--accent) !important; }

/* Game grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
@media (min-width: 768px) { .game-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; } }
@media (min-width: 1024px) { .game-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; } }
.game-grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .game-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; } }

/* ============================================
   BONUS CARD
   ============================================ */
.bonus-card {
    background: var(--card-cream);
    color: var(--card-cream-fg);
    border: 4px solid var(--ink);
    box-shadow: var(--shadow-comic);
    padding: 24px 22px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.bonus-card:hover { transform: translate(-3px,-3px); box-shadow: 10px 11px 0 0 var(--ink); }
.bonus-card-corner {
    position: absolute;
    width: 140px; height: 140px;
    top: -40px; right: -40px;
    background-image: radial-gradient(circle, rgba(14,17,22,0.25) 1.4px, transparent 1.8px);
    background-size: 12px 12px;
    transform: rotate(15deg);
    pointer-events: none;
}
.bonus-card-illu {
    position: absolute;
    right: -10px; bottom: -10px;
    width: 130px; height: 130px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
}
.bonus-card-illu img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(4px 4px 0 var(--ink)); }
.bonus-card-amount {
    position: relative; z-index: 2;
    display: flex; align-items: baseline; gap: 8px;
    margin-bottom: 4px;
}
.amount-big {
    font-family: "Bangers", sans-serif;
    font-size: clamp(3.5rem, 11vw, 6rem);
    line-height: 0.9;
    color: var(--primary);
    -webkit-text-stroke: 3px var(--ink);
    paint-order: stroke fill;
    letter-spacing: 0.02em;
}
.bonus-card-gold .amount-big { color: var(--accent); }
.amount-label {
    font-family: "Bangers", sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    color: var(--ink);
}
.bonus-card-title {
    font-family: "Bangers", sans-serif;
    font-size: 1.6rem;
    margin: 0;
    color: var(--ink);
    position: relative; z-index: 2;
}
.bonus-card-desc { font-size: 0.95rem; margin: 0; position: relative; z-index: 2; max-width: 90%; }
.bonus-card-tags {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 6px;
    position: relative; z-index: 2;
}
.bonus-card-tags li {
    background: var(--ink); color: var(--primary);
    padding: 4px 10px;
    font-family: "Bangers", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin: 0;
}
.bonus-card-conds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 8px 0 4px;
    position: relative; z-index: 2;
}
.bonus-card-conds > div {
    border: 2px solid var(--ink);
    padding: 6px 10px;
    background: rgba(255,255,255,0.6);
}
.bonus-card-conds dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: #3a3a3a; }
.bonus-card-conds dd { margin: 0; font-family: "Bangers", sans-serif; font-size: 1.1rem; color: var(--ink); }
.bonus-card .btn { position: relative; z-index: 3; margin-top: auto; }

/* Bonus variants */
.bonus-card-gold { background: linear-gradient(135deg, #fff4d6 0%, #ffe7a1 100%); }
.bonus-card-blue { background: #0a2a72; color: #ffffff; }
.bonus-card-blue .bonus-card-title { color: #ffffff; }
.bonus-card-blue .bonus-card-desc { color: #ffffff; }
.bonus-card-blue .amount-label { color: #ffffff; }
.bonus-card-blue .amount-big { color: var(--primary); }
.bonus-card-blue .bonus-card-conds > div { background: #ffffff; border-color: var(--ink); }
.bonus-card-blue .bonus-card-conds dt { color: #1a1a1a; }
.bonus-card-blue .bonus-card-conds dd { color: var(--ink); }
.bonus-card-blue .amount-big { -webkit-text-stroke: 3px #ffffff; }
.bonus-card-dark { background: var(--card); color: var(--foreground); }
.bonus-card-dark .bonus-card-title { color: var(--foreground); }
.bonus-card-dark .bonus-card-desc { color: var(--foreground); }
.bonus-card-dark .amount-label { color: var(--foreground); }
.bonus-card-dark .amount-big { color: var(--primary); -webkit-text-stroke: 3px #ffffff; }
.bonus-card-dark .bonus-card-conds > div { background: rgba(255,255,255,0.08); border-color: var(--primary); }
.bonus-card-dark .bonus-card-conds dt { color: #d8dde6; }
.bonus-card-dark .bonus-card-conds dd { color: #ffffff; }

.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 700px) { .bonus-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; } }
@media (min-width: 1100px) { .bonus-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    overflow: clip;
    color: #fff;
    padding: 64px 0;
    border-top: 5px solid var(--ink);
    border-bottom: 5px solid var(--ink);
    background: var(--secondary);
}
@media (min-width: 1024px) { .cta-banner { padding: 112px 0; } }
.cta-banner-blue { background: linear-gradient(135deg, #1d6dff 0%, #0a2a72 100%); }
.cta-banner-dark { background: linear-gradient(135deg, #0e1116 0%, #1a2840 100%); }
.cta-banner-green { background: linear-gradient(135deg, #16a34a 0%, #064f24 100%); }
.cta-banner-gold { background: linear-gradient(135deg, #ffc107 0%, #b87a00 100%); color: var(--ink); }
.cta-banner-gold .cta-banner-title { color: var(--ink) !important; }
.cta-banner-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-banner-inner {
    position: relative; z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}
@media (min-width: 900px) {
    .cta-banner-inner { grid-template-columns: 1.4fr 1fr; padding: 0 32px; gap: 40px; }
}
.cta-banner-title {
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
    color: var(--primary);
    -webkit-text-stroke: 2px var(--ink);
    paint-order: stroke fill;
    margin: 0 0 12px;
    line-height: 1;
}
.cta-banner-sub {
    font-size: 1.05rem;
    color: #fff;
    margin: 0 0 20px;
    max-width: 560px;
}
.cta-banner-microcopy {
    margin-top: 12px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.78);
}
.cta-banner-gold .cta-banner-sub, .cta-banner-gold .cta-banner-microcopy { color: var(--ink); }
.cta-banner-illu {
    max-width: 360px;
    margin: 0 auto;
}
.cta-banner-illu img {
    width: 100%;
    filter: drop-shadow(6px 8px 0 var(--ink));
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-accordion { max-width: 900px; margin: 0 auto; }
.faq-heading { text-align: center; margin-bottom: 32px; }
.faq-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-item { margin: 0; }
.faq-item details {
    background: var(--card-cream);
    color: var(--card-cream-fg);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-comic-sm);
    transition: box-shadow .2s ease;
}
.faq-item details[open] {
    box-shadow: 6px 6px 0 0 var(--primary), 6px 6px 0 3px var(--ink);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    font-family: "Bangers", sans-serif;
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-icon {
    position: relative;
    width: 32px; height: 32px;
    border: 3px solid var(--ink);
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
.faq-icon span {
    position: absolute;
    background: var(--ink);
    transition: transform .25s ease;
}
.faq-icon span:nth-child(1) { width: 14px; height: 3px; }
.faq-icon span:nth-child(2) { width: 3px; height: 14px; }
.faq-item details[open] .faq-icon span:nth-child(2) { transform: scaleY(0); }
.faq-a {
    padding: 0 20px 20px;
    border-top: 2px solid var(--ink);
    margin-top: 4px;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
}
.faq-a p { color: var(--ink); }
.faq-a strong { color: var(--ink); }
.faq-a p:first-child { margin-top: 14px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--secondary); text-decoration: underline; }

/* ============================================
   PROVIDER LOGO ROW
   ============================================ */
.provider-row {
    position: relative;
    background: var(--card);
    border-top: 4px solid var(--ink);
    border-bottom: 4px solid var(--ink);
    padding: 40px 0;
}
.provider-row-h { text-align: center; color: var(--foreground); margin-bottom: 8px; }
.provider-row-sub { text-align: center; color: var(--muted-foreground); margin: 0 auto 28px; max-width: 600px; }
.provider-row-track {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 1024px) {
    .provider-row-track { flex-wrap: wrap; justify-content: center; overflow-x: visible; gap: 18px; padding: 0 32px; }
}
.provider-logo {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-width: 140px;
    background: var(--background);
    border: 3px solid var(--primary);
    box-shadow: 3px 3px 0 0 var(--ink);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: transform .2s, box-shadow .2s;
}
.provider-logo:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 0 var(--ink); }
.provider-logo-name {
    font-family: "Bangers", sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-align: center;
}
.provider-logo-kind {
    font-size: 0.7rem;
    color: var(--muted-foreground);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   USP / FEATURE GRID
   ============================================ */
.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) { .usp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; } }
@media (min-width: 1024px) { .usp-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; } }
.usp-card {
    background: var(--card-cream);
    color: var(--card-cream-fg);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-comic-sm);
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.usp-card:hover { transform: translate(-2px,-3px); box-shadow: 6px 7px 0 0 var(--ink); }
.usp-card-icon {
    width: 56px; height: 56px;
    background: var(--primary);
    border: 3px solid var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: "Bangers", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 12px;
    box-shadow: 3px 3px 0 0 var(--ink);
    color: var(--ink);
}
.usp-card h3 {
    font-size: 1.3rem; margin: 0 0 8px; color: var(--ink);
}
.usp-card p { font-size: 0.95rem; margin: 0; color: #333; }

/* ============================================
   STAT / KPI HIGHLIGHT
   ============================================ */
.stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; } }
.stat-highlight {
    background: var(--card);
    border: 3px solid var(--primary);
    padding: 18px 16px;
    text-align: center;
    box-shadow: 3px 3px 0 0 var(--ink);
}
.stat-num {
    font-family: "Bangers", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted-foreground);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.stat-source { display: block; font-size: 0.7rem; color: var(--muted-foreground); margin-top: 4px; }

/* ============================================
   CALLOUT / TLDR / PULLQUOTE
   ============================================ */
.callout {
    background: var(--card-cream);
    color: var(--card-cream-fg);
    border: 3px solid var(--ink);
    border-left: 8px solid var(--primary);
    box-shadow: var(--shadow-comic-sm);
    padding: 20px 22px;
    margin: 24px 0;
}
.callout-accent { border-left-color: var(--accent); }
.callout-warn { border-left-color: var(--destructive); }
.callout h3, .callout h4 { margin-top: 0; color: var(--ink); }
.callout p, .callout li { color: var(--card-cream-fg); }
.callout strong { color: var(--ink); }

.tldr {
    background: var(--primary);
    color: var(--ink);
    border: 4px solid var(--ink);
    box-shadow: var(--shadow-comic);
    padding: 22px 24px;
    margin: 24px 0;
}
.tldr h2, .tldr h3 { color: var(--ink); margin: 0 0 12px; font-size: 1.4rem; }
.tldr ul { margin: 0; padding-left: 1.3em; }
.tldr li { font-weight: 600; color: var(--ink); }
.tldr li strong { color: var(--ink); }
.tldr p, .tldr a { color: var(--ink); }

.pullquote {
    border-left: 8px solid var(--primary);
    background: var(--card);
    padding: 24px 24px 20px;
    margin: 32px 0;
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
    border-right: 3px solid var(--ink);
    box-shadow: var(--shadow-comic-sm);
}
.pullquote p {
    font-family: "Bangers", sans-serif;
    font-size: clamp(1.4rem, 2vw + 1rem, 2rem);
    line-height: 1.15;
    margin: 0 0 12px;
    color: #ffffff;
    letter-spacing: 0.02em;
}
.pullquote cite {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.section-cream .pullquote {
    background: var(--ink);
}
.section-cream .pullquote p { color: #ffffff; }
.section-cream .pullquote cite { color: #d8dde6; }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.table-wrapper {
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-comic-sm);
    background: var(--card-cream);
    color: var(--card-cream-fg);
    margin: 28px 0;
}
.table-wrapper:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.compare-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
}
.compare-table th, .compare-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid var(--ink);
    font-size: 0.95rem;
    vertical-align: top;
}
.compare-table thead th {
    background: var(--ink);
    color: var(--primary);
    font-family: "Bangers", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 3px solid var(--primary);
}
.compare-table tbody tr:nth-child(even) { background: rgba(14,17,22,0.06); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .recommended { background: rgba(57,255,122,0.18) !important; font-weight: 700; }
.compare-table .recommended td:first-child { border-left: 4px solid var(--primary); }

/* ============================================
   INTERNAL LINKS HUB
   ============================================ */
.hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 600px) { .hub-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; } }
@media (min-width: 1024px) { .hub-grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); } }
@media (min-width: 1024px) { .hub-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.hub-card {
    background: var(--card);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-comic-sm);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    color: var(--foreground);
}
.hub-card:hover { transform: translate(-2px,-3px) rotate(-0.5deg); box-shadow: 7px 8px 0 0 var(--primary); }
.hub-card h3 { color: var(--primary); margin: 0; font-size: 1.4rem; }
.hub-card p { font-size: 0.92rem; margin: 0; color: var(--muted-foreground); }
.hub-card-arrow {
    margin-top: 6px;
    font-family: "Bangers", sans-serif;
    color: var(--accent);
    letter-spacing: 0.06em;
}

/* ============================================
   PROSE - generic SEO text block
   ============================================ */
.prose {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}
.prose-wide { max-width: var(--max-w); }
.prose h2 { margin-top: 1.6em; margin-bottom: 0.5em; }
.prose h3 { margin-top: 1.4em; margin-bottom: 0.4em; font-size: 1.5rem; }
.prose h4 { margin-top: 1.2em; font-size: 1.2rem; color: var(--primary); }
.section-cream .prose h4 { color: #0a2a72; }
.prose ul li::marker { color: var(--primary); }
.section-cream .prose ul li::marker { color: #0a2a72; }
.prose blockquote {
    border-left: 5px solid var(--primary);
    margin: 20px 0;
    padding: 8px 18px;
    background: var(--muted);
    font-style: normal;
}
.section-cream .prose,
.section-cream .prose p,
.section-cream .prose li,
.section-cream .prose strong { color: var(--card-cream-fg); }

/* ============================================
   SPLIT SECTIONS (image+text)
   ============================================ */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; gap: 56px; }
    .split-reverse > :first-child { order: 2; }
}
.split-illu {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--card);
    border: 4px solid var(--ink);
    box-shadow: var(--shadow-comic);
    overflow: hidden;
}
.split-illu img { width: 100%; height: 100%; object-fit: cover; }
.split-illu .halftone-bg { z-index: 0; }
.split-illu img { position: relative; z-index: 1; }

/* ============================================
   STEPS / NUMBERED LIST
   ============================================ */
.steps {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    gap: 16px;
}
.steps li {
    background: var(--card-cream);
    color: var(--card-cream-fg);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-comic-sm);
    padding: 18px 20px 18px 70px;
    position: relative;
    counter-increment: step;
}
.steps { counter-reset: step; }
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 14px; top: 14px;
    width: 42px; height: 42px;
    background: var(--primary);
    border: 3px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: "Bangers", sans-serif;
    font-size: 1.5rem;
    color: var(--ink);
}
.steps li h4, .steps li h3 { margin: 0 0 4px; font-size: 1.15rem; color: var(--ink); }
.steps li p { margin: 0; font-size: 0.95rem; color: var(--card-cream-fg); }
.steps li strong { color: var(--ink); }

/* ============================================
   SOCIAL PROOF / TESTIMONIAL
   ============================================ */
.proof-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .proof-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; } }
.proof-card {
    background: var(--card);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-comic-sm);
    padding: 20px;
}
.proof-stars {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.proof-text { font-size: 0.95rem; margin: 0 0 10px; }
.proof-author { font-size: 0.85rem; color: var(--muted-foreground); }

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes bubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.bubble-anim { animation: bubble 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 32px; }
.mb-lg { margin-bottom: 32px; }
.gap-md { gap: 16px; }
.flex-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section-header { text-align: center; margin-bottom: 40px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-header p { color: var(--muted-foreground); font-size: 1.05rem; }
.section-header.section-header-cream p { color: #4a4a4a; }

/* ============================================
   FORMULA / REDIRECT PAGE
   ============================================ */
.redirect-stage {
    min-height: calc(100vh - var(--header-h) - 200px);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 60px 16px;
    position: relative;
}
.redirect-stage .halftone-bg { opacity: 0.4; }
.redirect-illu {
    width: 220px; height: 220px; margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}
.redirect-illu img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(6px 6px 0 var(--ink)); }
.redirect-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: var(--primary);
    -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
    margin-bottom: 14px;
    position: relative; z-index: 2;
}
.redirect-subtitle {
    font-size: clamp(1.2rem, 2vw + 0.6rem, 1.6rem);
    color: var(--accent);
    margin: 0 auto 14px;
    position: relative; z-index: 2;
    max-width: 560px;
}
.redirect-text { color: var(--muted-foreground); max-width: 520px; margin: 0 auto; position: relative; z-index: 2; }

/* ============================================
   THEME TOGGLE - Lab Night / Comic Paper
   ============================================ */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 3px solid var(--primary);
    background: var(--background);
    color: var(--primary);
    cursor: pointer;
    padding: 0;
    margin-right: 4px;
    box-shadow: 3px 3px 0 0 var(--primary);
    transition: transform .15s ease, box-shadow .15s ease;
    flex-shrink: 0;
}
.theme-toggle:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 0 var(--primary); }
.theme-toggle:active { transform: translate(1px,1px); box-shadow: 2px 2px 0 0 var(--primary); }
.theme-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.theme-toggle-icon { display: none; }
[data-theme="lab"] .theme-toggle-icon-sun { display: block; }
[data-theme="comic"] .theme-toggle-icon-moon { display: block; }
@media (min-width: 1024px) {
    .theme-toggle { width: 48px; height: 48px; }
}

/* Comic-paper light theme - flips surfaces to cream comic page */
[data-theme="comic"] {
    --background: #fdfbf3;
    --foreground: #0e1116;
    --card: #ffffff;
    --card-foreground: #0e1116;
    --muted: #ece7d5;
    --muted-foreground: #3a3a3a;
    --input: #fff8e1;
}
[data-theme="comic"] body { background: var(--background); color: var(--foreground); }
[data-theme="comic"] .site-header { background: #fff8e1; }
[data-theme="comic"] .site-header .brand-sub { color: var(--ink); }
[data-theme="comic"] .nav-list a { color: var(--ink); }
[data-theme="comic"] .nav-list a:hover, [data-theme="comic"] .nav-list a:focus { color: var(--ink); border-bottom-color: var(--ink); }
[data-theme="comic"] .menu-toggle { background: #fff8e1; }
[data-theme="comic"] .main-nav { background: #fdfbf3; }
[data-theme="comic"] .game-card { background: #ffffff; }
[data-theme="comic"] .game-card-title { color: var(--ink); }
[data-theme="comic"] .game-card-meta { color: #3a3a3a; }
[data-theme="comic"] .pay-badge, [data-theme="comic"] .license-badge { background: #fff8e1; color: var(--ink); }
[data-theme="comic"] .section-dark { background: #efe9d5; color: var(--ink); }
[data-theme="comic"] .section-dark h1, [data-theme="comic"] .section-dark h2, [data-theme="comic"] .section-dark h3, [data-theme="comic"] .section-dark h4 { color: var(--ink); }
[data-theme="comic"] .section-muted { background: #ece7d5; }