/*
 * MILLIONER CASINO - Design System
 * Luxury dark-gold aesthetic. Single fixed dark theme (no toggle).
 */

:root {
    --background: #130e0b;
    --foreground: #f4e8d7;
    --card: #211812;
    --card-foreground: #f4e8d7;
    --popover: #17110e;
    --popover-foreground: #f4e8d7;
    --primary: #d4af37;
    --primary-foreground: #171008;
    --secondary: #33261b;
    --secondary-foreground: #f6ead6;
    --muted: #2b221a;
    --muted-foreground: #c8b39a;
    --accent: #8f1d2c;
    --accent-foreground: #fbf1e4;
    --destructive: #b91c1c;
    --destructive-foreground: #fff7ed;
    --border: #5a402c;
    --input: #1a1310;
    --ring: #e5c15a;

    --gold-grad: linear-gradient(135deg, #f5df8f 0%, #d4af37 45%, #b8892b 100%);

    --font-head: "Playfair Display", Georgia, serif;
    --font-body: "Manrope", system-ui, sans-serif;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 56px;
    --space-2xl: 96px;

    --maxw: 1240px;
    --radius: 14px;
    --header-h: 68px;
}

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }

[class*="grid"] > *, [class*="flex"] > *, [class*="duo"] > * { 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
   ============================================ */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 15% 10%, rgba(212,175,55,0.06), transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(212,175,55,0.05), transparent 45%);
    background-attachment: fixed;
}

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

h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 800; }
h2 { font-size: clamp(26px, 4.5vw, 38px); font-weight: 700; }
h3 { font-size: clamp(20px, 3vw, 26px); font-weight: 600; }
h4 { font-size: clamp(18px, 2.4vw, 20px); font-weight: 600; }

p { margin: 0 0 var(--space-md); }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.25em; }

strong { color: var(--foreground); }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--primary); color: var(--primary-foreground);
    padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.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;
}

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-sm); }
.container-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 var(--space-sm); }

.section { padding: var(--space-xl) 0; }
@media (min-width: 1024px) { .section { padding: var(--space-2xl) 0; } }
.section + .section { padding-top: 0; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--primary);
    margin-bottom: var(--space-xs);
}
.eyebrow--center { display: block; text-align: center; }

.section-title { margin-bottom: var(--space-md); }
.section-title--center { text-align: center; }

.gold-text {
    background: var(--gold-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--primary);
}

.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted-foreground); }
.measure { max-width: 62ch; }

/* ============================================
   SIGNATURE - Double gold hairline frame
   ============================================ */
.frame-double {
    position: relative;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: var(--space-md);
}
.frame-double::before {
    content: "";
    position: absolute; inset: 4px;
    border: 2px solid rgba(212,175,55,0.4);
    border-radius: calc(var(--radius) - 4px);
    pointer-events: none;
}
@media (min-width: 768px) { .frame-double { padding: var(--space-lg); } }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    min-height: 44px; padding: 12px 24px;
    font-family: var(--font-body); font-size: 16px; font-weight: 700;
    border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; text-decoration: none; text-align: center;
    transition: transform .25s ease-out, box-shadow .25s ease-out, background .25s ease-out, color .25s ease-out;
    position: relative; overflow: hidden;
}
.btn:hover { text-decoration: none; }

.btn--gold {
    background: var(--gold-grad);
    color: var(--primary-foreground);
    box-shadow: 0 6px 24px rgba(212,175,55,0.25);
}
.btn--gold::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg); transition: left .6s ease-out;
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212,175,55,0.4); }
.btn--gold:hover::after { left: 130%; }

.btn--ghost {
    background: transparent; color: var(--foreground);
    border-color: var(--primary);
}
.btn--ghost:hover { background: rgba(212,175,55,0.12); transform: translateY(-2px); }

.btn--lg { min-height: 52px; padding: 15px 34px; font-size: 17px; }

/* ============================================
   HEADER + NAV
   ============================================ */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(19,14,11,0.85);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
    .site-header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.site-header__inner {
    max-width: var(--maxw); margin: 0 auto;
    min-height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-sm); padding: 8px var(--space-sm);
}

.site-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--foreground); text-decoration: none; }
.site-brand:hover { text-decoration: none; }
.site-brand__crown { color: var(--primary); display: inline-flex; }
.site-brand__text { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.site-brand__accent { color: var(--primary); margin-left: 4px; }

.primary-nav { display: none; }

@media (min-width: 1024px) {
    .primary-nav {
        display: flex; align-items: center; gap: var(--space-lg);
        position: static; background: transparent; height: auto;
    }
    .primary-nav__list {
        display: flex; align-items: center; gap: var(--space-md);
        list-style: none; margin: 0; padding: 0;
    }
    .primary-nav__list a {
        color: var(--foreground); font-weight: 600; font-size: 16px;
        padding: 8px 4px; text-decoration: none;
    }
    .primary-nav__list a:hover { color: var(--primary); }
    .primary-nav__actions { display: flex; align-items: center; gap: 12px; }
    .header-cta-mobile { display: none; }
}

.header-cta-mobile { display: none; }
@media (min-width: 480px) and (max-width: 1023px) {
    .header-cta-mobile { display: inline-flex; margin-left: auto; }
}

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

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

/* Mobile drawer */
@media (max-width: 1023px) {
    .primary-nav {
        display: none;
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        z-index: 999;
        background: var(--background);
        flex-direction: column; align-items: stretch;
        padding: var(--space-md) var(--space-sm) var(--space-xl);
        overflow-y: auto;
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav__list {
        list-style: none; margin: 0 0 var(--space-md); padding: 0;
        display: flex; flex-direction: column; align-items: stretch;
    }
    .primary-nav__list a {
        display: flex; align-items: center; min-height: 48px;
        padding: 12px 8px; color: var(--foreground); font-weight: 600; font-size: 18px;
        border-bottom: 1px solid var(--border); text-decoration: none;
    }
    .primary-nav__list a:hover { color: var(--primary); }
    .primary-nav__actions {
        display: flex; flex-direction: column; gap: 12px; margin-top: var(--space-sm);
    }
    .primary-nav__actions .btn { width: 100%; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--popover); border-top: 1px solid var(--border);
}
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: var(--space-xl) var(--space-sm) var(--space-md); }
.site-footer__cols {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}
@media (min-width: 768px) { .site-footer__cols { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.footer-col__title {
    display: block; font-family: var(--font-head); font-size: 17px; font-weight: 700;
    color: var(--primary); margin-bottom: var(--space-sm);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted-foreground); font-size: 15px; text-decoration: none; }
.footer-col a:hover { color: var(--primary); }
.footer-col__plain li { color: var(--muted-foreground); font-size: 15px; }

.site-footer__payments {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    padding: var(--space-md) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.pay-chip {
    display: inline-flex; align-items: center; padding: 6px 14px;
    background: var(--secondary); color: var(--muted-foreground);
    border: 1px solid var(--border); border-radius: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}

.site-footer__legal {
    display: flex; align-items: flex-start; gap: var(--space-sm);
    padding: var(--space-md) 0;
}
.site-footer__legal p { font-size: 14px; color: var(--muted-foreground); margin: 0; max-width: 70ch; }

.age-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 8px;
    background: var(--accent); color: var(--accent-foreground);
    border-radius: 8px; font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.age-badge--sm { min-width: 32px; height: 28px; font-size: 13px; }

.site-footer__copyright { text-align: center; font-size: 14px; color: var(--muted-foreground); margin: var(--space-sm) 0 0; }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: clip;
}
@media (min-width: 1024px) { .hero { padding: var(--space-2xl) 0; } }
.hero__frame { position: relative; }
.hero__sweep {
    content: ""; position: absolute; inset: -10%;
    background: linear-gradient(115deg, transparent 40%, rgba(212,175,55,0.14) 50%, transparent 60%);
    pointer-events: none; z-index: 0;
}
.hero__grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr; gap: var(--space-lg); align-items: center;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-xl); } }
.hero__content { max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-md); }
.hero__media { position: relative; }
.hero__media img { display: block; width: 100%; border-radius: var(--radius); }

/* ============================================
   CARDS + GRIDS
   ============================================ */
.card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-md);
    min-width: 0; transition: transform .25s ease-out, box-shadow .25s ease-out, border-color .25s ease-out;
}
.card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }

.grid { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 768px) { .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* Game thumbnails - dense grid */
.thumb-grid {
    display: grid; gap: 12px;
    grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (min-width: 768px) { .thumb-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .thumb-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.thumb {
    position: relative; display: block; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border); background: var(--card);
    transition: transform .2s ease-out, border-color .2s ease-out;
}
.thumb img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.thumb__label {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 10px 12px; font-size: 14px; font-weight: 700; color: var(--foreground);
    background: linear-gradient(transparent, rgba(19,14,11,0.9));
}
.thumb:hover { transform: translateY(-4px); border-color: var(--primary); }

/* Bonus / invitation cards */
.bonus-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-md);
    min-width: 0; transition: transform .25s ease-out, box-shadow .25s ease-out;
}
@media (min-width: 768px) { .bonus-card { padding: 40px; } }
.bonus-card:hover { transform: scale(1.02); box-shadow: 0 0 40px rgba(212,175,55,0.25); }
.bonus-card__badge {
    display: inline-block; padding: 5px 14px; border-radius: 999px;
    background: var(--secondary); color: var(--primary); border: 1px solid var(--primary);
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
}
.bonus-card__amount { font-family: var(--font-head); font-size: clamp(28px, 5vw, 42px); font-weight: 800; }

/* Provider / logo grid */
.logo-grid {
    display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.logo-tile {
    display: flex; align-items: center; justify-content: center;
    min-height: 72px; padding: 16px;
    background: var(--card); border: 1px solid var(--border); border-radius: 12px;
    color: var(--muted-foreground); font-weight: 700; font-size: 15px; text-align: center;
    transition: color .2s ease-out, border-color .2s ease-out;
}
.logo-tile:hover { color: var(--primary); border-color: var(--primary); }
.logo-tile img { filter: grayscale(1) opacity(0.75); transition: filter .2s ease-out; }
.logo-tile:hover img { filter: none; }

/* ============================================
   ENGAGEMENT - Summary / Callout / Pull quote
   ============================================ */
.summary-box, .callout {
    background: var(--secondary); border-left: 4px solid var(--primary);
    border-radius: 10px; padding: var(--space-md); margin: 0 0 var(--space-md);
}
.summary-box__title, .callout__title {
    display: block; font-family: var(--font-body); font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px;
    color: var(--primary); margin-bottom: 8px;
}
.summary-box p:last-child, .callout p:last-child { margin-bottom: 0; }
.callout--warn { border-left-color: var(--accent); }
.callout--warn .callout__title { color: var(--accent-foreground); }

.pull-quote {
    font-family: var(--font-head); font-style: italic;
    font-size: clamp(22px, 3.5vw, 28px); line-height: 1.4; color: var(--foreground);
    border: none; margin: var(--space-lg) 0; padding: 0 0 0 var(--space-md);
    position: relative;
}
.pull-quote::before {
    content: "\201C"; position: absolute; left: -6px; top: -18px;
    font-size: 64px; color: var(--primary); line-height: 1; font-family: var(--font-head);
}
.pull-quote cite { display: block; font-style: normal; font-size: 16px; color: var(--muted-foreground); margin-top: 10px; }

/* ============================================
   STAT HIGHLIGHT (component)
   ============================================ */
.stat-highlight {
    position: relative;
    background: linear-gradient(180deg, #17110d, #0f0b08);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: var(--space-xl) 0;
}
.stat-highlight__particles {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(212,175,55,0.5) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(212,175,55,0.35) 1px, transparent 1.5px);
    background-size: 90px 90px, 140px 140px;
    background-position: 0 0, 50px 40px;
    opacity: 0.06;
}
.stat-highlight__grid {
    display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
    margin-top: var(--space-lg);
}
@media (min-width: 900px) { .stat-highlight__grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat-cell {
    text-align: center; padding: var(--space-md) var(--space-sm);
    border-bottom: 1px solid rgba(212,175,55,0.2);
}
.stat-cell:nth-child(odd) { border-right: 1px solid rgba(212,175,55,0.2); }
@media (min-width: 900px) {
    .stat-cell { border-bottom: none; border-right: 1px solid rgba(212,175,55,0.2); }
    .stat-cell:last-child { border-right: none; }
    .stat-cell:nth-child(odd) { border-right: 1px solid rgba(212,175,55,0.2); }
}
.stat-cell__number {
    display: block; font-family: var(--font-head); font-weight: 800;
    font-size: clamp(40px, 7vw, 64px); line-height: 1;
    background: var(--gold-grad);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-cell__label {
    display: block; margin-top: 10px; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-foreground);
}
.stat-cell__source { display: block; margin-top: 6px; font-size: 12px; color: var(--muted-foreground); }

/* ============================================
   FAQ ACCORDION (component + generic details)
   ============================================ */
.faq-section { padding: var(--space-xl) 0; }
@media (min-width: 1024px) { .faq-section { padding: var(--space-2xl) 0; } }
.faq-accordion { margin-top: var(--space-md); display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .faq-accordion { gap: 24px; } }

.faq-item, details.reveal {
    background: var(--card); border: 1px solid var(--border); border-radius: 12px;
    transition: box-shadow .25s ease-out, border-color .25s ease-out;
}
.faq-item[open], details.reveal[open] { border-color: var(--primary); box-shadow: 0 0 24px rgba(212,175,55,0.18); }

.faq-item__question, details.reveal > summary {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
    min-height: 44px; padding: 16px var(--space-md); cursor: pointer;
    font-family: var(--font-body); font-weight: 600; font-size: 17px; color: var(--foreground);
    list-style: none;
}
.faq-item__question::-webkit-details-marker, details.reveal > summary::-webkit-details-marker { display: none; }

.faq-item__icon {
    flex-shrink: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 24px; line-height: 1;
    transition: transform .25s ease-out;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer, details.reveal > *:not(summary) {
    padding: 0 var(--space-md) var(--space-md);
    border-top: 1px solid rgba(212,175,55,0.25);
    color: var(--foreground);
}
.faq-item__answer { padding-top: var(--space-sm); }
.faq-item__answer p { max-width: 68ch; font-size: 17px; margin: var(--space-sm) 0 0; }

/* ============================================
   TABLES
   ============================================ */
.table-wrapper { margin: var(--space-md) 0; border: 1px solid var(--border); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.data-table caption { text-align: left; padding: 12px var(--space-sm); color: var(--muted-foreground); font-size: 14px; }
.data-table th, .data-table td { padding: 14px var(--space-sm); text-align: left; font-size: 15px; }
.data-table thead th {
    background: var(--secondary); color: var(--primary);
    font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; font-size: 13px; border-bottom: 1px solid var(--primary);
}
.data-table tbody tr:nth-child(even) { background: rgba(51,38,27,0.4); }
.data-table tbody td { border-bottom: 1px solid var(--border); }
.data-table .is-highlight { background: rgba(212,175,55,0.12); }

/* ============================================
   CTA BANNER (component)
   ============================================ */
.cta-banner { padding: var(--space-lg) var(--space-sm); }
@media (min-width: 1024px) { .cta-banner { padding: var(--space-xl) var(--space-sm); } }
.cta-banner__frame {
    position: relative; max-width: var(--maxw); margin: 0 auto; overflow: clip;
    background:
        radial-gradient(circle at 50% 40%, rgba(212,175,55,0.12), transparent 60%),
        var(--popover);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
}
@media (min-width: 1024px) { .cta-banner__frame { padding: var(--space-2xl) var(--space-lg); } }
.cta-banner__glow {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 60%, rgba(212,175,55,0.16), transparent 55%);
    pointer-events: none;
}
.cta-banner__content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-banner__title { margin-bottom: var(--space-sm); }
.cta-banner__text { color: var(--muted-foreground); font-size: 18px; max-width: 60ch; margin: 0 auto var(--space-md); }
.cta-banner__actions { display: flex; flex-direction: column; gap: 12px; justify-content: center; align-items: center; }
@media (min-width: 768px) { .cta-banner__actions { flex-direction: row; } }
.cta-banner__actions .btn { min-width: 200px; }
.cta-banner__note {
    margin: var(--space-md) 0 0; font-size: 14px; color: var(--muted-foreground);
    display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
}

/* ============================================
   PROCESS STEPS + BADGES
   ============================================ */
.steps { display: grid; gap: var(--space-md); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: var(--space-md); }
.step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gold-grad); color: var(--primary-foreground);
    font-family: var(--font-head); font-weight: 800; font-size: 22px; margin-bottom: 12px;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.tier-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 80px; }
.tier-badge img { width: 72px; height: 72px; object-fit: contain; }
.tier-badge span { font-size: 14px; font-weight: 700; color: var(--muted-foreground); }

.live-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 6px;
    background: var(--accent); color: var(--accent-foreground);
    font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: none; }

@keyframes claw-sway { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.claw-sway { animation: claw-sway 4s ease-in-out infinite; transform-origin: top center; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .animate-on-scroll { opacity: 1; transform: none; transition: none; }
    .claw-sway { animation: none; }
    .btn--gold::after { display: none; }
}

/* ============================================
   BONUS CRAB PAGE
   ============================================ */
.step__img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 12px; }

.prize-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.prize-card img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 12px; }
.prize-card h3 { font-size: 20px; margin-bottom: 8px; }
.prize-card p { font-size: 15px; color: var(--muted-foreground); margin-bottom: 0; }

/* ============================================
   SITEMAP
   ============================================ */
.sitemap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-md); }
.sitemap-list li { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: var(--space-md); }
.sitemap-list a { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.sitemap-list p { margin: 8px 0 0; color: var(--muted-foreground); font-size: 15px; max-width: 68ch; }

/* ============================================
   HOMEPAGE - Split layouts & extras
   ============================================ */
.duo { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: var(--space-xl); } }
.duo--media-first .duo__media { order: -1; }
@media (min-width: 900px) { .duo--media-first .duo__media { order: 0; } }

.media-glow { position: relative; }
.media-glow::before {
    content: ""; position: absolute; inset: -8%;
    background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.22), transparent 65%);
    pointer-events: none; z-index: 0;
}
.media-glow img { position: relative; z-index: 1; display: block; width: 100%; border-radius: var(--radius); }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--space-md); display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted-foreground); }
.check-list li::before {
    content: "\2726"; position: absolute; left: 0; top: 0;
    color: var(--primary); font-size: 17px; line-height: 1.5;
}

.claw-figure { max-width: min(420px, 100%); margin: 0 auto; filter: drop-shadow(0 24px 48px rgba(212,175,55,0.25)); }

.deposit-list { list-style: none; padding: 0; margin: 0 0 var(--space-md); display: grid; gap: 14px; counter-reset: dep; }
.deposit-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--secondary); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.deposit-list li::before {
    counter-increment: dep; content: counter(dep);
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gold-grad); color: var(--primary-foreground);
    font-family: var(--font-head); font-weight: 800; font-size: 18px;
}
.deposit-list strong { display: block; color: var(--foreground); }
.deposit-list span { color: var(--muted-foreground); font-size: 15px; }

.payments-band {
    background: var(--popover);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: var(--space-xl) 0;
}
.payments-band .pay-chip { font-size: 14px; padding: 8px 18px; }

/* Horizontal scrollable row (mobile) → grid (desktop) */
.scroll-row {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
    gap: 12px; overflow-x: auto; padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}
.scroll-row__item { scroll-snap-align: start; }
@media (min-width: 768px) {
    .scroll-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0,1fr)); overflow-x: visible; }
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
