:root {
  color-scheme: dark;
  --background: #090f19;
  --panel: #121e30;
  --text: #f0f4fb;
  --muted: #a8b6ca;
  --gold: #ffbd68;
  --cyan: #68ded6;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(ellipse at 90% 15%, #16434955, transparent 45%),
    radial-gradient(ellipse at 5% 40%, #65422230, transparent 40%),
    var(--background);
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #ffffff10;
}

.logo {
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 3px;
  text-decoration: none;
}

.site-header > a:last-child {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-header > a:last-child:hover { color: var(--gold); }

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -2px;
}

h1 span { color: var(--gold); }

.hero-description {
  max-width: 430px;
  margin: 26px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 24px;
  border: 1px solid #ffe2b3;
  border-radius: 12px;
  background: var(--gold);
  color: #17130d;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 0 #986126, 0 16px 40px #ffbd6820;
  transition: transform 180ms, background 180ms;
}

.download-btn:hover {
  background: #ffd395;
  transform: translateY(-2px);
}

.download-btn:active { transform: translateY(3px); }

a:focus-visible,
video:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 6px;
}

.platform-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 20px;
}

.hero-media {
  position: relative;
  width: 100%;
  max-width: 380px;
  justify-self: center;
  padding: 9px;
  background: linear-gradient(145deg, #314252, #111c2a);
  border: 1px solid #5b7788;
  border-radius: 20px;
  box-shadow: 0 28px 70px #00000070, 0 0 45px #68ded612;
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.hero-media::before {
  top: -5px;
  left: -5px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}

.hero-media::after {
  right: -5px;
  bottom: -5px;
  border-right: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
}

.hero-media video {
  display: block;
  width: 100%;
  aspect-ratio: 720 / 990;
  object-fit: contain;
  border-radius: 12px;
  background: #0b1320;
}

.worlds {
  padding: 56px 0 80px;
  border-top: 1px solid #ffffff10;
}

.worlds .eyebrow { margin-bottom: 12px; }

h2 {
  margin: 0 0 32px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1px;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.world-card {
  --accent: var(--gold);
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border: 1px solid #2a384b;
  border-top: 3px solid var(--accent);
  border-radius: 16px;
  background: linear-gradient(145deg, #19263a, #101926);
  transition: transform 200ms, border-color 200ms;
}

.world-card.zombie { --accent: #a7d478; }
.world-card.space { --accent: var(--cyan); }

.world-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 76px;
  height: 76px;
  border: 10px solid var(--accent);
  opacity: 0.07;
  transform: rotate(15deg);
}

.world-card h3 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 21px;
}

.world-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

footer {
  padding: 26px 0;
  border-top: 1px solid #ffffff10;
  color: var(--muted);
  font-size: 12px;
}

@media (hover: hover) {
  .world-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 44px 0 56px;
  }

  .hero-content { text-align: center; }
  .hero-description { margin-inline: auto; }
  .hero-media { max-width: 330px; }
  .world-grid { grid-template-columns: 1fr; }
  .worlds { padding: 40px 0 48px; }
}

@media (max-width: 400px) {
  .site-header, main, footer {
    width: calc(100% - 32px);
  }

  .logo { font-size: 20px; }
  .site-header > a:last-child { font-size: 12px; }
  .download-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download-btn, .world-card { transition: none; }
}