:root {
    /* Site-wide tokens (mirrors public/css/game.css) */
    --bg-darkest: #0d1117;
    --bg-dark: #161b22;
    --text-bright: #f0f6fc;
    --text: #f0f6fc;
    --text-muted: #8b949e;
    --accent: #d4a017;
    --accent-dark: #a67c00;
    --accent-glow: #ffd77d;

    /* Landing aliases (keep so existing selectors keep working) */
    --primary: #d4a017;
    --primary-glow: #ffd77d;
    --secondary: #161b22;
    --dark: #0d1117;
    --darker: #0a0d12;

    /* Class colors */
    --warrior: #e94560;
    --mage: #7b68ee;
    --archer: #2ed573;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background: var(--bg-darkest);
    color: var(--text-bright);
    overflow-x: hidden;
    line-height: 1.6;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    transform: translateY(-180%);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #111;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.fas,
.fab {
    display: inline-block;
    font-family: inherit;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    speak: never;
    text-align: center;
}

.fa-ankh::before { content: "☥"; }
.fa-atom::before { content: "✹"; }
.fa-bars::before { content: "☰"; }
.fa-biohazard::before { content: "☣"; }
.fa-bolt::before { content: "⚡"; }
.fa-bullseye::before { content: "◎"; }
.fa-burst::before { content: "✦"; }
.fa-cloud-sun::before { content: "☼"; }
.fa-crosshairs::before { content: "⌖"; }
.fa-crown::before { content: "♛"; }
.fa-discord::before { content: "D"; }
.fa-disease::before { content: "◇"; }
.fa-dog::before { content: "◆"; }
.fa-dove::before { content: "◇"; }
.fa-dragon::before { content: "◆"; }
.fa-dungeon::before { content: "▣"; }
.fa-fire::before,
.fa-fire-flame-curved::before { content: "▲"; }
.fa-fish::before { content: "◈"; }
.fa-frog::before { content: "◌"; }
.fa-gem::before { content: "◆"; }
.fa-ghost::before { content: "◊"; }
.fa-hammer::before { content: "⚒"; }
.fa-handshake::before { content: "↔"; }
.fa-hat-wizard::before { content: "✦"; }
.fa-heart::before { content: "♥"; }
.fa-infinity::before { content: "∞"; }
.fa-magic::before { content: "✧"; }
.fa-microchip::before { content: "▦"; }
.fa-mobile-screen-button::before { content: "▯"; }
.fa-paw::before { content: "◆"; }
.fa-people-group::before { content: "☷"; }
.fa-person-dress::before,
.fa-person-walking::before { content: "◇"; }
.fa-shield-halved::before { content: "⬟"; }
.fa-shirt::before { content: "◇"; }
.fa-shrimp::before { content: "◍"; }
.fa-skull::before,
.fa-skull-crossbones::before { content: "☠"; }
.fa-spider::before { content: "✣"; }
.fa-star::before { content: "★"; }
.fa-sun::before { content: "☀"; }
.fa-sword::before { content: "⚔"; }
.fa-tree::before { content: "♣"; }
.fa-trophy::before { content: "▲"; }
.fa-twitter::before { content: "X"; }
.fa-water::before { content: "≈"; }
.fa-wind::before { content: "〰"; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--darker);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Navigation — matches the site-wide public-nav in templates/layout/header.php */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(13, 17, 23, 0.96), rgba(13, 17, 23, 0.55) 70%, transparent);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(13, 17, 23, 0.98);
    border-bottom-color: rgba(212, 160, 23, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.nav-shell {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    gap: 0.2rem;
    font-family: 'Cinzel', Georgia, serif;
    color: var(--accent);
    text-decoration: none;
    text-shadow: 0 0 20px rgba(212, 160, 23, 0.35);
}

.logo-mark {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo-subtitle {
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 1.85rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-bright);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
    color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

.nav-links a.nav-cta {
    margin-top: -0.45rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(212, 160, 23, 0.45);
    border-radius: 999px;
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent);
}

.nav-links a.nav-cta::after {
    display: none;
}

.mobile-menu {
    display: none;
    font-size: 1.4rem;
    color: var(--accent);
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0.25rem;
    line-height: 1;
}

/* Product-first launch hero */
.hero {
    min-height: auto;
    padding: 7rem clamp(1rem, 4vw, 2rem) 3.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    isolation: isolate;
    background: var(--bg-darkest);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 10, 16, 0.96) 0%, rgba(7, 10, 16, 0.78) 48%, rgba(7, 10, 16, 0.46) 100%),
        linear-gradient(0deg, var(--bg-darkest) 0%, transparent 42%),
        url('/assets/wiki/whispering-woods-hero.webp') center / cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 12% 85%, rgba(123, 104, 238, 0.13), transparent 42%),
        radial-gradient(ellipse at 82% 20%, rgba(212, 160, 23, 0.1), transparent 38%);
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.public-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 2rem;
    padding: clamp(1.35rem, 3vw, 2.25rem);
    border-radius: 22px;
    border: 1px solid rgba(212, 160, 23, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(13, 17, 23, 0.14) 100%),
        rgba(10, 14, 21, 0.8);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.public-hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.public-hero-aside {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
}

.hero-gameplay {
    display: block;
    position: relative;
    min-height: 310px;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.42);
    border-radius: 16px;
    background: #050912;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
}

.hero-gameplay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(3, 6, 12, 0.82) 100%);
    pointer-events: none;
}

.hero-gameplay img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: 82% 18%;
    transform: scale(1.9);
    transform-origin: 88% 16%;
}

.hero-gameplay picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-gameplay-caption {
    position: absolute;
    right: 0.85rem;
    bottom: 0.75rem;
    left: 0.85rem;
    z-index: 1;
    color: var(--text-bright);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.public-hero-eyebrow {
    color: rgba(212, 160, 23, 0.82);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.public-logo {
    margin-bottom: 1.1rem;
}

.public-logo h1 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(2.4rem, 4.2vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 50%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s linear infinite;
    text-shadow: 0 0 45px rgba(212, 160, 23, 0.35);
}

.public-logo .tagline {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.public-logo .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.35), transparent);
    margin: 1.1rem 0 0;
    position: relative;
}

.public-logo .divider-diamond {
    width: 9px;
    height: 9px;
    background: var(--accent);
    transform: rotate(45deg);
    box-shadow: 0 0 12px rgba(212, 160, 23, 0.65);
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.public-page-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(2rem, 3.3vw, 2.95rem);
    line-height: 1.16;
    color: var(--text-bright);
    margin: 0 0 0.85rem;
}

.public-page-title span {
    display: block;
}

.public-page-summary {
    max-width: 52rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(46, 213, 115, 0.26);
    border-radius: 999px;
    background: rgba(46, 213, 115, 0.08);
    color: #9ff6bf;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hero-status::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #2ed573;
    box-shadow: 0 0 14px rgba(46, 213, 115, 0.8);
}

.public-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-top: 1.1rem;
}

.hero-waitlist {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(212, 160, 23, 0.26);
    border-radius: 14px;
    background: rgba(13, 17, 23, 0.72);
    scroll-margin-top: 6rem;
}

.hero-waitlist-feedback {
    grid-column: 1 / -1;
}

.hero-waitlist-feedback p {
    margin: 0;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 0.86rem;
    line-height: 1.5;
}

.hero-waitlist-feedback .is-success {
    border-color: rgba(46, 213, 115, 0.34);
    background: rgba(46, 213, 115, 0.08);
    color: #9ff6bf;
}

.hero-waitlist-feedback .is-error {
    border-color: rgba(233, 69, 96, 0.38);
    background: rgba(233, 69, 96, 0.09);
    color: #ffb6c2;
}

.waitlist-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.hero-waitlist label > span,
.hero-waitlist-platforms legend {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-bright);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-waitlist-email input {
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: #0d1117;
    color: var(--text-bright);
    font: inherit;
}

.hero-waitlist-email input:focus-visible,
.hero-platform-options label:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hero-waitlist-platforms {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
    border: 0;
}

.hero-platform-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.hero-platform-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
}

.hero-platform-options label > span {
    margin: 0;
}

.hero-platform-options input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent);
}

.hero-waitlist-submit {
    grid-column: 1 / -1;
    align-self: end;
    min-height: 46px;
    border: 0;
    white-space: nowrap;
}

.hero-waitlist-note {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.hero-waitlist-note a {
    color: var(--accent-glow);
}

.hero-secondary-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.hero-secondary-link:hover,
.hero-secondary-link:focus-visible {
    color: var(--text-bright);
}

.public-hero-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    align-content: start;
}

.public-hero-card {
    padding: 1rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 55%),
        rgba(13, 17, 23, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.public-hero-card-label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(212, 160, 23, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.public-hero-card-value {
    display: block;
    color: var(--text-bright);
    font-size: 1rem;
    line-height: 1.55;
}

.hero-footnote {
    grid-column: 1 / -1;
    margin: 0.2rem 0 0;
    color: rgba(240, 246, 252, 0.62);
    font-size: 0.82rem;
    line-height: 1.55;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.welcome-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 999px;
    background: rgba(212, 160, 23, 0.08);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: 6rem;
    }
    .public-hero-panel {
        grid-template-columns: 1fr;
    }
    .hero-gameplay {
        min-height: clamp(230px, 48vw, 360px);
    }
    .public-hero-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 5.25rem 0.75rem 2.5rem;
    }
    .public-hero-panel {
        gap: 1rem;
        padding: 1rem;
        border-radius: 16px;
    }
    .hero-status {
        margin-bottom: 0.6rem;
        padding: 0.38rem 0.65rem;
        font-size: 0.7rem;
        letter-spacing: 0.03em;
    }
    .public-hero-eyebrow {
        margin-bottom: 0.55rem;
        font-size: 0.68rem;
        letter-spacing: 0.15em;
    }
    .public-logo {
        margin-bottom: 0.7rem;
    }
    .public-logo h1 {
        font-size: 2.1rem;
    }
    .public-logo .tagline {
        margin-top: 0.25rem;
        font-size: 0.68rem;
        letter-spacing: 0.22em;
    }
    .public-logo .divider {
        display: none;
    }
    .public-page-title {
        font-size: clamp(1.55rem, 6.4vw, 1.8rem);
        line-height: 1.12;
        margin-bottom: 0.65rem;
    }
    .public-page-summary {
        font-size: 0.9rem;
        line-height: 1.48;
    }
    .public-hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.65rem;
        margin-top: 0.85rem;
    }
    .hero-primary-cta {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 50px;
        padding: 0.8rem 1rem;
    }
    .public-hero-actions .btn-secondary {
        width: auto;
        padding: 0.75rem 1rem;
        font-size: 0.76rem;
    }
    .hero-secondary-link {
        justify-content: flex-start;
        font-size: 0.76rem;
    }
    .hero-gameplay {
        min-height: 210px;
        border-radius: 12px;
    }
    .hero-gameplay img {
        object-position: 84% 16%;
    }
    .hero-gameplay-caption {
        right: 0.65rem;
        bottom: 0.6rem;
        left: 0.65rem;
        font-size: 0.66rem;
    }
    .public-hero-rail {
        display: none;
    }
    .hero-waitlist {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-top: 0.75rem;
        padding: 0.85rem;
        border-radius: 12px;
    }
    .hero-platform-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem;
    }
    .hero-platform-options label {
        justify-content: center;
        gap: 0.3rem;
        min-height: 44px;
        padding: 0.45rem 0.25rem;
        font-size: 0.72rem;
    }
    .hero-waitlist-submit {
        width: 100%;
        min-height: 50px;
        white-space: normal;
        line-height: 1.35;
    }
    .hero-waitlist-note {
        font-size: 0.68rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.6rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(212, 160, 23, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.95), rgba(255, 215, 125, 0.95));
    color: #111;
    box-shadow: 0 12px 24px rgba(212, 160, 23, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(212, 160, 23, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-bright);
}

.btn-secondary:hover {
    background: rgba(212, 160, 23, 0.12);
    border-color: rgba(212, 160, 23, 0.35);
    color: var(--accent);
    transform: translateY(-2px);
}


/* Section Styles */
section {
    padding: 5rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3.25rem;
}

.section-header h2 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.section-header p {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.divider {
    width: 110px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 1.35rem auto;
    box-shadow: 0 0 18px rgba(212, 160, 23, 0.35);
}

/* About Section */
.about {
    background: linear-gradient(to bottom, var(--bg-darkest), var(--bg-dark));
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-preview {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    border-radius: 15px;
    border: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 162, 39, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.game-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(201, 162, 39, 0.1) 50%, transparent 60%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.game-preview-content {
    text-align: center;
    z-index: 1;
}

.game-preview-content img {
    width: min(150px, 40vw);
    height: auto;
    display: block;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.game-preview-content i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.game-preview-content p {
    color: var(--text-muted);
    font-style: italic;
}

/* Features Section */
.features {
    background: var(--bg-darkest);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%),
        rgba(22, 27, 34, 0.9);
    padding: 2rem;
    border-radius: 18px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 160, 23, 0.12);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 160, 23, 0.35);
    box-shadow: 0 18px 36px rgba(212, 160, 23, 0.12), 0 14px 28px rgba(0, 0, 0, 0.3);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-bright);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Four-faction explorer */
.faction-explorer {
    background:
        radial-gradient(ellipse at 15% 15%, rgba(233, 69, 96, 0.09), transparent 36%),
        radial-gradient(ellipse at 85% 85%, rgba(123, 104, 238, 0.09), transparent 38%),
        var(--bg-dark);
}

.faction-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.faction-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.faction-tab {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 68px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(13, 17, 23, 0.76);
    color: var(--text-bright);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.faction-tab span {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.faction-tab:hover,
.faction-tab:focus-visible,
.faction-tab[aria-selected="true"] {
    border-color: rgba(212, 160, 23, 0.48);
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent-glow);
    outline: none;
}

.faction-tab:focus-visible {
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.22);
}

.faction-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.faction-explorer.is-enhanced .faction-panels {
    display: block;
}

.faction-panel {
    min-height: 100%;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent), rgba(13, 17, 23, 0.8);
}

.faction-panel[hidden] {
    display: none;
}

.faction-panel-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.faction-panel h3 {
    margin-bottom: 0.65rem;
    color: var(--text-bright);
    font: 700 clamp(1.35rem, 3vw, 1.85rem) 'Cinzel', Georgia, serif;
}

.faction-panel p {
    color: var(--text-muted);
    line-height: 1.7;
}

.faction-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.25rem;
    padding: 0;
    list-style: none;
}

.faction-traits li {
    padding: 0.4rem 0.65rem;
    border: 1px solid rgba(212, 160, 23, 0.18);
    border-radius: 999px;
    background: rgba(212, 160, 23, 0.055);
    color: var(--text-bright);
    font-size: 0.78rem;
    font-weight: 650;
}

.faction-panel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.faction-panel-actions > a:not(.btn) {
    color: var(--accent-glow);
    font-weight: 700;
}

/* Class and faction path recommender */
.path-recommender {
    background:
        radial-gradient(ellipse at 85% 15%, rgba(212, 160, 23, 0.1), transparent 38%),
        linear-gradient(to bottom, var(--secondary), var(--bg-dark));
}

.path-recommender-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.path-recommender-form,
.path-recommender-guide,
.path-recommender-result {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(13, 17, 23, 0.8);
}

.path-recommender-form {
    padding: clamp(1rem, 3vw, 1.5rem);
}

.path-recommender-questions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.path-question {
    min-width: 0;
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(212, 160, 23, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.path-question legend {
    padding: 0 0.25rem;
    color: var(--text-bright);
    font: 700 0.98rem 'Cinzel', Georgia, serif;
}

.path-question-options {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.path-question label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    min-height: 46px;
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    color: var(--text-muted);
    line-height: 1.45;
    cursor: pointer;
}

.path-question label:hover,
.path-question label:focus-within {
    border-color: rgba(212, 160, 23, 0.4);
    background: rgba(212, 160, 23, 0.06);
    color: var(--text-bright);
}

.path-question label:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.path-question input {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.15rem;
    accent-color: var(--accent);
}

.path-recommender-submit {
    display: none;
    width: 100%;
    margin-top: 1rem;
    border: 0;
}

.path-recommender.is-enhanced .path-recommender-submit {
    display: inline-flex;
}

.path-recommender-outcome {
    display: grid;
    gap: 1rem;
}

.path-recommender-guide,
.path-recommender-result {
    padding: clamp(1.1rem, 3vw, 1.5rem);
}

.path-recommender-guide h3,
.path-recommender-result h3 {
    margin: 0 0 0.75rem;
    color: var(--text-bright);
    font: 700 1.2rem 'Cinzel', Georgia, serif;
}

.path-recommender-guide p,
.path-recommender-result p {
    margin: 0 0 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.path-recommender-guide ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.path-recommender-guide strong {
    color: var(--text-bright);
}

.path-recommender-result {
    border-color: rgba(212, 160, 23, 0.38);
    background:
        linear-gradient(145deg, rgba(212, 160, 23, 0.09), transparent 60%),
        rgba(13, 17, 23, 0.9);
    scroll-margin-top: 6rem;
}

.path-recommender-result[hidden] {
    display: none;
}

.path-recommender-result:focus {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.path-recommender-result .btn {
    width: 100%;
    margin-top: 0.25rem;
}

/* Latest build pulse */
.release-pulse {
    background:
        radial-gradient(ellipse at 80% 10%, rgba(123, 104, 238, 0.1), transparent 42%),
        linear-gradient(to bottom, var(--bg-dark), var(--bg-darkest));
}

.release-showcase {
    display: block;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto 2rem;
    border: 1px solid rgba(212, 160, 23, 0.38);
    border-radius: 18px;
    background: #050912;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.release-showcase:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 125, 0.72);
}

.release-showcase:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.release-showcase img {
    display: block;
    width: 100%;
    height: auto;
}

.release-showcase picture {
    display: block;
}

.release-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.release-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-height: 100%;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 55%),
        rgba(13, 17, 23, 0.78);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.release-card.release-card-featured {
    border-color: rgba(212, 160, 23, 0.32);
    background:
        linear-gradient(145deg, rgba(212, 160, 23, 0.09), transparent 60%),
        rgba(13, 17, 23, 0.84);
}

.release-label {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.release-card h3 {
    color: var(--text-bright);
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.18rem;
    line-height: 1.35;
}

.release-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.release-card a {
    margin-top: auto;
    color: var(--accent-glow);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.release-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* Shipped-product trust and FAQ */
.studio-proof {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    background: var(--bg-dark);
}

.studio-proof-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 18px;
    background:
        linear-gradient(120deg, rgba(212, 160, 23, 0.07), transparent 50%),
        rgba(13, 17, 23, 0.8);
}

.studio-proof-eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.studio-proof h2 {
    margin: 0.55rem 0 0.75rem;
    color: var(--text-bright);
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.studio-proof p {
    max-width: 760px;
    color: var(--text-muted);
    line-height: 1.7;
}

.studio-proof-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.faq-section {
    background: var(--bg-darkest);
}

.faq-list {
    display: grid;
    gap: 0.75rem;
    max-width: 860px;
    margin: 0 auto;
}

.faq-list details {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.faq-list summary {
    padding: 1rem 1.1rem;
    color: var(--text-bright);
    font-weight: 700;
    cursor: pointer;
}

.faq-list details p {
    padding: 0 1.1rem 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-list a {
    color: var(--accent-glow);
}

/* Legend Section */
.support {
    background: linear-gradient(135deg, var(--darker), var(--secondary));
    position: relative;
    overflow: hidden;
}

.support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.045) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(201, 162, 39, 0.045) 0%, transparent 40%);
    pointer-events: none;
}

.legacy-card {
    max-width: 820px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.06), rgba(15, 15, 26, 0.94));
    border: 2px solid var(--primary);
    border-radius: 25px;
    padding: clamp(1.5rem, 4vw, 3rem);
    position: relative;
    box-shadow:
        0 0 28px rgba(201, 162, 39, 0.1),
        0 18px 44px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.legacy-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow), var(--primary));
    border-radius: 26px;
    z-index: -1;
    opacity: 0.24;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.12; }
    50% { opacity: 0.28; }
}

.legacy-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    color: var(--darker);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.legacy-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.legacy-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.legacy-perks {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 1.25rem;
}

.legacy-perks li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text);
    font-size: 0.95rem;
}

.legacy-perks i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.qr-container {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.qr-container img {
    width: 150px;
    height: 150px;
    display: block;
}

.legacy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    color: var(--darker);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(201, 162, 39, 0.22);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legacy-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 26px rgba(201, 162, 39, 0.32);
}

.legacy-btn i {
    font-size: 1.3rem;
}

.legacy-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), var(--darker));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(233, 69, 96, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Footer */
footer {
    background: var(--bg-darkest);
    padding: 3rem 5% 1.5rem;
    border-top: 1px solid rgba(212, 160, 23, 0.14);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-title {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--darker);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Legendary Text Style */
.legendary {
    color: #ff8000;
    font-weight: inherit;
    text-shadow: 0 0 5px rgba(255, 128, 0, 0.3);
}

/* Welcome Back Message */
.welcome-back {
    display: none;
    margin-bottom: 1rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.05));
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeInDown 0.6s ease forwards;
}

.welcome-back.show {
    display: none !important;
}

.welcome-back i {
    margin-right: 0.5rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.98), rgba(26, 26, 46, 0.98));
    backdrop-filter: blur(10px);
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    z-index: 10000;
    border-top: 1px solid var(--primary);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    animation: slideUp 0.5s ease forwards;
}

.cookie-banner.hidden {
    display: none;
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

.cookie-text {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    color: var(--darker);
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.cookie-btn.decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.cookie-btn.decline:hover {
    border-color: var(--text);
    color: var(--text);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 17, 23, 0.98);
        border-top: 1px solid rgba(212, 160, 23, 0.14);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        flex-direction: column;
        padding: 1.15rem;
        text-align: center;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .logo-subtitle {
        display: none;
    }

    .zone-card {
        grid-template-columns: 1fr;
    }

    .zone-card:nth-child(even) {
        direction: ltr;
    }

    .legacy-perks {
        grid-template-columns: 1fr;
    }

    .zones-container,
    .release-grid {
        grid-template-columns: 1fr;
    }

    .zone-route {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zone-card:last-child {
        grid-column: auto;
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .zone-card:last-child .zone-visual {
        width: 92px;
        height: 92px;
    }

    .studio-proof-panel {
        grid-template-columns: 1fr;
    }

    .studio-proof-links {
        justify-content: flex-start;
    }

    .faction-tabs,
    .faction-panels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .path-recommender-shell,
    .path-recommender-questions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    section {
        padding: 4.25rem 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .zone-card,
    .zone-card:last-child {
        grid-template-columns: 1fr;
    }

    .zone-visual,
    .zone-card:last-child .zone-visual {
        width: 100%;
        height: 92px;
    }

    .release-actions .btn,
    .studio-proof-links .btn {
        width: 100%;
    }

    .zone-route {
        grid-template-columns: 1fr;
    }

    .faction-tabs,
    .faction-panels {
        grid-template-columns: 1fr;
    }

    .faction-panel-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
