/* Same design tokens as the launcher (src/styles.css). */
@font-face { font-family: "Big Shoulders Display"; src: url("./assets/big-shoulders.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("./assets/schibsted.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Silkscreen; src: url("./assets/silkscreen.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --base: #0a0a0d;
  --surface: #15151b;
  --grid: rgba(255, 255, 255, .05);
  --line: #32323a;
  --cream: #f3eedf;
  --text: #f7f7f2;
  --muted: #8c8c99;
  --soft: #b7b7c2;
  --lime: #c8ff3d;
  --violet: #7a6bff;
  --orange: #ff5b23;
  --pink: #ff5fa2;
  --cyan: #3de0ff;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Schibsted Grotesk", Arial, sans-serif;
  --micro: Silkscreen, monospace;
  --radius: 24px;
  --pill: 999px;
  --gutter: clamp(20px, 4.2vw, 72px);
  --motion: 220ms cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; background: var(--base); }
body {
  margin: 0; color: var(--text); font: 400 16px/1.55 var(--body);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
}
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--lime); }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: .96; text-transform: uppercase; }
h1 { font-size: clamp(60px, 7.6vw, 128px); letter-spacing: -.01em; }
h1 span { color: var(--lime); }
h2 { font-size: clamp(38px, 4.4vw, 70px); }
h3 { font-size: 32px; }
.micro { font: 400 11px/1.45 var(--micro); letter-spacing: .055em; text-transform: uppercase; }
.eyebrow { color: var(--soft); margin-bottom: 10px; }
.eyebrow span { color: var(--lime); }
.wrap { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }
.skip { position: fixed; z-index: 9; top: 12px; left: 12px; transform: translateY(-160%); background: var(--lime); color: var(--base); padding: 10px 18px; }
.skip:focus { transform: none; color: var(--base); }

.mast { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: rgba(10, 10, 13, .94); }
.mast-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 900 25px/.95 var(--display); letter-spacing: .035em; }
.brand > span:last-child > span { color: var(--lime); margin-left: 3px; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: var(--lime); color: var(--base); font: italic 900 25px/1 var(--display); }
.brand:hover { color: var(--text); }
.nav-pills { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--pill); }
.nav-pills a { padding: 7px 15px; border-radius: var(--pill); color: var(--soft); font-size: 13px; font-weight: 650; text-decoration: none; transition: background var(--motion), color var(--motion); }
.nav-pills a:hover { background: var(--surface); color: var(--text); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 4vw, 72px); padding-block: clamp(44px, 7vw, 110px) clamp(40px, 6vw, 96px); }
.lead { max-width: 38ch; margin-top: 22px; color: var(--soft); font-size: clamp(16px, 1.45vw, 20px); }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.download { display: grid; gap: 2px; align-content: center; min-height: 64px; padding: 10px 22px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); text-decoration: none; transition: transform var(--motion), border-color var(--motion), background var(--motion); }
.download strong { font: 400 15px/1.2 var(--micro); text-transform: uppercase; }
.download small { color: var(--soft); font-size: 10px; }
.download:hover { transform: translateY(-2px); border-color: var(--lime); color: var(--text); }
.download.primary { background: var(--lime); border-color: var(--lime); color: var(--base); }
.download.primary small { color: #2c3a0b; }
.download.primary:hover { background: #e1ff95; color: var(--base); }
.download[aria-disabled="true"] { pointer-events: none; opacity: .55; transform: none; }
.release-status { min-height: 1.45em; margin-top: 12px; color: var(--muted); }

.showcase { position: relative; height: clamp(330px, 36vw, 520px); }
.card { position: absolute; overflow: hidden; width: 56%; height: 86%; top: 7%; border: 1px solid var(--base); border-radius: 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transition: transform var(--motion); }
.card-santa { left: 30%; z-index: 3; transform: rotate(3deg); background: linear-gradient(160deg, #273d72, #111b39); }
.card-santa img { height: 72%; object-fit: cover; object-position: 56% 50%; }
.card-copy { padding: 14px 20px; }
.card-copy .micro { color: #b4d7ff; }
.card-copy h2 { font-size: clamp(28px, 3vw, 46px); }
.card-back-1 { left: 16%; z-index: 2; transform: rotate(-6deg); background: linear-gradient(150deg, var(--violet), #26205a); }
.card-back-2 { left: 4%; z-index: 1; transform: rotate(-14deg) translateY(16px); background: linear-gradient(150deg, var(--orange), #5a1d0b); }
.showcase:hover .card-santa { transform: rotate(1deg) translateY(-6px); }
.showcase:hover .card-back-1 { transform: rotate(-9deg) translateX(-10px); }
.showcase:hover .card-back-2 { transform: rotate(-17deg) translate(-16px, 16px); }
.card-art.mystery-art { height: 100%; }
.mystery-art { display: grid; place-items: center; color: rgba(255, 255, 255, .22); font: 900 clamp(90px, 12vw, 180px)/1 var(--display); }
.sticker { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 6px 9px; border: 1px solid var(--base); border-radius: 3px; background: var(--lime); color: var(--base); font: 400 10px/1.2 var(--micro); text-transform: uppercase; transform: rotate(4deg); }
.card-back-1 .sticker, .violet .sticker { background: var(--cream); }
.card-back-2 .sticker, .orange .sticker { background: var(--pink); }
.orbit { position: absolute; z-index: 4; right: -2%; bottom: -4%; width: clamp(96px, 10vw, 146px); animation: spin 18s linear infinite; }
.orbit text { fill: var(--base); font: 400 9.6px var(--micro); letter-spacing: .06em; }
.orbit .orbit-core { font: italic 900 34px var(--display); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.games, .requirements, .setup { padding-block: clamp(36px, 5.5vw, 76px); border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.section-head .note { max-width: 32ch; color: var(--soft); text-align: right; }
.game-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; align-items: start; }
.game { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform var(--motion), border-color var(--motion); }
.game:hover { transform: translateY(-4px) rotate(-.4deg); border-color: var(--lime); }
.game-art { position: relative; min-height: 200px; background: linear-gradient(160deg, #273d72, #111b39); }
.game-art img { aspect-ratio: 16 / 10; object-fit: cover; }
.violet .game-art { background: linear-gradient(150deg, var(--violet), #26205a); }
.orange .game-art { background: linear-gradient(150deg, var(--orange), #5a1d0b); }
.mystery .game-art { display: grid; place-items: center; aspect-ratio: 16 / 10; }
.game-copy { padding: 17px 19px 20px; }
.game-copy .micro { color: var(--soft); }
.game-copy h3 { margin: 6px 0 8px; }
.game-copy p:last-child { color: var(--soft); }

.requirements dl { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 14px; margin-top: 24px; }
.requirements dl > div { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.requirements dt { color: var(--lime); }
.requirements dd { margin-top: 8px; color: var(--soft); }
.setup ol { counter-reset: steps; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0; margin: 24px 0 0; }
.setup li { position: relative; padding: 58px 22px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.setup li::before { counter-increment: steps; content: "0" counter(steps); position: absolute; left: 22px; top: 18px; color: var(--lime); font: 900 30px/1 var(--display); }
.setup li strong { font: 900 26px/1 var(--display); text-transform: uppercase; }
.setup li p { margin-top: 8px; color: var(--soft); }
.footer { display: flex; justify-content: space-between; gap: 10px 28px; flex-wrap: wrap; padding-block: 24px 36px; border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .showcase { height: clamp(300px, 70vw, 460px); }
  .game-grid, .setup ol, .requirements dl { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .note { text-align: left; }
}
@media (max-width: 560px) {
  .nav-pills a { padding: 6px 10px; }
  .nav-pills a:first-child { display: none; }
  .showcase { height: 96vw; }
  .card { width: 62%; border-radius: 20px; }
  .card-copy { padding: 10px 14px; }
  .card-copy h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

html, body { overflow-x: clip; }
