:root {
    --green-50: #f2ffe8;
    --green-100: #ddff9a;
    --green-200: #bdf56b;
    --green-500: #42db78;
    --neon: #42ff73;
    --cyan: #26d7ee;
    --sky: #37aef4;
    --purple-400: #9b5de5;
    --purple-600: #6720b4;
    --purple-800: #36105f;
    --panel: #10152c;
    --ink: #16192b;
    --yellow: #ffe45b;
    --orange: #ff7a2f;
    --paper: #fffdf0;
    --lab-bg: #05090d;
    --lab-panel: #0a1117;
    --lab-line: rgba(137, 238, 215, 0.2);
    --lab-muted: #73858a;
    --lab-mint: #71f6d2;
    --lab-pink: #ff78c8;
    --lab-amber: #ffc857;
    --line: 3px solid var(--purple-800);
    color: var(--purple-800);
    background: var(--green-200);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--green-200);
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--green-200);
}

body,
button,
a {
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 54px;
    padding: 7px 30px;
    border-bottom: 1px solid var(--lab-line);
    color: #d8e7e4;
    background: rgba(5, 9, 13, 0.9);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: max-content;
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.brand img {
    width: 30px;
    height: 30px;
}

.brand b {
    color: var(--lab-mint);
    font-weight: 800;
}

.site-nav {
    display: flex;
    gap: 7px;
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 10px;
    font-weight: 700;
}

.site-nav a {
    padding: 8px 15px;
    border: 1px solid rgba(137, 238, 215, 0.12);
    color: #78898d;
}

.site-nav a:hover {
    border-color: var(--lab-mint);
    color: var(--lab-mint);
}

.header-play {
    justify-self: end;
    padding: 9px 14px;
    border: 1px solid var(--lab-mint);
    border-radius: 2px;
    color: var(--lab-bg);
    background: var(--lab-mint);
    box-shadow: none;
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 11px;
    font-weight: 800;
}

.hero {
    position: relative;
    height: calc(100svh - 44px);
    min-height: 680px;
    overflow: hidden;
    border-bottom: 1px solid var(--lab-line);
    color: #e6f1ef;
    background: var(--lab-bg);
    isolation: isolate;
}

.neural-grid {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(113, 246, 210, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113, 246, 210, 0.08) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.scanlines {
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    opacity: 0.12;
    background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(196, 255, 239, 0.12) 4px);
}

.hero-status {
    position: absolute;
    top: 70px;
    left: 30px;
    right: 30px;
    z-index: 6;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    color: var(--lab-muted);
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 9px;
    text-transform: uppercase;
}

.hero-status span:nth-child(2) {
    color: #9db0ae;
}

.hero-status span:last-child {
    justify-self: end;
    color: #ccd9d7;
}

.hero-status i,
.status-live::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--lab-mint);
    box-shadow: 0 0 12px var(--lab-mint);
    content: "";
}

.brain-scene {
    position: absolute;
    inset: 76px 17% 82px 19%;
    z-index: 1;
    cursor: grab;
    touch-action: none;
}

.brain-scene:active {
    cursor: grabbing;
}

.brain-scene canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.brain-reticle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(45vw, 570px);
    aspect-ratio: 1;
    border: 1px solid rgba(113, 246, 210, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.brain-reticle::before,
.brain-reticle::after,
.brain-reticle span::before,
.brain-reticle span::after {
    position: absolute;
    background: rgba(113, 246, 210, 0.2);
    content: "";
}

.brain-reticle::before {
    left: 50%;
    top: -16px;
    width: 1px;
    height: calc(100% + 32px);
}

.brain-reticle::after {
    left: -16px;
    top: 50%;
    width: calc(100% + 32px);
    height: 1px;
}

.brain-reticle span::before {
    inset: 8%;
    border: 1px dashed rgba(255, 120, 200, 0.18);
    border-radius: 50%;
    background: transparent;
}

.brain-fallback {
    position: absolute;
    inset: 10%;
    display: none;
}

.brain-fallback.is-visible {
    display: block;
}

.brain-fallback img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.68;
    filter: grayscale(1) contrast(1.3);
}

.hero-content {
    position: absolute;
    top: 23%;
    left: 3.5%;
    z-index: 5;
    width: min(31vw, 430px);
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--purple-600);
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.workshop-copy h2,
.game-heading h2,
.token-intro h2,
.gallery-heading h2 {
    margin: 0;
    font-weight: 1000;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 390px;
    color: #eaf4f2;
    font-family: "SFMono-Regular", "Cascadia Mono", "Microsoft YaHei", monospace;
    font-size: 58px;
    line-height: 1.02;
    text-shadow: 0 0 28px rgba(113, 246, 210, 0.18);
}

.hero h1 span {
    display: block;
    margin-top: 7px;
    color: var(--lab-mint);
    font-size: 0.92em;
    text-shadow: 0 0 30px rgba(113, 246, 210, 0.32);
}

.hero-copy {
    max-width: 370px;
    margin: 24px 0 24px;
    color: #93a5a4;
    font-size: 14px;
    font-weight: 550;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: var(--line);
    border-radius: 3px;
    font-weight: 950;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
    transform: translate(-2px, -2px);
}

.button-primary {
    color: var(--lab-bg);
    background: var(--lab-mint);
    box-shadow: 4px 4px 0 rgba(255, 120, 200, 0.8);
}

.button-primary:hover {
    box-shadow: 6px 6px 0 rgba(255, 120, 200, 0.8);
}

.button-quiet {
    border-color: rgba(113, 246, 210, 0.42);
    color: var(--lab-mint);
    background: rgba(8, 19, 23, 0.76);
    box-shadow: none;
}

.hero .eyebrow {
    margin-bottom: 14px;
    color: var(--lab-pink);
    font-size: 10px;
}

.hero .button {
    min-height: 42px;
    padding: 10px 16px;
    border-width: 1px;
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 11px;
}

.brain-tree,
.brain-inspector {
    position: absolute;
    z-index: 5;
    color: #879a98;
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 10px;
}

.brain-tree {
    left: 3.5%;
    bottom: 42px;
    width: min(20vw, 260px);
}

.brain-tree > p,
.brain-inspector > p {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 200, 87, 0.42);
    color: #869795;
}

.brain-tree ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.brain-tree li {
    display: flex;
    justify-content: space-between;
    padding: 7px 9px;
    border-left: 1px solid transparent;
}

.brain-tree li.is-active {
    border-left-color: var(--lab-mint);
    color: var(--lab-mint);
    background: rgba(113, 246, 210, 0.07);
}

.brain-tree b {
    font-weight: 500;
}

.brain-inspector {
    top: 25%;
    right: 3.5%;
    width: min(20vw, 270px);
}

.brain-inspector > p {
    border-bottom-color: rgba(255, 120, 200, 0.5);
}

.brain-inspector h2 {
    margin: 0 0 18px;
    color: #e3ecea;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
}

.brain-inspector dl {
    margin: 0;
}

.brain-inspector dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(137, 238, 215, 0.09);
}

.brain-inspector dt,
.brain-inspector dd {
    margin: 0;
}

.brain-inspector dd {
    color: var(--lab-mint);
}

.status-live::before {
    width: 5px;
    height: 5px;
    margin-right: 5px;
}

.brain-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 19px;
    border: 1px solid rgba(113, 246, 210, 0.24);
}

.brain-modes button {
    min-height: 34px;
    border: 0;
    border-right: 1px solid rgba(113, 246, 210, 0.2);
    color: #748582;
    background: rgba(5, 9, 13, 0.72);
    font-family: inherit;
    font-size: 9px;
    cursor: pointer;
}

.brain-modes button:last-child {
    border-right: 0;
}

.brain-modes button.is-active {
    color: var(--lab-bg);
    background: var(--lab-mint);
}

.depth-control {
    display: block;
    margin-top: 18px;
}

.depth-control span {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
}

.depth-control b {
    color: var(--lab-amber);
    font-weight: 500;
}

.depth-control input {
    width: 100%;
    accent-color: var(--lab-mint);
}

.neural-readout {
    position: absolute;
    right: 3.5%;
    bottom: 42px;
    z-index: 5;
    display: flex;
    gap: 22px;
    color: #657573;
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 9px;
}

.neural-readout b {
    color: var(--lab-mint);
    font-size: 12px;
}

.ride-ticker {
    overflow: hidden;
    border-bottom: var(--line);
    color: var(--neon);
    background: var(--panel);
}

.ride-ticker div {
    display: flex;
    width: max-content;
    animation: ticker 24s linear infinite;
}

.ride-ticker span,
.ride-ticker i {
    padding: 14px 24px;
    font-style: normal;
    font-size: 16px;
    font-weight: 950;
}

.ride-ticker i {
    color: var(--cyan);
}

@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}

.section-band {
    border-bottom: var(--line);
}

.adventure {
    padding: 120px 96px 0;
    background: var(--green-100);
}

.section-heading,
.gallery-heading {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    align-items: start;
    gap: 40px;
}

.section-heading h2,
.workshop-copy h2,
.game-heading h2,
.token-intro h2,
.gallery-heading h2 {
    color: var(--purple-600);
    font-size: 76px;
    line-height: 0.98;
}

.rules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 100px;
    border-top: var(--line);
}

.rule {
    min-height: 350px;
    padding: 30px 38px 48px;
    border-right: var(--line);
}

.rule:last-child {
    border-right: 0;
}

.rule > span {
    display: block;
    margin-bottom: 58px;
    color: var(--purple-400);
    font-size: 56px;
    font-weight: 1000;
}

.rule h3,
.token-item h3 {
    margin: 0 0 14px;
    color: var(--purple-800);
    font-size: 28px;
}

.rule p,
.workshop-copy > p,
.token-intro > p,
.token-item p {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.8;
}

.route-wrap {
    margin: 0 -96px;
    padding: 54px 64px;
    border-top: var(--line);
    background: var(--panel);
}

.signal-flow {
    display: grid;
    grid-template-columns: repeat(7, auto);
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--green-50);
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 16px;
    font-weight: 900;
}

.signal-flow span {
    padding: 16px 20px;
    border: 2px solid var(--neon);
    background: rgba(66, 255, 115, 0.1);
    box-shadow: 5px 5px 0 var(--purple-600);
}

.signal-flow b {
    color: var(--cyan);
    font-size: 26px;
}

.workshop {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    min-height: 760px;
    background: var(--purple-600);
}

.workshop-image {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-right: var(--line);
}

.workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-stamp {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 9px 13px;
    border: var(--line);
    color: var(--panel);
    background: var(--neon);
    font-size: 13px;
    font-weight: 950;
}

.workshop-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 86px;
    color: var(--green-100);
}

.workshop-copy .eyebrow,
.workshop-copy h2 {
    color: var(--green-100);
}

.workshop-copy > p {
    margin-top: 34px;
    color: var(--paper);
}

.quick-facts {
    margin: 54px 0 0;
    border-top: 2px solid var(--green-100);
}

.quick-facts div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 2px solid var(--green-100);
}

.quick-facts dt,
.quick-facts dd {
    margin: 0;
    font-weight: 850;
}

.game-section {
    padding: 110px 64px;
    color: #dceae7;
    background: #05090d;
}

.game-section .eyebrow {
    color: var(--lab-pink);
}

.game-section .game-heading h2 {
    color: #e6f1ef;
}

.game-section .button-quiet {
    border: 1px solid rgba(113, 246, 210, 0.45);
    color: var(--lab-mint);
    background: transparent;
}

.game-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.game-frame {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(113, 246, 210, 0.38);
    border-radius: 2px;
    background: var(--lab-bg);
    box-shadow: 10px 10px 0 rgba(255, 120, 200, 0.15);
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--lab-bg);
}

.game-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: var(--lab-mint);
    background:
        linear-gradient(rgba(113, 246, 210, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113, 246, 210, 0.045) 1px, transparent 1px),
        rgba(5, 9, 13, 0.95);
    background-size: 42px 42px;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.game-cover.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.game-cover img {
    display: none;
}

.game-cover strong {
    position: relative;
    z-index: 2;
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 14px;
    letter-spacing: 0;
}

.game-cover::before {
    width: min(28vw, 260px);
    aspect-ratio: 1;
    border: 1px solid rgba(113, 246, 210, 0.58);
    border-radius: 50%;
    background:
        linear-gradient(35deg, transparent 48.5%, rgba(255, 120, 200, 0.7) 49%, rgba(255, 120, 200, 0.7) 51%, transparent 51.5%),
        linear-gradient(145deg, transparent 48.5%, rgba(113, 246, 210, 0.7) 49%, rgba(113, 246, 210, 0.7) 51%, transparent 51.5%);
    box-shadow: inset 0 0 0 34px rgba(113, 246, 210, 0.02), 0 0 44px rgba(113, 246, 210, 0.12);
    content: "";
}

.game-cover::after {
    position: absolute;
    width: min(18vw, 170px);
    aspect-ratio: 1;
    border: 1px dashed rgba(255, 200, 87, 0.72);
    border-radius: 50%;
    content: "";
}

.game-cover .button {
    position: relative;
    z-index: 2;
    border-width: 1px;
    color: var(--lab-bg);
    background: var(--lab-mint);
    box-shadow: 4px 4px 0 rgba(255, 120, 200, 0.75);
}

.token-section {
    padding: 120px 96px;
    color: var(--green-50);
    background: var(--panel);
}

.token-intro {
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    gap: 28px 70px;
    align-items: start;
}

.token-intro .eyebrow {
    grid-column: 1;
    color: var(--neon);
}

.token-intro h2 {
    grid-column: 1;
    color: var(--green-100);
}

.token-intro > p {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    max-width: 620px;
    color: var(--paper);
    font-size: 18px;
}

.token-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 90px;
    border-top: 2px solid var(--neon);
    border-bottom: 2px solid var(--neon);
}

.token-item {
    min-height: 300px;
    padding: 32px;
    border-right: 2px solid var(--neon);
}

.token-item:last-child {
    border-right: 0;
}

.token-item > span {
    display: inline-block;
    margin-bottom: 70px;
    color: var(--cyan);
    font-family: "SFMono-Regular", "Cascadia Mono", monospace;
    font-size: 14px;
    font-weight: 950;
}

.token-item h3 {
    color: var(--neon);
}

.token-item p {
    color: var(--paper);
}

.gallery {
    padding: 120px 96px;
    background: var(--green-50);
}

.gallery-heading {
    margin-bottom: 60px;
}

.gallery-image {
    margin: 0;
}

.gallery-main img {
    width: 100%;
    max-height: 780px;
    object-fit: cover;
    border: var(--line);
}

.gallery-main figcaption {
    padding: 14px 0;
    color: var(--purple-600);
    font-family: "SFMono-Regular", monospace;
    font-size: 13px;
    font-weight: 850;
}

.gallery-note {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 56px;
    max-width: 940px;
    margin: 80px auto 0;
}

.gallery-note img {
    width: 140px;
}

.gallery-note p {
    margin: 0;
    color: var(--purple-600);
    font-size: 48px;
    font-weight: 950;
    line-height: 1.22;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 36px 64px;
    color: var(--green-100);
    background: var(--purple-800);
}

.site-footer div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer img {
    width: 40px;
}

.site-footer p {
    margin: 0;
    font-size: 13px;
}

.site-footer a {
    font-size: 13px;
    font-weight: 900;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .site-header {
        padding-inline: 30px;
    }

    .hero-content {
        padding-left: 54px;
    }

    .hero h1 {
        font-size: 108px;
    }

    .section-heading h2,
    .workshop-copy h2,
    .game-heading h2,
    .token-intro h2,
    .gallery-heading h2 {
        font-size: 62px;
    }

    .adventure,
    .token-section,
    .gallery {
        padding-inline: 54px;
    }

    .route-wrap {
        margin-inline: -54px;
    }

    .workshop-copy {
        padding: 58px;
    }
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 1fr auto;
        min-height: 62px;
        padding: 8px 14px;
    }

    .brand {
        font-size: 17px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .site-nav {
        display: none;
    }

    .header-play {
        padding: 9px 12px;
    }

    .hero {
        min-height: 760px;
    }

    .neural-grid {
        inset: 0;
        mask-image: linear-gradient(#000, transparent 72%);
    }

    .hero-content {
        justify-content: flex-start;
        width: 100%;
        min-height: 760px;
        padding: 112px 22px 240px;
    }

    .hero h1 {
        font-size: 88px;
    }

    .hero h1 span {
        font-size: 34px;
    }

    .hero-copy {
        max-width: 500px;
        font-size: 16px;
    }

    .hero-index {
        right: 18px;
        bottom: 18px;
    }

    .section-heading,
    .gallery-heading,
    .token-intro {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .token-intro .eyebrow,
    .token-intro h2,
    .token-intro > p {
        grid-column: 1;
        grid-row: auto;
    }

    .rules,
    .token-grid {
        grid-template-columns: 1fr;
    }

    .rule,
    .token-item {
        min-height: 0;
        border-right: 0;
        border-bottom: var(--line);
    }

    .token-item {
        border-bottom-color: var(--neon);
    }

    .rule:last-child,
    .token-item:last-child {
        border-bottom: 0;
    }

    .rule > span,
    .token-item > span {
        margin-bottom: 24px;
    }

    .signal-flow {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .signal-flow b {
        transform: rotate(90deg);
    }

    .workshop {
        grid-template-columns: 1fr;
    }

    .workshop-image {
        min-height: 480px;
        border-right: 0;
        border-bottom: var(--line);
    }

    .game-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .game-frame {
        box-shadow: 7px 7px 0 var(--purple-400);
    }

    .gallery-note {
        grid-template-columns: 84px 1fr;
        gap: 24px;
    }

    .gallery-note img {
        width: 84px;
    }

    .gallery-note p {
        font-size: 34px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .header-play {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 66px;
    }

    .hero h1 span {
        display: block;
        margin: 14px 0 0;
        font-size: 30px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .button {
        flex: 1 1 140px;
    }

    .section-heading h2,
    .workshop-copy h2,
    .game-heading h2,
    .token-intro h2,
    .gallery-heading h2 {
        font-size: 44px;
    }

    .adventure,
    .token-section,
    .gallery {
        padding: 78px 20px 0;
    }

    .token-section,
    .gallery {
        padding-bottom: 78px;
    }

    .route-wrap {
        margin-inline: -20px;
        padding-inline: 24px;
    }

    .workshop-copy {
        padding: 54px 22px;
    }

    .game-section {
        padding: 78px 10px;
    }

    .game-cover img {
        width: 100px;
    }

    .game-cover strong {
        font-size: 11px;
    }

    .game-cover .button {
        min-height: 42px;
        padding: 8px 15px;
        font-size: 13px;
    }

    .gallery-note p {
        font-size: 27px;
    }

    .site-footer {
        padding-inline: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ride-ticker div,
    .reveal {
        animation: none;
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Neural lab hero responsive overrides */
@media (max-width: 1200px) {
    .hero-content { left: 3%; width: min(32vw, 380px); padding: 0; }

    .hero h1 { font-size: 48px; }

    .brain-scene {
        inset-inline: 17% 19%;
    }

    .brain-tree {
        left: 3%;
    }

    .brain-inspector,
    .neural-readout {
        right: 3%;
    }
}

@media (max-width: 900px) {
    .site-header {
        min-height: 58px;
        padding: 8px 14px;
    }

    .brand {
        font-size: 13px;
    }

    .brand img {
        width: 32px;
        height: 32px;
    }

    .hero {
        height: calc(100svh - 42px);
        min-height: 730px;
    }

    .hero-status {
        top: 70px;
        left: 14px;
        right: 14px;
        grid-template-columns: 1fr auto;
    }

    .hero-status span:nth-child(2) {
        display: none;
    }

    .brain-scene {
        inset: 82px 0 auto;
        height: 44%;
    }

    .brain-reticle {
        width: min(82vw, 440px);
    }

    .hero-content {
        top: 54%;
        left: 20px;
        right: 20px;
        width: auto;
        min-height: 0;
        padding: 0 0 24px;
    }

    .hero h1 {
        max-width: none;
        font-size: 48px;
        line-height: 0.98;
    }

    .hero h1 span {
        display: inline;
        margin: 0;
    }

    .hero-copy {
        max-width: 590px;
        margin: 15px 0 17px;
        font-size: 13px;
        line-height: 1.65;
    }

    .brain-tree,
    .neural-readout {
        display: none;
    }

    .brain-inspector {
        top: 47%;
        left: 20px;
        right: 20px;
        width: auto;
    }

    .brain-inspector > p,
    .brain-inspector h2,
    .brain-inspector dl,
    .depth-control {
        display: none;
    }

    .brain-modes {
        width: min(270px, 100%);
        margin: 0 0 0 auto;
    }
}

@media (max-width: 560px) {
    .header-play {
        font-size: 10px;
    }

    .hero {
        min-height: 700px;
    }

    .brain-scene {
        height: 40%;
    }

    .brain-inspector {
        top: 42%;
    }

    .brain-modes {
        width: 210px;
        margin-inline: auto;
    }

    .brain-modes button {
        min-height: 30px;
    }

    .hero-content {
        top: 50%;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-copy {
        font-size: 12px;
    }

    .hero-actions {
        gap: 9px;
    }

    .hero-actions .button {
        flex: 1 1 130px;
        padding-inline: 10px;
    }
}
