/*
 * OnlySpins Casino - Tropical Carnival Design System
 * Fonts: Fredoka (display), Mulish (body)
 * Single dark tropical-night theme (no theme switcher).
 */

:root {
    --background: #0a1524;
    --foreground: #f3ede1;
    --card: #0f2439;
    --card-foreground: #f3ede1;
    --popover: #0f2439;
    --popover-foreground: #f3ede1;
    --primary: #2dd4d4;
    --primary-foreground: #062028;
    --secondary: #0f2439;
    --secondary-foreground: #f3ede1;
    --muted: #1b3450;
    --muted-foreground: #9db8c4;
    --accent: #ffab5e;
    --accent-foreground: #2a1500;
    --destructive: #f4626b;
    --destructive-foreground: #2a0808;
    --border: #25415d;
    --input: #14283e;
    --ring: #2dd4d4;

    /* Brand tropical tokens */
    --sunset-gold: #ffab5e;
    --sunset-coral: #ff7a59;
    --gold-bright: #ffcf6e;

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

    --max-width: 1180px;
    --radius: 16px;
    --radius-lg: 24px;

    --font-display: "Fredoka", system-ui, sans-serif;
    --font-body: "Mulish", system-ui, sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
    :root {
        --space-section: 6rem;
        --space-xl: 6rem;
    }
}

/* ============================================
   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
   Fredoka headings, Mulish body.
   ============================================ */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    background-image:
        radial-gradient(1000px 500px at 80% -10%, rgba(45, 212, 212, 0.12), transparent 60%),
        radial-gradient(800px 500px at -10% 10%, rgba(255, 171, 94, 0.10), transparent 55%);
    -webkit-font-smoothing: antialiased;
}

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

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

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

p { margin: 0 0 1.625rem; max-width: 72ch; }

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

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }

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

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

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

.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-lg); }

.section-head { max-width: 60ch; margin-bottom: var(--space-lg); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8125rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Wave divider between sections (shoreline motif) */
.wave-divider {
    display: block; width: 100%; height: 40px; line-height: 0;
    color: var(--card);
}
.wave-divider svg { display: block; width: 100%; height: 100%; }

/* ============================================
   BUTTONS
   .btn--gold - primary prize CTA
   .btn--primary - turquoise action
   .btn--ghost - outlined
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }

.btn--gold {
    background: linear-gradient(135deg, var(--gold-bright), var(--sunset-gold));
    color: #2a1500;
    box-shadow: 0 8px 24px rgba(255, 171, 94, 0.28);
}
.btn--gold:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 34px rgba(255, 171, 94, 0.45);
}

.btn--primary {
    background: var(--primary);
    color: var(--primary-foreground);
}
.btn--primary:hover { transform: scale(1.04); box-shadow: 0 10px 28px rgba(45, 212, 212, 0.35); }

.btn--ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

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

/* ============================================
   HEADER + NAV
   Sticky header, mobile slide-in drawer.
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 21, 36, 0.92);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 0.75rem 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: 0.5rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.375rem;
    text-decoration: none;
}
.site-brand:hover { text-decoration: none; }
.site-brand__mark {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background:
        radial-gradient(circle at 50% 50%, var(--primary) 0 30%, transparent 32%),
        conic-gradient(from 200deg, var(--sunset-gold), var(--gold-bright), var(--sunset-coral), var(--sunset-gold));
    box-shadow: 0 0 12px rgba(255, 171, 94, 0.5);
}
.site-brand__text { letter-spacing: -0.02em; }

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px; height: 48px;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1001;
}
.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[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: 65px; left: 0; right: 0; bottom: 0;
    z-index: 999;
    background: var(--background);
    padding: var(--space-md) var(--space-sm) var(--space-lg);
    overflow-y: auto;
    flex-direction: column;
    gap: var(--space-md);
}
.primary-nav.is-open { display: flex; }

.primary-nav__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; align-items: stretch;
}
.primary-nav__list a {
    display: flex; align-items: center; min-height: 48px;
    padding: 0.5rem 0.25rem;
    color: var(--foreground); font-family: var(--font-display);
    font-weight: 500; font-size: 1.125rem;
    border-bottom: 1px solid var(--border);
}
.primary-nav__list a:hover { color: var(--primary); text-decoration: none; }

.primary-nav__cta {
    display: flex; flex-direction: column; gap: 0.75rem;
    margin-top: auto;
}
.primary-nav__cta .btn { width: 100%; }

@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .primary-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
        padding: 0;
        background: transparent;
        overflow: visible;
    }
    .primary-nav__list { flex-direction: row; gap: var(--space-md); }
    .primary-nav__list a {
        min-height: auto; border-bottom: none; font-size: 1rem;
        padding: 0.25rem 0;
    }
    .primary-nav__cta { flex-direction: row; margin-top: 0; }
    .primary-nav__cta .btn { width: auto; }
}

/* ============================================
   HERO
   Full-bleed dark hero with model + tropical scene.
   ============================================ */
.hero {
    position: relative;
    padding-block: var(--space-xl);
    background: linear-gradient(160deg, rgba(10, 21, 36, 0.2), rgba(10, 21, 36, 0.92) 70%), var(--background);
    overflow: clip;
}
.hero__inner {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--space-sm);
    display: grid;
    gap: var(--space-lg);
    align-items: center;
}
.hero__content { position: relative; z-index: 2; }
.hero__content h1 { margin-bottom: var(--space-sm); }
.hero__lede { font-size: 1.125rem; color: var(--muted-foreground); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.hero__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1024px) {
    .hero__inner { grid-template-columns: 1.05fr 1fr; gap: var(--space-xl); }
    .hero--media-left .hero__media { order: -1; }
}

/* ============================================
   GAME CARD - content card with image + CTA
   ============================================ */
.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 {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 0;
    box-shadow: 0 0 0 1px rgba(255, 122, 89, 0.08), 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.game-card:hover {
    border-color: rgba(255, 122, 89, 0.5);
    box-shadow: 0 12px 34px rgba(255, 122, 89, 0.18), 0 8px 24px rgba(0, 0, 0, 0.3);
}
.game-card__media { overflow: hidden; aspect-ratio: 3 / 2; }
.game-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.game-card:hover .game-card__media img { transform: scale(1.06); }
.game-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.game-card__title { color: var(--card-foreground); margin: 0; }
.game-card__desc { color: var(--muted-foreground); font-size: 0.9375rem; margin: 0; }
.game-card__link {
    align-self: flex-start;
    margin-top: 0.5rem;
    padding: 0.5rem 1.25rem;
    min-height: 44px;
    display: inline-flex; align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-bright), var(--sunset-gold));
    color: #2a1500; font-family: var(--font-display); font-weight: 600;
    box-shadow: 0 6px 16px rgba(255, 171, 94, 0.25);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.game-card__link:hover { transform: scale(1.04); text-decoration: none; box-shadow: 0 10px 24px rgba(255, 171, 94, 0.4); }

/* ============================================
   STAT BLOCK - jackpot-style numbers
   ============================================ */
.stat-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    text-align: center;
    background:
        radial-gradient(600px 200px at 50% 0%, rgba(255, 171, 94, 0.08), transparent 70%),
        var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}
@media (min-width: 768px) { .stat-block { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-block__item { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-block__number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.75rem;
    line-height: 1;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(255, 171, 94, 0.35);
}
.stat-block__label { color: var(--muted-foreground); font-size: 0.9375rem; }

/* ============================================
   TRUST BADGE ROW
   ============================================ */
.trust-badge-row {
    position: relative;
    background: color-mix(in srgb, var(--secondary) 70%, #071626);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
}
.trust-badge-row__wave { position: absolute; top: -1px; left: 0; width: 100%; height: 24px; color: var(--background); line-height: 0; }
.trust-badge-row__wave svg { width: 100%; height: 100%; }
.trust-badge-row__image { margin: 0 auto var(--space-md); max-width: 720px; }
.trust-badge-row__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.trust-badge-row__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
}
.trust-badge {
    display: inline-flex; align-items: center;
    padding: 0.6rem 1.1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem;
    color: var(--card-foreground);
    transition: filter 0.2s var(--ease);
}
.trust-badge:hover { filter: brightness(1.15); }

/* ============================================
   CTA BANNER - sunset gradient prize band
   ============================================ */
.cta-banner {
    position: relative;
    margin-block: var(--space-section);
    padding: var(--space-xl) var(--space-sm);
    background: linear-gradient(120deg, var(--gold-bright), var(--sunset-gold) 45%, var(--sunset-coral));
    text-align: center;
    overflow: clip;
}
.cta-banner__wave { position: absolute; top: -1px; left: 0; width: 100%; height: 40px; color: var(--background); line-height: 0; }
.cta-banner__wave svg { width: 100%; height: 100%; }
.cta-banner__confetti {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.7) 2px, transparent 3px),
        radial-gradient(circle, rgba(255,255,255,0.5) 2px, transparent 3px);
    background-size: 90px 90px, 140px 140px;
    background-position: 0 0, 40px 60px;
    opacity: 0.5;
    animation: confettiDrift 14s linear infinite;
}
.cta-banner__inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.cta-banner__heading { color: #2a1500; margin-bottom: 0.75rem; }
.cta-banner__subtext { color: #3a2000; font-weight: 600; margin-bottom: var(--space-md); }
.cta-banner__microcopy { color: #4a2a00; font-size: 0.875rem; margin: 0.75rem 0 0; }

@keyframes confettiDrift {
    from { background-position: 0 0, 40px 60px; }
    to { background-position: 0 90px, 40px 200px; }
}

/* ============================================
   ENGAGEMENT PATTERNS
   .callout / .callout--bonus - highlight box
   .tldr - summary box
   .pull-quote - oversized quote
   ============================================ */
.callout {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-block: var(--space-md);
}
.callout--bonus {
    border: 2px solid var(--sunset-coral);
    box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.12), 0 8px 24px rgba(0, 0, 0, 0.25);
    text-align: center;
}
.callout--bonus .callout__number {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: 3rem; line-height: 1; color: var(--accent);
    text-shadow: 0 0 20px rgba(255, 171, 94, 0.35);
    margin-bottom: 0.5rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout__title { font-family: var(--font-display); font-weight: 600; margin-bottom: 0.5rem; }

.tldr {
    background: color-mix(in srgb, var(--primary) 12%, var(--card));
    border: 1px solid color-mix(in srgb, var(--primary) 40%, var(--border));
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-block: var(--space-lg);
}
.tldr__label {
    display: inline-block; font-family: var(--font-display); font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8125rem;
    color: var(--primary); margin-bottom: 0.5rem;
}
.tldr ul { margin: 0; }

.pull-quote {
    border: 0; border-left: 4px solid var(--accent);
    margin: var(--space-lg) 0; padding: var(--space-sm) var(--space-md);
    font-family: var(--font-display); font-size: 1.375rem; font-weight: 500;
    color: var(--foreground);
}
.pull-quote cite { display: block; margin-top: 0.5rem; font-size: 0.9375rem; font-style: normal; color: var(--muted-foreground); font-family: var(--font-body); }

/* Numbered process steps */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--space-sm); }
.steps > li {
    position: relative; padding-left: 3.25rem; margin: 0;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding-block: var(--space-md); padding-right: var(--space-md);
}
.steps > li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 1rem; top: 1rem;
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--gold-bright), var(--sunset-gold));
    color: #2a1500; font-family: var(--font-display); font-weight: 700;
}
.steps__title { font-family: var(--font-display); font-weight: 600; }

/* ============================================
   FAQ ACCORDION (native details/summary)
   ============================================ */
.faq-accordion__heading { margin-bottom: var(--space-md); }
.faq-accordion__list { display: grid; gap: var(--space-sm); }
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--sunset-coral);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.25s var(--ease);
}
.faq-item[open] { box-shadow: 0 0 0 2px rgba(255, 171, 94, 0.25); }
.faq-item__q {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer; list-style: none;
    font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem;
    color: var(--card-foreground);
    min-height: 48px;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-item__icon::before, .faq-item__icon::after {
    content: ""; position: absolute; background: var(--accent); border-radius: 2px;
    transition: transform 0.25s var(--ease);
}
.faq-item__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-item__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-item__icon::after { transform: scaleY(0); }
.faq-item__a { padding: 0 1.5rem 1.25rem; }
.faq-item__a p { margin: 0; color: var(--muted-foreground); }

/* ============================================
   SOCIAL PROOF / TESTIMONIAL CARDS
   ============================================ */
.proof-grid {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm);
}
@media (min-width: 768px) { .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.proof-card {
    background: var(--card); border: 1px solid var(--border);
    border-top: 3px solid var(--sunset-coral);
    border-radius: var(--radius-lg); padding: var(--space-md);
}
.proof-card__media { border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-sm); aspect-ratio: 16/10; }
.proof-card__media img { width: 100%; height: 100%; object-fit: cover; }
.proof-card p { margin: 0 0 0.75rem; }
.proof-card__name { font-family: var(--font-display); font-weight: 600; color: var(--foreground); }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.table-wrapper { margin-block: var(--space-md); }
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: var(--font-display); font-weight: 600;
    background: var(--secondary); color: var(--foreground);
}
table.compare tbody tr:hover { background: color-mix(in srgb, var(--primary) 8%, var(--card)); }
table.compare .is-recommended { background: color-mix(in srgb, var(--accent) 14%, var(--card)); }

/* ============================================
   PROSE - readable body sections
   ============================================ */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--space-lg); }
.prose h3 { margin-top: var(--space-md); }

/* Bonus / offer two-column tiles */
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
@media (min-width: 768px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer-tile {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: var(--space-md);
    display: flex; flex-direction: column; gap: 0.75rem;
}
.offer-tile__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.offer-tile__media img { width: 100%; height: 100%; object-fit: cover; }

/* Inline media block (full-width image inside prose) */
.media-block {
    border-radius: var(--radius-lg); overflow: hidden; margin-block: var(--space-lg);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}
.media-block img { width: 100%; display: block; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    margin-top: var(--space-section);
    background: color-mix(in srgb, var(--secondary) 80%, #06101d);
    border-top: 1px solid var(--border);
}
.site-footer__inner {
    max-width: var(--max-width); margin-inline: auto;
    padding: var(--space-xl) var(--space-sm) var(--space-lg);
    display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg);
}
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__heading {
    font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600;
    color: var(--foreground); margin-bottom: var(--space-sm);
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 0.6rem; }
.site-footer__col a { color: var(--muted-foreground); }
.site-footer__col a:hover { color: var(--primary); }
.site-brand__text--footer { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--foreground); }
.site-footer__tag { color: var(--muted-foreground); font-size: 0.9375rem; margin: 0.75rem 0; }
.age-badge {
    display: inline-block; padding: 0.4rem 0.9rem;
    border: 1px solid var(--sunset-coral); border-radius: 999px;
    color: var(--foreground); font-weight: 600; font-size: 0.875rem; margin: 0;
}
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-badge {
    display: inline-block; padding: 0.4rem 0.75rem;
    background: var(--card); border: 1px solid var(--primary);
    border-radius: 10px; font-size: 0.875rem; color: var(--foreground);
}
.site-footer__legal {
    border-top: 1px solid var(--border);
    padding: var(--space-md) var(--space-sm);
    text-align: center;
}
.site-footer__legal p {
    max-width: 80ch; margin: 0 auto; font-size: 0.875rem; color: var(--muted-foreground);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs { padding: var(--space-sm) 0 0; font-size: 0.875rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumbs li { color: var(--muted-foreground); }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--muted-foreground); }
.breadcrumbs a { color: var(--muted-foreground); }
.breadcrumbs a:hover { color: var(--primary); }

/* Sitemap list */
.sitemap-list { list-style: none; padding: 0; display: grid; gap: var(--space-md); }
.sitemap-list li {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-md); margin: 0;
}
.sitemap-list h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.sitemap-list h2 a { color: var(--sunset-coral); }
.sitemap-list p { margin: 0; color: var(--muted-foreground); }

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

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