@font-face {
  font-family: Barlow;
  src: url('/assets/barlow-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #111719;
  --panel: #1a2224;
  --paper: #f6eedc;
  --muted: #bac4bf;
  --line: #34413f;
  --lime: #d0fb3e;
  --heading: Barlow, 'Arial Narrow', Impact, sans-serif;
  font-family: Inter, system-ui, sans-serif;
  color: var(--paper);
  background: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.container { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: .5rem; left: .5rem; padding: .75rem; background: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { background: #101618; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.75rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.brand { width: 8.25rem; display: inline-block; }
.brand img { width: 100%; height: auto; }
.nav-main, .languages, .footer-links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.nav-main a, .languages a, .footer-links a { text-decoration: none; font-size: .84rem; font-weight: 600; }
.nav-main a, .footer-links a { padding-block: .6rem; }
.languages { gap: .2rem; justify-self: end; border: 1px solid var(--line); border-radius: 2px; padding: .2rem; }
.languages a { min-width: 2.25rem; min-height: 2.25rem; display: grid; place-items: center; color: var(--muted); }
.languages [aria-current="page"] { background: var(--lime); color: var(--ink); }
.nav-main a:hover, .footer-links a:hover, .languages a:not([aria-current]):hover { color: var(--lime); }

.hero { position: relative; min-height: clamp(36rem, 52vw, 52rem); display: grid; align-items: center; isolation: isolate; overflow: clip; }
.hero-art, .hero-art img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: right 47%; }
.hero::after {
  content: '';
  z-index: -1;
  background: linear-gradient(0deg, var(--ink), transparent 24%), linear-gradient(90deg, #0b1113e8 0%, #0b1113c7 26%, #0b111337 61%, transparent 77%);
}
.hero-content { padding-block: 4rem 5rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .73rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--lime); }
.eyebrow::before { content: ''; width: .62rem; height: .62rem; display: inline-block; flex: 0 0 auto; background: currentColor; transform: skew(-16deg); }
h1, h2 { font-family: var(--heading); text-transform: uppercase; font-weight: 800; letter-spacing: -.015em; }
.hero h1 { margin-top: 1.15rem; max-width: 38rem; font-size: clamp(2.8rem, 5.4vw, 5.25rem); line-height: .91; }
.hero-logo { width: min(100%, 26rem); height: auto; margin: 0 0 1rem -.2rem; }
.hero h1 span { display: block; max-width: 13ch; }
.hero-intro, .launch-copy { color: #d4ded8; line-height: 1.65; font-size: clamp(.98rem, 1.4vw, 1.1rem); }
.hero-intro { max-width: 31rem; margin-top: 1.35rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.85rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .85rem; min-height: 3.25rem; padding: .8rem 1rem; border: 1px solid transparent; text-decoration: none; font-weight: 700; font-size: .86rem; }
.button span { font-size: 1.05rem; }
.button-primary { background: var(--lime); color: #151a0c; }
.button-primary:hover { background: #ecff97; }
.button-secondary { background: #101718b7; border-color: #99a998; }
.button-secondary:hover { border-color: var(--lime); color: var(--lime); }

.game-section { padding-block: clamp(4rem, 7.5vw, 7.25rem); }
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .67fr); gap: clamp(2rem, 9vw, 8rem); align-items: center; }
h2 { font-size: clamp(2.95rem, 5.4vw, 5.15rem); line-height: .94; margin-top: .85rem; }
h2 span { color: var(--lime); }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 2.1rem 1fr; gap: 1rem; padding-block: 1.12rem; border-top: 1px solid var(--line); }
.step-number { color: var(--lime); font-family: var(--heading); font-size: 1.35rem; line-height: 1.15; }
.steps h3 { font-size: 1.03rem; }
.steps p, .faq p { font-size: .94rem; color: var(--muted); line-height: 1.65; margin-top: .35rem; max-width: 40ch; }

.game-figure { justify-self: center; width: min(100%, 21rem); padding: .55rem; position: relative; border: 1px solid #47534c; background: #0c1113; box-shadow: 0 1.4rem 4rem #0007; }
.game-figure::before, .game-figure::after { content: ''; position: absolute; width: 1.15rem; height: 1.15rem; pointer-events: none; }
.game-figure::before { top: -1px; left: -1px; border-top: 2px solid var(--lime); border-left: 2px solid var(--lime); }
.game-figure::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--lime); border-right: 2px solid var(--lime); }
.game-figure img { width: 100%; height: auto; }
.game-figure figcaption { padding: .85rem .35rem .35rem; display: flex; gap: .55rem; align-items: center; font-size: .67rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.game-figure figcaption span { width: .42rem; height: .42rem; background: var(--lime); border-radius: 50%; }

.launch-section { padding-block: clamp(3.5rem, 7vw, 6.25rem); border-block: 1px solid var(--line); background: linear-gradient(115deg, #1b2623, #151e21 59%); }
.launch-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.launch-copy { margin-top: 1.2rem; max-width: 38ch; }
.platforms { padding: 0; margin: 0; list-style: none; display: grid; gap: .65rem; }
.platforms li { border: 1px solid #46564f; border-left: 2px solid var(--lime); background: #101719a8; padding: .85rem 1rem; }
.platforms p { margin-top: .18rem; color: var(--muted); font-size: .82rem; }

.faq { display: grid; grid-template-columns: .75fr 1fr; gap: 3rem; padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.faq h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.75rem); }
.faq details { border-block-start: 1px solid var(--line); }
.faq details:last-child { border-block-end: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-block: 1rem; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+' / ''; color: var(--lime); font-size: 1.25rem; }
.faq details[open] summary::after { content: '−' / ''; }
.faq p { margin: 0 0 1rem; max-width: none; }
.site-footer { border-top: 1px solid var(--line); background: #0c1113; }
.footer-inner { min-height: 5.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.missing { min-height: 65vh; padding-block: 6rem; }
.missing h1 { font-size: clamp(2.75rem, 7vw, 6rem); margin-bottom: 1rem; }

@media (max-width: 800px) {
  .container { width: calc(100% - 3rem); }
  .game-grid, .launch-grid, .faq { gap: 2rem; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.1rem; grid-template-columns: 1fr auto; gap: 0 1rem; }
  .header-inner .brand { width: 7.25rem; }
  .nav-main { grid-row: 2; grid-column: 1 / -1; gap: 1.25rem; padding-top: .2rem; }
  .nav-main a { font-size: .79rem; padding-bottom: .75rem; }
  .hero { min-height: min(50rem, 190vw); align-items: end; }
  .hero-art { height: min(36rem, 135vw); mask-image: linear-gradient(#000 64%, transparent); }
  .hero-art img { object-position: center 73%; }
  .hero::after { background: linear-gradient(0deg, #111719 1%, #111719eb 24%, #111719a8 51%, #11171923 90%); }
  .hero-content { padding-block: 13.5rem 2.75rem; }
  .hero h1 { max-width: 24rem; font-size: clamp(2.55rem, 10vw, 3.7rem); }
  .hero-logo { width: min(76%, 16rem); margin-bottom: .65rem; }
  .hero-intro { margin-top: 1rem; }
  .actions { margin-top: 1.15rem; }
  .game-grid, .launch-grid, .faq { grid-template-columns: 1fr; }
  .game-figure { width: min(100%, 20rem); }
  .footer-inner { min-height: 5rem; }
  .footer-inner .brand { width: 6rem; }
  .footer-links { gap: .8rem; }
  .footer-links a { font-size: .78rem; }
}

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