/*
 * GambleZen Casino - Design System
 * Neon-arcade aesthetic on a purple-turquoise "zen" palette.
 * Fonts: Sora (headings) / Manrope (body).
 */

:root {
    --background: #0e0a1a;
    --foreground: #f4f1fa;
    --card: #1a1330;
    --card-foreground: #f4f1fa;
    --popover: #1a1330;
    --popover-foreground: #f4f1fa;
    --primary: #a957f7;
    --primary-foreground: #1a0b2e;
    --secondary: #22d3ee;
    --secondary-foreground: #062a30;
    --muted: #2a2140;
    --muted-foreground: #b7aed0;
    --accent: #ff3ea5;
    --accent-foreground: #2a0716;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #342a4d;
    --input: #342a4d;
    --ring: #a957f7;

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

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

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

    --neon-grad: linear-gradient(120deg, #a957f7 0%, #22d3ee 100%);
    --neon-grad-accent: linear-gradient(120deg, #ff3ea5 0%, #a957f7 55%, #22d3ee 100%);
    --shadow-glow: 0 18px 48px -18px rgba(168, 85, 247, 0.55);
}

/* Single-theme site: .dark mirrors :root so any stray .dark usage stays consistent. */
.dark {
    --background: #0e0a1a;
    --foreground: #f4f1fa;
    --card: #1a1330;
    --card-foreground: #f4f1fa;
    --popover: #1a1330;
    --popover-foreground: #f4f1fa;
    --primary: #a957f7;
    --primary-foreground: #1a0b2e;
    --secondary: #22d3ee;
    --secondary-foreground: #062a30;
    --muted: #2a2140;
    --muted-foreground: #b7aed0;
    --accent: #ff3ea5;
    --accent-foreground: #2a0716;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #342a4d;
    --input: #342a4d;
    --ring: #a957f7;
}

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

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    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;
    background-image:
        radial-gradient(60% 40% at 15% 0%, rgba(168, 85, 247, 0.12), transparent 70%),
        radial-gradient(50% 40% at 90% 10%, rgba(34, 211, 238, 0.10), transparent 70%);
}

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

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

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

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

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

.text-gradient {
    background: var(--neon-grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

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

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

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--space-sm);
}

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

.section__head {
    max-width: 72ch;
    margin-bottom: var(--space-lg);
}
.section__eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: var(--space-xs);
}
.lead { font-size: 19px; color: var(--foreground); }

.full-bleed { width: 100%; }

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

.btn--primary {
    background: var(--neon-grad);
    color: var(--primary-foreground);
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.6);
}
.btn--primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 0 24px 4px rgba(168, 85, 247, 0.55), 0 0 40px 8px rgba(34, 211, 238, 0.28);
}

.btn--ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.btn--ghost:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
}

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

/* ============================================
   HEADER + NAV
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(14, 10, 26, 0.92);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    min-height: var(--header-h);
    padding: 10px 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;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 20px;
    color: var(--foreground);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.site-brand:hover { text-decoration: none; }
.site-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--neon-grad);
    color: var(--primary-foreground);
    font-weight: 800;
    box-shadow: 0 0 18px -2px rgba(168, 85, 247, 0.7);
}
.site-brand__text { color: var(--foreground); }

.primary-nav { display: flex; align-items: center; gap: var(--space-md); }
.primary-nav__list {
    display: flex;
    gap: var(--space-md);
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav__list a {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--foreground);
}
.primary-nav__list a:hover { color: var(--secondary); text-decoration: none; }
.primary-nav__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin-inline: auto;
    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); }

@media (max-width: 1023px) {
    .nav-toggle { display: flex; }
    .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: var(--space-md);
        padding: var(--space-lg) var(--space-md);
        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: 4px; }
    .primary-nav__list a {
        display: flex;
        align-items: center;
        min-height: 48px;
        font-size: 18px;
        padding-inline: 4px;
        border-bottom: 1px solid var(--border);
    }
    .primary-nav__actions { flex-direction: column; align-items: stretch; margin-top: var(--space-sm); }
    .primary-nav__actions .btn { width: 100%; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    isolation: isolate;
    padding-block: var(--space-2xl);
    overflow: clip;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(14, 10, 26, 0.62) 0%, rgba(14, 10, 26, 0.82) 65%, var(--background) 100%);
}
.hero__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--space-sm);
}
.hero__content { max-width: 640px; }
.hero h1 { margin-bottom: var(--space-md); }
.hero__sub { font-size: 19px; color: var(--foreground); margin-bottom: var(--space-lg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    margin-bottom: var(--space-md);
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(26, 19, 48, 0.7);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
}

/* ============================================
   GAME CARD
   ============================================ */
.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)); }
}
@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)); }
}

.game-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.game-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}
.game-card__badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    z-index: 2;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--neon-grad-accent);
    color: var(--primary-foreground);
}
.game-card__media {
    margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) var(--space-md);
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.game-card__media img { width: 100%; height: 100%; object-fit: cover; }
.game-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-sm);
    border-radius: 14px;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    font-size: 28px;
    background: rgba(34, 211, 238, 0.08);
}
.game-card__body { display: flex; flex-direction: column; flex: 1; }
.game-card__title { margin-bottom: 8px; }
.game-card__text { color: var(--muted-foreground); font-size: 15px; margin-bottom: var(--space-sm); }
.game-card__link {
    margin-top: auto;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--primary);
}
.game-card__link:hover { color: var(--secondary); text-decoration: none; }

/* ============================================
   STAT BLOCK
   ============================================ */
.stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}
@media (min-width: 768px) {
    .stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat-block {
    text-align: center;
    padding: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}
.stat-block__number {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 40px;
    line-height: 1.05;
    background: var(--neon-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media (min-width: 1024px) { .stat-block__number { font-size: 48px; } }
.stat-block__label { display: block; margin-top: 8px; font-weight: 600; color: var(--foreground); }
.stat-block__sub { display: block; margin-top: 4px; font-size: 14px; color: var(--muted-foreground); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    width: 100%;
    overflow: clip;
    text-align: center;
    padding-block: var(--space-xl);
    background:
        radial-gradient(120% 120% at 20% 0%, rgba(168, 85, 247, 0.35), transparent 60%),
        radial-gradient(120% 120% at 90% 100%, rgba(34, 211, 238, 0.3), transparent 60%),
        var(--card);
    border-block: 1px solid var(--border);
}
@media (min-width: 1024px) { .cta-banner { padding-block: var(--space-2xl); } }
.cta-banner__inner { max-width: 760px; margin-inline: auto; padding-inline: var(--space-sm); position: relative; z-index: 2; }
.cta-banner__title { font-size: 28px; }
@media (min-width: 1024px) { .cta-banner__title { font-size: 34px; } }
.cta-banner__text { font-size: 18px; color: var(--foreground); margin-inline: auto; }
.cta-banner__micro { margin-top: var(--space-sm); margin-bottom: 0; font-size: 13px; color: var(--muted-foreground); }
.cta-banner__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0.55;
    z-index: 1;
    pointer-events: none;
    animation: float 9s ease-in-out infinite;
}
.cta-banner__orb--a { width: 90px; height: 90px; top: 12%; left: 8%; background: radial-gradient(circle, rgba(168,85,247,0.9), transparent 70%); }
.cta-banner__orb--b { width: 60px; height: 60px; bottom: 14%; right: 12%; background: radial-gradient(circle, rgba(34,211,238,0.9), transparent 70%); animation-delay: -3s; }
.cta-banner__orb--c { width: 44px; height: 44px; top: 55%; left: 22%; background: radial-gradient(circle, rgba(255,62,165,0.85), transparent 70%); animation-delay: -6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-18px) translateX(10px); }
}

/* ============================================
   FAQ ACCORDION (native details)
   ============================================ */
.faq-accordion { max-width: var(--content-max); }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    background: var(--card);
    overflow: hidden;
}
.faq-item[open] { border-color: var(--primary); }
.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-md);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 17px;
    color: var(--foreground);
    min-height: 48px;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__chevron {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: rotate(45deg);
    transition: transform .25s ease;
}
.faq-item[open] .faq-item__chevron { transform: rotate(-135deg); }
.faq-item__a {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--muted-foreground);
}
.faq-item__a p:last-child { margin-bottom: 0; }

/* ============================================
   DATA TABLE
   ============================================ */
.data-table-wrapper {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 460px;
}
.data-table__caption {
    caption-side: top;
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--muted-foreground);
}
.data-table thead th {
    background: rgba(168, 85, 247, 0.18);
    color: var(--foreground);
    font-family: var(--font-head);
    font-weight: 700;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}
.data-table tbody th,
.data-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.data-table tbody th { font-weight: 600; color: var(--foreground); }
.data-table tbody tr:nth-child(even) { background: rgba(168, 85, 247, 0.06); }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table .neon { color: var(--secondary); font-weight: 700; }

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges { text-align: center; }
.trust-badges__heading { margin-bottom: var(--space-md); }
.trust-badges__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}
.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.trust-badge:hover { border-color: var(--secondary); box-shadow: 0 0 18px -6px rgba(34, 211, 238, 0.7); }
.trust-badge img { filter: grayscale(0.4); transition: filter .25s ease; }
.trust-badge:hover img { filter: grayscale(0); }
.trust-badge__text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    color: var(--foreground);
}

.age-badge {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 14px;
}

/* ============================================
   ENGAGEMENT / CRO PATTERNS
   .tldr-box, .callout, .pullquote
   ============================================ */
.tldr-box {
    border: 1px solid var(--border);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius-sm);
    background: var(--card);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}
.tldr-box h2, .tldr-box h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: var(--space-xs);
}
.tldr-box p:last-child { margin-bottom: 0; }

.callout {
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    background: rgba(168, 85, 247, 0.08);
    padding: var(--space-md);
    margin-block: var(--space-lg);
}
.callout--code { border-color: var(--accent); background: rgba(255, 62, 165, 0.08); }
.callout strong { color: var(--foreground); }
.callout p:last-child { margin-bottom: 0; }
.callout__code {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--secondary);
    background: var(--background);
    border: 1px dashed var(--secondary);
    padding: 4px 12px;
    border-radius: 8px;
}

.pullquote {
    border: none;
    border-left: 4px solid var(--accent);
    margin: var(--space-lg) 0;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    color: var(--foreground);
}
.pullquote cite { display: block; margin-top: var(--space-xs); font-size: 14px; font-style: normal; color: var(--muted-foreground); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--space-lg); }
.prose a { color: var(--secondary); font-weight: 600; text-decoration: underline; }

/* Feature list with check marks */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 30px; margin-bottom: var(--space-sm); }
.feature-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    width: 8px;
    height: 14px;
    border-right: 3px solid var(--secondary);
    border-bottom: 3px solid var(--secondary);
    transform: rotate(45deg);
}

/* ============================================
   SITEMAP LIST
   ============================================ */
.sitemap-list { list-style: none; padding: 0; margin: 0; max-width: 72ch; }
.sitemap-list__item {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}
.sitemap-list__item:last-child { border-bottom: none; }
.sitemap-list__title { margin-bottom: var(--space-xs); }
.sitemap-list__title a { color: var(--foreground); text-decoration: none; }
.sitemap-list__title a:hover { color: var(--secondary); }
.sitemap-list__desc { color: var(--muted-foreground); margin-bottom: 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;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--card);
    padding-top: var(--space-xl);
}
.site-footer__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--space-sm);
    display: grid;
    grid-template-columns: minmax(0, 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.6fr 1fr 1fr 1.2fr; }
}
.site-brand--footer { margin-bottom: var(--space-sm); }
.site-footer__tag { color: var(--muted-foreground); font-size: 15px; }
.site-footer__age { font-size: 14px; color: var(--muted-foreground); display: flex; align-items: center; gap: 10px; margin-bottom: 0; }
.site-footer__head {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}
.site-footer__links,
.site-footer__badges { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: var(--space-xs); }
.site-footer__links a { display: flex; align-items: center; min-height: 44px; color: var(--foreground); font-size: 15px; }
.site-footer__links a:hover { color: var(--secondary); text-decoration: none; }
.site-footer__badges li { color: var(--muted-foreground); font-size: 14px; margin-bottom: var(--space-xs); }
.site-footer__bottom {
    margin-top: var(--space-xl);
    border-top: 1px solid var(--border);
    padding: var(--space-md) var(--space-sm);
    text-align: center;
}
.site-footer__bottom p { max-width: none; margin: 0; font-size: 13px; color: var(--muted-foreground); }

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

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