/*
 * Pandido Casino - jungle-explorer design system
 * Canonical design tokens live in this file.
 */

:root {
    --c-forest-950: #081f13;
    --c-forest-900: #0c2a1b;
    --c-forest-800: #123824;
    --c-forest-700: #18472d;
    --c-forest-600: #1f5a37;
    --c-olive: #6a7350;
    --c-olive-dark: #545b3e;
    --c-green: #2f8733;
    --c-green-dark: #1a5a1f;
    --c-green-light: #6cc24a;
    --c-gold: #f3b631;
    --c-gold-light: #ffdc73;
    --c-gold-dark: #b67a14;
    --c-gold-deep: #6b430c;
    --c-wood: #8b4f25;
    --c-wood-light: #b06a33;
    --c-wood-dark: #5a2f14;
    --c-wood-deep: #3d1f0c;
    --c-cream: #fbf0d4;
    --c-cream-dark: #ead7a8;
    --c-ink: #2a1a0c;
    --c-text: #f5f1e3;
    --c-text-muted: #cad9c3;
    --c-teal: #2fb5a5;
    --c-teal-light: #8de6da;
    --c-coral: #e9775a;

    --font-display: 'Lilita One', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
    --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    --container: 1200px;
    --section-pad: clamp(48px, 7vw, 88px);

    --wood-grain: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%27160%27%20height=%2728%27%20viewBox=%270%200%20160%2028%27%3E%3Cpath%20d=%27M0%207Q40%202%2080%207T160%207M0%2017Q40%2022%2080%2017T160%2017M0%2024Q50%2021%20100%2024T160%2024%27%20fill=%27none%27%20stroke=%27%23000%27%20stroke-opacity=%27.14%27%20stroke-width=%271.2%27/%3E%3C/svg%3E");
    --wood-surface:
        var(--wood-grain),
        repeating-linear-gradient(178deg, rgba(255, 255, 255, 0) 0 7px, rgba(0, 0, 0, 0.07) 7px 8px, rgba(255, 255, 255, 0.05) 8px 10px),
        linear-gradient(180deg, var(--c-wood-light) 0%, var(--c-wood) 45%, var(--c-wood-dark) 100%);
    --wood-rim: inset 0 0 0 2px var(--c-gold), inset 0 3px 0 rgba(255, 255, 255, 0.18), 0 6px 14px rgba(0, 0, 0, 0.4);
    --header-bottom: 64px;
}

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

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE & TYPOGRAPHY
   ============================================ */
html {
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-forest-900);
    background-image: radial-gradient(ellipse 80% 40% at 50% 0%, #15402a 0%, rgba(12, 42, 27, 0) 70%);
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 0.5em;
    letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--c-gold); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); color: var(--c-gold); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--c-cream); }

p { margin: 0 0 1em; }

a {
    color: var(--c-gold-light);
}

a:hover {
    color: #fff0b8;
}

:focus-visible {
    outline: 3px solid var(--c-gold-light);
    outline-offset: 3px;
}

ul, ol { padding-left: 1.25em; }

strong { font-weight: 800; }

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: var(--section-pad) 0;
}

.section--tight { padding: clamp(32px, 5vw, 56px) 0; }

.section-title { color: var(--c-gold); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }

.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-teal-light);
}

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--c-text);
}

.muted { color: var(--c-text-muted); }
.text-center { text-align: center; }

.prose { max-width: 72ch; }
.prose p, .prose li { color: var(--c-text-muted); }
.prose strong { color: var(--c-text); }
.prose h3 { margin-top: 1.4em; }

.text-link {
    font-weight: 800;
    color: var(--c-gold-light);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.terms-line {
    display: inline-block;
    margin: 0 0 18px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: rgba(8, 31, 19, 0.82);
    border: 1px solid rgba(243, 182, 49, 0.55);
    color: var(--c-cream);
    font-weight: 700;
    font-size: 0.95rem;
}

.visually-hidden {
    position: absolute !important;
    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: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--c-gold);
    color: var(--c-ink);
    font-weight: 800;
}

.skip-link:focus { top: 12px; }

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.rosette {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.4));
}

/* ============================================
   PAGE FRAME & VINES
   ============================================ */
.site-frame {
    position: relative;
    overflow-x: clip;
}

.site-vines {
    display: none;
}

@media (min-width: 768px) {
    .site-vines {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: clamp(120px, 16vw, 290px);
        object-fit: cover;
        object-position: top center;
        z-index: 3;
        pointer-events: none;
    }
}

@media (min-width: 1280px) {
    .site-frame {
        padding-inline: 30px;
    }

    .site-frame::before,
    .site-frame::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 30px;
        z-index: 4;
        pointer-events: none;
        background:
            url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2730%27%20height=%27120%27%20viewBox=%270%200%2030%20120%27%20fill=%27none%27%20stroke=%27%233d7a4c%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%3E%3Cpath%20d=%27M10%208l10%208-10%208M15%2034v14M9%2038h12M10%2058l10%2010M20%2058L10%2068M15%2082l6%206-6%206-6-6zM10%20106h10M15%20101v12%27/%3E%3C/svg%3E") repeat-y center top,
            linear-gradient(180deg, #0a2416, #072014);
    }

    .site-frame::before {
        left: 0;
        box-shadow: inset -3px 0 0 #b8892c, inset -6px 0 0 #4a320c;
    }

    .site-frame::after {
        right: 0;
        box-shadow: inset 3px 0 0 #b8892c, inset 6px 0 0 #4a320c;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

.btn--gold {
    color: #3a1d05;
    background: linear-gradient(180deg, #ffe58f 0%, #f6c143 45%, #e39d22 100%);
    border-color: #9a6410;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -3px 0 rgba(140, 80, 10, 0.45), 0 4px 0 var(--c-gold-deep), 0 8px 16px rgba(0, 0, 0, 0.35);
}

.btn--gold:hover { color: #2a1402; }

.btn--green {
    color: #ffffff;
    background: linear-gradient(180deg, #2f8733 0%, #2a7c2e 45%, #1a5a1f 100%);
    border-color: #0f3d15;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    box-shadow: inset 0 2px 0 rgba(180, 240, 160, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 4px 0 #0c3311, 0 8px 16px rgba(0, 0, 0, 0.35);
}

.btn--green:hover { color: #ffffff; }

.btn--sm {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.98rem;
}

.btn--xs {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.95rem;
}

.btn--rosette {
    margin-left: 14px;
    padding-left: 54px;
}

.btn--sm.btn--rosette { padding-left: 46px; }

.btn__rosette {
    position: absolute;
    left: -14px;
    top: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.45));
}

.btn--sm .btn__rosette {
    width: 50px;
    height: 50px;
    margin-top: -25px;
    left: -12px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--wood-surface);
    border-bottom: 3px solid var(--c-gold-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(100% - 24px, 1240px);
    margin-inline: auto;
    padding: 8px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    text-decoration: none;
    min-width: 0;
}

.site-brand__mark {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 0.95;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.site-brand__name {
    font-size: 1.45rem;
    color: var(--c-gold);
    text-shadow: 0 2px 0 #4a2508, 1px 0 0 #4a2508, -1px 0 0 #4a2508;
}

.site-brand__sub {
    font-size: 1rem;
    color: #8be06a;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 0 #1e3f10, 1px 0 0 #1e3f10, -1px 0 0 #1e3f10;
}

.site-header__plank {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-header__rosette { display: none; }

.site-header .header-actions { display: none; }

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;
    border: 2px solid var(--c-gold);
    background: linear-gradient(180deg, #1f5a37, #0f3a22);
    cursor: pointer;
}

.menu-toggle__bars {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
}

.menu-toggle__bars span {
    display: block;
    height: 2.5px;
    border-radius: 2px;
    background: var(--c-cream);
    transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

/* Mobile drawer */
.site-nav {
    display: none;
    position: fixed;
    top: var(--header-bottom, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 45;
    overflow-y: auto;
    padding: 12px 20px 32px;
    background: var(--c-forest-950);
    border-top: 3px solid var(--c-gold-dark);
}

.site-nav.is-open { display: block; }

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 4px 6px;
    border-bottom: 1px solid #24563a;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--c-cream);
    text-decoration: none;
}

.site-nav__list a[aria-current="page"],
.site-nav__list a:hover {
    color: var(--c-gold-light);
}

.site-nav__note {
    margin: 20px 0 0;
    font-weight: 700;
    color: var(--c-text-muted);
}

/* Desktop header */
@media (min-width: 1024px) {
    .site-header {
        position: relative;
        background: none;
        border: 0;
        box-shadow: none;
    }

    .site-header__inner {
        padding: 22px 0 10px;
        gap: 0;
    }

    .site-brand {
        position: relative;
        z-index: 2;
        flex-shrink: 0;
        padding: 10px 22px 12px 92px;
        border-radius: 18px;
        background: var(--wood-surface);
        border: 3px solid #4a2a10;
        box-shadow: var(--wood-rim);
    }

    .site-brand::before,
    .site-brand::after {
        content: "";
        position: absolute;
        top: -24px;
        width: 4px;
        height: 24px;
        background: repeating-linear-gradient(180deg, #9a8a6a 0 5px, #5a4d36 5px 7px);
        border-radius: 2px;
    }

    .site-brand::before { left: 40%; }
    .site-brand::after { right: 18%; }

    .site-brand__mark {
        position: absolute;
        left: -14px;
        bottom: -8px;
        width: 100px;
        height: 100px;
    }

    .site-brand__text { align-items: center; }
    .site-brand__name { font-size: 2rem; }
    .site-brand__sub { font-size: 1.5rem; }

    .site-header__plank {
        position: relative;
        flex: 1;
        justify-content: space-between;
        gap: 14px;
        min-height: 70px;
        margin-left: -14px;
        padding: 10px 18px 10px 54px;
        border-radius: 0 16px 16px 0;
        background: var(--wood-surface);
        border: 3px solid #4a2a10;
        box-shadow: var(--wood-rim);
    }

    .site-header__rosette {
        display: block;
        position: absolute;
        left: -12px;
        top: 50%;
        width: 60px;
        height: 60px;
        margin-top: -30px;
        filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.45));
    }

    .site-nav {
        display: block;
        position: static;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .site-nav__list a {
        position: relative;
        min-height: 44px;
        padding: 4px 10px;
        border: 0;
        font-size: 1.1rem;
        text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
    }

    .site-nav__list a[aria-current="page"]::after {
        content: "";
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 2px;
        height: 4px;
        border-radius: 4px;
        background: linear-gradient(90deg, #ffe58f, #f3b631);
    }

    .site-nav__note { display: none; }

    .site-header .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header-actions .header-cta { padding: 0 16px; }

    .menu-toggle { display: none; }
}

@media (min-width: 1200px) {
    .site-brand__name { font-size: 2.3rem; }
    .site-brand__sub { font-size: 1.6rem; }
    .site-nav__list { gap: 8px; }
    .site-nav__list a { font-size: 1.2rem; padding: 4px 14px; }
    .site-nav__list a[aria-current="page"]::after { left: 14px; right: 14px; }
}

/* Sticky mobile CTA */
.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--c-forest-950);
    border-top: 2px solid var(--c-gold-dark);
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.4);
}

.mobile-cta .mobile-cta__btn { width: 100%; padding: 0 10px; }

@media (min-width: 1024px) {
    body { padding-bottom: 0; }
    .mobile-cta { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    padding-top: clamp(28px, 5vw, 56px);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 31, 19, 0.7) 0%, rgba(8, 31, 19, 0.78) 70%, var(--c-forest-900) 100%);
}

.hero--plain {
    background: radial-gradient(ellipse 70% 80% at 75% 40%, rgba(190, 222, 80, 0.22), rgba(12, 42, 27, 0) 70%), var(--c-forest-900);
}

.hero__grid {
    display: grid;
    gap: 24px;
    align-items: center;
}

.hero__content { order: 1; }
.hero__medal { order: 2; }
.hero__art { order: 3; }

.hero__title {
    color: var(--c-gold);
    text-shadow: 0 3px 0 #3d2405, 0 6px 18px rgba(0, 0, 0, 0.55);
}

.hero__content .lead,
.hero__content p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin: 6px 0 12px;
}

.hero__note {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-cream);
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 18px;
    padding: 0;
    list-style: none;
}

.hero__art {
    position: relative;
    isolation: isolate;
    justify-self: center;
    width: min(100%, 340px);
    align-self: end;
}

.hero__img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}

.hero__glow {
    position: absolute;
    inset: 0 -20% 10%;
    z-index: -1;
    background: radial-gradient(circle at 50% 42%, rgba(255, 238, 130, 0.85) 0%, rgba(200, 228, 86, 0.45) 28%, rgba(120, 180, 60, 0) 64%);
    pointer-events: none;
}

.hero__spark {
    position: absolute;
    z-index: 1;
    width: 22px;
    height: 22px;
    color: #fff6c8;
    filter: drop-shadow(0 0 6px rgba(255, 230, 140, 0.9));
    pointer-events: none;
}

.hero__spark--a { top: 12%; left: 4%; }
.hero__spark--b { top: 6%; right: 10%; width: 16px; height: 16px; }
.hero__spark--c { top: 52%; right: 0; width: 18px; height: 18px; }

.hero__coin {
    position: absolute;
    z-index: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff3b0 0%, #f3b631 45%, #a8690f 100%);
    border: 2px solid #8a5410;
    filter: blur(0.6px);
    pointer-events: none;
}

.hero__coin--a { top: 20%; left: -2%; }
.hero__coin--b { top: 32%; right: -4%; width: 20px; height: 20px; filter: blur(1.4px); }
.hero__coin--c { bottom: 26%; left: 2%; width: 18px; height: 18px; filter: blur(2px); }

.hero__medal { justify-self: center; }

@media (min-width: 768px) {
    .hero__art { width: min(100%, 420px); }
}

@media (min-width: 1024px) {
    .hero__bg::after {
        background:
            linear-gradient(90deg, rgba(8, 31, 19, 0.2) 0%, rgba(8, 31, 19, 0.35) 34%, rgba(8, 31, 19, 0.72) 52%, rgba(8, 31, 19, 0.6) 100%),
            linear-gradient(180deg, rgba(8, 31, 19, 0) 70%, var(--c-forest-900) 100%);
    }

    .hero__grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 32px;
        align-items: center;
    }

    .hero--medal .hero__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.62fr);
    }

    .hero__art {
        order: 0;
        width: 100%;
        max-width: 540px;
        align-self: end;
    }

    .hero__content { order: 1; }
    .hero__medal { order: 2; }

    .hero--art-right .hero__art { order: 3; }

    .hero--compact .hero__art { max-width: 420px; }
}

/* Offer medallion */
.medallion {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(250px, 26vw, 330px);
    aspect-ratio: 1;
    margin-inline: auto;
}

.medallion__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
}

.medallion__text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 54%;
    margin: 0;
    text-align: center;
    color: #4a2508;
    line-height: 1.05;
    text-shadow: none;
}

.hero__content .medallion__text { text-shadow: none; }

.medallion__big {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.4vw, 2.9rem);
    color: #4a2508;
}

.medallion__line {
    font-weight: 800;
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    color: #4a2508;
}

/* Wood rail divider */
.wood-rail {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    margin-top: 12px;
}

.wood-rail::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 14px;
    margin-top: -7px;
    background: var(--wood-surface);
    border-top: 2px solid var(--c-gold);
    border-bottom: 2px solid var(--c-gold-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.wood-rail__center {
    position: relative;
    width: 280px;
    height: 56px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
}

@media (min-width: 768px) {
    .wood-rail__center { width: 320px; height: 64px; }
}

/* Breadcrumbs */
.breadcrumbs { padding-top: 16px; }

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    color: var(--c-text-muted);
}

.breadcrumbs li + li::before {
    content: "›";
    margin-right: 8px;
    color: var(--c-gold);
}

.breadcrumbs a { color: var(--c-gold-light); }

/* ============================================
   SPLIT LAYOUT & INTEGRATED ART
   ============================================ */
.split {
    display: grid;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.split__media { position: relative; }

.integrated-art {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}

.integrated-art--soft {
    -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
}

@media (min-width: 1024px) {
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .split--art-left .split__media { order: -1; }
    .split--wide-text { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}

/* ============================================
   GAME TILES
   ============================================ */
.tile-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile-grid--scroll {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 62%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px;
    scrollbar-color: var(--c-gold-dark) transparent;
}

.tile-grid--scroll > * { scroll-snap-align: start; }

@media (min-width: 768px) {
    .tile-grid,
    .tile-grid--scroll {
        grid-auto-flow: row;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
        padding: 0;
    }
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    border: 3px solid var(--c-gold);
    background: var(--wood-surface);
    box-shadow: inset 0 0 0 2px #5a2f14, 0 6px 14px rgba(0, 0, 0, 0.4);
}

.tile__panel {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    margin: 8px 8px 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #7a8260, var(--c-olive-dark));
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.18), inset 0 3px 8px rgba(255, 255, 255, 0.12);
}

.tile__icon {
    width: 46%;
    height: auto;
    aspect-ratio: 1;
    color: var(--c-cream);
}

.tile__rosette {
    position: absolute;
    right: 4px;
    top: calc((100% - 16px) * 0.4);
    width: 44px;
    height: 44px;
}

.tile__base {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    padding: 12px 12px 14px;
}

.tile__title {
    margin: 0;
    font-size: 1.15rem;
}

.tile__title a {
    color: var(--c-cream);
    text-decoration: none;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.tile__title a:hover { color: var(--c-gold-light); text-decoration: underline; }

.tile__note {
    margin: 0;
    font-size: 0.9rem;
    color: #fbe9c4;
}

.tile .btn { margin-top: auto; }

/* ============================================
   FRAMED MEDIA
   ============================================ */
.framed {
    position: relative;
    margin: 0;
    padding: 8px;
    border-radius: 16px;
    background: var(--wood-surface);
    border: 3px solid var(--c-gold);
    box-shadow: inset 0 0 0 2px #5a2f14, var(--shadow);
}

.framed__frame {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.framed__frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.framed__overlay {
    position: absolute;
    inset: auto 0 0;
    margin: 0;
    padding: 28px 16px 14px;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    color: var(--c-gold-light);
    text-shadow: 0 3px 0 #2a4d10, 0 0 14px rgba(0, 0, 0, 0.8);
    background: linear-gradient(180deg, rgba(8, 31, 19, 0) 0%, rgba(8, 31, 19, 0.85) 70%);
}

.framed__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
    padding: 12px 12px 6px 56px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--c-cream);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.framed__rosette {
    position: absolute;
    left: -14px;
    bottom: -14px;
    width: 72px;
    height: 72px;
}

/* ============================================
   PLANK CARDS
   ============================================ */
.card-grid {
    display: grid;
    gap: 28px 20px;
    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--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.plank-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.plank-card__head {
    position: relative;
    z-index: 1;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--wood-surface);
    border: 3px solid #4a2a10;
    box-shadow: var(--wood-rim);
    text-align: center;
}

.plank-card__title {
    margin: 0;
    color: var(--c-cream);
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.plank-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: -6px 8px 0;
    padding: 24px 18px 30px;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(180deg, var(--c-forest-600) 0%, var(--c-forest-800) 100%);
    border: 2px solid #2e7046;
    border-top: 0;
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.3);
}

.plank-card__media {
    position: relative;
    width: min(70%, 170px);
    margin: 0 auto 16px;
}

.plank-card__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.plank-card__icon {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 115, 0.18), rgba(255, 220, 115, 0) 70%);
    color: var(--c-cream);
}

.plank-card__icon .icon { width: 60%; height: auto; aspect-ratio: 1; }

.plank-card__rosette {
    position: absolute;
    right: -10px;
    bottom: -6px;
    width: 52px;
    height: 52px;
}

.plank-card__text { color: var(--c-text-muted); }
.plank-card__text p:last-child { margin-bottom: 0; }

.plank-card__cta {
    margin-top: auto;
    padding-top: 18px;
}

.plank-card--teal .plank-card__body { border-color: var(--c-teal); box-shadow: inset 4px 0 0 var(--c-teal), inset 0 0 24px rgba(0, 0, 0, 0.3); }
.plank-card--coral .plank-card__body { background: linear-gradient(180deg, #3e3523 0%, #2a2518 100%); border-color: #8c5a3f; }

/* ============================================
   JUNGLE BAND
   ============================================ */
.jungle-band {
    position: relative;
    isolation: isolate;
    padding: clamp(72px, 10vw, 128px) 0;
}

.jungle-band__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.jungle-band__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 31, 19, 0.74);
}

.jungle-band__edge {
    position: absolute;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: -1;
    fill: var(--c-forest-900);
    pointer-events: none;
}

.jungle-band__edge--top { top: 0; }
.jungle-band__edge--bottom { bottom: 0; transform: scaleY(-1); }

.band-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.band-col h2,
.band-col h3 {
    color: var(--c-gold);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    text-shadow: 0 3px 0 #2a1a05, 0 0 14px rgba(0, 0, 0, 0.6);
}

.band-col p {
    color: var(--c-text);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.band-col .btn { margin-top: 8px; }

.needle { display: flex; justify-content: center; }
.needle__v { display: none; }
.needle__h { width: min(100%, 300px); height: 60px; }

@media (min-width: 1024px) {
    .jungle-band__bg::after {
        background: radial-gradient(ellipse 48% 70% at 50% 50%, rgba(8, 31, 19, 0.82) 0%, rgba(8, 31, 19, 0.5) 70%, rgba(8, 31, 19, 0.2) 100%);
    }

    .band-grid {
        grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
        gap: 36px;
        max-width: 900px;
        margin-inline: auto;
    }

    .band-col:first-child { text-align: right; }
    .needle__h { display: none; }
    .needle__v { display: block; width: 60px; height: 400px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
}

/* ============================================
   CHIP PLANK
   ============================================ */
.chip-plank {
    position: relative;
    margin: 20px 0 10px;
    padding: 16px 40px;
    border-radius: 40px;
    background: var(--wood-surface);
    border: 3px solid #4a2a10;
    box-shadow: var(--wood-rim);
}

.chip-plank__gem {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
}

.chip-plank__gem--l { left: 10px; }
.chip-plank__gem--r { right: 10px; }

.chip-plank__vine {
    position: absolute;
    top: -16px;
    width: 34px;
    height: 60px;
    pointer-events: none;
}

.chip-plank__vine--l { left: 28px; }
.chip-plank__vine--r { right: 28px; transform: scaleX(-1); }

.chip-plank__scroll {
    overflow-x: auto;
    scrollbar-color: var(--c-gold-dark) transparent;
}

.chip-plank__list {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 4px 2px 6px;
    list-style: none;
}

.chip-plank--wrap .chip-plank__scroll { overflow: visible; }
.chip-plank--wrap .chip-plank__list { flex-wrap: wrap; justify-content: center; }
.chip-plank--wrap { border-radius: 28px; }

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fffaf0, #f1e2bd);
    border: 1px solid #d9c08a;
    box-shadow: inset 0 -2px 0 rgba(140, 100, 40, 0.25), 0 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--c-ink);
    font-weight: 800;
    font-size: 0.98rem;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .chip-plank { padding: 18px 56px; }
    .chip-plank__list { justify-content: center; }
    .chip-plank__gem { width: 28px; height: 28px; margin-top: -14px; }
    .chip-plank__gem--l { left: 16px; }
    .chip-plank__gem--r { right: 16px; }
}

/* Wood chips */
.wood-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 16px 6px 8px;
    border-radius: var(--radius-pill);
    background: var(--wood-surface);
    border: 2px solid var(--c-gold);
    box-shadow: inset 0 0 0 1px #4a2a10, 0 3px 8px rgba(0, 0, 0, 0.35);
    color: var(--c-cream);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

a.wood-chip:hover { color: var(--c-gold-light); }

.wood-chip__rosette { width: 28px; height: 28px; filter: none; }
.wood-chip__icon { width: 22px; height: 22px; color: var(--c-gold-light); margin-left: 4px; }

/* Medal icon */
.medal-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
}

.medal-icon--lg { width: 96px; height: 96px; }
.medal-icon--sm { width: 52px; height: 52px; }

.medal-icon__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45));
}

.medal-icon__glyph {
    position: relative;
    width: 44%;
    height: 44%;
    color: var(--c-gold-light);
}

/* ============================================
   CALLOUT
   ============================================ */
.callout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff8e6, var(--c-cream));
    border: 1px solid var(--c-cream-dark);
    border-left: 6px solid var(--c-gold);
    box-shadow: var(--shadow);
    color: var(--c-ink);
}

.callout__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f3dfa6;
    color: #6b3d0f;
}

.callout__title {
    margin: 0 0 6px;
    color: #4a2a0a;
    font-size: 1.25rem;
}

.callout p { color: var(--c-ink); margin-bottom: 0.6em; }
.callout p:last-child { margin-bottom: 0; }
.callout a { color: #6b3d0f; font-weight: 800; }
.callout a:hover { color: #3d1f0c; }

/* ============================================
   TABLES
   ============================================ */
.tbl-box {
    border-radius: 16px;
    border: 2px solid var(--c-gold-dark);
    background: var(--c-forest-800);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
}

.tbl caption {
    padding: 14px 16px;
    text-align: left;
    font-weight: 800;
    color: var(--c-cream);
}

.tbl th,
.tbl td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.tbl thead th {
    background: var(--wood-surface);
    color: var(--c-cream);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
    border-bottom: 3px solid var(--c-gold);
}

.tbl tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.04); }
.tbl tbody tr + tr { border-top: 1px solid #24563a; }
.tbl tbody th { color: var(--c-gold-light); font-weight: 800; }
.tbl td { color: var(--c-text); }

@media (max-width: 767px) {
    .tbl thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .tbl,
    .tbl tbody,
    .tbl tr,
    .tbl th,
    .tbl td {
        display: block;
        width: 100%;
    }

    .tbl tbody tr {
        padding: 10px 4px;
    }

    .tbl tbody th {
        padding: 10px 14px 6px;
        font-family: var(--font-display);
        font-weight: 400;
        font-size: 1.15rem;
    }

    .tbl td {
        display: grid;
        grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
        gap: 10px;
        padding: 6px 14px;
    }

    .tbl td::before {
        content: attr(data-label);
        font-weight: 800;
        color: var(--c-text-muted);
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    display: grid;
    gap: 12px;
    align-items: start;
    max-width: 880px;
}

.faq-item {
    border-radius: 14px;
    background: linear-gradient(180deg, var(--c-forest-700), var(--c-forest-800));
    border: 1px solid var(--c-gold-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.faq-item__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 60px;
    padding: 12px 14px 12px 18px;
    list-style: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--c-cream);
    border-radius: 14px;
}

.faq-item__summary::-webkit-details-marker { display: none; }
.faq-item__summary::marker { content: ""; }

.faq-item__summary:hover { color: var(--c-gold-light); }

.faq-item__summary:focus-visible {
    outline: 3px solid var(--c-gold-light);
    outline-offset: 2px;
}

.faq-item__toggle {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

.faq-item[open] .faq-item__toggle { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--c-gold); }

.faq-item__answer {
    padding: 0 18px 18px;
    color: var(--c-text-muted);
}

.faq-item__answer p:last-child { margin-bottom: 0; }

/* ============================================
   TRAIL STEPS
   ============================================ */
.trail {
    position: relative;
    display: grid;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trail::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 28px;
    bottom: 28px;
    width: 16px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2716%27%20height=%2764%27%20viewBox=%270%200%2016%2064%27%3E%3Cpath%20d=%27M8%200v64%27%20stroke=%27%23d6a64a%27%20stroke-width=%273%27%20stroke-dasharray=%279%207%27%20fill=%27none%27/%3E%3Cpath%20d=%27M8%2030c6%202%208%208%207%2013-5-1-8-7-7-13z%27%20fill=%27%236cc24a%27/%3E%3C/svg%3E") repeat-y center top;
}

.trail__step {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.trail__point {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
}

.trail__point .rosette { width: 56px; height: 56px; }

.trail__num {
    position: absolute;
    right: -4px;
    bottom: -4px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--c-green-dark);
    border: 2px solid var(--c-gold);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
}

.trail__label {
    display: block;
    margin: 6px 0 4px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--c-gold-light);
}

.trail__text p { margin: 0; color: var(--c-text-muted); }

@media (min-width: 768px) {
    .trail {
        grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
        gap: 20px;
    }

    .trail::before {
        left: calc(100% / (var(--steps, 4) * 2));
        right: calc(100% / (var(--steps, 4) * 2));
        top: 20px;
        bottom: auto;
        width: auto;
        height: 16px;
        background: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2764%27%20height=%2716%27%20viewBox=%270%200%2064%2016%27%3E%3Cpath%20d=%27M0%208h64%27%20stroke=%27%23d6a64a%27%20stroke-width=%273%27%20stroke-dasharray=%279%207%27%20fill=%27none%27/%3E%3Cpath%20d=%27M30%208c2-6%208-8%2013-7-1%205-7%208-13%207z%27%20fill=%27%236cc24a%27/%3E%3C/svg%3E") repeat-x left center;
    }

    .trail__step {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }
}

/* ============================================
   LISTS (pros/cons)
   ============================================ */
.tick-list,
.minus-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tick-list li,
.minus-list li {
    position: relative;
    padding-left: 34px;
    color: var(--c-text);
}

.tick-list li::before,
.minus-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: contain;
}

.tick-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M4%2020C4%2010%2011%204%2021%203c0%2010-6%2017-17%2017z%27%20fill=%27%236cc24a%27%20stroke=%27%231e3f10%27%20stroke-width=%271.2%27/%3E%3Cpath%20d=%27M8%2013l3%203%205-6%27%20fill=%27none%27%20stroke=%27%23fff%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E");
}

.minus-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Ccircle%20cx=%2712%27%20cy=%2712%27%20r=%2710%27%20fill=%27%23e9775a%27%20stroke=%27%236b2a15%27%20stroke-width=%271.2%27/%3E%3Cpath%20d=%27M7%2012h10%27%20stroke=%27%23fff%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27/%3E%3C/svg%3E");
}

/* ============================================
   TRUST ROW & 18+
   ============================================ */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--c-cream);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.trust-row__icon {
    width: 30px;
    height: 30px;
    color: var(--c-cream);
}

.badge-18 {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band { padding: var(--section-pad) 0; }

.cta-band__panel {
    position: relative;
    max-width: 860px;
    margin-inline: auto;
    padding: 48px 24px 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(190, 222, 80, 0.2), rgba(18, 56, 36, 0) 70%), linear-gradient(180deg, var(--c-forest-700), var(--c-forest-800));
    border: 2px solid var(--c-gold-dark);
    box-shadow: inset 0 0 0 4px rgba(243, 182, 49, 0.12), var(--shadow);
}

.cta-band__rosette {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-left: -30px;
}

.cta-band__title { margin-bottom: 12px; }

.cta-band__text {
    max-width: 60ch;
    margin: 0 auto 22px;
    color: var(--c-text-muted);
}

.cta-band__note {
    margin: 18px 0 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-cream);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-scene {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-top: 56px;
}

.footer-scene__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("./assets/4b2983764302891cab4baf97a523180b.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 62% bottom;
}

.footer-scene__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--c-forest-900) 0%, rgba(8, 31, 19, 0.72) 14%, rgba(8, 31, 19, 0.72) 70%, rgba(8, 31, 19, 0.9) 100%);
}

@media (min-width: 1024px) {
    .footer-scene__bg { background-position: center bottom; }
    .footer-scene__bg::after {
        background: linear-gradient(180deg, var(--c-forest-900) 0%, rgba(8, 31, 19, 0.45) 14%, rgba(8, 31, 19, 0.55) 70%, rgba(8, 31, 19, 0.85) 100%);
    }
}

.footer-scene .section { background: none; }

.site-footer {
    position: relative;
    padding: 8px 0 24px;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

.footer-links {
    width: 100%;
    max-width: 900px;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 8px;
    margin: 0;
    padding: 12px 20px;
    list-style: none;
    border: 2px solid var(--c-green-light);
    border-bottom: 0;
    border-radius: 48px 48px 0 0;
    background: rgba(8, 31, 19, 0.85);
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    font-weight: 800;
    color: var(--c-gold-light);
    text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; color: #fff0b8; }

.site-footer__legal {
    max-width: 72ch;
    margin: 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(8, 31, 19, 0.82);
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

.site-footer__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.9rem;
    color: var(--c-text-muted);
}

.site-footer__ornament svg {
    width: 260px;
    height: 52px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

/* ============================================
   HOMEPAGE
   ============================================ */
.slots-layout {
    display: grid;
    gap: 28px;
}

.slots-layout__intro .framed { margin-top: 24px; }

@media (min-width: 1024px) {
    .slots-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 40px;
        align-items: start;
    }

    .slots-layout__tiles { padding-top: 8px; }
}

.band-head p {
    color: var(--c-text);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.band-col p a {
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.home-faq .faq-list { margin-inline: auto; }

.home-faq__more {
    margin: 24px 0 0;
    color: var(--c-text-muted);
}

.home-trust__inner {
    max-width: 900px;
    text-align: center;
}

.home-trust__inner p {
    max-width: 72ch;
    margin: 0 auto 24px;
    color: var(--c-text);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.home-trust__inner p a { font-weight: 800; }

.footer-scene:has(.home-trust) .site-footer .trust-row { display: none; }

/* ============================================
   BONUSSER
   ============================================ */
.bonus-card {
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--c-forest-700), var(--c-forest-800));
    border: 2px solid var(--c-gold-dark);
    box-shadow: inset 0 0 0 4px rgba(243, 182, 49, 0.12), var(--shadow);
    overflow: hidden;
}

.bonus-card__head {
    padding: 14px 20px;
    background: var(--wood-surface);
    border-bottom: 3px solid var(--c-gold);
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.15);
}

.bonus-card__head h3 {
    margin: 0;
    color: var(--c-cream);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.bonus-card__body {
    display: grid;
    gap: 22px;
    padding: 22px 18px;
}

@media (min-width: 768px) {
    .bonus-card__body {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 32px;
        padding: 28px;
        align-items: start;
    }
}

.offer-list {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.offer-list li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.offer-list__rosette {
    width: 44px;
    height: 44px;
}

.offer-list strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    color: var(--c-gold-light);
    line-height: 1.15;
}

.offer-list small {
    display: block;
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

.terms-box {
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff8e6, var(--c-cream));
    border: 1px solid var(--c-cream-dark);
    border-left: 6px solid var(--c-gold);
    color: var(--c-ink);
}

.terms-box__title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #4a2a0a;
}

.terms-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.terms-box li {
    padding: 6px 0;
    border-bottom: 1px dashed #d9c08a;
    color: var(--c-ink);
}

.terms-box li:last-child { border-bottom: 0; }

.welcome-example {
    margin-top: 32px;
}

.trail-title {
    margin-top: 32px;
}

.trail-intro {
    max-width: 62ch;
    margin-bottom: 14px;
}

.vine-trail {
    overflow-x: auto;
    padding: 6px 4px;
    border-radius: 14px;
    background: rgba(8, 31, 19, 0.6);
    border: 1px solid var(--c-forest-600);
    scrollbar-color: var(--c-gold-dark) transparent;
}

.vine-trail__svg {
    display: block;
    min-width: 560px;
    width: 100%;
    height: auto;
}

.trail-caption {
    margin: 10px 0 0;
    font-weight: 700;
    font-size: 0.95rem;
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 28px;
}

/* Crypto plaque */
.plaque {
    max-width: 880px;
    padding: 22px 22px 24px;
    border-radius: 16px;
    background: var(--wood-surface);
    border: 3px solid #4a2a10;
    box-shadow: var(--wood-rim);
    color: var(--c-cream);
}

.plaque p {
    color: #fbe9c4;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.plaque a { color: var(--c-gold-light); font-weight: 800; }

.plaque--teal {
    border-left: 10px solid var(--c-teal);
}

/* Sports */
.sports-list {
    max-width: 520px;
    margin-bottom: 18px;
}

.prose-note {
    max-width: 66ch;
    color: var(--c-text-muted);
}

/* Weekly twin cards */
.twin {
    position: relative;
    padding-top: 30px;
}

.twin__vine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    z-index: 2;
    pointer-events: none;
}

/* Gamified extras */
.extras-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

.extra-panel {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--c-forest-600) 0%, var(--c-forest-800) 100%);
    border: 2px solid #2e7046;
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.3);
}

.extra-panel h3 { margin-bottom: 6px; }
.extra-panel p { margin: 0; color: var(--c-text-muted); }

/* VIP */
.vip-media {
    position: relative;
}

.vip-levels {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vip-levels__item {
    position: absolute;
    transform: translate(-50%, -50%);
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: var(--c-forest-950);
    border: 2px solid var(--c-gold);
    color: var(--c-cream);
    font-weight: 800;
    font-size: clamp(0.62rem, 1.8vw, 0.9rem);
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.vip-levels__item--1 { left: 14%; top: 76%; }
.vip-levels__item--2 { left: 32%; top: 62%; }
.vip-levels__item--3 { left: 50%; top: 48%; }
.vip-levels__item--4 { left: 68%; top: 34%; }
.vip-levels__item--5 { left: 86%; top: 20%; }

/* Fees note */
.fees-note {
    margin: 20px 0 0;
    max-width: 78ch;
    color: var(--c-text-muted);
}

.fees-note strong { color: var(--c-text); }

/* ============================================
   SPIL
   ============================================ */
.hero__chips li {
    margin: 0;
}

.split__text .btn {
    margin-top: 6px;
}

.split__text h3 {
    margin-top: 1.2em;
}

.crash-panel {
    padding: 12px;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(108, 194, 74, 0.18), rgba(8, 31, 19, 0) 70%), linear-gradient(180deg, var(--c-forest-700), var(--c-forest-900));
    border: 3px solid var(--c-gold-dark);
    box-shadow: inset 0 0 0 3px rgba(243, 182, 49, 0.14), var(--shadow);
}

.crash-panel__svg {
    display: block;
    width: 100%;
    height: auto;
}

.sport-art,
.mobile-art {
    width: min(100%, 560px);
    margin-inline: auto;
}

.plaque .section-title {
    margin-bottom: 10px;
    color: var(--c-gold-light);
}

.plaque p:last-child {
    margin-bottom: 0;
}

/* ============================================
   FAQ
   ============================================ */
.quick-answer {
    max-width: 980px;
    margin-inline: auto;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--c-forest-800), var(--c-forest-900));
    border: 2px solid var(--c-gold-dark);
    box-shadow: inset 0 0 0 4px rgba(243, 182, 49, 0.12), var(--shadow);
    overflow: hidden;
}

.quick-answer__bar {
    padding: 12px 20px;
    background: var(--wood-surface);
    border-bottom: 3px solid var(--c-gold);
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.15);
}

.quick-answer__bar h2 {
    margin: 0;
    color: var(--c-cream);
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.quick-answer__body {
    display: grid;
    gap: 22px;
    align-items: center;
    padding: 22px 18px;
}

.quick-answer__lead {
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    color: var(--c-text);
}

.quick-answer__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.quick-answer__text p:last-child { margin-bottom: 0; }

.quick-answer__badge .medallion {
    width: min(100%, 240px);
}

@media (min-width: 768px) {
    .quick-answer__body {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 32px;
        padding: 28px;
    }
}

.topic-nav {
    overflow-x: auto;
    scrollbar-color: var(--c-gold-dark) transparent;
}

.topic-nav__list {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 4px 2px 12px;
    list-style: none;
}

.topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--wood-surface);
    border: 2px solid var(--c-gold);
    box-shadow: inset 0 0 0 1px #4a2a10, 0 3px 8px rgba(0, 0, 0, 0.35);
    color: var(--c-cream);
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.topic-chip:hover { color: var(--c-gold-light); }

.topic-chip svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .topic-nav { overflow: visible; }
    .topic-nav__list { flex-wrap: wrap; justify-content: center; }
}

.faq-group { scroll-margin-top: 80px; }

.faq-group__head {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 18px;
    padding: 10px 24px;
    border-radius: 12px;
    background: var(--wood-surface);
    border: 3px solid #4a2a10;
    box-shadow: var(--wood-rim);
}

.faq-group__head h2 {
    margin: 0;
    color: var(--c-cream);
    font-size: clamp(1.4rem, 3vw, 2rem);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.faq-group__intro {
    max-width: 72ch;
    margin: 0 0 16px;
    color: var(--c-teal-light);
}

.faq-group__more {
    max-width: 72ch;
    margin: 20px 0 0;
    color: var(--c-text-muted);
}

.faq-group .chip-plank {
    max-width: 880px;
    margin-top: 24px;
}

/* ============================================
   SITEMAP
   ============================================ */
.sitemap-hero__vines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 96px;
    z-index: -1;
    pointer-events: none;
}

.sitemap-hero .hero__art {
    width: min(100%, 300px);
}

.sitemap-map {
    position: relative;
}

.sitemap-map::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 20px;
    bottom: 20px;
    border-left: 3px dashed #b8892c;
}

.sitemap-map__trail {
    display: none;
}

.sitemap-map__list {
    position: relative;
    display: grid;
    gap: 28px;
    margin: 0;
    padding: 0 0 0 36px;
    list-style: none;
}

.sitemap-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--c-forest-700), var(--c-forest-900));
    border: 2px solid var(--c-gold-dark);
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.3), var(--shadow);
}

.sitemap-panel__pin {
    position: absolute;
    left: -44px;
    top: 4px;
    z-index: 2;
}

.sitemap-panel__pin .medal-icon {
    width: 44px;
    height: 44px;
}

.sitemap-panel__head {
    padding: 10px 14px;
    border-radius: 13px 13px 0 0;
    background: var(--wood-surface);
    border-bottom: 3px solid var(--c-gold);
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.15);
}

.sitemap-panel__title {
    margin: 0;
    color: var(--c-cream);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.sitemap-panel__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 12px;
}

.sitemap-panel__body p {
    color: var(--c-text-muted);
}

.sitemap-panel__body .text-link {
    margin-top: auto;
}

@media (min-width: 1024px) {
    .sitemap-hero .hero__art { max-width: 340px; }

    .sitemap-map::before { display: none; }

    .sitemap-map__trail {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: visible;
        z-index: 0;
        pointer-events: none;
    }

    .sitemap-map__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 28px;
        padding: 0;
    }

    .sitemap-panel__pin {
        left: -14px;
        top: -14px;
    }

    .sitemap-panel__head { padding-left: 40px; }
}

.xml-rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 980px;
    margin-inline: auto;
    padding: 22px 44px;
    border-radius: 16px;
    background: var(--wood-surface);
    border: 3px solid #4a2a10;
    box-shadow: var(--wood-rim);
    color: var(--c-cream);
}

.xml-rail::before,
.xml-rail::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff3b0 0%, #f3b631 50%, #8a5410 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.xml-rail::before { left: 12px; }
.xml-rail::after { right: 12px; }

.xml-rail__title {
    margin-bottom: 8px;
    color: var(--c-cream);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.xml-rail__text p {
    margin: 0;
    color: #fbe9c4;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
    .xml-rail {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 28px;
        padding-inline: 56px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .btn:hover,
    .btn:active {
        transform: none;
    }
}