/*
 * OnlySpins Casino - Design System
 * Tropical premium aesthetic: dark near-black teal background,
 * turquoise-gold sunset accents, coral-gold CTA glow.
 * Fonts: Sora (display) + Manrope (body).
 */

/* ============================================
   DESIGN TOKENS
   Single dark tropical theme (no light/dark switcher).
   :root and .dark hold identical values.
   ============================================ */
:root {
    --background: #061716;
    --foreground: #f5ece0;
    --card: #0e2a2e;
    --card-foreground: #f5ece0;
    --popover: #0e2a2e;
    --popover-foreground: #f5ece0;
    --primary: #2fe0c8;
    --primary-foreground: #04211f;
    --secondary: #0e2a2e;
    --secondary-foreground: #f5ece0;
    --muted: #1a3438;
    --muted-foreground: #b3c6c8;
    --accent: #f5b942;
    --accent-foreground: #1c1204;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #274c50;
    --input: #1a3438;
    --ring: #2fe0c8;

    /* Brand extras */
    --coral: #ff7a59;
    --sunset-grad: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    --sunset-grad-diag: linear-gradient(120deg, var(--accent) 0%, var(--coral) 45%, var(--primary) 100%);

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

    /* Radii */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 999px;

    /* Layout */
    --max-width: 1200px;
    --header-h: 64px;

    /* Motion */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur: 250ms;

    /* Glow */
    --glow-coral: 0 0 24px rgba(255, 122, 89, 0.45);
    --glow-teal: 0 0 24px rgba(47, 224, 200, 0.35);
}

.dark {
    --background: #061716;
    --foreground: #f5ece0;
    --card: #0e2a2e;
    --card-foreground: #f5ece0;
    --popover: #0e2a2e;
    --popover-foreground: #f5ece0;
    --primary: #2fe0c8;
    --primary-foreground: #04211f;
    --secondary: #0e2a2e;
    --secondary-foreground: #f5ece0;
    --muted: #1a3438;
    --muted-foreground: #b3c6c8;
    --accent: #f5b942;
    --accent-foreground: #1c1204;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #274c50;
    --input: #1a3438;
    --ring: #2fe0c8;
}

/* ============================================
   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 / TYPOGRAPHY
   Sora for headings, Manrope for body.
   ============================================ */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(1200px 600px at 80% -10%, rgba(47, 224, 200, 0.08), transparent 60%),
        radial-gradient(900px 500px at 10% 10%, rgba(245, 185, 66, 0.06), transparent 60%);
    background-attachment: fixed;
}

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

h1 { font-size: 1.75rem; font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

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

a { color: var(--primary); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent); }

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

strong { color: var(--foreground); }

@media (min-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* ============================================
   UTILITIES / HELPERS
   ============================================ */
.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: -999px; top: 0; z-index: 2000;
    background: var(--accent); color: var(--accent-foreground);
    padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--space-sm);
}

.section { padding-block: var(--section-gap); }

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

/* Gradient underline accent under headings */
.grad-underline { position: relative; display: inline-block; }
.grad-underline::after {
    content: ""; position: absolute; left: 0; bottom: -0.4rem;
    width: 100%; height: 4px; border-radius: var(--radius-pill);
    background: var(--sunset-grad);
}

.grad-text {
    background: var(--sunset-grad-diag);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.lead { font-size: 1.1rem; color: var(--muted-foreground); max-width: 60ch; }

@media (min-width: 1024px) {
    .container { padding-inline: var(--space-lg); }
    .section { padding-block: 6rem; }
}

/* ============================================
   BUTTONS
   .btn--primary : coral-gold glowing CTA
   .btn--ghost   : bordered secondary
   .btn--lg      : large hero CTA
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 48px; padding: 0.75rem 1.5rem;
    font-family: "Sora", sans-serif; font-weight: 600; font-size: 1rem;
    border-radius: var(--radius-pill); border: 2px solid transparent;
    cursor: pointer; text-align: center;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn--primary {
    background: linear-gradient(120deg, var(--accent), var(--coral));
    color: #1c1204;
    box-shadow: 0 6px 18px rgba(255, 122, 89, 0.28);
}
.btn--primary:hover,
.btn--primary:focus-visible {
    transform: scale(1.03);
    box-shadow: var(--glow-coral), 0 8px 24px rgba(255, 122, 89, 0.4);
    color: #1c1204;
}

.btn--ghost {
    background: transparent; color: var(--foreground);
    border-color: var(--border);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: var(--primary); color: var(--primary);
    box-shadow: var(--glow-teal);
}

.btn--lg { min-height: 56px; padding: 1rem 2.25rem; font-size: 1.125rem; }

/* ============================================
   HEADER / NAV
   Sticky translucent header, mobile slide-in drawer.
   ============================================ */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(6, 23, 22, 0.85);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
    .site-header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

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

.site-brand {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.1rem;
    color: var(--foreground); flex-shrink: 0;
}
.site-brand:hover { color: var(--foreground); }
.site-brand__mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--sunset-grad); color: #04211f;
    font-size: 0.85rem; font-weight: 800; letter-spacing: -0.03em;
}
.site-brand__accent { color: var(--primary); }

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

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

.primary-nav__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem;
}
.primary-nav__list a {
    display: flex; align-items: center; min-height: 48px;
    padding: 0 0.5rem; font-family: "Sora", sans-serif; font-weight: 600;
    color: var(--foreground); border-bottom: 1px solid var(--border);
}
.primary-nav__list a:hover { color: var(--primary); }

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

/* desktop nav */
@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .primary-nav {
        display: flex; position: static; inset: auto;
        flex-direction: row; align-items: center; gap: var(--space-lg);
        background: transparent; overflow: visible; padding: 0; border: 0;
    }
    .primary-nav__list { flex-direction: row; align-items: center; gap: var(--space-md); }
    .primary-nav__list a { min-height: 40px; border-bottom: 0; padding: 0; }
    .primary-nav__cta { flex-direction: row; gap: 0.75rem; }
    .primary-nav__cta .btn { width: auto; }
}

/* ============================================
   HERO
   Full-bleed panoramic hero with sunset overlay.
   ============================================ */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex; align-items: center;
    padding-block: var(--section-gap);
    isolation: isolate;
}
.hero__bg {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(6,23,22,0.55) 0%, rgba(6,23,22,0.35) 40%, rgba(6,23,22,0.92) 100%),
        linear-gradient(90deg, rgba(6,23,22,0.75) 0%, rgba(6,23,22,0.15) 70%);
}
.hero__inner {
    max-width: var(--max-width); margin-inline: auto; width: 100%;
    padding-inline: var(--space-sm);
}
.hero__content { max-width: 640px; }
.hero h1 { margin-bottom: var(--space-md); }
.hero__text { font-size: 1.15rem; color: var(--foreground); margin-bottom: var(--space-lg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-md); }
.hero__microcopy {
    font-size: 0.9rem; color: var(--muted-foreground);
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.hero__microcopy .chip { margin: 0; }

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

/* Chips / badges */
.chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.3rem 0.75rem; border-radius: var(--radius-pill);
    background: var(--muted); border: 1px solid var(--border);
    font-size: 0.8rem; font-weight: 600; color: var(--foreground);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-head { max-width: 720px; margin-bottom: var(--space-xl); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted-foreground); }

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

.info-card {
    min-width: 0;
    display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-md);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--coral);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35), var(--glow-coral);
}
.info-card__media {
    border-radius: var(--radius-sm); overflow: hidden; margin-bottom: var(--space-md);
    background: var(--muted);
}
.info-card__media img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 3/2; }
.info-card__media--icon {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: auto; padding: var(--space-md); background: rgba(47,224,200,0.06);
}
.info-card__media--icon img { aspect-ratio: 1/1; width: auto; max-height: 96px; object-fit: contain; }
.info-card__icon { font-size: 2rem; margin-bottom: var(--space-sm); }
.info-card__title {
    position: relative; padding-bottom: 0.5rem; margin-bottom: 0.6rem;
}
.info-card__title::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 42px; height: 3px; border-radius: 3px; background: var(--sunset-grad);
}
.info-card__text { color: var(--muted-foreground); margin-bottom: var(--space-md); }
.info-card__cta {
    margin-top: auto; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-family: "Sora", sans-serif; font-weight: 600; color: var(--accent);
    min-height: 44px;
}
.info-card__cta:hover { color: var(--coral); }
.info-card__cta:hover .info-card__arrow { transform: translateX(4px); }
.info-card__arrow { transition: transform var(--dur) var(--ease); }

/* ============================================
   STAT HIGHLIGHT (component)
   ============================================ */
.stat-highlight {
    display: grid; gap: var(--space-md);
    grid-template-columns: minmax(0,1fr);
    padding: var(--space-lg);
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}
@media (min-width: 768px) {
    .stat-highlight { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
}
.stat-highlight__item {
    display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
    padding: var(--space-sm);
    position: relative;
}
@media (min-width: 768px) {
    .stat-highlight__item:not(:last-child)::after {
        content: ""; position: absolute; right: 0; top: 20%; bottom: 20%;
        width: 1px; background: var(--border);
    }
}
.stat-highlight__number {
    font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 800;
    background: var(--sunset-grad-diag);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    line-height: 1.1;
}
.stat-highlight__label { font-size: 0.95rem; color: var(--muted-foreground); }

/* ============================================
   FAQ ACCORDION (component) + native details styling
   ============================================ */
.faq-accordion {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-sm) var(--space-md);
}
.faq-accordion__heading { margin-bottom: var(--space-sm); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-item[open] { background: linear-gradient(90deg, rgba(47,224,200,0.05), rgba(245,185,66,0.04)); border-radius: var(--radius-sm); }
.faq-item__question {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
    min-height: 48px; padding: 0.75rem 0.25rem; cursor: pointer;
    font-family: "Sora", sans-serif; font-weight: 600; color: var(--foreground);
    list-style: none;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__marker {
    position: relative; flex-shrink: 0; width: 22px; height: 22px;
}
.faq-item__marker::before,
.faq-item__marker::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    background: var(--accent); border-radius: 2px;
    transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease);
}
.faq-item__marker::before { width: 14px; height: 2px; }
.faq-item__marker::after { width: 2px; height: 14px; }
.faq-item[open] .faq-item__marker::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__answer { padding: 0 0.25rem 0.75rem; }
.faq-item__answer p { color: var(--muted-foreground); margin-bottom: 0; }

/* ============================================
   CTA BAND (component)
   Full-bleed conversion band with ocean image.
   ============================================ */
.cta-band {
    position: relative; isolation: isolate;
    padding-block: 3.5rem; padding-inline: var(--space-sm);
    text-align: center; overflow: clip;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band__overlay {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, rgba(6,23,22,0.85), rgba(14,42,46,0.7)),
                linear-gradient(0deg, rgba(245,185,66,0.12), rgba(47,224,200,0.12));
}
.cta-band__content { max-width: 640px; margin-inline: auto; }
.cta-band__title { margin-bottom: var(--space-sm); }
.cta-band__text { color: var(--foreground); margin-bottom: var(--space-lg); }
.cta-band__microcopy { margin-top: var(--space-sm); margin-bottom: 0; font-size: 0.85rem; color: var(--muted-foreground); }
@media (min-width: 1024px) { .cta-band { padding-block: 6rem; } }

/* ============================================
   ENGAGEMENT / CRO PATTERNS
   .summary-box, .callout, .pull-quote, .split, .trust-strip
   ============================================ */
.summary-box {
    background: var(--muted); border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm); padding: var(--space-md);
    margin-bottom: var(--space-lg);
}
.summary-box h3, .summary-box strong { color: var(--foreground); }
.summary-box p:last-child { margin-bottom: 0; }

.callout {
    background: linear-gradient(120deg, rgba(245,185,66,0.08), rgba(255,122,89,0.06));
    border: 1px solid var(--border); border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm); padding: var(--space-md);
    margin-block: var(--space-lg);
}
.callout--offer {
    border: 2px solid var(--coral);
    box-shadow: var(--glow-coral);
    text-align: center;
}
.callout p:last-child { margin-bottom: 0; }

.pull-quote {
    font-family: "Sora", sans-serif; font-size: 1.4rem; 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: 0.5rem; font-size: 0.95rem; font-style: normal; color: var(--muted-foreground); }

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

/* Numbered process list */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li {
    position: relative; padding-left: 3rem; margin-bottom: var(--space-md);
    min-height: 2.25rem;
}
.steps li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 2.25rem; height: 2.25rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--sunset-grad); color: #04211f;
    font-family: "Sora", sans-serif; font-weight: 800;
}

/* Trust strip */
.trust-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: var(--space-sm); padding: var(--space-md);
    background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius);
}
.trust-strip__badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: var(--radius-pill);
    background: var(--card); border: 1px solid var(--border);
    font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.9rem;
}
.trust-strip__badge img { max-height: 40px; width: auto; }

/* Payment logo strip */
.pay-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: var(--space-md);
}
.pay-strip img { max-height: 48px; width: auto; }

/* Comparison table */
.table-wrapper { margin-block: var(--space-lg); }
table.compare {
    width: 100%; border-collapse: collapse; min-width: 480px;
    background: var(--card); border-radius: var(--radius); overflow: hidden;
}
table.compare th, table.compare td {
    padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border);
}
table.compare thead th {
    font-family: "Sora", sans-serif; color: var(--foreground); background: var(--muted);
}
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .is-recommended { background: rgba(47,224,200,0.06); }

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

.site-brand--footer { margin-bottom: var(--space-sm); }
.site-footer__tag { font-size: 0.95rem; max-width: 40ch; }
.site-footer__title {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--foreground); margin-bottom: var(--space-sm);
}
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: 0.5rem; }
.site-footer__links a { color: var(--muted-foreground); }
.site-footer__links a:hover { color: var(--primary); }

.pay-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pay-badge {
    padding: 0.35rem 0.7rem; border-radius: var(--radius-sm);
    background: var(--card); border: 1px solid var(--border);
    font-size: 0.8rem; font-weight: 600; color: var(--foreground);
}

.trust-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-sm); }
.trust-badge {
    padding: 0.4rem 0.8rem; border-radius: var(--radius-pill);
    border: 1px solid var(--primary); color: var(--primary);
    font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.8rem;
}
.trust-badge--age { border-color: var(--coral); color: var(--coral); }
.site-footer__note { font-size: 0.85rem; }

.site-footer__bar {
    border-top: 1px solid var(--border);
    padding: var(--space-md) var(--space-sm);
    text-align: center; font-size: 0.85rem;
}
.site-footer__bar p { margin: 0 auto; max-width: 80ch; }

/* ============================================
   SITEMAP PAGE
   ============================================ */
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list__item { padding-block: var(--space-md); border-bottom: 1px solid var(--border); }
.sitemap-list__item:last-child { border-bottom: 0; }
.sitemap-list__item h3 { margin-bottom: 0.4rem; }
.sitemap-list__item a { font-family: "Sora", sans-serif; }
.sitemap-list__item p { color: var(--muted-foreground); margin-bottom: 0; }

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

/* Staggered children */
.card-grid.is-visible .info-card { animation: fadeUp 600ms var(--ease) both; }
.card-grid.is-visible .info-card:nth-child(2) { animation-delay: 80ms; }
.card-grid.is-visible .info-card:nth-child(3) { animation-delay: 160ms; }
.card-grid.is-visible .info-card:nth-child(4) { animation-delay: 240ms; }
.card-grid.is-visible .info-card:nth-child(5) { animation-delay: 320ms; }
.card-grid.is-visible .info-card:nth-child(6) { animation-delay: 400ms; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .animate-on-scroll { opacity: 1; transform: none; transition: none; }
    .card-grid.is-visible .info-card { animation: none; }
    * { transition-duration: 0.01ms !important; }
}

/* Focus visibility */
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
