:root {
  --bg: #05060a;
  --bg-2: #0b0d14;
  --line: #1c2030;
  --text: #d7dceb;
  --muted: #8d94a8;
  --accent: #9fb8ff;
  --warm: #ffb27a;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: #fff; line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.mark { font-weight: 300; letter-spacing: .32em; color: #fff; }

/* Header */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: linear-gradient(to bottom, rgba(5,6,10,.85), rgba(5,6,10,0));
  transition: background .3s;
}
.bar.solid { background: rgba(5,6,10,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .mark { font-size: .95rem; text-decoration: none; }
.bar nav { display: flex; gap: clamp(12px, 3vw, 28px); }
.bar nav a { color: var(--text); font-size: .92rem; }
.bar nav a:hover { color: #fff; text-decoration: none; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px clamp(16px, 5vw, 64px) 72px;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 40% 50%;
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1%, 1%); } }
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } html { scroll-behavior: auto; } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(5,6,10,.7) 35%, rgba(5,6,10,0) 70%);
}
.hero-text { position: relative; z-index: 1; max-width: 680px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 700; letter-spacing: -.02em; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: var(--accent); margin-bottom: .8em; }
.tag {
  display: inline-block; margin-left: .6em; padding: .15em .6em;
  border: 1px solid rgba(255,178,122,.5); border-radius: 99px;
  color: var(--warm); letter-spacing: .1em; font-size: .7rem; vertical-align: 1px;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #e4e8f4; max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.btn {
  display: inline-block; padding: .75em 1.5em; border-radius: 99px;
  background: #fff; color: #05060a; font-weight: 600; font-size: .95rem;
}
.btn:hover { text-decoration: none; background: var(--accent); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.credit {
  position: absolute; z-index: 1; right: clamp(16px, 5vw, 64px); bottom: 24px; margin: 0;
  font-size: .78rem; color: var(--muted); max-width: 300px; text-align: right;
}

/* Sections */
.wrap { max-width: var(--max); margin: 0 auto; padding: 96px clamp(16px, 4vw, 40px) 0; }
.intro { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-bottom: 2.4em; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature h3 { margin: 20px 22px 8px; }
.feature p { margin: 0 22px 22px; color: var(--muted); font-size: .97rem; }

/* Gallery */
.gallery-sec { padding-bottom: 0; }
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 6px;
  padding: 0 6px; max-width: 1800px; margin: 0 auto;
}
.gallery a { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease, filter .3s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); filter: brightness(1.1); }
.gallery a::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 10px; font-size: .88rem; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  opacity: 0; transition: opacity .3s;
}
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }
@media (hover: none) { .gallery a::after { opacity: 1; } }

/* Games / specs */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.split p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding: .45em 0 .45em 1.6em; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.specs { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0; }
.specs dt, .specs dd { margin: 0; padding: .7em 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-right: 24px; font-size: .9rem; }
.specs dd { color: var(--text); }

/* Roadmap */
.road { list-style: none; padding: 0; margin: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 54px; width: 2px; background: var(--line); }
.road li { position: relative; display: flex; gap: 22px; padding: 0 0 26px; }
.road .m {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: .9rem;
  background: var(--bg); border: 2px solid var(--line); color: var(--muted); position: relative;
}
.road .done .m { border-color: var(--accent); color: var(--accent); }
.road .now .m { border-color: var(--warm); color: var(--warm); box-shadow: 0 0 18px rgba(255,178,122,.35); }
.road h3 { margin: 6px 0 4px; }
.road p { color: var(--muted); margin: 0; }
.road li:not(.done):not(.now) h3 { color: var(--text); }

/* Get */
.get { text-align: center; padding-bottom: 40px; }
.get p { color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.soon {
  display: inline-block; margin-top: .8em; padding: .75em 1.6em; border-radius: 99px;
  border: 1px dashed var(--line); color: var(--muted); font-size: .95rem;
}

/* Footer */
.foot {
  margin-top: 96px; padding: 40px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .85rem;
}
.foot p { margin: .3em 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: #020306;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1600px, 100%); }
.lightbox img { max-height: calc(100vh - 110px); width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { text-align: center; color: var(--text); padding-top: 12px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1;
}
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar nav a[href="#roadmap"] { display: none; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .wrap { padding-top: 72px; }
  .credit { position: relative; right: auto; bottom: auto; text-align: left; margin-top: 1.5em; }
  .hero { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding-bottom: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 4px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
@media (max-width: 420px) {
  .bar .mark { letter-spacing: .22em; }
  .bar nav { gap: 12px; }
  .features { grid-template-columns: 1fr; }
}
