@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0e0f13;
  --panel: #16181e;
  --line: #262a33;
  --text: #ecebe6;
  --muted: #9a9ca5;
  --accent: #f2b544;
  --accent-ink: #1a1408;
  --live: #6fd39a;
  --soon: #b59cff;
  --radius: 14px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(242, 181, 68, .09), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(181, 156, 255, .07), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--text); }
.mark svg { color: var(--accent); }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.top nav a:hover { color: var(--text); }

/* Intro */
.intro { padding-block: clamp(48px, 10vw, 120px) clamp(40px, 7vw, 80px); max-width: 860px; margin-left: max(16px, (100% - 1120px) / 2); }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--accent); margin-bottom: 18px; }
.intro h1 { font-size: clamp(36px, 6.2vw, 68px); font-weight: 600; }
.lede { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; }

/* Games */
.games { display: grid; gap: clamp(56px, 9vw, 110px); padding-bottom: clamp(64px, 10vw, 120px); }
.game { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.game.flip .shot { order: 2; }

.shot { position: relative; display: block; border-radius: var(--radius); }
.shot > img:first-child { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
a.shot:hover > img { transform: translateY(-4px); }
.shot.stack { padding-bottom: 14%; }
.shot .inset { position: absolute; width: 52%; right: -4%; bottom: 0; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .9); }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.tag { font-family: var(--display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; }
.tag-live { color: var(--live); }
.tag-soon { color: var(--soon); }

.game h2 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; }
.game h2 .sub { font-weight: 400; font-size: .45em; color: var(--muted); letter-spacing: 0; vertical-align: middle; margin-left: 6px; font-style: italic; }
.pitch { font-family: var(--display); font-size: clamp(19px, 2.2vw, 23px); color: var(--accent); margin: 10px 0 16px; line-height: 1.35; }
.body > p:not(.pitch) { color: #c9c9cf; }

.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-size: 14px; color: var(--muted); }
.facts strong { color: var(--text); font-family: var(--display); margin-right: 3px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions:empty, .actions:not(:has(:not([hidden]))) { display: none; }
.button { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 16px; padding: 12px 20px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); background: #ffc85e; }
.button.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.button.ghost:hover { border-color: var(--muted); background: transparent; }
.button[hidden] { display: none; }

/* Contact */
.contact { border-top: 1px solid var(--line); padding-block: clamp(48px, 8vw, 88px); display: grid; gap: 16px; justify-items: start; }
.contact h2 { font-size: clamp(28px, 4vw, 40px); }
.contact p { color: var(--muted); max-width: 520px; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot a { color: var(--muted); }

@media (max-width: 820px) {
  .game { grid-template-columns: 1fr; }
  .game.flip .shot { order: 0; }
  .shot .inset { right: 0; }
}
