@font-face {
  font-family: "Jersey 25";
  src: url("../fonts/jersey25.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0c1530;
  --bg-2: #121f45;
  --panel: #17275a;
  --line: #24397a;
  --text: #e9eefc;
  --muted: #a7b4da;
  --gold: #fbb937;
  --gold-hi: #ffd36e;
  --blue: #5474e0;
  --shadow-blue: #0b4a94;
  --radius: 10px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Noto Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }

h1, h2, h3 {
  font-family: "Jersey 25", "Noto Sans", sans-serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .5px;
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--shadow-blue);
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
h3 { font-size: 1.9rem; }

p { margin: 0 0 1em; }

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

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--gold); color: var(--bg); padding: 8px 14px; z-index: 50;
}
.skip:focus { left: 8px; }

/* nav */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  padding: 14px 0;
}
.nav.solid { position: sticky; top: 0; background: rgba(12, 21, 48, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; }
.nav .brand img { height: 34px; width: auto; image-rendering: pixelated; }
.nav .brand.hide { visibility: hidden; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--gold); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .12s, background .12s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-gold { background: var(--gold); color: #10204a; box-shadow: 0 4px 0 var(--shadow-blue); }
.btn-gold:hover { background: var(--gold-hi); color: #10204a; }
.btn-line { border-color: var(--text); color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 14px; font-size: .9rem; box-shadow: 0 3px 0 var(--shadow-blue); }

/* hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid; place-items: center;
  text-align: center;
  padding: 96px 0 72px;
  overflow: hidden;
}
.hero picture, .hero picture img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(12, 21, 48, .15) 0%, rgba(12, 21, 48, .55) 70%),
    linear-gradient(to bottom, rgba(12, 21, 48, 0) 55%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero .logo { width: min(620px, 86vw); margin: 0 auto 18px; image-rendering: pixelated; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); }
.tagline {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  max-width: 34ch;
  margin: 0 auto 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero .meta { margin-top: 22px; font-size: .95rem; color: var(--text); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }

/* socials */
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.socials a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  transition: background .12s, color .12s;
}
.socials a:hover { background: var(--gold); color: #10204a; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.hero .socials { justify-content: center; margin-top: 22px; }

/* sections */
section { padding: 72px 0; }
.alt { background: var(--bg-2); }
.lead { font-size: 1.15rem; color: var(--text); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 2px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.video-frame video { width: 100%; height: auto; }
.credit { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* feature rows */
.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .clip { order: 2; }
.feature ul { padding-left: 1.1em; margin: 0; }
.feature li { margin-bottom: .45em; }
.feature li strong { color: var(--gold-hi); font-weight: 600; }
.clip {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--line);
  background: #000;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4);
}
.clip video { width: 100%; aspect-ratio: 616 / 346; object-fit: cover; image-rendering: pixelated; }

/* shot grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.grid figure { margin: 0; }
.grid a { display: block; border-radius: 8px; overflow: hidden; border: 2px solid var(--line); }
.grid a:hover { border-color: var(--gold); }
.grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s; }
.grid a:hover img { transform: scale(1.03); }
.grid figcaption { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--gold); border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; margin-left: 4px; vertical-align: 1px; }

.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.clips figure { margin: 0; }
.clips figcaption { margin-top: 8px; font-weight: 600; }

/* wishlist band */
.band {
  text-align: center;
  background:
    linear-gradient(rgba(12, 21, 48, .72), rgba(12, 21, 48, .86)),
    url("../img/hero-sm.webp") center / cover;
  image-rendering: pixelated;
}
.band iframe { display: block; margin: 26px auto 0; border: 0; max-width: 100%; }

/* press */
.press { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.facts {
  position: sticky; top: 84px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.facts dl { margin: 0; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 14px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 2px 0 0; font-weight: 600; word-break: break-word; }
.facts .socials { margin-top: 18px; }
.press-body > section { padding: 0 0 48px; }
.press-body h2 { font-size: 2.3rem; }
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.downloads a {
  display: block; text-decoration: none; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px; font-size: .9rem;
}
.downloads a:hover { border-color: var(--gold); }
.downloads img { width: 100%; height: 120px; object-fit: contain; margin-bottom: 10px; image-rendering: pixelated; }
.downloads span { display: block; color: var(--muted); font-size: .8rem; }

.page-head { padding: 56px 0 8px; }

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  font-size: .9rem;
  color: var(--muted);
}
footer .wrap { display: grid; gap: 18px; }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer .mail { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer .mail a { color: var(--text); }
footer small { font-size: .8rem; }

/* lightbox */
dialog.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: 96vw; max-height: 94vh;
  color: var(--text);
}
dialog.lightbox::backdrop { background: rgba(4, 8, 20, .92); }
.lightbox img { max-width: 96vw; max-height: 84vh; width: auto; border-radius: 6px; }
.lightbox p { text-align: center; margin: 10px 0 0; }
.lightbox button {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, .1); color: #fff;
  border: 0; width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer;
}
.lightbox button:hover { background: var(--gold); color: #10204a; }
.lightbox .prev { left: 14px; }
.lightbox .next { right: 14px; }
.lightbox .close { top: 30px; right: 14px; transform: none; font-size: 1.3rem; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; }
  .feature:nth-child(even) .clip { order: 0; }
  .press { grid-template-columns: 1fr; }
  .facts { position: static; }
  .nav ul { gap: 16px; }
  .nav .steam-btn { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .nav .brand { display: none; }
  .nav ul { margin: 0 auto; }
  .hero { min-height: 78vh; }
  .band iframe { display: none; }
  .center .lead { text-align: left; }
  .center .lead { text-align: left; }
  .lightbox button.prev, .lightbox button.next { top: auto; bottom: 10px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .grid img { transition: none; }
}

/* ---- blend: first-version layout, game-UI pieces ---- */
:root {
  --bg: #0b1631;
  --bg-2: #0d1a38;
  --panel: #0d1a38;
  --line: rgba(245, 184, 48, .35);
  --text: #ebe6d1;
  --bright: #fffae0;
  --muted: #8c9ebf;
  --gold: #f5b830;
  --gold-hi: #f8cd6b;
  --wood-mid: #1a3873;
  --wood-light: #1f4d94;
  --wood-pressed: #0f244d;
  --edge: #08122a;
  --bronze: #765817;
  --bronze-hi: #9c7620;
  --radius: 6px;
}

/* nav: the game's top bar with tabs */
.nav, .nav.solid {
  background: rgba(9, 18, 40, .92);
  border-bottom: 2px solid rgba(245, 184, 48, .7);
  backdrop-filter: none;
  padding: 10px 0 0;
}
.nav .wrap { align-items: flex-end; }
.nav .brand { align-self: center; padding-bottom: 10px; }
.nav ul { gap: 4px; align-self: flex-end; }
.nav ul a {
  display: block;
  padding: 8px 14px 9px;
  color: var(--muted);
  border: 2px solid transparent; border-bottom: 0;
  border-radius: 3px 3px 0 0;
}
.nav ul a:hover { color: var(--bright); }
.nav ul a[aria-current] { color: var(--text); background: var(--wood-light); border-color: var(--gold); border-top-width: 3px; }
.nav .steam-btn { align-self: center; margin-bottom: 10px; }

/* buttons: game buttons, bronze for the main action */
.btn {
  border-radius: 4px;
  background: var(--wood-mid);
  color: var(--text);
  border: 3px solid var(--edge); border-top-width: 2px; border-bottom-width: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
  font-weight: 600;
  padding: 11px 22px;
}
.btn:hover { transform: none; background: var(--wood-light); border-color: var(--gold); color: var(--bright); }
.btn:active { background: var(--wood-pressed); border-top-width: 4px; border-bottom-width: 2px; color: var(--gold); }
.btn-gold, .btn-gold:hover { color: #fff5d6; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.btn-gold { background: var(--bronze); border: 2px solid var(--gold); border-bottom-width: 3px; box-shadow: 0 2px 5px rgba(0, 0, 0, .5); }
.btn-gold:hover { background: var(--bronze-hi); border-color: var(--gold-hi); color: #fff; }
.btn-line { background: rgba(8, 18, 42, .55); border: 2px solid var(--line); }
.btn-line:hover { background: rgba(26, 56, 115, .7); border-color: var(--gold); color: var(--bright); }
.btn-sm { padding: 6px 16px; box-shadow: 0 2px 5px rgba(0, 0, 0, .5); }

/* hero: same art, the menu's shade */
.hero::after {
  background:
    radial-gradient(ellipse at center, rgba(3, 8, 23, .18) 0%, rgba(3, 8, 23, .38) 55%, rgba(3, 8, 23, .82) 100%),
    linear-gradient(to bottom, rgba(11, 22, 49, 0) 60%, var(--bg) 100%);
}
.hero .meta {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(13, 26, 56, .85);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--bright);
  font-weight: 600;
}

/* socials: small square game buttons */
.socials { gap: 8px; }
.socials a {
  width: 40px; height: 40px; border-radius: 4px;
  background: var(--wood-mid);
  border: 2px solid var(--edge); border-bottom-width: 3px;
  color: var(--text);
}
.socials a:hover { background: var(--wood-light); border-color: var(--gold); color: var(--bright); }
.socials svg { width: 18px; height: 18px; }

/* headings keep the pixel font; small heads get the game's spaced gold labels */
h2 { text-shadow: 3px 3px 0 var(--edge); }
.feature h2, .press-body h2 {
  font: 600 .95rem/1.3 "Noto Sans", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: none;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* sections and panels */
.alt { background: linear-gradient(var(--bg-2), var(--bg-2)); border-block: 1px solid rgba(245, 184, 48, .18); }
.feature {
  background: rgba(13, 26, 56, .96);
  border: 2px solid rgba(245, 184, 48, .85);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
  padding: clamp(20px, 3vw, 32px);
  gap: 36px;
}
.feature + .feature { border-top: 2px solid rgba(245, 184, 48, .85); margin-top: 24px; }

/* gold tick boxes */
.feature ul, .press-body ul { list-style: none; padding: 0; }
.feature li, .press-body li { position: relative; padding-left: 32px; margin-bottom: .6em; }
.feature li::before, .press-body li::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 18px; height: 18px; background: var(--gold); border-radius: 3px;
}
.feature li::after, .press-body li::after {
  content: ""; position: absolute; left: 6px; top: calc(.22em + 3px);
  width: 5px; height: 10px;
  border: solid var(--edge); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.feature li strong, .press-body li strong { color: var(--bright); }

/* gold frames around video and shots */
.video-frame, .clip { border: 2px solid var(--gold); border-radius: 4px; box-shadow: inset 0 0 0 1px var(--edge), 0 12px 34px rgba(0, 0, 0, .45); }
.grid a { border-radius: 4px; border: 2px solid var(--edge); }
.grid a:hover { border-color: var(--gold); }

/* wishlist band: art behind a game panel */
.band .wrap {
  max-width: 820px;
  background: rgba(13, 26, 56, .94);
  border: 2px solid rgba(245, 184, 48, .85);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
  padding: clamp(22px, 3.4vw, 40px);
}

/* press: fact sheet and downloads as game panels */
.facts { background: rgba(13, 26, 56, .96); border: 2px solid rgba(245, 184, 48, .85); border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .55); }
.facts dt { color: var(--gold); }
.facts dd { color: var(--bright); padding-bottom: 8px; border-bottom: 1px solid rgba(245, 184, 48, .12); }
.downloads a {
  background: var(--wood-mid);
  border: 3px solid var(--edge); border-top-width: 2px; border-bottom-width: 4px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
  color: var(--text); font-weight: 600;
}
.downloads a:hover { background: var(--wood-light); border-color: var(--gold); color: var(--bright); }
.downloads span { font-weight: 400; }

/* footer: the campaign's bottom bar */
footer { background: rgba(9, 18, 40, .97); border-top: 2px solid rgba(245, 184, 48, .7); }

/* viewer */
dialog.lightbox img { border: 2px solid var(--gold); border-radius: 4px; }
.lightbox button { border-radius: 4px; background: var(--wood-mid); border: 2px solid var(--line); }
.lightbox button:hover { background: var(--wood-light); border-color: var(--gold); color: var(--bright); }

@media (max-width: 860px) {
  .feature { gap: 20px; }
  .nav ul a { padding: 7px 10px 8px; }
}
@media (max-width: 560px) {
  .nav { padding-top: 6px; }
  .nav ul { margin: 0 auto; }
}
