/* ============================================
   GOLDBET CASINO - NOIR-CINEMATIC DESIGN SYSTEM
   Berlin bei Nacht. Gold. Plum. Tinte.
   ============================================ */

/* ============================================
   DESIGN TOKENS - Light & Dark
   Dark is the primary visual mode for noir aesthetic.
   ============================================ */

:root {
    /* Light tokens - vintage parchment for fallback */
    --background: #f3eee2;
    --foreground: #18161f;
    --card: #fbf6e8;
    --card-foreground: #18161f;
    --popover: #fbf6e8;
    --popover-foreground: #18161f;
    --primary: #0f1530;
    --primary-foreground: #f5e6b8;
    --secondary: #e6dec6;
    --secondary-foreground: #18161f;
    --muted: #d6cfb8;
    --muted-foreground: #4a473e;
    --accent: #a07520;
    --accent-foreground: #0a0a0a;
    --plum: #6b3a73;
    --plum-foreground: #ffffff;
    --destructive: #a31a13;
    --destructive-foreground: #ffffff;
    --border: #c2bba5;
    --input: #e6dec6;
    --ring: #a07520;

    /* Spacing scale (8px base) */
    --space-2xs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-section: 56px;
    --space-section-lg: 96px;

    /* Radii */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;

    /* Layout */
    --content-max: 1240px;
    --header-h: 72px;

    /* Typography families */
    --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
    --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Shadows */
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow-gold: 0 0 28px rgba(233, 196, 106, 0.35);
    --shadow-glow-plum: 0 0 24px rgba(126, 64, 138, 0.35);

    /* Transitions */
    --ease-noir: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* DARK - primary noir palette */
.dark {
    --background: #070b18;
    --foreground: #f1e9d6;
    --card: #101831;
    --card-foreground: #f1e9d6;
    --popover: #101831;
    --popover-foreground: #f1e9d6;
    --primary: #1a2553;
    --primary-foreground: #f5e6b8;
    --secondary: #1a2238;
    --secondary-foreground: #f1e9d6;
    --muted: #243049;
    --muted-foreground: #b6bdd1;
    --accent: #e9c46a;
    --accent-foreground: #0a0e1c;
    --plum: #9c5db2;
    --plum-foreground: #0a0e1c;
    --destructive: #b91c1c;
    --destructive-foreground: #ffffff;
    --border: #2a3550;
    --input: #1a2238;
    --ring: #e9c46a;
}

/* Apply dark by default - noir aesthetic is the brand */
html { color-scheme: dark; }
html:not(.light) { --background: #070b18; --foreground: #f1e9d6; --card: #101831; --card-foreground: #f1e9d6; --popover: #101831; --popover-foreground: #f1e9d6; --primary: #1a2553; --primary-foreground: #f5e6b8; --secondary: #1a2238; --secondary-foreground: #f1e9d6; --muted: #243049; --muted-foreground: #b6bdd1; --accent: #e9c46a; --accent-foreground: #0a0e1c; --plum: #9c5db2; --plum-foreground: #0a0e1c; --destructive: #b91c1c; --destructive-foreground: #ffffff; --border: #2a3550; --input: #1a2238; --ring: #e9c46a; }

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
[class*="grid"] > *, [class*="flex"] > * { min-width: 0; }
pre, code, .code-block, [class*="code"] { max-width: 100%; overflow-x: auto; }
pre code, .code-block code { display: block; min-width: 0; }
.table-wrapper, [class*="table-"] { max-width: 100%; overflow-x: auto; }
p, li, td, th { overflow-wrap: break-word; }
input, textarea, select { max-width: 100%; }
section { overflow: clip; }

/* ============================================
   BASE - Reset, body, links, type
   ============================================ */
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(26, 37, 83, 0.45), transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(126, 64, 138, 0.18), transparent 60%),
        linear-gradient(180deg, #050811 0%, #070b18 60%, #04060e 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 12px 18px;
    z-index: 1100;
    font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

a { color: var(--accent); text-decoration: none; transition: color 200ms var(--ease-noir); }
a:hover { color: #f3d685; text-decoration: underline; text-decoration-color: rgba(233, 196, 106, 0.5); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--foreground);
    line-height: 1.2;
    margin: 0 0 var(--space-md);
    letter-spacing: -0.01em;
}

h1 { font-size: 30px; font-weight: 800; font-style: italic; }
h2 { font-size: 26px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 500; }
h4 { font-size: 18px; font-weight: 600; }

p { margin: 0 0 var(--space-lg); }
strong { color: var(--accent); font-weight: 600; }

::selection { background: var(--accent); color: var(--accent-foreground); }

@media (min-width: 768px) {
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    h3 { font-size: 23px; }
}

@media (min-width: 1024px) {
    h1 { font-size: 52px; }
    h2 { font-size: 38px; }
    h3 { font-size: 26px; }
}

/* ============================================
   LAYOUT - Wrappers, sections
   ============================================ */
.noir-wrap, .container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}
@media (min-width: 768px) { .noir-wrap, .container { padding: 0 var(--space-lg); } }
@media (min-width: 1024px) { .noir-wrap, .container { padding: 0 var(--space-xl); } }

.section {
    padding: var(--space-section) 0;
    position: relative;
}
@media (min-width: 1024px) { .section { padding: var(--space-section-lg) 0; } }

.section-tinted {
    background:
        linear-gradient(180deg, rgba(16, 24, 49, 0.6), rgba(7, 11, 24, 0.85)),
        repeating-linear-gradient(135deg, transparent 0 38px, rgba(0,0,0,0.18) 38px 40px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.section-title .eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

/* ============================================
   HEADER - Sticky noir bar
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 11, 24, 0.92);
    border-bottom: 1px solid var(--border);
    min-height: var(--header-h);
}

@media (min-width: 1024px) {
    .site-header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}

.header-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 12px var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}
@media (min-width: 1024px) { .header-inner { padding: 14px var(--space-xl); } }

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--foreground);
    flex-shrink: 0;
}
.site-brand:hover { text-decoration: none; }
.site-brand .logo {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a2553 0%, #070b18 100%);
    padding: 6px;
    border: 1px solid var(--accent);
    object-fit: contain;
}
.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.02em;
    color: var(--foreground);
}
.brand-text-accent { color: var(--accent); font-style: italic; }

.primary-nav {
    display: none;
}
@media (min-width: 1024px) {
    .primary-nav {
        display: flex;
        align-items: center;
        gap: var(--space-xl);
        flex: 1;
        justify-content: flex-end;
    }
    .nav-list {
        display: flex;
        gap: var(--space-lg);
        list-style: none;
        margin: 0;
        padding: 0;
        align-items: center;
    }
}

.nav-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.02em;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms var(--ease-noir);
}
.nav-link:hover { color: var(--accent); text-decoration: none; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 12px 10px;
    z-index: 1001;
    position: relative;
}
.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transition: transform 240ms var(--ease-noir), opacity 200ms var(--ease-noir);
    transform-origin: center;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
    .mobile-menu-toggle { display: none; }
}

/* Mobile drawer */
@media (max-width: 1023.98px) {
    .primary-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: #050811;
        border-top: 1px solid var(--border);
        z-index: 999;
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-xl) var(--space-lg);
        gap: var(--space-lg);
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 240ms var(--ease-noir), transform 240ms var(--ease-noir);
    }
    .primary-nav.is-open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .nav-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 8px;
        border-bottom: 1px solid var(--border);
        font-size: 18px;
    }
    .nav-cta-group {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }
    .nav-cta-group .btn { width: 100%; }
}

/* ============================================
   BUTTONS - Gold-filled, ghost, large
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 200ms var(--ease-noir), box-shadow 240ms var(--ease-noir), background 240ms var(--ease-noir);
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-gold {
    background: linear-gradient(135deg, #f3d685 0%, #e9c46a 45%, #b78a2f 100%);
    color: #0a0e1c;
    border-color: #b78a2f;
    box-shadow: 0 6px 18px rgba(183, 138, 47, 0.35);
}
.btn-gold::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.6) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 700ms var(--ease-noir);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(233, 196, 106, 0.45), 0 0 28px rgba(233, 196, 106, 0.3);
}
.btn-gold:hover::before { transform: translateX(120%); }

.btn-ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(233, 196, 106, 0.06);
}

.btn-plum {
    background: linear-gradient(135deg, #b372c7 0%, #7e408a 100%);
    color: #fff;
    border-color: #7e408a;
}
.btn-plum:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-plum); }

.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 16px; }

/* ============================================
   HERO - Cinematic intro with venetian blinds + rain
   ============================================ */
.noir-hero {
    position: relative;
    padding: 80px 0 64px;
    overflow: hidden;
    isolation: isolate;
}
@media (min-width: 1024px) {
    .noir-hero { padding: 120px 0 96px; }
}

.noir-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(115deg, transparent 0 56px, rgba(0,0,0,0.55) 56px 64px),
        radial-gradient(circle at 85% 20%, rgba(233, 196, 106, 0.28), transparent 50%),
        linear-gradient(180deg, #060914 0%, #0c1330 60%, #050811 100%);
    z-index: -2;
}
.noir-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(245, 230, 184, 0.5) 1px, transparent 2px),
        radial-gradient(circle at 22% 70%, rgba(245, 230, 184, 0.35) 1px, transparent 2px),
        radial-gradient(circle at 60% 42%, rgba(245, 230, 184, 0.3) 1px, transparent 2px),
        radial-gradient(circle at 78% 80%, rgba(245, 230, 184, 0.35) 1px, transparent 2px),
        radial-gradient(circle at 90% 30%, rgba(245, 230, 184, 0.4) 1px, transparent 2px);
    background-size: 280px 380px;
    opacity: 0.5;
    z-index: -1;
    animation: rainDrift 18s linear infinite;
}
@keyframes rainDrift {
    from { transform: translateY(0); }
    to { transform: translateY(380px); }
}

.noir-hero-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}
@media (min-width: 1024px) {
    .noir-hero-inner { padding: 0 var(--space-xl); grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero-eyebrow::before {
    content: "";
    display: inline-block;
    width: 32px; height: 1px;
    background: var(--accent);
}

.noir-hero h1 {
    font-size: 36px;
    font-weight: 800;
    font-style: italic;
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    color: var(--foreground);
    text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
@media (min-width: 768px) { .noir-hero h1 { font-size: 48px; } }
@media (min-width: 1024px) { .noir-hero h1 { font-size: 60px; } }

.noir-hero .hero-lead {
    font-size: 18px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-xl);
    max-width: 56ch;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-lg);
}
.hero-micro {
    font-size: 13px;
    color: var(--muted-foreground);
}
.hero-micro strong { color: var(--accent); }

.hero-bonus-card {
    background: linear-gradient(160deg, rgba(26, 37, 83, 0.85), rgba(16, 24, 49, 0.95));
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(233, 196, 106, 0.25);
    overflow: hidden;
}
.hero-bonus-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.hero-bonus-card .bonus-eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.hero-bonus-card .bonus-amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-sm);
}
.hero-bonus-card .bonus-tag {
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--foreground);
    margin-bottom: var(--space-lg);
}
.hero-bonus-card .promo-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 12px 18px;
    border: 1px dashed var(--accent);
    border-radius: var(--radius);
    background: rgba(233, 196, 106, 0.08);
    margin-bottom: var(--space-lg);
}
.hero-bonus-card .promo-code {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.12em;
}
.hero-bonus-card .promo-label {
    font-size: 12px;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* ============================================
   STAT HIGHLIGHT
   ============================================ */
.stat-highlight {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .stat-highlight { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .stat-highlight-row { grid-template-columns: repeat(4, 1fr); }
    .stat-highlight-three { grid-template-columns: repeat(3, 1fr); }
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: linear-gradient(160deg, rgba(16, 24, 49, 0.6), rgba(7, 11, 24, 0.4));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
}
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
@media (min-width: 1024px) { .stat-number { font-size: 64px; } }
.stat-suffix {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--accent);
    margin-left: 4px;
    vertical-align: top;
}
.stat-underline {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--accent);
    margin: 12px auto;
}
.stat-label {
    display: block;
    font-size: 15px;
    color: var(--foreground);
    font-weight: 500;
}
.stat-source {
    display: block;
    font-size: 13px;
    color: var(--muted-foreground);
    margin-top: 6px;
}

/* ============================================
   GAME CARD - Film reel styled
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}
@media (min-width: 640px) { .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .game-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.game-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    transition: transform 280ms var(--ease-noir), box-shadow 320ms var(--ease-noir), border-color 240ms var(--ease-noir);
    position: relative;
    min-width: 0;
}
.game-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent);
    box-shadow: var(--shadow-card), var(--shadow-glow-gold);
}
.game-card-featured {
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4), var(--shadow-glow-gold);
}

.game-card-reel {
    position: relative;
    padding: 8px 0;
    margin-bottom: var(--space-md);
}
.reel-perforations {
    display: block;
    height: 8px;
    background-image: radial-gradient(circle, rgba(0,0,0,0.7) 0 3px, transparent 3px);
    background-size: 14px 8px;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.7;
}
.reel-top { margin-bottom: 4px; }
.reel-bottom { margin-top: 4px; }

.game-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #1a2238, #070b18);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.game-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.game-card-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(233, 196, 106, 0.35), transparent 55%),
        linear-gradient(135deg, #1a2553 0%, #070b18 80%);
}
.placeholder-mark {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    color: var(--accent);
    font-style: italic;
    text-shadow: 0 4px 16px rgba(0,0,0,0.55);
}
.game-card-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}
.game-card-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.game-card-rtp {
    position: absolute;
    top: 10px; right: 10px;
    background: #4a1f5c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.06em;
}

.game-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--foreground);
    margin: 0 0 4px;
}
.game-card-provider {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 0 0 var(--space-md);
}
.game-card-cta {
    margin-top: auto;
    width: 100%;
}

/* ============================================
   PROVIDER LOGO WALL
   ============================================ */
.provider-wall {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(16, 24, 49, 0.45);
}
.provider-wall-caption {
    text-align: center;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--accent);
    margin: 0 0 var(--space-md);
}
@media (min-width: 1024px) { .provider-wall-caption { font-size: 26px; } }
.provider-wall-label {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl);
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}
@media (min-width: 768px) { .provider-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .provider-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0 var(--space-xl); } }

.provider-cell {
    min-height: 80px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(7, 11, 24, 0.5);
    transition: all 280ms var(--ease-noir);
    filter: grayscale(0.9) brightness(0.85);
}
.provider-cell:hover {
    filter: grayscale(0) brightness(1);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow-gold);
    transform: translateY(-3px);
}
.provider-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    text-align: center;
    letter-spacing: 0.02em;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.faq-heading {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-item {
    border-bottom: 1px solid var(--border);
    background: var(--card);
    position: relative;
    transition: background 200ms var(--ease-noir);
}
.faq-item:last-child { border-bottom: none; }
.faq-item[open] {
    background: rgba(26, 37, 83, 0.35);
}
.faq-item[open]::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--foreground);
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    min-height: 48px;
}
.faq-question::-webkit-details-marker { display: none; }
@media (min-width: 768px) { .faq-question { font-size: 20px; } }
.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    background: var(--accent);
    transition: transform 240ms var(--ease-noir);
}
.faq-icon::before {
    left: 0; right: 0; top: 11px;
    height: 2px;
}
.faq-icon::after {
    top: 0; bottom: 0; left: 11px;
    width: 2px;
}
.faq-item[open] .faq-icon::after { transform: scaleY(0); }

.faq-answer {
    padding: 0 24px 24px;
    color: var(--muted-foreground);
    font-size: 16px;
    line-height: 1.7;
}
.faq-answer p { margin-bottom: var(--space-md); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================================
   CTA BANNER - Full-bleed noir conversion
   ============================================ */
.cta-banner {
    position: relative;
    padding: var(--space-section) var(--space-md);
    text-align: center;
    isolation: isolate;
    background: linear-gradient(160deg, #0a1230 0%, #050811 70%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
@media (min-width: 1024px) { .cta-banner { padding: var(--space-section-lg) var(--space-xl); } }

.cta-banner-blinds {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, transparent 0 48px, rgba(0,0,0,0.5) 48px 54px);
    opacity: 0.6;
    z-index: -1;
}
.cta-banner-rain {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(245,230,184,0.4) 1px, transparent 2px),
        radial-gradient(circle at 38% 70%, rgba(245,230,184,0.3) 1px, transparent 2px),
        radial-gradient(circle at 65% 35%, rgba(245,230,184,0.35) 1px, transparent 2px),
        radial-gradient(circle at 88% 80%, rgba(245,230,184,0.4) 1px, transparent 2px);
    background-size: 320px 320px;
    opacity: 0.4;
    z-index: -1;
}
.cta-banner-beam {
    position: absolute;
    top: -10%;
    right: -15%;
    width: 60%;
    height: 130%;
    background: radial-gradient(ellipse at center, rgba(233, 196, 106, 0.28), transparent 70%);
    transform: rotate(-15deg);
    z-index: -1;
}
.cta-banner-inner {
    max-width: 760px;
    margin: 0 auto;
}
.cta-banner-headline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 30px;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: var(--space-md);
    line-height: 1.15;
}
@media (min-width: 768px) { .cta-banner-headline { font-size: 38px; } }
.cta-banner-subtext {
    font-size: 17px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-xl);
}
.cta-banner-btn { margin-bottom: var(--space-md); }
.cta-banner-micro {
    font-size: 13px;
    color: var(--muted-foreground);
    margin: 0;
}

/* ============================================
   CARDS - Generic info / feature
   ============================================ */
.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-lg);
    min-width: 0;
    transition: transform 240ms var(--ease-noir), border-color 240ms var(--ease-noir), box-shadow 240ms var(--ease-noir);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.info-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}
.info-card-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(233, 196, 106, 0.12);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    font-style: italic;
}
.info-card h3 { margin-bottom: var(--space-sm); }

/* ============================================
   GRIDS - Flexible columns
   ============================================ */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}
@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
}
@media (min-width: 1024px) { .split-2 { grid-template-columns: 1fr 1fr; gap: var(--space-3xl); } }

/* ============================================
   ENGAGEMENT - TL;DR, callout, pull-quote, table
   ============================================ */
.tldr-box {
    background: linear-gradient(160deg, rgba(26, 37, 83, 0.6), rgba(16, 24, 49, 0.3));
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: var(--space-lg);
    margin: 0 0 var(--space-xl);
}
.tldr-box .tldr-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}
.tldr-box p { margin-bottom: 0; color: var(--foreground); }

.callout {
    background: rgba(126, 64, 138, 0.12);
    border-left: 4px solid var(--plum);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius);
    margin: var(--space-lg) 0;
    color: var(--foreground);
}
.callout-accent { background: rgba(233, 196, 106, 0.1); border-left-color: var(--accent); }
.callout strong { color: var(--accent); }

.pull-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 24px;
    line-height: 1.4;
    color: var(--foreground);
    border-left: 4px solid var(--accent);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-xl) 0;
    position: relative;
}
.pull-quote::before {
    content: "“";
    font-family: var(--font-display);
    font-size: 64px;
    color: var(--accent);
    position: absolute;
    top: -10px; left: var(--space-md);
    line-height: 1;
    opacity: 0.4;
}
.pull-quote cite {
    display: block;
    font-style: normal;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: var(--space-sm);
}
@media (min-width: 768px) { .pull-quote { font-size: 28px; } }

.noir-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: var(--space-lg) 0;
    background: var(--card);
}
.noir-table-wrap:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.noir-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}
.noir-table th, .noir-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.noir-table thead th {
    background: rgba(26, 37, 83, 0.6);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 13px;
}
.noir-table tbody tr:nth-child(even) { background: rgba(16, 24, 49, 0.4); }
.noir-table tbody tr:hover { background: rgba(233, 196, 106, 0.06); }
.noir-table .recommended {
    color: var(--accent);
    font-weight: 600;
}

/* Trust badges row */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    margin: var(--space-lg) 0;
}
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(16, 24, 49, 0.6);
    font-size: 13px;
    color: var(--foreground);
    letter-spacing: 0.04em;
}
.trust-chip strong { color: var(--accent); }

/* Promo code block */
.promo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: linear-gradient(160deg, rgba(26, 37, 83, 0.7), rgba(7, 11, 24, 0.5));
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-glow-gold);
}
.promo-token {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--accent);
    padding: 12px 32px;
    border: 2px dashed var(--accent);
    border-radius: var(--radius);
    background: rgba(233, 196, 106, 0.08);
}

/* Tier card (VIP) */
.tier-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    transition: transform 240ms var(--ease-noir), border-color 240ms var(--ease-noir);
}
.tier-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.tier-card.tier-top { border-color: var(--plum); box-shadow: var(--shadow-glow-plum); }
.tier-card .tier-name {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 8px;
}
.tier-card.tier-top .tier-name { color: #d59ce8; }
.tier-card .tier-cashback {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--foreground);
    margin: var(--space-sm) 0;
}
.tier-card ul {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 0;
    text-align: left;
    font-size: 14px;
    color: var(--muted-foreground);
}
.tier-card ul li {
    padding: 6px 0 6px 22px;
    position: relative;
}
.tier-card ul li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Anchor card grid (homepage page anchors) */
.anchor-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--foreground);
    transition: all 240ms var(--ease-noir);
    height: 100%;
}
.anchor-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    text-decoration: none;
}
.anchor-card .anchor-num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 0.18em;
    margin-bottom: 8px;
}
.anchor-card h3 { margin-bottom: 8px; }
.anchor-card p { color: var(--muted-foreground); font-size: 15px; margin-bottom: var(--space-md); flex: 1; }
.anchor-card .anchor-arrow {
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.anchor-card:hover .anchor-arrow { letter-spacing: 0.18em; }

/* Storyboard steps */
.storyboard {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) { .storyboard { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.storyboard-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-lg);
    position: relative;
}
.storyboard-step .step-num {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    font-style: italic;
    margin-bottom: var(--space-sm);
}
.storyboard-step h3 { margin-bottom: 8px; }
.storyboard-step p { color: var(--muted-foreground); margin: 0; font-size: 15px; }

/* Tabs */
.tab-bar {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-xl);
    scrollbar-width: thin;
}
.tab-btn {
    flex-shrink: 0;
    padding: 14px 22px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--muted-foreground);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: color 200ms var(--ease-noir), border-color 200ms var(--ease-noir);
    white-space: nowrap;
    min-height: 48px;
}
.tab-btn:hover { color: var(--foreground); }
.tab-btn.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #04060e;
    border-top: 1px solid var(--border);
    padding: var(--space-section) 0 var(--space-lg);
    margin-top: var(--space-section);
    color: var(--muted-foreground);
}
.footer-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
        padding: 0 var(--space-xl);
        gap: var(--space-2xl);
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-sm);
}
.footer-brand .logo {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a2553, #070b18);
    padding: 6px;
    border: 1px solid var(--accent);
    object-fit: contain;
}
.footer-tag {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-lg);
    max-width: 36ch;
}

.license-badge {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    background: rgba(16, 24, 49, 0.5);
}
.license-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}
.license-name {
    display: block;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 16px;
    margin-bottom: 2px;
}
.license-number {
    display: block;
    font-size: 13px;
    color: var(--muted-foreground);
    font-family: var(--font-body);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--accent);
    margin-bottom: var(--space-md);
    letter-spacing: 0.04em;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 15px;
    transition: color 200ms var(--ease-noir);
}
.footer-links a:hover { color: var(--accent); text-decoration: none; }

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-lg);
}
.pay-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: rgba(16, 24, 49, 0.6);
    font-size: 12px;
    color: var(--foreground);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.responsible-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(7, 11, 24, 0.5);
}
.age-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--destructive);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border: 2px solid var(--accent);
}
.responsible-note {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted-foreground);
}

.footer-bottom {
    max-width: var(--content-max);
    margin: var(--space-xl) auto 0;
    padding: var(--space-lg) var(--space-md) 0;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted-foreground);
    text-align: center;
}
.footer-bottom p { margin: 0 0 8px; }
.footer-disclaimer { font-style: italic; opacity: 0.85; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms var(--ease-noir), transform 700ms var(--ease-noir);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1; transform: none; transition: none; }
    .noir-hero::after { animation: none; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-plum { color: var(--plum); }
.muted { color: var(--muted-foreground); }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }