:root {
    --bg: #000;
    --surface: #0f0f0f;
    --surface-2: #171717;
    --line: #232323;
    --ink: #fff;
    --muted: #a3a3a3;
    --red: #e00000;
    --red-hover: #ff1a1a;
    --yellow: #ffd84d;
    --display: "Kanit", "Arial Narrow", Impact, sans-serif;
    --sans: "Inter", "Segoe UI", Arial, sans-serif;
    --wrap: 1180px;
    --card: 224px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 800; line-height: 1.08; margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.sr, .skip { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; margin: 0; clip: auto; z-index: 50; background: var(--yellow); color: #000; padding: 8px 14px; font-weight: 700; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.top__bar { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 1.7rem; letter-spacing: 0.01em; text-decoration: none; line-height: 1; text-transform: uppercase; }
.logo span { color: var(--red); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav a:hover, .nav a.is-active { color: #fff; background: var(--surface-2); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; padding: 11px; cursor: pointer; }
.nav-toggle i { display: block; height: 2px; margin: 5px 0; background: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background 0.15s; }
.btn:hover { background: var(--red-hover); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px #3a3a3a; }
.btn--ghost:hover { background: var(--surface-2); }

/* headings */
.title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); text-transform: uppercase; }
.page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; margin-bottom: 18px; }
.lede { font-size: 1.15rem; color: #c4c4c4; max-width: 62ch; }

/* hero */
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); text-transform: uppercase; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 24px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; padding: 0; margin: 0; list-style: none; max-width: 560px; color: var(--muted); font-size: 0.95rem; }
.facts li { padding-left: 16px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 2px; background: var(--red); }
.hero__posters { display: flex; gap: 16px; }
.hero__posters .game { width: 200px; }
.hero__posters .game:nth-child(2) { margin-top: 36px; }
.hero__posters .game:nth-child(3) { margin-top: 72px; }

/* game cards */
.game { display: block; width: var(--card); flex: 0 0 auto; text-decoration: none; scroll-snap-align: start; }
.game__art { position: relative; display: block; border-radius: 20px; overflow: hidden; background: var(--surface); aspect-ratio: 224 / 300; }
.game__art img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 12px; right: 12px; padding: 3px 14px; border-radius: 999px; background: var(--yellow); color: #000; font-weight: 800; font-size: 0.95rem; line-height: 1.5; }
.game__name { display: block; margin-top: 12px; font-weight: 600; color: #fff; }
.game__meta { display: block; font-size: 0.82rem; color: #8b8b8b; font-weight: 500; }
.game:hover .game__name { color: var(--yellow); }

/* sections + rails */
.band { padding: 48px 0; }
.band + .band { border-top: 1px solid var(--line); }
.band__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.band__head p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }
.band__link { color: #fff; font-weight: 600; white-space: nowrap; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.rail { position: relative; }
.rail__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: none; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__btn { position: absolute; top: 112px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #000; font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6); }
.rail__btn--prev { left: -14px; }
.rail__btn--next { right: -14px; }
.rail__btn:hover { background: var(--yellow); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
.step { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--red); font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.2rem; }
.step h2, .step h3 { font-size: 1.45rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.check { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 0; list-style: none; }
.check li { padding: 18px 20px 18px 52px; position: relative; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: #d6d6d6; }
.check li::before { content: "✓"; position: absolute; left: 18px; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: #000; font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; line-height: 1; }

/* prose */
.page-hero { padding: 48px 0 20px; }
.crumbs { margin-bottom: 14px; font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.75rem; margin: 2.2em 0 0.5em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 0.4em; }
.prose p, .prose li { color: #cfcfcf; }
.prose a, .plain a { text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.callout { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--yellow); background: var(--surface); border-radius: 0 14px 14px 0; }
.callout p { margin: 0; color: #e6e6e6; }

.game-row { display: grid; grid-template-columns: var(--card) 1fr; gap: 32px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); }
.game-row:first-of-type { border-top: 0; }
.game-row h2 { font-size: 1.9rem; margin-bottom: 4px; text-transform: uppercase; }
.game-row .by { color: #8b8b8b; margin-bottom: 14px; font-size: 0.95rem; }
.game-row p { color: #cfcfcf; max-width: 62ch; }

/* faq */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq__item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq__item summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 600; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; font-weight: 700; }
.faq__item[open] summary::after { content: "–"; }
.faq__item[open] { border-color: #3a3a3a; }
.faq__item p { margin: 0; padding: 0 22px 20px; color: #c4c4c4; }

/* footer */
.foot { margin-top: 40px; padding: 44px 0 32px; border-top: 1px solid var(--line); background: #050505; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.foot p { color: var(--muted); font-size: 0.93rem; margin-top: 14px; max-width: 46ch; }
.foot h2 { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 0.95rem; margin-bottom: 12px; }
.foot a { text-decoration: none; }
.foot__grid a:not(.logo) { display: block; color: var(--muted); margin: 8px 0; font-size: 0.95rem; }
.foot__grid a:not(.logo):hover { color: #fff; }
.foot__legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot__legal p { max-width: none; font-size: 0.85rem; color: #8b8b8b; }

.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: #0a0a0a; border-top: 1px solid var(--line); }
.tabbar a { flex: 1; text-align: center; text-decoration: none; color: var(--muted); font-size: 0.78rem; font-weight: 600; padding: 12px 4px calc(12px + env(safe-area-inset-bottom)); }
.tabbar a.is-active { color: #fff; }
.tabbar a:last-child { color: var(--red-hover); }

/* age gate */
.age { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.92); }
html.age-ok .age { display: none; }
.age__card { width: min(460px, 100%); padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid #2c2c2c; }
.age__badge { display: inline-block; margin-bottom: 14px; padding: 2px 14px; border-radius: 999px; background: var(--yellow); color: #000; font-weight: 800; }
.age__card h2 { font-size: 1.7rem; margin-bottom: 10px; }
.age__card p { color: #c4c4c4; }
.age__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

@media (max-width: 1000px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__posters { order: -1; }
    .hero__posters .game:nth-child(n) { margin-top: 0; }
    .hero__posters .game:nth-child(3) { display: none; }
    .foot__grid { grid-template-columns: 1fr 1fr; }
    .foot__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
    body { padding-bottom: 64px; font-size: 16px; }
    .nav-toggle { display: block; }
    .top .btn { display: none; }
    .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0; padding: 10px 16px 18px; background: #000; border-bottom: 1px solid var(--line); flex-direction: column; }
    .nav.is-open { display: flex; }
    .nav a { padding: 12px 14px; }
    .tabbar { display: flex; }
    .steps, .check { grid-template-columns: 1fr; }
    .band__head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .rail__btn { display: none; }
    .game-row { grid-template-columns: 1fr; gap: 18px; }
    .game-row .game { width: 200px; }
}
@media (max-width: 560px) {
    .hero { padding-top: 32px; }
    .facts { grid-template-columns: 1fr; }
    .hero__posters .game { width: 46vw; }
    .foot__grid { grid-template-columns: 1fr; }
    :root { --card: 176px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
