:root {
  --bg: #0e1215;
  --bg-2: #151b1f;
  --text: #d9dfe2;
  --muted: #8f9ba2;
  --gold: #f3cf78;
  --teal: #45c6bf;
  --lava: #e8682a;
  --lava-2: #f5a03a;
  --radius: 10px;
  --wrap: 960px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Open Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--teal); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 960px);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: 48px 20px 64px;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 45% 70%;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,18,21,.15) 0%, rgba(14,18,21,.05) 45%, rgba(14,18,21,.85) 85%, var(--bg) 100%);
}
.hero-content { position: relative; max-width: 900px; }
.hero h1 { margin: 0; }
.logo {
  width: min(760px, 92vw); height: auto; margin: 0 auto;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.6));
}
.tagline {
  font-size: clamp(18px, 2.4vw, 22px);
  margin: 8px auto 28px;
  max-width: 640px;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
}
.demo-note { color: var(--gold); margin: 18px 0 0; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.9); }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  color: #1a0d05;
  background: linear-gradient(180deg, var(--lava-2), var(--lava));
  box-shadow: 0 6px 24px rgba(232,104,42,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(232,104,42,.6); }
.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(14,18,21,.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--teal); color: #fff; }

/* ---------- Layout ---------- */
main { padding-bottom: 40px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section, section.wrap { margin: 72px auto; }
section#trailer { margin-top: 0; }
section.intro { margin-top: 40px; }

.video-frame, .anim {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  background: #000;
}
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }
.anim { max-width: 800px; margin: 28px auto 0; }
.anim video { width: 100%; aspect-ratio: 2 / 1; }

.prose { max-width: 760px; margin-left: auto; margin-right: auto; }
.prose p { margin: 0 0 1em; }
.lead { font-size: 20px; color: #eef2f3; }
.prose ul { padding-left: 1.2em; margin: 0; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--gold); }

.feature h2 { margin: 0 0 22px; display: flex; justify-content: center; }
.feature h2 img { height: 56px; width: auto; }
.lineup { margin: 0 auto 22px; width: 100%; max-width: 800px; height: auto; }

.text-heading {
  font-family: "Grenze", Georgia, serif;
  font-weight: 600;
  color: var(--gold);
  font-size: 34px;
  text-align: center;
  margin: 0 0 22px;
  letter-spacing: .5px;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.gallery a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  outline: 1px solid rgba(255,255,255,.08);
}
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(5,7,8,.92);
  display: grid; place-items: center;
  padding: 24px;
  z-index: 10;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; border-radius: 6px; box-shadow: 0 10px 50px #000; }

/* ---------- Closer ---------- */
.closer { text-align: center; }
.closer-line {
  font-family: "Grenze", Georgia, serif;
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--gold);
  line-height: 1.25;
  margin: 0 0 24px;
}
.steam-widget { width: 100%; max-width: 646px; height: 190px; border: 0; margin: 0 auto 26px; }

.dev { border-top: 1px solid rgba(255,255,255,.08); padding-top: 48px; }
blockquote {
  margin: 20px 0 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--teal);
  color: var(--muted);
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-2);
  text-align: center;
  padding: 36px 20px 30px;
  color: var(--muted);
  font-size: 15px;
}
.studio-logo { width: 72px; height: auto; margin: 0 auto 14px; opacity: .9; }
.site-footer nav { display: flex; gap: 26px; justify-content: center; margin-bottom: 10px; }
.site-footer nav a { color: var(--text); text-decoration: none; }
.site-footer nav a:hover { color: var(--gold); }
.site-footer p { margin: 0; }

/* ---------- Press kit page ---------- */
.pk-header {
  text-align: center;
  padding: 40px 20px 10px;
}
.pk-header .logo { width: min(460px, 80vw); }
.pk-header a.back { color: var(--muted); font-size: 15px; text-decoration: none; }
.pk-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.facts th { color: var(--gold); font-weight: 600; white-space: nowrap; padding-right: 16px; }
.downloads { list-style: none; padding: 0; margin: 0; }
.downloads li { margin: 0 0 10px; }
.downloads a {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  text-decoration: none; color: var(--text);
}
.downloads a:hover { border-color: var(--teal); }
.downloads span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.pk-section h2 { text-align: left; font-size: 28px; margin-bottom: 14px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .lead { font-size: 18px; }
  .feature h2 img { height: 40px; }
  section, section.wrap { margin: 52px auto; }
  .pk-grid { grid-template-columns: 1fr; }
}
