/*
 * GAMBLEZEN CASINO - DESIGN SYSTEM
 * Zen-podium maximalism: dark plum base, violet-turquoise neon, jackpot flashes.
 * Fonts: Sora (display) + Manrope (body).
 */

/* ============================================
   DESIGN TOKENS
   Single dark theme (brand requires no switcher).
   ============================================ */
:root {
    --background: #160f22;
    --foreground: #f2effa;
    --card: #20182f;
    --card-2: #271d3a;
    --card-foreground: #f2effa;
    --primary: #ac5df7;
    --primary-foreground: #1a0f2e;
    --secondary: #2dd4d0;
    --secondary-foreground: #08201f;
    --muted: #2a2140;
    --muted-foreground: #b3a9cc;
    --accent: #ff4d94;
    --accent-foreground: #2a0016;
    --border: #352a4d;
    --ring: #ac5df7;

    --neon-grad: linear-gradient(100deg, #ac5df7 0%, #2dd4d0 100%);
    --neon-grad-accent: linear-gradient(100deg, #ff4d94 0%, #ac5df7 55%, #2dd4d0 100%);
    --glow-violet: 0 0 24px rgba(168, 85, 247, 0.45);
    --glow-turq: 0 0 24px rgba(45, 212, 208, 0.4);

    /* Spacing (8px grid) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 56px;
    --space-2xl: 96px;

    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1200px;
    --header-h: 68px;

    --font-display: "Sora", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;
}

/* .dark kept identical to :root - no theme switcher, single palette */
.dark {
    --background: #160f22;
    --foreground: #f2effa;
    --card: #20182f;
    --card-2: #271d3a;
    --primary: #ac5df7;
    --primary-foreground: #1a0f2e;
    --secondary: #2dd4d0;
    --accent: #ff4d94;
    --muted: #2a2140;
    --muted-foreground: #b3a9cc;
    --border: #352a4d;
}

/* ============================================
   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 { max-width: 100%; overflow-x: auto; }
pre code { display: block; min-width: 0; }
.table-wrapper { 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;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }

p { margin: 0 0 var(--space-md); }
a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

@media (min-width: 1024px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
}

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

.skip-link {
    position: absolute; left: 8px; top: -48px; z-index: 1100;
    background: var(--primary); color: var(--primary-foreground);
    padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s;
}
.skip-link:focus { top: 8px; }

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

/* ============================================
   LAYOUT HELPERS
   .container - centered max-width text column
   .section - vertical rhythm
   .neon-divider - podium-style gradient divider
   ============================================ */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--space-sm);
}

.section { padding-block: var(--space-xl); }
@media (min-width: 1024px) { .section { padding-block: var(--space-xl); } }

.section--tight { padding-block: var(--space-lg); }

.neon-divider {
    height: 2px; border: 0; margin: var(--space-lg) auto;
    max-width: 640px;
    background: var(--neon-grad);
    box-shadow: var(--glow-violet);
    opacity: .7;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--neon-grad); -webkit-background-clip: text; background-clip: text;
    color: transparent;
    margin-bottom: var(--space-xs);
}

.lead { font-size: 19px; color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }

/* ============================================
   BUTTONS
   .btn--primary - neon violet CTA
   .btn--ghost - outlined secondary
   .btn--lg - hero size
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; min-height: 48px; padding: 12px 24px;
    border-radius: 999px; border: 1px solid transparent;
    font-family: var(--font-display); font-weight: 700; font-size: 16px;
    cursor: pointer; text-align: center;
    transition: transform .22s ease-out, box-shadow .22s ease-out, background .22s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn--primary {
    background: var(--primary); color: var(--primary-foreground);
    box-shadow: var(--glow-violet);
}
.btn--primary:hover { transform: scale(1.03); box-shadow: 0 0 36px rgba(168,85,247,.7); }

.btn--ghost {
    background: transparent; color: var(--foreground);
    border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--secondary); box-shadow: var(--glow-turq); transform: scale(1.03); }

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

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* ============================================
   HEADER + NAV
   ============================================ */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(22, 15, 34, 0.92);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
    .site-header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}

.site-header__inner {
    max-width: var(--maxw); margin-inline: auto;
    min-height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px var(--space-sm);
    gap: var(--space-sm);
}

.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-brand:hover { text-decoration: none; }
.site-brand__mark {
    width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 800; font-size: 20px;
    color: var(--primary-foreground);
    background: var(--neon-grad);
    box-shadow: var(--glow-violet);
}
.site-brand__text {
    font-family: var(--font-display); font-weight: 800; font-size: 20px;
    color: var(--foreground); letter-spacing: -0.02em;
}

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

/* Mobile drawer (default) */
.primary-nav {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    z-index: 999;
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: var(--space-md) var(--space-sm) var(--space-xl);
    overflow-y: auto;
    flex-direction: column;
    gap: var(--space-md);
}
.primary-nav.is-open { display: flex; }

.primary-nav__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
}
.primary-nav__list a {
    display: flex; align-items: center; min-height: 48px;
    padding: 8px 12px; border-radius: var(--radius-sm);
    color: var(--foreground); font-family: var(--font-display); font-weight: 600;
}
.primary-nav__list a:hover { background: var(--muted); text-decoration: none; color: var(--secondary); }

.primary-nav__actions { display: flex; flex-direction: column; gap: var(--space-xs); }
.primary-nav__actions .btn { width: 100%; }

@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .primary-nav {
        display: flex; position: static; flex-direction: row; align-items: center;
        justify-content: flex-end; gap: var(--space-lg);
        background: transparent; border: 0; padding: 0; overflow: visible;
        flex: 1;
    }
    .primary-nav__list { flex-direction: row; align-items: center; gap: var(--space-md); }
    .primary-nav__list a { min-height: 44px; padding: 6px 8px; font-size: 15px; }
    .primary-nav__list a:hover { background: transparent; }
    .primary-nav__actions { flex-direction: row; }
    .primary-nav__actions .btn { width: auto; }
}

/* ============================================
   HERO (full-bleed podium)
   ============================================ */
.hero {
    position: relative;
    min-height: 62vh;
    display: flex; align-items: center;
    padding-block: var(--space-xl);
    background: radial-gradient(ellipse at 50% 20%, rgba(168,85,247,.28), transparent 60%),
                radial-gradient(ellipse at 80% 90%, rgba(45,212,208,.2), transparent 55%),
                var(--background);
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: .5;
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(22,15,34,.55) 0%, rgba(22,15,34,.85) 100%);
}
.hero__inner {
    position: relative; z-index: 2;
    max-width: var(--maxw); margin-inline: auto; width: 100%;
    padding-inline: var(--space-sm);
}
.hero__content { max-width: 720px; }
.hero h1 {
    font-size: clamp(30px, 6vw, 52px);
    margin-bottom: var(--space-sm);
}
.hero .hero__accent {
    background: var(--neon-grad-accent); -webkit-background-clip: text; background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(255,77,148,.3);
}
.hero p { font-size: 18px; color: var(--foreground); max-width: 56ch; }

.neon-lines {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image:
        linear-gradient(90deg, transparent 49.8%, rgba(45,212,208,.12) 50%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, rgba(168,85,247,.1) 50%, transparent 50.2%);
    background-size: 120px 120px;
    opacity: .5;
}

/* ============================================
   STAT HIGHLIGHT
   ============================================ */
.stat-highlight {
    display: grid; grid-template-columns: 1fr; gap: var(--space-md);
    text-align: center;
}
@media (min-width: 768px) {
    .stat-highlight { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
    .stat-highlight { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.stat-block {
    padding: var(--space-md) var(--space-sm);
    border-left: 2px solid transparent; border-right: 2px solid transparent;
    border-image: var(--neon-grad) 1;
    border-top: 0; border-bottom: 0;
}
.stat-block__number {
    display: block;
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(38px, 8vw, 60px); line-height: 1; letter-spacing: -0.03em;
    background: var(--neon-grad-accent); -webkit-background-clip: text; background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(168,85,247,.25);
}
.stat-block__label {
    display: block; margin-top: var(--space-xs);
    color: var(--muted-foreground); font-size: 15px; font-weight: 600;
    letter-spacing: .02em;
}

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

.game-card {
    display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: transform .25s ease-out, box-shadow .25s ease-out;
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(168,85,247,.35); }
.game-card__media { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.game-card__media::after {
    content: ""; position: absolute; inset: 0;
    box-shadow: inset 0 0 0 2px rgba(45,212,208,.25);
    border-radius: var(--radius) var(--radius) 0 0;
}
.game-card__media img { width: 100%; height: 100%; object-fit: cover; }
.game-card__tag {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    font-size: 12px; font-weight: 700; letter-spacing: .04em;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(22,15,34,.82); color: var(--secondary);
    border: 1px solid var(--border);
}
.game-card__body { padding: var(--space-md); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game-card__title { margin: 0; font-size: 19px; }
.game-card__caption { margin: 0; color: var(--muted-foreground); font-size: 15px; }
.game-card__link {
    margin-top: auto; padding-top: var(--space-xs);
    display: inline-flex; align-items: center; min-height: 44px;
    color: var(--primary); font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.game-card__link:hover { color: var(--accent); text-decoration: none; }

/* ============================================
   PAYMENT BADGE ROW
   ============================================ */
.payment-row {
    border-top: 1px solid var(--border);
    padding-top: var(--space-lg);
    text-align: center;
}
.payment-row__title { font-size: 20px; margin-bottom: var(--space-md); }
.payment-row__grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs);
}
.payment-chip {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; min-width: 120px; padding: 10px 20px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-display); font-weight: 700; font-size: 15px;
    color: var(--muted-foreground);
    transition: color .2s, border-color .2s, box-shadow .2s;
}
.payment-chip:hover { color: var(--foreground); border-color: var(--secondary); box-shadow: var(--glow-turq); }
.payment-chip img { filter: grayscale(1) opacity(.85); transition: filter .2s; }
.payment-chip:hover img { filter: none; }

/* ============================================
   HOW-TO STEPS
   ============================================ */
.how-to-steps {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: var(--space-md);
    max-width: 760px; margin-inline: auto;
}
.how-to-step {
    display: flex; gap: var(--space-md); align-items: flex-start;
    position: relative;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-md);
}
.how-to-step__num {
    flex: 0 0 auto;
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 800; font-size: 22px;
    color: var(--foreground);
    background: var(--card-2);
    border: 2px solid transparent; border-image: var(--neon-grad) 1;
    box-shadow: var(--glow-violet);
}
.how-to-step__body { flex: 1; }
.how-to-step__title { margin: 0 0 6px; font-size: 19px; }
.how-to-step__text { margin: 0; color: var(--muted-foreground); }

/* ============================================
   FAQ ACCORDION (native details/summary)
   ============================================ */
.faq-accordion { max-width: 820px; margin-inline: auto; }
.faq-accordion__heading { text-align: center; margin-bottom: var(--space-lg); }
.faq-accordion__list {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-item[open] { background: var(--card-2); border-left: 3px solid var(--secondary); }
.faq-item__q {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
    min-height: 56px; padding: var(--space-md);
    cursor: pointer; list-style: none;
    font-family: var(--font-display); font-weight: 700; font-size: 17px;
    color: var(--foreground);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__chevron {
    flex: 0 0 auto; width: 12px; height: 12px;
    border-right: 2px solid var(--secondary); border-bottom: 2px solid var(--secondary);
    transform: rotate(45deg); transition: transform .3s ease;
}
.faq-item[open] .faq-item__chevron { transform: rotate(-135deg); }
.faq-item__a {
    padding: 0 var(--space-md) var(--space-md);
    animation: faq-reveal .3s ease;
}
.faq-item__a p { margin: 0; color: var(--muted-foreground); }
@keyframes faq-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================
   CTA BANNER (full-bleed)
   ============================================ */
.cta-banner {
    position: relative; text-align: center;
    padding-block: var(--space-xl); padding-inline: var(--space-sm);
    background: radial-gradient(ellipse at 50% 50%, rgba(168,85,247,.25), transparent 65%), var(--card);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-banner__particles {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(45,212,208,.7), transparent),
        radial-gradient(2px 2px at 70% 60%, rgba(168,85,247,.7), transparent),
        radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,77,148,.6), transparent),
        radial-gradient(1.5px 1.5px at 85% 25%, rgba(45,212,208,.6), transparent);
    background-size: 300px 300px;
    animation: drift 18s linear infinite;
    opacity: .8;
}
@keyframes drift { from { background-position: 0 0, 0 0, 0 0, 0 0; } to { background-position: 300px 150px, -200px 300px, 150px -250px, -300px 200px; } }
.cta-banner__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.cta-banner__heading { font-size: clamp(26px, 5vw, 40px); margin-bottom: var(--space-sm); }
.cta-banner__subtext { font-size: 18px; color: var(--foreground); margin-bottom: var(--space-md); }
.cta-banner__micro { margin-top: var(--space-sm); font-size: 14px; color: var(--muted-foreground); }

/* ============================================
   ENGAGEMENT / CRO PATTERNS
   ============================================ */
.tldr, .callout {
    background: var(--card); border-radius: var(--radius);
    padding: var(--space-md); margin-block: var(--space-md);
}
.tldr { border: 1px solid var(--border); border-left: 4px solid var(--secondary); }
.tldr__title {
    font-family: var(--font-display); font-weight: 700; font-size: 14px;
    letter-spacing: .1em; text-transform: uppercase; color: var(--secondary);
    margin: 0 0 var(--space-xs);
}
.callout { border: 1px solid var(--border); border-left: 4px solid var(--accent); }
.callout--info { border-left-color: var(--secondary); }
.callout__title { font-family: var(--font-display); font-weight: 700; margin: 0 0 6px; }
.callout p:last-child { margin-bottom: 0; }

.pull-quote {
    border: 0; margin: var(--space-lg) 0; padding: 0 0 0 var(--space-md);
    border-left: 3px solid var(--primary);
    font-family: var(--font-display); font-size: clamp(20px, 3vw, 26px);
    line-height: 1.35; color: var(--foreground);
}
.pull-quote cite { display: block; margin-top: var(--space-sm); font-size: 15px; font-style: normal; color: var(--muted-foreground); }

details.disclosure {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-xs);
}
details.disclosure summary {
    cursor: pointer; font-family: var(--font-display); font-weight: 700;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
    min-height: 44px;
}
details.disclosure summary::-webkit-details-marker { display: none; }

/* Comparison table */
.table-wrapper { margin-block: var(--space-md); border-radius: var(--radius); border: 1px solid var(--border); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.cmp-table th, .cmp-table td { padding: 14px var(--space-sm); text-align: left; border-bottom: 1px solid var(--border); }
.cmp-table thead th {
    font-family: var(--font-display); font-size: 14px; letter-spacing: .04em;
    background: var(--card-2); color: var(--foreground);
}
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table .is-recommended { background: rgba(168,85,247,.1); }
.cmp-table td strong { color: var(--secondary); }

/* Trust rows */
.trust-grid {
    display: grid; grid-template-columns: 1fr; gap: var(--space-sm);
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.trust-item {
    display: flex; gap: var(--space-sm); align-items: flex-start;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-md);
}
.trust-item__icon {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center; font-size: 22px;
    background: var(--card-2); box-shadow: var(--glow-violet);
}
.trust-item h3 { margin: 0 0 4px; font-size: 18px; }
.trust-item p { margin: 0; color: var(--muted-foreground); font-size: 15px; }

/* Two-card highlight (tournaments) */
.highlight-grid {
    display: grid; grid-template-columns: 1fr; gap: var(--space-md);
}
@media (min-width: 768px) { .highlight-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.highlight-card {
    position: relative; overflow: hidden;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .25s ease-out, box-shadow .25s ease-out;
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(255,77,148,.3); }
.highlight-card__media { aspect-ratio: 16/9; overflow: hidden; }
.highlight-card__media img { width: 100%; height: 100%; object-fit: cover; }
.highlight-card__body { padding: var(--space-md); }
.highlight-card__body h3 { margin-top: 0; }
.highlight-card__body p { color: var(--muted-foreground); margin-bottom: var(--space-sm); }

/* Sitemap list */
.sitemap-list { list-style: none; margin: 0; padding: 0; max-width: 820px; margin-inline: auto; }
.sitemap-list li { padding-block: var(--space-md); border-bottom: 1px solid var(--border); }
.sitemap-list li:last-child { border-bottom: 0; }
.sitemap-list h3 { margin: 0 0 6px; }
.sitemap-list p { margin: 0; color: var(--muted-foreground); font-size: 15px; }

/* Prose spacing for content pages */
.prose > * + * { margin-top: var(--space-md); }
.prose h2 { margin-top: var(--space-xl); }
.prose h3 { margin-top: var(--space-lg); }
.prose ul, .prose ol { color: var(--foreground); }
.prose li { margin-bottom: var(--space-xs); }

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

.footer-col__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: var(--space-sm); color: var(--foreground); }
.footer-col__text { color: var(--muted-foreground); font-size: 15px; }
.footer-age { color: var(--muted-foreground); font-size: 13px; margin-top: var(--space-sm); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted-foreground); }
.footer-links a:hover { color: var(--secondary); }
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chip {
    display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px;
    background: var(--card-2); border: 1px solid var(--border); border-radius: 8px;
    font-size: 13px; font-weight: 600; color: var(--muted-foreground);
}
.footer-badge {
    display: inline-flex; align-items: center; min-height: 44px; margin: 4px 6px 0 0; padding: 6px 12px;
    background: var(--card-2); border: 1px solid var(--border); border-radius: 999px;
    font-size: 13px; font-weight: 700; color: var(--secondary);
}
.site-footer__bar {
    border-top: 1px solid var(--border); text-align: center;
    padding: var(--space-md) var(--space-sm);
}
.site-footer__bar p { margin: 0; font-size: 13px; color: var(--muted-foreground); }

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

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    .animate-on-scroll { opacity: 1; transform: none; transition: none; }
    .btn:hover, .game-card:hover, .highlight-card:hover { transform: none; }
}

/* 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;
}
