:root {
    --green-50: #f3ffe0;
    --green-100: #ddff9a;
    --green-200: #bdf56b;
    --green-500: #54c96b;
    --green-700: #187a54;
    --purple-400: #9b5de5;
    --purple-600: #6720b4;
    --purple-800: #36105f;
    --ink: #241033;
    --yellow: #ffe45b;
    --orange: #ff7a2f;
    --paper: #fffdf0;
    --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: 72px;
    padding: 10px clamp(18px, 4vw, 64px);
    border-bottom: var(--line);
    color: var(--purple-800);
    background: rgba(221, 255, 154, 0.94);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    font-size: 20px;
    font-weight: 950;
}

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

.site-nav {
    display: flex;
    gap: clamp(18px, 3vw, 42px);
    font-size: 14px;
    font-weight: 850;
}

.site-nav a {
    padding: 8px 0;
    border-bottom: 3px solid transparent;
}

.site-nav a:hover {
    border-color: var(--purple-600);
}

.header-play {
    justify-self: end;
    padding: 11px 18px;
    border: var(--line);
    border-radius: 4px;
    color: var(--green-50);
    background: var(--purple-600);
    box-shadow: 4px 4px 0 var(--purple-800);
    font-size: 14px;
    font-weight: 900;
}

.hero {
    position: relative;
    min-height: 88svh;
    overflow: hidden;
    border-bottom: var(--line);
    background: var(--green-500);
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-shape {
    position: absolute;
    inset: 0 38% 0 0;
    background: rgba(189, 245, 107, 0.84);
    clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
}

.hero-clouds {
    position: absolute;
    top: 90px;
    left: 2%;
    width: min(560px, 46vw);
    opacity: 0.42;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(700px, 58vw);
    min-height: 88svh;
    padding: 120px 0 64px clamp(24px, 7vw, 112px);
}

.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,
.gallery-heading h2 {
    margin: 0;
    font-weight: 1000;
    letter-spacing: 0;
}

.hero h1 {
    color: var(--purple-600);
    font-size: clamp(78px, 12vw, 184px);
    line-height: 0.78;
    text-shadow: 8px 8px 0 var(--yellow);
}

.hero-copy {
    max-width: 560px;
    margin: 34px 0 24px;
    color: var(--purple-800);
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 760;
    line-height: 1.7;
}

.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: 4px;
    font-weight: 950;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

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

.button-primary {
    color: var(--green-50);
    background: var(--purple-600);
    box-shadow: 5px 5px 0 var(--purple-800);
}

.button-primary:hover {
    box-shadow: 7px 7px 0 var(--purple-800);
}

.button-quiet {
    color: var(--purple-800);
    background: var(--green-100);
    box-shadow: 5px 5px 0 var(--purple-400);
}

.hero-index {
    position: absolute;
    right: clamp(22px, 4vw, 64px);
    bottom: 30px;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 12px;
    color: var(--paper);
    text-shadow: 3px 3px 0 var(--purple-800);
}

.hero-index span {
    font-size: 48px;
    font-weight: 950;
}

.hero-index b {
    font-size: 14px;
}

.ride-ticker {
    overflow: hidden;
    border-bottom: var(--line);
    color: var(--green-100);
    background: var(--purple-600);
}

.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(--yellow);
}

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

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

.adventure {
    padding: clamp(72px, 10vw, 150px) clamp(22px, 7vw, 112px) 0;
    background: var(--green-100);
}

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

.section-heading h2,
.workshop-copy h2,
.game-heading h2,
.gallery-heading h2 {
    color: var(--purple-600);
    font-size: clamp(46px, 7vw, 104px);
    line-height: 0.96;
}

.rules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: clamp(70px, 9vw, 130px);
    border-top: var(--line);
}

.rule {
    min-height: 340px;
    padding: 28px clamp(18px, 3vw, 42px) 46px;
    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 {
    margin: 0 0 14px;
    color: var(--purple-800);
    font-size: 28px;
}

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

.route-wrap {
    margin: 0 calc(clamp(22px, 7vw, 112px) * -1);
    padding: 50px clamp(20px, 5vw, 80px);
    border-top: var(--line);
    background: var(--green-200);
}

.route-wrap img {
    width: 100%;
    max-height: 300px;
}

.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(--purple-800);
    background: var(--yellow);
    font-size: 13px;
    font-weight: 950;
}

.workshop-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(52px, 7vw, 110px);
    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: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 80px);
    background: var(--green-200);
}

.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: 5px solid var(--purple-800);
    border-radius: 4px;
    background: var(--purple-800);
    box-shadow: 12px 12px 0 var(--purple-400);
}

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

.game-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(103, 32, 180, 0.78);
    transition: opacity 180ms ease, visibility 180ms ease;
}

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

.game-cover img {
    width: clamp(130px, 22vw, 310px);
    margin-bottom: -10px;
    filter: drop-shadow(6px 6px 0 var(--purple-800));
}

.gallery {
    padding: clamp(78px, 10vw, 150px) clamp(20px, 7vw, 112px);
    background: var(--green-50);
}

.gallery-heading {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    align-items: start;
    gap: 40px;
    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: clamp(24px, 5vw, 72px);
    max-width: 900px;
    margin: 80px auto 0;
}

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

.gallery-note p {
    margin: 0;
    color: var(--purple-600);
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 950;
    line-height: 1.22;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 36px clamp(20px, 5vw, 80px);
    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: 900px) {
    .site-header {
        grid-template-columns: 1fr auto;
        min-height: 62px;
        padding: 8px 14px;
    }

    .brand {
        font-size: 17px;
    }

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

    .site-nav {
        display: none;
    }

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

    .hero {
        min-height: 760px;
    }

    .hero-media {
        object-position: 64% center;
    }

    .hero-shape {
        inset: 0;
        background: rgba(189, 245, 107, 0.7);
        clip-path: polygon(0 0, 100% 0, 100% 53%, 0 76%);
    }

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

    .hero h1 {
        font-size: clamp(82px, 28vw, 126px);
    }

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

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

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

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

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

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

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

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

    .workshop-image {
        min-height: 440px;
        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;
    }

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

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

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

    .hero-actions {
        width: 100%;
    }

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

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

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

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

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

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

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

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