/* ============================================
   BillionaireSpin Casino - Design System
   Epic Dark Fantasy · Mobile-First · German
   ============================================ */

/* ============================================
   RESET & OVERFLOW SAFETY
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    background-image:
        radial-gradient(ellipse 80% 40% at 20% 0%, rgba(34, 197, 94, 0.08), transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(245, 197, 66, 0.06), transparent 70%),
        linear-gradient(180deg, #0b0f0c 0%, #0a0d0a 100%);
    background-attachment: fixed;
    min-height: 100vh;
    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, [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; }
.table-wrapper { }
.table-wrapper[tabindex]:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

p, li, td, th { overflow-wrap: break-word; }

input, textarea, select { max-width: 100%; font: inherit; }

section { overflow: clip; position: relative; }

a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--secondary); }

ul, ol { padding-left: 1.2em; }

.skip-link {
    position: absolute; top: -100px; left: 0;
    background: var(--primary); color: var(--primary-foreground);
    padding: .6rem 1rem; z-index: 2000; font-weight: 600;
}
.skip-link:focus { top: 0; }

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

/* ============================================
   TYPOGRAPHY - Monumental heraldic headings
   .h1-hero, h1-h6, .drop-cap, .gold-gradient
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.01em;
    margin: 0 0 0.6em;
    color: var(--ivory);
}

h1, .h1 {
    font-size: clamp(1.85rem, 4.6vw + .6rem, 2.9rem);
    font-weight: 900;
    letter-spacing: 0.015em;
}
h2, .h2 {
    font-size: clamp(1.5rem, 3.2vw + .5rem, 2.25rem);
    font-weight: 700;
}
h3, .h3 { font-size: clamp(1.25rem, 1.6vw + .6rem, 1.55rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

.gold-gradient {
    background: linear-gradient(135deg, #f9d77a 0%, #f5c542 35%, #b8860b 70%, #f5c542 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(245, 197, 66, 0.18);
}

.emerald-gradient {
    background: linear-gradient(135deg, #4ade80, #22c55e 50%, #0f7a44);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--gold-1);
    font-weight: 600;
    margin-bottom: .8em;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--ivory); font-weight: 700; }

/* Inline link distinction (WCAG 1.4.1) - underline links inside text blocks */
.card p a,
.hero-copy p a,
.callout a,
.seo-text-inner p a,
.seo-text-inner li a,
.faq-answer a,
.responsible a {
    text-decoration: underline;
    text-decoration-color: rgba(34, 197, 94, 0.55);
    text-underline-offset: 3px;
}
.card p a:hover,
.hero-copy p a:hover,
.callout a:hover,
.seo-text-inner p a:hover,
.seo-text-inner li a:hover,
.faq-answer a:hover,
.responsible a:hover {
    text-decoration-color: var(--gold-1);
}

/* ============================================
   LAYOUT - Container, sections, rhythm
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
}

.section {
    padding-block: clamp(3.5rem, 6vw, 6rem);
    position: relative;
}

.section-sm { padding-block: clamp(2.5rem, 4vw, 4rem); }

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.section-header p { color: var(--muted-foreground); font-size: 1.02rem; }

/* Filigree decorative corners - reusable */
.filigree {
    position: absolute;
    width: 42px; height: 42px;
    pointer-events: none;
    background:
        linear-gradient(135deg, transparent 50%, var(--gold-2) 50%, var(--gold-1) 58%, transparent 62%);
    opacity: 0.5;
}
.filigree-tl { top: 10px; left: 10px; transform: rotate(0deg); border-top: 2px solid var(--gold-2); border-left: 2px solid var(--gold-2); background: transparent; border-radius: 8px 0 0 0; }
.filigree-tr { top: 10px; right: 10px; border-top: 2px solid var(--gold-2); border-right: 2px solid var(--gold-2); background: transparent; border-radius: 0 8px 0 0; }
.filigree-bl { bottom: 10px; left: 10px; border-bottom: 2px solid var(--gold-2); border-left: 2px solid var(--gold-2); background: transparent; border-radius: 0 0 0 8px; }
.filigree-br { bottom: 10px; right: 10px; border-bottom: 2px solid var(--gold-2); border-right: 2px solid var(--gold-2); background: transparent; border-radius: 0 0 8px 0; }

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-2) 20%, var(--gold-1) 50%, var(--gold-2) 80%, transparent);
    margin-block: clamp(1.5rem, 3vw, 3rem);
    opacity: .4;
}

/* ============================================
   BUTTONS - Primary pulsing emerald, ghost, gold
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 0.85rem 1.6rem;
    min-height: 48px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s var(--ease-out), box-shadow .3s var(--ease-out), background .2s var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #0f7a44 100%);
    color: var(--primary-foreground);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--primary-foreground);
}

.btn-ghost {
    background: transparent;
    color: var(--ivory);
    border-color: var(--gold-2);
}
.btn-ghost:hover {
    background: rgba(245, 197, 66, 0.1);
    color: var(--gold-1);
}

.btn-gold {
    background: linear-gradient(135deg, #f9d77a, #f5c542 50%, #b8860b);
    color: #1a1205;
    box-shadow: 0 6px 20px rgba(245, 197, 66, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); color: #1a1205; }

.btn-lg { min-height: 56px; padding: 1rem 2.2rem; font-size: 1.08rem; }
.btn-sm { min-height: 44px; padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

/* Buttons should never carry the inline-link underline */
.btn { text-decoration: none !important; }

/* Pulse animation - continuous 1.6s emerald aura */
.btn-pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: btn-pulse 1.8s var(--ease-out) infinite;
    pointer-events: none;
}
@keyframes btn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ============================================
   HEADER - Fixed translucent obsidian with golden under-border
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(11, 15, 12, 0.88);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
    .site-header { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-1), var(--gold-2), var(--gold-1), transparent);
    opacity: .7;
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: .7rem clamp(1rem, 3vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--ivory);
    text-decoration: none;
    flex-shrink: 0;
}
.brand:hover { color: var(--gold-1); }
.brand .logo {
    width: 44px; height: 44px;
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.3);
    border: 1px solid var(--border-gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #f9d77a, #f5c542);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--muted-foreground);
}

/* Main nav - desktop */
.main-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    gap: .3rem;
}
.nav-list a {
    display: block;
    padding: .55rem .85rem;
    color: var(--ivory);
    font-weight: 500;
    font-size: .95rem;
    border-radius: 8px;
    transition: all .2s var(--ease-out);
}
.nav-list a:hover, .nav-list a[aria-current="page"] {
    color: var(--gold-1);
    background: rgba(245, 197, 66, 0.08);
}
.nav-ctas { display: flex; gap: .6rem; }
.nav-ctas .btn { min-height: 44px; padding: .55rem 1.1rem; font-size: .9rem; }

@media (min-width: 1024px) {
    .main-nav { display: flex; }
    .burger { display: none !important; }
}

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

/* Mobile drawer */
@media (max-width: 1023.98px) {
    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0; bottom: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 1.5rem clamp(1rem, 4vw, 2rem) 2rem;
        background: var(--background);
        background-image:
            radial-gradient(ellipse 70% 30% at 50% 0%, rgba(34, 197, 94, 0.12), transparent 70%),
            linear-gradient(180deg, #0b0f0c 0%, #080b09 100%);
        border-top: 1px solid var(--border-gold);
        z-index: 999;
        overflow-y: auto;
    }
    .main-nav.is-open { display: flex; }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: .2rem;
        margin-bottom: 1.25rem;
    }
    .nav-list li { width: 100%; }
    .nav-list a {
        min-height: 52px;
        display: flex;
        align-items: center;
        padding: .9rem 1rem;
        font-family: var(--font-display);
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-ctas {
        flex-direction: column;
        width: 100%;
        gap: .75rem;
    }
    .nav-ctas .btn { min-height: 52px; width: 100%; }
}

/* Spacer for fixed header */
main { padding-top: var(--header-h); }

/* ============================================
   HERO SECTIONS - Edge-to-edge fantasy scenes
   ============================================ */
.hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(ellipse 70% 60% at 50% 30%, rgba(34, 197, 94, 0.14), transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(245, 197, 66, 0.08), transparent 70%);
    overflow: clip;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(245, 197, 66, 0.5), transparent),
        radial-gradient(1px 1px at 70% 60%, rgba(34, 197, 94, 0.5), transparent),
        radial-gradient(1px 1px at 40% 80%, rgba(245, 197, 66, 0.4), transparent),
        radial-gradient(1px 1px at 85% 20%, rgba(34, 197, 94, 0.4), transparent);
    background-size: 300px 300px;
    opacity: .5;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.1fr 1fr; }
    .hero-grid.hero-reverse { grid-template-columns: 1fr 1.1fr; }
    .hero-reverse .hero-art { order: -1; }
}

.hero-copy .hero-title {
    font-size: clamp(2rem, 5vw + .3rem, 3.25rem);
    line-height: 1.08;
    margin-bottom: .8rem;
}
.hero-copy .hero-sub {
    font-size: clamp(1rem, 1.2vw + .75rem, 1.2rem);
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    max-width: 60ch;
}
.hero-cta-row {
    display: flex; flex-wrap: wrap; gap: .8rem;
    margin-bottom: 1.3rem;
}
.hero-trust {
    display: flex; flex-wrap: wrap; gap: 1rem 1.4rem;
    font-size: .88rem; color: var(--muted-foreground);
}
.hero-trust span {
    display: inline-flex; align-items: center; gap: .4rem;
}
.hero-trust strong { color: var(--gold-1); }

.hero-art {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-art img {
    width: 100%;
    max-width: 520px;
    filter: drop-shadow(0 20px 40px rgba(34, 197, 94, 0.25)) drop-shadow(0 0 60px rgba(245, 197, 66, 0.15));
}
.hero-art::after {
    content: "";
    position: absolute;
    width: 70%; aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.22), transparent 65%);
    z-index: -1;
    animation: aura-pulse 4s ease-in-out infinite;
}
@keyframes aura-pulse {
    0%, 100% { transform: scale(1); opacity: .8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Parchment scroll headline */
.scroll-headline {
    position: relative;
    display: inline-block;
    padding: .8rem 2.2rem;
    background:
        linear-gradient(180deg, #2a2014 0%, #1a1408 100%);
    border: 1px solid var(--gold-3);
    border-radius: 14px;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.1), inset 0 0 20px rgba(245, 197, 66, 0.1);
}
.scroll-headline::before, .scroll-headline::after {
    content: "";
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 24px; height: 60%;
    background: linear-gradient(180deg, var(--gold-2), var(--gold-3));
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}
.scroll-headline::before { left: -12px; }
.scroll-headline::after { right: -12px; }

/* ============================================
   CARDS - Base card system
   ============================================ */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    position: relative;
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 197, 94, 0.12);
}

/* ============================================
   GAME CARD - slot/live tile with pulsing play CTA
   .game-grid, .game-card
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media (min-width: 640px) { .game-grid { gap: 1.25rem; } }
@media (min-width: 768px) { .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }

.game-card {
    background: linear-gradient(180deg, #141a15 0%, #0f1410 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform .35s var(--ease-out), border-color .3s var(--ease-out), box-shadow .35s var(--ease-out);
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.game-card:hover, .game-card:focus {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--gold-1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(34, 197, 94, 0.3), 0 0 0 1px rgba(245, 197, 66, 0.3);
    outline: none;
}

.game-card-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #0a0d0a;
}
.game-card-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease-out);
}
.game-card:hover .game-card-cover img { transform: scale(1.06); }

.game-card-glow {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 15, 12, 0.8));
    pointer-events: none;
}

.game-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: linear-gradient(135deg, var(--accent), #9a1532);
    color: var(--ivory);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: .3rem .6rem;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
}

.game-card-body {
    padding: .85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.game-provider {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-2);
    font-weight: 600;
    margin-bottom: .3rem;
}
.game-title {
    font-size: 1rem;
    margin: 0 0 .7rem;
    color: var(--ivory);
    line-height: 1.2;
    flex: 1;
}
.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .6rem;
    margin-top: auto;
}
.game-rtp {
    font-size: .75rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

/* ============================================
   BONUS CARD - Parchment-scroll with wax seal
   .bonus-grid, .bonus-card
   ============================================ */
.bonus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}
@media (min-width: 768px) { .bonus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { .bonus-grid.bonus-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.bonus-card {
    position: relative;
    background:
        linear-gradient(160deg, #1a1510 0%, #14120c 60%, #0f0d08 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
    overflow: hidden;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
    min-width: 0;
}
.bonus-card::before {
    content: "";
    position: absolute; inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent 0 18px, rgba(245, 197, 66, 0.02) 18px 19px);
    pointer-events: none;
}
.bonus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 197, 94, 0.2);
}
.bonus-card-highlight {
    background:
        linear-gradient(160deg, #1f2a20 0%, #15201a 60%, #0f1a13 100%);
    box-shadow: 0 0 0 1px var(--primary), 0 0 40px rgba(34, 197, 94, 0.25);
}

.bonus-seal {
    position: absolute;
    top: -18px; left: 50%;
    transform: translateX(-50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f9d77a, #b8860b 60%, #6b4a09);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.3rem;
    color: #1a1205;
    border: 2px solid #3a2708;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}
.seal-inner { line-height: 1; }

.bonus-tier {
    margin: .8rem 0 .3rem;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold-1);
    font-weight: 600;
}
.bonus-amount {
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1;
    margin: .4rem 0 .3rem;
    background: linear-gradient(135deg, #f9d77a 0%, #f5c542 40%, #b8860b 80%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: 0 0 40px rgba(245, 197, 66, 0.25);
    font-weight: 900;
}
.bonus-fs {
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 .8rem;
    font-size: 1.05rem;
}
.bonus-desc {
    color: var(--muted-foreground);
    font-size: .95rem;
    margin-bottom: 1.2rem;
    min-height: 3em;
}
.bonus-terms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin: 0 0 1.3rem;
    padding: .8rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.bonus-terms div { text-align: center; }
.bonus-terms dt {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted-foreground);
    margin-bottom: .2rem;
}
.bonus-terms dd {
    margin: 0;
    font-weight: 700;
    color: var(--ivory);
    font-size: .92rem;
}

/* ============================================
   STAT HIGHLIGHT - Citation-friendly metrics
   ============================================ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}

.stat-item {
    text-align: center;
    padding: 1.25rem 1rem;
    background: linear-gradient(180deg, rgba(20, 26, 21, 0.6), rgba(10, 13, 10, 0.6));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    position: relative;
    min-width: 0;
}
.stat-item::after {
    content: "";
    position: absolute;
    left: 20%; right: 20%; bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-1), transparent);
}
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #f9d77a, #f5c542 50%, #b8860b);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: .5rem;
}
.stat-label {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: .3rem;
}
.stat-source {
    display: block;
    font-size: .7rem;
    color: var(--muted-foreground);
    line-height: 1.4;
}

/* ============================================
   FAQ ACCORDION - details/summary parchment rows
   ============================================ */
.faq-accordion {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(180deg, var(--card) 0%, #10161a 100%);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold-2);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.faq-item[open] {
    border-left-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 197, 94, 0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ivory);
    list-style: none;
    min-height: 56px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-q-text { flex: 1; line-height: 1.3; }
.faq-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
    color: #1a1205;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform .3s var(--ease-expand), background .3s var(--ease-out);
}
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #4ade80, #0f7a44);
    color: var(--ivory);
}

.faq-answer {
    padding: 0 1.25rem 1.3rem 1.25rem;
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.65;
}
.faq-answer p { margin: 0 0 .8em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(34, 197, 94, 0.4); }
.faq-answer a:hover { color: var(--gold-1); text-decoration-color: var(--gold-1); }
.faq-answer strong { color: var(--ivory); }

/* ============================================
   PAYMENT LOGO STRIP
   ============================================ */
.payment-strip {
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(180deg, #10171e 0%, #0c1014 100%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
}
.payment-strip-head {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.payment-logos {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
}

.payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-width: 96px;
    min-height: 48px;
    padding: .6rem 1rem;
    background: rgba(20, 26, 21, 0.5);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all .25s var(--ease-out);
    cursor: default;
}
.payment-logo:hover {
    background: rgba(34, 197, 94, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
    transform: translateY(-2px);
}
.logo-glyph {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold-1);
    letter-spacing: 0.06em;
}
.logo-name {
    font-size: .85rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

/* ============================================
   SEO TEXT BLOCK - Long-form content with drop-cap
   ============================================ */
.seo-text {
    padding: clamp(2rem, 4vw, 3.5rem) 0;
}
.seo-text-inner {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ivory);
}
.seo-text-inner p {
    margin: 0 0 1.4em;
    color: #d8d2c4;
}
.seo-text-inner h2, .seo-text-inner h3 {
    margin-top: 1.8em;
    background: linear-gradient(135deg, #f9d77a, #f5c542 60%, #b8860b);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.2rem, 2vw + .4rem, 1.6rem);
}
.seo-text-inner h3 { font-size: clamp(1.1rem, 1.5vw + .4rem, 1.3rem); }
.seo-text-inner a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(34, 197, 94, 0.35); text-underline-offset: 3px; }
.seo-text-inner a:hover { color: var(--gold-1); text-decoration-color: var(--gold-1); }
.seo-text-inner ul, .seo-text-inner ol {
    margin: 0 0 1.4em;
    padding-left: 1.4em;
}
.seo-text-inner li { margin-bottom: .5em; color: #d8d2c4; }

.seo-text-inner.has-dropcap > p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 3.6em;
    float: left;
    line-height: .85;
    padding: .12em .12em 0 0;
    background: linear-gradient(135deg, #f9d77a, #f5c542 50%, #b8860b);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: 0 0 20px rgba(245, 197, 66, 0.25);
}

/* Pull quote - parchment scroll with emerald wax seal */
.pull-quote {
    position: relative;
    max-width: 680px;
    margin: 2.5rem auto;
    padding: 2rem 1.8rem 1.8rem;
    background: linear-gradient(160deg, #1e1a10 0%, #14100a 100%);
    border: 1px solid var(--gold-3);
    border-radius: var(--radius-lg);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
    color: var(--ivory);
}
.pull-quote::before {
    content: "";
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #4ade80, #0f7a44 60%, #064421);
    border: 2px solid #031a0d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.pull-quote cite {
    display: block;
    font-family: var(--font-body);
    font-size: .82rem;
    font-style: normal;
    color: var(--muted-foreground);
    margin-top: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Callout / highlight box */
.callout {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(245, 197, 66, 0.05));
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    margin: 1.8rem 0;
    color: var(--ivory);
}
.callout-title {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gold-1);
    margin-bottom: .4rem;
    font-size: 1.05rem;
}
.callout-warn {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.1), rgba(225, 29, 72, 0.04));
    border-left-color: var(--accent);
}
.callout-warn .callout-title { color: var(--accent); }

/* TL;DR summary */
.tldr {
    background: linear-gradient(160deg, #141a15 0%, #10161a 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    margin: 1.5rem 0 2.5rem;
    position: relative;
}
.tldr-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-1);
    margin-bottom: .6rem;
}
.tldr h2 { margin-top: 0; font-size: 1.25rem; }
.tldr ul { margin: 0; padding-left: 1.3rem; }
.tldr li { margin-bottom: .45rem; color: var(--ivory); }

/* ============================================
   CTA BANNER - Full-width registration driver
   ============================================ */
.cta-banner {
    position: relative;
    margin: clamp(2.5rem, 5vw, 4.5rem) 0;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 3vw, 2rem);
    background:
        radial-gradient(ellipse 60% 60% at 30% 50%, rgba(34, 197, 94, 0.2), transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 50%, rgba(245, 197, 66, 0.12), transparent 70%),
        linear-gradient(135deg, #0f1713 0%, #0a0d0a 100%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    overflow: clip;
}
.cta-banner::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(1px 1px at 15% 25%, rgba(245, 197, 66, 0.6), transparent 40%),
        radial-gradient(1px 1px at 75% 65%, rgba(34, 197, 94, 0.6), transparent 40%),
        radial-gradient(1px 1px at 45% 85%, rgba(245, 197, 66, 0.5), transparent 40%);
    background-size: 200px 200px;
    opacity: .6;
}

.cta-banner-inner {
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .cta-banner-inner {
        grid-template-columns: 240px 1fr;
        text-align: left;
        gap: 2.5rem;
    }
}

.cta-banner-mascot {
    display: flex; justify-content: center;
}
.cta-banner-mascot img {
    width: clamp(180px, 30vw, 280px);
    filter: drop-shadow(0 12px 30px rgba(34, 197, 94, 0.35));
}

.cta-banner-title {
    font-size: clamp(1.6rem, 3vw + .5rem, 2.4rem);
    margin-bottom: .6rem;
    background: linear-gradient(135deg, #f9d77a, #f5c542 50%, #b8860b);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-banner-sub {
    color: var(--ivory);
    font-size: 1.05rem;
    margin-bottom: 1.3rem;
    max-width: 56ch;
}
@media (min-width: 768px) {
    .cta-banner-sub { margin-bottom: 1.5rem; }
}
.cta-fineprint {
    margin-top: 1rem;
    font-size: .78rem;
    color: var(--muted-foreground);
    letter-spacing: 0.05em;
}

/* ============================================
   TABLES - Structured data presentation
   ============================================ */
.table-wrapper {
    margin: 1.5rem 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold);
    background: var(--card);
    overflow-x: auto;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
    min-width: 520px;
}
.data-table thead th {
    background: linear-gradient(180deg, #1a1a0d, #14100a);
    color: var(--gold-1);
    font-family: var(--font-display);
    font-weight: 700;
    text-align: left;
    padding: .9rem 1rem;
    border-bottom: 2px solid var(--gold-3);
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: 0.1em;
}
.data-table tbody td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--ivory);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(34, 197, 94, 0.05); }
.data-table .col-highlight { background: rgba(34, 197, 94, 0.08); color: var(--primary); font-weight: 600; }

/* ============================================
   TRUST / BADGES / SOCIAL PROOF
   ============================================ */
.badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 1.5rem 0;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    background: rgba(20, 26, 21, 0.6);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    font-size: .85rem;
    color: var(--ivory);
}
.trust-badge strong { color: var(--gold-1); }

.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--accent);
    color: var(--ivory);
    font-weight: 900;
    font-size: .8rem;
    border-radius: 50%;
    margin-right: .4rem;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold-1); }
.text-emerald { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
.mb-lg { margin-bottom: clamp(2rem, 4vw, 3rem); }

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }

.grid-3 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

/* ============================================
   ANIMATIONS - IntersectionObserver driven
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    transition-delay: var(--stagger, 0ms);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .animate-on-scroll { opacity: 1; transform: none; }
    .btn-pulse::after { display: none; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, #08100b 0%, #050807 100%);
    border-top: 1px solid var(--border-gold);
    margin-top: clamp(3rem, 6vw, 5rem);
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-2), var(--gold-1), var(--gold-2), transparent);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem) 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 3rem; } }

.footer-col h4, .footer-head {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--gold-1);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}
.footer-col ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.footer-col ul a {
    color: var(--muted-foreground);
    font-size: .93rem;
    transition: color .2s;
}
.footer-col ul a:hover { color: var(--gold-1); }

.brand-footer { margin-bottom: 1rem; }
.footer-tag {
    color: var(--muted-foreground);
    font-size: .9rem;
    max-width: 36ch;
    margin: 0;
}

.pay-chips {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: .5rem !important;
}
.pay-chips li {
    padding: .35rem .7rem;
    background: rgba(20, 26, 21, 0.5);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .78rem;
    color: var(--ivory);
    font-weight: 500;
}

.license-list { font-size: .88rem; }
.license-list li {
    display: flex;
    align-items: center;
    color: var(--muted-foreground);
}
.responsible {
    margin-top: 1rem;
    font-size: .82rem;
    color: var(--muted-foreground);
    line-height: 1.55;
}
.responsible a { color: var(--primary); }

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem clamp(1rem, 3vw, 2rem);
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted-foreground);
    font-size: .82rem;
}
.footer-bottom p { margin: 0; }

/* ============================================
   PROMO CODE PILL (used on VIP page)
   ============================================ */
.promo-code {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: .55rem .55rem .55rem 1rem;
    margin: 0 0 1.2rem;
    background: rgba(11, 15, 12, 0.7);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
}
.promo-code-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted-foreground);
    font-weight: 600;
}
.promo-code-value {
    display: inline-flex;
    align-items: center;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f9d77a, #f5c542 50%, #b8860b);
    color: #1a1205;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 14px rgba(245, 197, 66, 0.3);
}

/* 4-column bonus grid override for VIP tiers on large screens */
@media (min-width: 1100px) {
    .bonus-grid.bonus-grid-3[style*="--bonus-cols-lg: 4"] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ============================================
   REDIRECT STUB (/rich.html)
   ============================================ */
.redirect-stub {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    text-align: center;
}
.redirect-stub img {
    width: 120px; height: 120px;
    border-radius: 20px;
    border: 2px solid var(--gold-2);
    box-shadow: 0 0 60px rgba(34, 197, 94, 0.4);
    animation: aura-pulse 2.2s ease-in-out infinite;
}
.redirect-stub h1 {
    background: linear-gradient(135deg, #f9d77a, #f5c542 50%, #b8860b);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin: 0;
}
.spinner-dots {
    display: inline-flex; gap: .5rem;
    margin-top: .5rem;
}
.spinner-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--primary);
    animation: dot-pulse 1.4s ease-in-out infinite;
}
.spinner-dots span:nth-child(2) { animation-delay: .2s; }
.spinner-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dot-pulse {
    0%, 60%, 100% { opacity: .25; transform: scale(.8); }
    30% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 18px rgba(34, 197, 94, 0.8); }
}