:root {
  --bg: #0f1115;
  --panel: #181b22;
  --text: #e8eaf0;
  --muted: #9aa1b2;
  --accent: #e8b84a;
  --steam: #1b2838;
  --radius: 12px;
  --max: 1000px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  /* Steam store leather background, faded into the page colour at the bottom.
     56.33vw = the image's 1438x810 aspect ratio at full width. */
  background:
    linear-gradient(to bottom, transparent 40%, var(--bg)) center top / 100% 56.33vw no-repeat,
    url("img/page_bg.jpg") center top / 100% 56.33vw no-repeat,
    var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.site {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
}
header.site .brand { font-weight: 700; text-decoration: none; color: var(--text); }
header.site nav a { margin-left: 18px; color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--text); }

.hero {
  text-align: center;
  padding: 64px 0 40px;
}
.hero img.logo { margin: 0 auto 24px; max-height: 220px; }
.hero img.hero-art { margin: 0 auto 24px; width: 100%; max-width: 616px; height: auto; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.hero p.status { color: var(--muted); font-size: .95rem; margin: 14px 0 0; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin: 0 0 8px; letter-spacing: .02em; }
.hero p.tagline { color: var(--muted); font-size: 1.25rem; margin: 0 0 32px; }

.btn {
  display: inline-block; padding: 14px 28px; border-radius: var(--radius);
  background: var(--accent); color: #111; font-weight: 700; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }

section { padding: 40px 0; }
section h2 { font-size: 1.6rem; margin: 0 0 16px; }

.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: var(--panel);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.shots {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.shots img { border-radius: var(--radius); background: var(--panel); aspect-ratio: 16 / 9; object-fit: cover; }

.trailers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.trailer { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; }
.trailer img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.trailer::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.6); }
.trailer::after { content: ""; position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-35%, -95%); width: 22px; height: 26px; background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.trailer span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-weight: 600; }
.trailer:hover img { filter: brightness(1.1); }
.shots img { height: auto; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.features { padding-left: 1.2em; }
.features li { margin-bottom: 6px; }

.steam-widget { max-width: 646px; margin: 0 auto; }
.steam-widget iframe { width: 100%; height: 190px; border: 0; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

footer.site {
  border-top: 1px solid #262a33; margin-top: 40px; padding: 24px 0 40px;
  color: var(--muted); font-size: .9rem; text-align: center;
}

.placeholder { outline: 2px dashed #e05555; outline-offset: 4px; }
