/*
 * CASEA CASINO - Design System
 * Neon Rain premium noir aesthetic.
 * Fonts: Unbounded (headlines), DM Sans (body).
 */

:root {
    --background: #0A0E1A;
    --foreground: #E8EDF5;
    --card: #131A2E;
    --card-foreground: #E8EDF5;
    --popover: #131A2E;
    --popover-foreground: #E8EDF5;
    --primary: #2563EB;
    --primary-foreground: #FFFFFF;
    --secondary: #1E293B;
    --secondary-foreground: #E8EDF5;
    --muted: #2A3A5C;
    --muted-foreground: #A9B7CC;
    --accent: #22D3EE;
    --accent-foreground: #0A0E1A;
    --destructive: #ea1414;
    --destructive-foreground: #FFFFFF;
    --border: #2A3A5C;
    --input: #1E293B;
    --ring: #2563EB;

    /* Spacing scale (8px base) */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

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

    --font-head: "Unbounded", sans-serif;
    --font-body: "DM Sans", sans-serif;

    --glow: 0 0 24px rgba(37, 99, 235, 0.35);
    --glow-cyan: 0 0 28px rgba(34, 211, 238, 0.4);
}

/* Single dark theme; .dark mirrors :root so no visual switch */
.dark {
    --background: #0A0E1A;
    --foreground: #E8EDF5;
    --card: #131A2E;
    --card-foreground: #E8EDF5;
    --primary: #2563EB;
    --primary-foreground: #FFFFFF;
    --secondary: #1E293B;
    --secondary-foreground: #E8EDF5;
    --muted: #2A3A5C;
    --muted-foreground: #A9B7CC;
    --accent: #22D3EE;
    --accent-foreground: #0A0E1A;
    --border: #2A3A5C;
    --input: #1E293B;
    --ring: #2563EB;
}

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
[class*="grid"] > *, [class*="flex"] > * { min-width: 0; }
pre, code, .code-block, [class*="code"] { max-width: 100%; overflow-x: auto; }
pre code, .code-block code { display: block; min-width: 0; }
.table-wrapper { 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
   ============================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 var(--space-sm);
    color: var(--foreground);
}
h1 { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); font-weight: 600; }
h4 { font-size: clamp(1.125rem, 2vw, 1.25rem); font-weight: 500; }

p { margin: 0 0 1.75rem; max-width: 72ch; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { line-height: 1.6; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1rem;
    z-index: 2000;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.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(--container); margin: 0 auto; padding-inline: var(--space-sm); }
.section { padding-block: var(--space-xl); }
@media (min-width: 1024px) { .section { padding-block: var(--space-2xl); } }
.section-narrow { max-width: 800px; margin: 0 auto; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

/* ============================================
   BUTTONS
   .btn-primary neon-blue filled; .btn-outline bordered
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-head);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .2s ease-out, box-shadow .2s ease-out, transform .2s ease-out, color .2s ease-out;
    text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--glow); }
.btn-primary:hover { background: var(--accent); color: var(--accent-foreground); box-shadow: var(--glow-cyan); }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--muted); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow-cyan); }
.btn-lg { min-height: 54px; padding: 0.875rem 2rem; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.875rem; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.82);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
    .site-header { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-sm);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--foreground);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}
.site-brand:hover { text-decoration: none; }
.logo { border-radius: 8px; display: block; }
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--primary-foreground);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--glow);
}
.logo-mark-sm { width: 36px; height: 36px; font-size: 1.0625rem; }
.brand-accent { color: var(--accent); }

/* Nav (mobile drawer default hidden) */
.primary-nav { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--foreground);
    font-weight: 500;
    font-size: 1.0625rem;
}
.nav-link:hover { color: var(--accent); text-decoration: none; }

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

/* Mobile drawer open */
.primary-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--background);
    padding: var(--space-lg) var(--space-sm);
    overflow-y: auto;
    border-top: 1px solid var(--border);
}
.primary-nav.is-open .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
}
.primary-nav.is-open .nav-list li { border-bottom: 1px solid var(--border); }
.primary-nav.is-open .nav-cta { display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-sm); }
.primary-nav.is-open .nav-cta .btn { width: 100%; }

@media (min-width: 1024px) {
    .mobile-toggle { display: none; }
    .primary-nav {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
    }
    .nav-list { display: flex; gap: var(--space-md); }
    .nav-cta { display: flex; gap: 0.75rem; }
}

/* ============================================
   HERO - Neon Rain
   ============================================ */
.hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: var(--space-2xl);
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: clip;
    background: linear-gradient(180deg, #0A0E1A 0%, #0d1424 60%, #0A0E1A 100%);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(10,14,26,0.94) 0%, rgba(10,14,26,0.72) 45%, rgba(10,14,26,0.35) 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: 640px; }
.hero-align-right .hero-content { margin-left: auto; text-align: right; }
.hero h1 { text-shadow: 0 0 30px rgba(37,99,235,0.5); }
.hero-sub { font-size: 1.0625rem; color: var(--muted-foreground); margin-bottom: var(--space-lg); max-width: 54ch; }
.hero-align-right .hero-sub { margin-left: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero-align-right .hero-actions { justify-content: flex-end; }
.hero-micro { margin-top: var(--space-md); font-size: 0.875rem; color: var(--muted-foreground); }

/* Neon rain streaks */
.neon-rain { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: clip; }
.neon-rain span {
    position: absolute;
    top: -20%;
    width: 2px;
    height: 22%;
    background: linear-gradient(180deg, rgba(34,211,238,0) 0%, rgba(34,211,238,0.7) 50%, rgba(37,99,235,0) 100%);
    animation: rainDrift 3.5s linear infinite;
    opacity: 0.5;
}
.neon-rain span:nth-child(1) { left: 8%; animation-duration: 3.2s; animation-delay: 0s; }
.neon-rain span:nth-child(2) { left: 22%; animation-duration: 4.1s; animation-delay: .6s; }
.neon-rain span:nth-child(3) { left: 37%; animation-duration: 2.9s; animation-delay: 1.1s; }
.neon-rain span:nth-child(4) { left: 54%; animation-duration: 3.8s; animation-delay: .3s; }
.neon-rain span:nth-child(5) { left: 69%; animation-duration: 3.3s; animation-delay: 1.4s; }
.neon-rain span:nth-child(6) { left: 83%; animation-duration: 4.4s; animation-delay: .9s; }
.neon-rain span:nth-child(7) { left: 94%; animation-duration: 3.0s; animation-delay: .2s; }
@keyframes rainDrift {
    0% { transform: translateY(0); opacity: 0; }
    15% { opacity: .6; }
    85% { opacity: .6; }
    100% { transform: translateY(560%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .neon-rain span, .cta-rain span { animation: none; opacity: .3; }
    html { scroll-behavior: auto; }
}

/* ============================================
   PROSE / CONTENT
   ============================================ */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--space-xl); }
.prose h3 { margin-top: var(--space-lg); }
.lead { font-size: 1.1875rem; color: var(--foreground); }

/* Split layout for image + text sections */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: center;
}
@media (min-width: 1024px) {
    .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--space-2xl); }
    .split.reverse .split-media { order: -1; }
}
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--glow); object-fit: cover; }

/* ============================================
   ENGAGEMENT: summary, callout, pull quote
   ============================================ */
.summary-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}
.summary-box h2, .summary-box h3 { font-size: 1.0625rem; color: var(--accent); margin-bottom: 0.5rem; }
.summary-box p, .summary-box ul { margin-bottom: 0; }

.callout {
    background: rgba(37,99,235,0.08);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    margin-block: var(--space-lg);
}
.callout p:last-child { margin-bottom: 0; }

.pull-quote {
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--foreground);
    border-left: 4px solid var(--accent);
    padding-left: var(--space-md);
    margin-block: var(--space-lg);
}
.pull-quote cite { display: block; margin-top: var(--space-sm); font-family: var(--font-body); font-size: 0.9375rem; font-style: normal; color: var(--muted-foreground); }

blockquote {
    margin: var(--space-lg) 0;
    padding: var(--space-md);
    background: var(--card);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    font-style: italic;
}
blockquote cite { display: block; margin-top: var(--space-sm); font-style: normal; font-size: 0.9375rem; color: var(--muted-foreground); }

/* ============================================
   TABLES / COMPARISON
   ============================================ */
.table-wrapper { margin-block: var(--space-lg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
thead th {
    background: var(--secondary);
    color: var(--foreground);
    font-family: var(--font-head);
    font-weight: 600;
    text-align: left;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
}
tbody td { padding: 0.875rem 1rem; border-top: 1px solid var(--border); }
tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.col-recommended { background: rgba(34,211,238,0.08); }
th.col-recommended { color: var(--accent); }

/* ============================================
   STAT HIGHLIGHT
   ============================================ */
.stat-highlight-heading, .feature-grid-heading, .faq-heading, .stat-highlight-heading { text-align: center; }
.stat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-sm);
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .stat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.stat-grid.cols-4 { grid-template-columns: minmax(0,1fr); }
@media (min-width: 640px) { .stat-grid.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .stat-grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.stat-block:hover { transform: scale(1.02); box-shadow: var(--glow); }
.stat-number {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.75rem, 5vw, 3rem);
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label { display: block; font-size: 1.0625rem; color: var(--foreground); font-weight: 500; }
.stat-source { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ============================================
   FEATURE CARD GRID
   ============================================ */
.feature-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-sm);
}
@media (min-width: 640px) { .feature-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) {
    .feature-card-grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .feature-card-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.feature-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: scale(1.02); box-shadow: var(--glow-cyan); border-color: var(--accent); }
.feature-card-visual {
    position: relative;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37,99,235,0.22), rgba(34,211,238,0.12));
}
.feature-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.feature-card-visual::after { content: ""; position: absolute; inset: 0; background: rgba(37,99,235,0.12); }
.feature-card-icon { font-size: 2.5rem; color: var(--accent); position: relative; z-index: 1; }
.feature-card-body { padding: var(--space-md); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.feature-card-title { font-size: 1.25rem; font-weight: 600; margin: 0; }
.feature-card-desc { font-size: 1.0625rem; color: var(--muted-foreground); margin: 0; }
.feature-card-link { margin-top: auto; font-weight: 600; font-family: var(--font-head); font-size: 0.9375rem; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .2s ease;
}
.faq-item[open] { border-left: 4px solid var(--accent); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-md);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--foreground);
    list-style: none;
    min-height: 48px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron { flex-shrink: 0; color: var(--accent); transition: transform .25s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 var(--space-md) var(--space-md); }
.faq-answer p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--muted-foreground); max-width: none; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    background: #0A0E1A;
    padding-block: var(--space-xl);
    text-align: center;
    overflow: clip;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) { .cta-banner { padding-block: var(--space-2xl); } }
.cta-rain { position: absolute; inset: 0; pointer-events: none; }
.cta-rain span {
    position: absolute;
    top: -20%;
    width: 2px;
    height: 30%;
    background: linear-gradient(180deg, rgba(34,211,238,0) 0%, rgba(37,99,235,0.6) 50%, rgba(34,211,238,0) 100%);
    animation: rainDrift 3.6s linear infinite;
    opacity: 0.4;
}
.cta-rain span:nth-child(1) { left: 12%; animation-delay: .2s; }
.cta-rain span:nth-child(2) { left: 30%; animation-delay: 1s; animation-duration: 4.2s; }
.cta-rain span:nth-child(3) { left: 48%; animation-delay: .5s; animation-duration: 3s; }
.cta-rain span:nth-child(4) { left: 64%; animation-delay: 1.3s; }
.cta-rain span:nth-child(5) { left: 78%; animation-delay: .8s; animation-duration: 4s; }
.cta-rain span:nth-child(6) { left: 90%; animation-delay: .4s; }
.cta-banner-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 0 var(--space-sm); }
.cta-banner-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    text-shadow: 0 0 24px rgba(37,99,235,0.5);
    margin-bottom: var(--space-sm);
}
.cta-banner-subtext { font-size: 1.0625rem; color: var(--muted-foreground); margin-bottom: var(--space-lg); }
.cta-banner-microcopy { margin-top: var(--space-md); font-size: 0.875rem; color: var(--muted-foreground); }

/* ============================================
   TRUST / LOGO STRIP
   ============================================ */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
@media (min-width: 1024px) {
    .logo-strip {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
.logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.125rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.logo-chip:hover { border-color: var(--accent); box-shadow: var(--glow-cyan); }

/* Wagering requirements two-column */
.wagering-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}
@media (min-width: 768px) { .wagering-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wagering-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-lg);
}
.wagering-panel h3 { color: var(--accent); margin-bottom: var(--space-sm); }
.wagering-panel ul { padding-left: 1.25rem; color: var(--muted-foreground); }
.wagering-panel ul li { margin-bottom: 0.5rem; }

/* Bonus timeline */
.bonus-timeline { display: flex; flex-direction: column; gap: var(--space-sm); }
.bonus-tier {
    display: flex;
    gap: var(--space-md);
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    align-items: center;
}
.bonus-tier-media { flex-shrink: 0; width: 88px; height: 88px; border-radius: var(--radius-sm); overflow: hidden; }
.bonus-tier-media img { width: 100%; height: 100%; object-fit: cover; }
.bonus-tier-pct { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.bonus-tier-body p { margin: 0.25rem 0 0; color: var(--muted-foreground); font-size: 1rem; }

/* VIP tier bars */
.vip-tiers { display: flex; flex-direction: column; gap: var(--space-sm); }
.vip-tier { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--space-sm) var(--space-md); }
.vip-tier-head { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 600; margin-bottom: 0.5rem; }
.vip-tier-bar { height: 10px; background: var(--secondary); border-radius: 999px; overflow: hidden; }
.vip-tier-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; }

/* Sitemap cards */
.sitemap-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.sitemap-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-md); }
.sitemap-card h2, .sitemap-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.sitemap-card p { color: var(--muted-foreground); margin: 0; }

/* Breadcrumb */
.breadcrumb { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: var(--space-md); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.breadcrumb li::after { content: "/"; margin-left: 0.5rem; color: var(--muted); }
.breadcrumb li:last-child::after { content: ""; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #070A12; border-top: 1px solid var(--border); padding-top: var(--space-xl); margin-top: var(--space-2xl); }
.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);
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-tagline { color: var(--muted-foreground); font-size: 0.9375rem; margin-top: var(--space-sm); max-width: 40ch; }
.footer-heading { font-size: 1rem; font-family: var(--font-head); font-weight: 600; margin-bottom: var(--space-sm); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { color: var(--muted-foreground); font-size: 0.9375rem; }
.footer-links a:hover { color: var(--accent); }
.payment-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.payment-chip {
    padding: 0.375rem 0.75rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}
.license-badge { display: flex; align-items: center; gap: 0.625rem; margin-bottom: var(--space-sm); }
.badge-18 {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--destructive); color: #fff;
    font-family: var(--font-head); font-weight: 700; font-size: 0.875rem;
    flex-shrink: 0;
}
.license-text { font-size: 0.875rem; color: var(--foreground); font-weight: 500; }
.responsible-note { font-size: 0.8125rem; color: var(--muted-foreground); margin: 0; }
.footer-bottom { border-top: 1px solid var(--border); padding: var(--space-md) var(--space-sm); text-align: center; }
.footer-bottom p { margin: 0; font-size: 0.8125rem; color: var(--muted-foreground); max-width: none; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .4s ease-out, transform .4s ease-out;
}
.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;
}
