:root {
  color-scheme: dark;
  --ink: #f5f1e8;
  --muted: #b7c0b2;
  --page: #101214;
  --panel: #191d1d;
  --line: #37413c;
  --green: #7fd17b;
  --gold: #f3c969;
  --coral: #e9775f;
  --cyan: #6fc7d9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--page) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.store-links,
.social-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 9px;
}

.site-nav {
  gap: clamp(0.75rem, 3vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.social-links a:hover,
.store-links a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 5rem);
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

h3 {
  font-size: 1.15rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 36rem;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.store-links,
.social-links {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 2rem;
}

.button,
.store-links a,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #101412;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-art {
  position: absolute;
  z-index: 0;
  right: clamp(-18rem, -10vw, -7rem);
  bottom: clamp(-9rem, -7vw, -4rem);
  width: min(72vw, 58rem);
  aspect-ratio: 14 / 9;
  opacity: 0.9;
  transform: rotate(-1.5deg);
  filter: drop-shadow(0 2.5rem 4rem rgba(0, 0, 0, 0.45));
}

.hero-art img,
.game-shot {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
  border: 3px solid color-mix(in srgb, var(--ink) 82%, transparent);
  box-shadow: 12px 12px 0 #000;
}

.section {
  padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 68rem;
  margin: 0 auto 2rem;
}

.game-layout {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.game-shot {
  aspect-ratio: 16 / 10;
  height: auto;
}

.game-details {
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.feature-list li {
  padding-left: 1.6rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  aspect-ratio: 1;
  background: var(--gold);
}

.updates-section {
  background: #151817;
}

.updates-grid {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.update-card {
  min-height: 13rem;
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.update-card time {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
}

.update-card h3 {
  margin-top: 0.8rem;
}

.update-card p {
  color: var(--muted);
}

.contact-band {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem);
  background: var(--green);
  color: #101412;
}

.contact-band .eyebrow {
  color: #254128;
}

.contact-band p {
  margin-bottom: 0;
}

.contact-band .social-links a {
  border-color: #101412;
}

.site-footer {
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .hero,
  .game-layout,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
    padding-top: 4rem;
    padding-bottom: 14rem;
  }

  .hero-art {
    right: -11rem;
    bottom: -2rem;
    width: min(44rem, 132vw);
    opacity: 0.4;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 3.15rem);
    line-height: 1.08;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .button {
    flex: 1 1 9rem;
  }
}
