/*
 * CASOOLA CASINO - Design System
 * Sci-fi arcade aesthetic: dark neon bot-town.
 * Orbitron display + Rajdhani body. Electric blue-violet & lime-cyan accents.
 */

/* ============================================
   DESIGN TOKENS
   Single dark theme (no light/dark switcher).
   :root and .dark carry identical values.
   ============================================ */
:root {
    --background: #0a0a14;
    --background-alt: #0f0f1e;
    --foreground: #e6ebf5;
    --card: #12122099;
    --card-solid: #14142a;
    --card-foreground: #e6ebf5;
    --popover: #14142a;
    --popover-foreground: #e6ebf5;
    --primary: #1c6ef5;
    --primary-foreground: #ffffff;
    --secondary: #8554f6;
    --secondary-foreground: #ffffff;
    --muted: #1e2340;
    --muted-foreground: #a6b0cc;
    --accent: #00ffcc;
    --accent-foreground: #06202a;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #2a3160;
    --input: #1a1f38;
    --ring: #1c6ef5;

    --glow-blue: 0 0 18px rgba(59, 130, 246, 0.55);
    --glow-violet: 0 0 24px rgba(139, 92, 246, 0.45);
    --glow-cyan: 0 0 14px rgba(0, 255, 204, 0.5);
    --holo-border: linear-gradient(120deg, #1c6ef5, #8554f6, #00ffcc, #1c6ef5);

    --font-display: "Orbitron", sans-serif;
    --font-body: "Rajdhani", sans-serif;

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

    --radius: 14px;
    --radius-sm: 8px;
    --container: 1200px;
    --header-h: 66px;
}

.dark {
    --background: #0a0a14;
    --background-alt: #0f0f1e;
    --foreground: #e6ebf5;
    --card: #12122099;
    --card-solid: #14142a;
    --card-foreground: #e6ebf5;
    --popover: #14142a;
    --popover-foreground: #e6ebf5;
    --primary: #1c6ef5;
    --primary-foreground: #ffffff;
    --secondary: #8554f6;
    --secondary-foreground: #ffffff;
    --muted: #1e2340;
    --muted-foreground: #a6b0cc;
    --accent: #00ffcc;
    --accent-foreground: #06202a;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #2a3160;
    --input: #1a1f38;
    --ring: #1c6ef5;
}

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

/* ============================================
   BASE / RESET
   ============================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 500;
    background-image:
        radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.12), transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.12), transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(0, 255, 204, 0.06), transparent 45%);
    background-attachment: fixed;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--foreground);
    margin: 0 0 var(--space-sm);
}
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 24px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 500; }
h4 { font-size: 18px; font-weight: 500; }

p { margin: 0 0 var(--space-md); max-width: 72ch; }

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

ul, ol { padding-left: 1.3em; }
li { margin-bottom: var(--space-xs); }

.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: -9999px; top: 0; z-index: 2000;
    background: var(--primary); color: var(--primary-foreground);
    padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

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

@media (min-width: 1024px) {
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 28px; }
    h4 { font-size: 22px; }
}

/* ============================================
   LAYOUT HELPERS
   .container - centered max-width text column
   .section - vertical rhythm wrapper
   ============================================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-sm); }
.section { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.section-tight { padding-top: 64px; padding-bottom: 64px; }
.eyebrow {
    font-family: var(--font-display); font-size: 13px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
    display: inline-block; margin-bottom: var(--space-xs);
}
.lead { font-size: 19px; color: var(--muted-foreground); }
.text-center { text-align: center; }

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

/* ============================================
   BUTTONS
   .btn - base | .btn-primary | .btn-secondary
   .btn-ghost | .btn-pulse (glow) | .btn-lg
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 12px 24px;
    font-family: var(--font-display); font-size: 15px; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
    border-radius: var(--radius-sm); border: 1px solid transparent;
    cursor: pointer; text-decoration: none; text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--glow-blue); }
.btn-primary:hover { box-shadow: 0 0 26px rgba(59,130,246,0.75); }
.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); box-shadow: var(--glow-violet); }
.btn-ghost { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow-cyan); }
.btn-lg { min-height: 52px; padding: 16px 36px; font-size: 17px; }

.btn-pulse { position: relative; animation: pulseGlow 2.4s ease-in-out infinite; }
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 16px rgba(59,130,246,0.6); }
    50% { box-shadow: 0 0 26px rgba(0,255,204,0.7); }
}
@media (prefers-reduced-motion: reduce) {
    .btn-pulse { animation: none; }
    html { scroll-behavior: auto; }
}

/* ============================================
   HEADER + NAVIGATION
   ============================================ */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(10,10,20,0.92);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: var(--container); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-sm); padding: 10px var(--space-sm); min-height: var(--header-h);
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-brand:hover { text-decoration: none; }
.logo { display: block; border-radius: 8px; }
.brand-name {
    font-family: var(--font-display); font-size: 22px; font-weight: 800;
    letter-spacing: 0.04em; color: var(--foreground);
    text-shadow: var(--glow-cyan);
}

.primary-nav { display: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
    font-family: var(--font-display); font-size: 14px; font-weight: 500;
    letter-spacing: 0.03em; color: var(--foreground); border-radius: var(--radius-sm);
    text-transform: uppercase;
}
.nav-link:hover { color: var(--accent); background: var(--muted); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 10px; background: var(--muted);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    cursor: pointer; z-index: 1001;
}
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--foreground); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.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); }

/* Mobile drawer */
@media (max-width: 1023px) {
    .primary-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        z-index: 999; display: none; flex-direction: column;
        background: var(--background); border-top: 1px solid var(--border);
        padding: var(--space-md) var(--space-sm); overflow-y: auto; gap: var(--space-md);
    }
    .primary-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 6px; width: 100%; }
    .nav-link { min-height: 48px; padding: 12px 16px; font-size: 17px; border: 1px solid var(--border); }
    .nav-cta { flex-direction: column; align-items: stretch; gap: 12px; }
    .nav-cta .btn { width: 100%; }
}

@media (min-width: 1024px) {
    .menu-toggle { display: none; }
    .primary-nav { display: flex; align-items: center; gap: var(--space-md); }
}

/* ============================================
   HERO SECTIONS
   Full-bleed neon podium scene.
   ============================================ */
.hero {
    position: relative; min-height: 60vh;
    display: flex; align-items: center;
    padding: var(--space-xl) 0;
    background: var(--background-alt);
    overflow: clip;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.55;
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(10,10,20,0.55) 0%, rgba(10,10,20,0.82) 70%, var(--background) 100%);
}
.hero-inner { position: relative; z-index: 3; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-sm); width: 100%; }
.hero-content { max-width: 660px; }
.hero-mascot {
    position: absolute; z-index: 2; right: 2%; bottom: 0;
    width: 40%; max-width: 320px; pointer-events: none;
    filter: drop-shadow(0 0 24px rgba(0,255,204,0.4));
    display: none;
}
.hero h1 {
    text-shadow: 0 0 18px rgba(0,255,204,0.35), 0 0 6px rgba(59,130,246,0.4);
    margin-bottom: var(--space-md);
}
.hero-subtitle { font-size: 18px; color: var(--muted-foreground); margin-bottom: var(--space-lg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.hero-stat {
    display: inline-flex; flex-direction: column; margin: var(--space-md) 0;
    padding: var(--space-sm) var(--space-md); border-radius: var(--radius);
    background: var(--card-solid); border: 1px solid var(--border);
}
.hero-stat .num {
    font-family: var(--font-display); font-size: 34px; font-weight: 800;
    color: var(--accent); text-shadow: var(--glow-cyan); line-height: 1.1;
}
.hero-stat .label { font-size: 15px; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.08em; }

@media (min-width: 768px) {
    .hero { min-height: 70vh; }
    .hero-mascot { display: block; }
    .hero-stat .num { font-size: 42px; }
}
@media (min-width: 1024px) {
    .hero { min-height: 80vh; }
}

/* Coin confetti */
.confetti { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.confetti span {
    position: absolute; top: -20px; width: 12px; height: 12px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffe27a, #f0a500);
    box-shadow: 0 0 8px rgba(255,204,0,0.6);
    animation: coinFall linear infinite;
}
.confetti span:nth-child(even) { background: radial-gradient(circle at 35% 35%, #aeffef, #00ffcc); }
@keyframes coinFall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(90vh) rotate(540deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }

/* ============================================
   HOLOGRAPHIC CARD SURFACE (shared)
   ============================================ */
.holo {
    position: relative; background: var(--card-solid);
    border-radius: var(--radius); border: 1px solid var(--border);
}
.holo::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--holo-border); background-size: 300% 300%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0.35; transition: opacity .25s ease; pointer-events: none;
}
.holo:hover::before { opacity: 0.9; }

/* ============================================
   INFO CARD GRID (component)
   ============================================ */
.info-card-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--space-sm); }
.info-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--card-solid); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; min-width: 0;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.info-card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--holo-border); background-size: 300% 300%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0.3; transition: opacity .25s ease; pointer-events: none; z-index: 2;
}
.info-card:hover { transform: scale(1.04); box-shadow: var(--glow-violet); border-color: var(--secondary); }
.info-card:hover::before { opacity: 0.85; }
.info-card-media { aspect-ratio: 16/9; background: var(--muted); overflow: hidden; }
.info-card-media img { width: 100%; height: 100%; object-fit: cover; }
.info-card-media.is-transparent { display: flex; align-items: center; justify-content: center; padding: var(--space-md); }
.info-card-media.is-transparent img { width: auto; max-height: 120px; object-fit: contain; }
.info-card-body { padding: var(--space-md); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.info-card-stat {
    font-family: var(--font-display); font-size: 34px; font-weight: 800;
    color: var(--accent); text-shadow: var(--glow-cyan); line-height: 1.1;
}
.info-card-title { font-size: 20px; font-weight: 500; margin: 0; }
.info-card-desc { font-size: 15px; color: var(--muted-foreground); margin: 0; }
.info-card-link { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-top: auto; }

@media (min-width: 768px) {
    .info-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-md); }
    .info-card-body { padding: var(--space-lg); }
    .info-card-stat { font-size: 42px; }
}
@media (min-width: 1024px) {
    .info-card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .info-card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

/* ============================================
   FAQ ACCORDION (component, native details)
   ============================================ */
.faq-accordion { display: flex; flex-direction: column; gap: var(--space-sm); }
.faq-accordion-title { margin-bottom: var(--space-xs); }
.faq-item {
    position: relative; background: var(--card-solid);
    border: 1px solid var(--border); border-left: 3px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item[open] { border-left-color: var(--secondary); box-shadow: -4px 0 18px rgba(139,92,246,0.25); }
.faq-item:hover { border-color: var(--primary); }
.faq-question {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
    list-style: none; cursor: pointer; padding: 18px 20px;
    font-family: var(--font-body); font-size: 17px; font-weight: 600; color: var(--foreground);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question-text { min-width: 0; }
.faq-chevron { color: var(--accent); display: inline-flex; flex-shrink: 0; transition: transform .3s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { font-size: 15px; line-height: 1.6; color: var(--muted-foreground); margin: 0; max-width: 68ch; }
.faq-answer a { color: var(--accent); }

@media (min-width: 1024px) {
    .faq-accordion { gap: var(--space-md); }
    .faq-question { padding: 24px 32px; }
    .faq-answer { padding: 0 32px 28px; }
}

/* ============================================
   CTA BANNER (component)
   ============================================ */
.cta-banner {
    width: 100%; max-width: 100%;
    padding: var(--space-xl) var(--space-sm);
    background: linear-gradient(120deg, #1a2f6b 0%, #101024 55%, #0a0a14 100%);
    text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-banner-inner { max-width: 760px; margin: 0 auto; }
.cta-banner-heading {
    font-size: 24px; font-weight: 600; color: #f5f8ff;
    text-shadow: 0 0 16px rgba(0,255,204,0.35); margin-bottom: var(--space-sm);
}
.cta-banner-subtext { font-size: 17px; color: var(--muted-foreground); margin-bottom: var(--space-md); }
.cta-banner-microcopy { font-size: 13px; color: var(--muted-foreground); margin-top: var(--space-sm); margin-bottom: 0; }
@media (min-width: 1024px) {
    .cta-banner { padding: var(--space-2xl) var(--space-lg); }
    .cta-banner-heading { font-size: 36px; }
}

/* ============================================
   ENGAGEMENT PATTERNS
   .summary-box | .callout | .stat-highlight
   .pull-quote | comparison table | testimonials
   ============================================ */
.summary-box {
    background: var(--card-solid); border: 1px solid var(--border);
    border-left: 4px solid var(--accent); border-radius: var(--radius);
    padding: var(--space-md); margin: var(--space-md) 0;
}
.summary-box h2, .summary-box h3 { margin-top: 0; }
.summary-box ul { margin: 0; }

.callout {
    display: flex; gap: 14px; align-items: flex-start;
    background: rgba(139,92,246,0.08); border: 1px solid var(--secondary);
    border-radius: var(--radius); padding: var(--space-md); margin: var(--space-md) 0;
}
.callout.callout-warn { background: rgba(244,63,94,0.08); border-color: #b45309; }
.callout-icon { flex-shrink: 0; color: var(--accent); font-size: 22px; line-height: 1.4; }
.callout p:last-child { margin-bottom: 0; }

.stat-highlight {
    display: flex; flex-direction: column; gap: 4px;
    padding: var(--space-md); background: var(--card-solid);
    border: 1px solid var(--border); border-radius: var(--radius); text-align: center;
}
.stat-highlight .stat-number {
    font-family: var(--font-display); font-size: 42px; font-weight: 800;
    color: var(--accent); text-shadow: var(--glow-cyan); line-height: 1.05;
}
.stat-highlight .stat-label { font-size: 15px; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-highlight .stat-source { font-size: 13px; color: var(--muted-foreground); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: var(--space-sm); }

.pull-quote {
    font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.4;
    color: var(--foreground); border-left: 4px solid var(--secondary);
    padding: var(--space-sm) var(--space-md); margin: var(--space-lg) 0; font-style: normal;
}
.pull-quote cite { display: block; margin-top: var(--space-sm); font-family: var(--font-body); font-size: 15px; font-style: normal; color: var(--accent); }

/* Comparison / data tables */
.table-wrapper { margin: var(--space-md) 0; border: 1px solid var(--border); border-radius: var(--radius); }
table {
    width: 100%; border-collapse: collapse; min-width: 480px;
    background: var(--card-solid); font-size: 15px;
}
thead { background: var(--muted); }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(59,130,246,0.06); }
td.recommended, th.recommended { background: rgba(0,255,204,0.08); }

/* Trust badges row */
.trust-badges {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: var(--space-md); padding: var(--space-md) 0;
}
.trust-badges img { filter: grayscale(1) brightness(1.4); opacity: 0.8; transition: filter .25s ease, opacity .25s ease; }
.trust-badges img:hover { filter: grayscale(0); opacity: 1; }

/* Provider logo strip */
.provider-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: var(--space-md); padding: var(--space-md) 0;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.provider-strip img { max-height: 48px; width: auto; filter: grayscale(1) brightness(1.4); opacity: 0.85; transition: filter .25s ease, opacity .25s ease; }
.provider-strip img:hover { filter: grayscale(0); opacity: 1; }

/* Testimonials / social proof */
.testimonial-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--space-md); }
.testimonial-card {
    background: var(--card-solid); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-md);
}
.testimonial-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.testimonial-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.testimonial-card blockquote { margin: 0; font-style: italic; font-size: 15px; color: var(--muted-foreground); }
@media (min-width: 768px) {
    .testimonial-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* Steppers / timeline */
.stepper { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--space-sm); counter-reset: step; }
.step {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--card-solid); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-md);
}
.step-num {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; color: var(--accent-foreground);
    background: var(--accent); box-shadow: var(--glow-cyan);
}
.step h3, .step h4 { margin: 0 0 6px; }
.step p { margin: 0; font-size: 15px; color: var(--muted-foreground); }
@media (min-width: 768px) {
    .stepper { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* Two-column feature block */
.split { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--space-lg); align-items: center; }
@media (min-width: 768px) { .split { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Feature check list */
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    color: var(--accent); font-weight: 700; font-family: var(--font-display);
}

/* Cons list (amber-violet dots) */
.cons-list { list-style: none; padding: 0; }
.cons-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.cons-list li::before {
    content: "•"; position: absolute; left: 2px; top: -2px;
    color: #b45309; font-weight: 700; font-family: var(--font-display); font-size: 22px;
    text-shadow: 0 0 8px rgba(180, 83, 9, 0.5);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--background-alt); border-top: 1px solid var(--border);
    padding-top: var(--space-xl);
}
.footer-inner {
    max-width: var(--container); margin: 0 auto; padding: 0 var(--space-sm) var(--space-xl);
    display: grid; grid-template-columns: minmax(0,1fr); gap: var(--space-lg);
}
.footer-tagline { font-size: 15px; color: var(--muted-foreground); max-width: 40ch; }
.footer-heading {
    font-size: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--accent); margin-bottom: var(--space-sm);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--foreground); font-size: 15px; }
.footer-links a:hover { color: var(--accent); }
.footer-badges { display: flex; align-items: center; gap: 14px; margin-bottom: var(--space-sm); }
.age-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--destructive);
    color: #ff9db0; font-family: var(--font-display); font-weight: 700; font-size: 16px;
}
.footer-legal { font-size: 13px; color: var(--muted-foreground); }
.footer-payments { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-sm); }
.footer-payments img { filter: grayscale(1) brightness(1.5); opacity: 0.8; }
.footer-bottom {
    border-top: 1px solid var(--border); padding: var(--space-md) var(--space-sm);
    text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--muted-foreground); margin: 0; max-width: none; }

@media (min-width: 768px) {
    .footer-inner { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
    .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--space-xl); }
}

/* ============================================
   SITEMAP PAGE
   ============================================ */
.sitemap-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-md); }
.sitemap-entry { position: relative; padding-left: 24px; }
.sitemap-entry::before { content: "▹"; position: absolute; left: 0; top: 0; color: var(--accent); }
.sitemap-entry .page-title { font-family: var(--font-display); font-weight: 600; color: var(--foreground); font-size: 18px; }
.sitemap-entry a.page-title:hover { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent); }
.sitemap-entry p { font-size: 15px; color: var(--muted-foreground); margin: 6px 0 0; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0; transform: translateY(24px);
    transition: opacity .3s ease-out, transform .3s ease-out;
    transition-delay: calc(var(--stagger, 0) * 80ms);
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1; transform: none; transition: 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;
}
