/*
 * BETSSON CASINO - DESIGN SYSTEM
 * Pop-art glamour, Warhol duotone, orange-turquoise on charcoal-navy.
 * Fonts: Anton (display) + Manrope (body).
 * Single dark theme (no light/dark switcher per brief).
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --background: #0d1418;
    --foreground: #f4f7f8;
    --card: #16232a;
    --card-foreground: #f4f7f8;
    --popover: #16232a;
    --popover-foreground: #f4f7f8;
    --primary: #22d3d3;
    --primary-foreground: #05161a;
    --secondary: #f59e42;
    --secondary-foreground: #1a1004;
    --muted: #1e2f38;
    --muted-foreground: #c2d2da;
    --accent: #28e0e0;
    --accent-foreground: #05161a;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #2a3d47;
    --input: #2a3d47;
    --ring: #22d3d3;

    /* Spacing scale (8px base) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 104px;

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

    --shadow-hard: 8px 8px 0 var(--secondary);
    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.45);

    --font-display: "Anton", "Impact", sans-serif;
    --font-body: "Manrope", system-ui, -apple-system, sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Keep .dark identical to :root - single dark theme, no switcher */
.dark {
    --background: #0d1418;
    --foreground: #f4f7f8;
    --card: #16232a;
    --card-foreground: #f4f7f8;
    --popover: #16232a;
    --popover-foreground: #f4f7f8;
    --primary: #22d3d3;
    --primary-foreground: #05161a;
    --secondary: #f59e42;
    --secondary-foreground: #1a1004;
    --muted: #1e2f38;
    --muted-foreground: #c2d2da;
    --accent: #28e0e0;
    --accent-foreground: #05161a;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #2a3d47;
    --input: #2a3d47;
    --ring: #22d3d3;
}

/* ============================================
   DEBUG OVERLAY GUARD
   Ensure no baseline/8px grid debug overlay is rendered in production.
   ============================================ */
html::before, html::after, body::before, body::after {
    background-image: none !important;
}

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

/* ============================================
   BASE / RESET
   ============================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    background-image:
        radial-gradient(circle at 12% -10%, rgba(34, 211, 211, 0.10), transparent 45%),
        radial-gradient(circle at 88% 0%, rgba(245, 158, 66, 0.10), transparent 40%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.01em;
    margin: 0 0 var(--space-sm);
    text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.875rem, 4.2vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.6vw, 1.875rem); }

p { margin: 0 0 var(--space-md); }
a { color: var(--primary); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--accent); }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

img { display: block; }

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

.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; top: -60px; left: var(--space-sm);
    background: var(--primary); color: var(--primary-foreground);
    padding: 10px 16px; border-radius: var(--radius-sm); z-index: 1200;
    font-weight: 700; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--space-sm); }

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

/* ============================================
   LAYOUT HELPERS
   .container - max-width text/content wrapper
   .section - vertical rhythm band
   .full-bleed - edge-to-edge band
   ============================================ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-sm); }

.section { padding: var(--space-2xl) 0; }
.section--tight { padding: var(--space-xl) 0; }

.full-bleed { width: 100%; }
.band-muted { background: linear-gradient(180deg, rgba(30, 47, 56, 0.55), rgba(13, 20, 24, 0.9)); border-block: 1px solid var(--border); }

.section__head { max-width: 760px; margin: 0 auto var(--space-xl); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__eyebrow {
    display: inline-block; font-family: var(--font-body); font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8125rem;
    color: var(--secondary); margin-bottom: var(--space-xs);
}
.section__lead { color: var(--muted-foreground); font-size: 1.0625rem; }

.text-block { max-width: 72ch; }
.text-block a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--secondary); text-underline-offset: 3px; }

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

/* ============================================
   BUTTONS
   .btn--primary - turquoise CTA
   .btn--secondary - orange highlight
   .btn--ghost - outline
   .btn--lg - large hero/CTA size
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 26px;
    font-family: var(--font-body); font-weight: 800; font-size: 1rem;
    letter-spacing: 0.02em; text-transform: uppercase;
    border-radius: var(--radius-sm); border: 2px solid transparent;
    cursor: pointer; text-align: center;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--primary { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 6px 18px rgba(34, 211, 211, 0.28); }
.btn--primary:hover { background: var(--accent); color: var(--accent-foreground); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(40, 224, 224, 0.4); }
.btn--secondary { background: var(--secondary); color: var(--secondary-foreground); }
.btn--secondary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(245, 158, 66, 0.4); color: var(--secondary-foreground); }
.btn--ghost { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: 16px 40px; font-size: 1.0625rem; }

/* ============================================
   HEADER + NAVIGATION
   ============================================ */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(13, 20, 24, 0.92);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    max-width: var(--maxw); margin: 0 auto;
    min-height: var(--header-h); padding: 0 var(--space-sm);
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
}

.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--foreground); }
.site-brand:hover { color: var(--foreground); }
.site-brand__mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--primary); color: var(--primary-foreground);
    font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
    box-shadow: 3px 3px 0 var(--secondary);
}
.site-brand__text { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.02em; text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: var(--space-lg); }
.primary-nav__list { display: flex; align-items: center; gap: var(--space-md); }
.primary-nav__link {
    display: inline-flex; align-items: center; min-height: 44px;
    color: var(--foreground); font-weight: 700; font-size: 0.95rem;
    letter-spacing: 0.01em;
}
.primary-nav__link:hover { color: var(--primary); }
.primary-nav__actions { display: flex; align-items: center; gap: 12px; }
.primary-nav__actions .btn { min-height: 44px; padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle {
    display: none; position: relative; z-index: 1001;
    width: 48px; height: 48px; padding: 12px;
    background: transparent; border: 1px solid var(--border); border-radius: 10px;
    cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--foreground); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle span + span { margin-top: 5px; }
.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 nav drawer */
@media (max-width: 1023px) {
    .nav-toggle { display: block; }
    .primary-nav {
        display: none;
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        z-index: 999;
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        gap: 0; padding: var(--space-md) var(--space-sm) var(--space-xl);
        background: var(--background); border-top: 1px solid var(--border);
        overflow-y: auto;
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .primary-nav__link {
        display: flex; width: 100%; min-height: 52px; padding: 14px 12px;
        font-size: 1.125rem; border-bottom: 1px solid var(--border);
    }
    .primary-nav__actions { margin-top: auto; padding-top: var(--space-lg); flex-direction: column; align-items: stretch; }
    .primary-nav__actions .btn { min-height: 52px; width: 100%; }
}

/* ============================================
   HERO
   .hero - full-bleed glamour banner
   ============================================ */
.hero { position: relative; min-height: 72vh; display: flex; align-items: center; padding: var(--space-2xl) 0; overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(13, 20, 24, 0.95) 0%, rgba(13, 20, 24, 0.78) 45%, rgba(13, 20, 24, 0.35) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-sm); width: 100%; }
.hero__content { max-width: 640px; }
.hero__title { margin-bottom: var(--space-sm); }
.hero__title .accent { color: var(--primary); }
.hero__lead { color: var(--foreground); font-size: 1.125rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }

.bonus-burst {
    display: inline-flex; flex-direction: column; align-items: flex-start;
    margin-bottom: var(--space-md); padding: 16px 24px;
    background: var(--secondary); color: var(--secondary-foreground);
    border-radius: var(--radius); box-shadow: var(--shadow-hard);
    transform: rotate(-2deg);
}
.bonus-burst__label { font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8125rem; }
.bonus-burst__amount { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1; }

@media (min-width: 1024px) {
    .hero { min-height: 80vh; }
    .hero__inner { padding: 0 var(--space-lg); }
}

/* Flying card pop-art motif */
.pop-card {
    position: absolute; font-family: var(--font-display); font-size: 2.5rem;
    color: var(--primary); opacity: 0.25; z-index: 0; pointer-events: none;
    text-shadow: 4px 4px 0 rgba(245, 158, 66, 0.4);
}

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

.info-card {
    min-width: 0; height: 100%; display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.info-card:hover { transform: scale(1.03); box-shadow: var(--shadow-hard); border-color: var(--secondary); z-index: 2; }
.info-card__media { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: var(--space-sm); }
.info-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.info-card__icon { width: 72px; height: 72px; margin-bottom: var(--space-sm); }
.info-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.info-card__badge {
    align-self: flex-start; display: inline-block; margin-bottom: 10px;
    padding: 4px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 800;
    background: var(--secondary); color: var(--secondary-foreground); text-transform: uppercase; letter-spacing: 0.04em;
}
.info-card__title { font-size: 1.375rem; margin-bottom: 10px; }
.info-card__text { color: var(--muted-foreground); margin-bottom: var(--space-sm); }
.info-card__text .rtp { color: var(--secondary); font-weight: 800; }
.info-card__link { margin-top: auto; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.9rem; color: var(--primary); }
.info-card__arrow { transition: transform 0.25s var(--ease); display: inline-block; }
.info-card__link:hover .info-card__arrow { transform: translateX(4px); }

@media (min-width: 1024px) { .info-card { padding: 32px; } }

/* ============================================
   STAT HIGHLIGHT
   ============================================ */
.stat-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
@media (min-width: 768px) { .stat-band { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-lg); } }

.stat-highlight { text-align: center; padding: var(--space-sm); }
.stat-highlight__number { display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 1; color: var(--secondary); }
.stat-highlight--primary .stat-highlight__number { color: var(--primary); }
.stat-highlight--orange .stat-highlight__number { color: var(--secondary); }
.stat-highlight__label { display: block; margin-top: 10px; font-weight: 700; color: var(--foreground); }
.stat-highlight__source { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--muted-foreground); }

/* ============================================
   FAQ ACCORDION (native details/summary)
   ============================================ */
.faq-accordion { max-width: 820px; margin: 0 auto; }
.faq-accordion__heading { text-align: center; margin-bottom: var(--space-lg); }
.faq-accordion__list { display: flex; flex-direction: column; gap: var(--space-sm); }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item__question {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
    min-height: 48px; padding: 20px; cursor: pointer; list-style: none;
    font-family: var(--font-display); font-size: 1.1875rem; color: var(--foreground); text-transform: uppercase;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq-item__icon::before, .faq-item__icon::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 16px; height: 2px; background: var(--primary); transform: translate(-50%, -50%); transition: transform 0.3s var(--ease);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item__answer { padding: 0 20px 20px; }
.faq-item__answer p { margin: 0; color: var(--muted-foreground); }
@media (min-width: 1024px) {
    .faq-item__question { padding: 28px 32px; }
    .faq-item__answer { padding: 0 32px 28px; }
}

/* ============================================
   HOW-TO STEPS
   ============================================ */
.how-to { max-width: 820px; margin: 0 auto; }
.how-to__intro { color: var(--muted-foreground); margin-bottom: var(--space-lg); }
.how-to__list { display: flex; flex-direction: column; gap: var(--space-sm); }
.how-to__step { display: flex; gap: var(--space-sm); padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.how-to__badge {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #05161a; font-family: var(--font-display); font-size: 1.5rem;
}
.how-to__title { font-size: 1.25rem; margin-bottom: 6px; }
.how-to__text { color: var(--muted-foreground); margin: 0; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner { position: relative; padding: var(--space-2xl) var(--space-sm); text-align: center; background: linear-gradient(160deg, #12242c, #0d1418); border-block: 1px solid var(--border); overflow: clip; }
.cta-banner__decor { position: absolute; inset: 0; pointer-events: none; }
.cta-banner__card { position: absolute; font-family: var(--font-display); font-size: 3.5rem; opacity: 0.18; text-shadow: 5px 5px 0 rgba(245, 158, 66, 0.5); color: var(--primary); }
.cta-banner__card--1 { top: 12%; left: 8%; transform: rotate(-18deg); }
.cta-banner__card--2 { bottom: 14%; left: 18%; transform: rotate(12deg); color: var(--secondary); }
.cta-banner__card--3 { top: 20%; right: 10%; transform: rotate(20deg); }
.cta-banner__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-banner__title { margin-bottom: var(--space-sm); }
.cta-banner__subtext { color: var(--muted-foreground); font-size: 1.0625rem; margin-bottom: var(--space-lg); }
.cta-banner__micro { margin: var(--space-sm) 0 0; font-size: 0.875rem; color: var(--muted-foreground); }
@media (min-width: 1024px) { .cta-banner { padding: var(--space-3xl) var(--space-lg); } }

/* ============================================
   ENGAGEMENT PATTERNS
   .tldr - summary box | .callout - highlight/warning | .pull-quote
   ============================================ */
.tldr {
    background: var(--muted); border: 1px solid var(--border); border-left: 4px solid var(--primary);
    border-radius: var(--radius); padding: 20px var(--space-md); margin-bottom: var(--space-lg);
}
.tldr__label { display: block; font-family: var(--font-display); text-transform: uppercase; color: var(--primary); margin-bottom: 8px; font-size: 1.0625rem; }
.tldr p { margin: 0; color: var(--foreground); }

.callout {
    display: flex; gap: 14px; padding: 20px var(--space-md);
    background: rgba(245, 158, 66, 0.10); border: 1px solid var(--secondary); border-radius: var(--radius);
    margin: var(--space-lg) 0;
}
.callout__icon { flex-shrink: 0; font-size: 1.5rem; line-height: 1.4; }
.callout p { margin: 0; color: var(--foreground); }
.callout--info { background: rgba(34, 211, 211, 0.08); border-color: var(--primary); }

.pull-quote {
    font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.15;
    color: var(--secondary); text-transform: uppercase; margin: var(--space-xl) 0; padding-left: var(--space-md);
    border-left: 5px solid var(--primary);
}
.pull-quote cite { display: block; margin-top: 12px; font-family: var(--font-body); font-size: 0.9375rem; font-style: normal; color: var(--muted-foreground); text-transform: none; letter-spacing: 0; }

/* ============================================
   TRUST BADGES / PAY STRIP / TABLES
   ============================================ */
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }
.trust-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; background: var(--card); border: 1px solid var(--border);
    border-radius: 999px; font-weight: 700; font-size: 0.9rem;
}
.trust-badge img { width: 28px; height: 28px; object-fit: contain; }

.pay-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-strip li {
    display: inline-flex; align-items: center; padding: 8px 14px;
    background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-weight: 700; font-size: 0.875rem; color: var(--foreground);
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.pay-strip li:hover { border-color: var(--primary); color: var(--primary); }
.pay-strip__logos { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.pay-strip__logos img { height: 40px; width: auto; object-fit: contain; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table caption { text-align: left; color: var(--muted-foreground); margin-bottom: 10px; font-size: 0.875rem; }
.data-table thead th { background: var(--muted); color: var(--foreground); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; border: 1px solid var(--border); }
.data-table tbody tr:nth-child(even) { background: rgba(30, 47, 56, 0.4); }
.data-table .is-recommended { background: rgba(34, 211, 211, 0.10); }

/* ============================================
   TWO-COLUMN TEASER
   ============================================ */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); object-fit: cover; }
@media (min-width: 768px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); } .split--reverse .split__media { order: 2; } }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #0a1013; border-top: 1px solid var(--border); margin-top: var(--space-2xl); }
.site-footer__inner {
    max-width: var(--maxw); margin: 0 auto; padding: var(--space-2xl) var(--space-sm) var(--space-lg);
    display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg);
}
.site-brand--footer { margin-bottom: 12px; }
.site-footer__tagline { color: var(--muted-foreground); font-size: 0.95rem; margin: 0; }
.site-footer__heading { font-size: 1.125rem; margin-bottom: var(--space-sm); color: var(--foreground); }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a { color: var(--muted-foreground); font-weight: 600; }
.site-footer__links a:hover { color: var(--primary); }
.site-footer__meta { margin-top: var(--space-md); font-size: 0.875rem; color: var(--muted-foreground); }
.site-footer__meta a { color: var(--muted-foreground); }
.site-footer__meta a:hover { color: var(--primary); }
.license-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-sm); }
.license-badges__item { padding: 6px 12px; background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.8125rem; font-weight: 700; }
.license-badges__item--age { background: var(--secondary); color: var(--secondary-foreground); border-color: var(--secondary); }
.site-footer__disclaimer { font-size: 0.875rem; color: var(--muted-foreground); margin: 0; }
.site-footer__bottom { border-top: 1px solid var(--border); padding: var(--space-md) var(--space-sm); text-align: center; }
.site-footer__bottom p { margin: 0; font-size: 0.875rem; color: var(--muted-foreground); }

@media (min-width: 768px) {
    .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: var(--space-lg); }
}
@media (min-width: 1024px) {
    .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

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

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
}
