:root {
  --bg: #060606;
  --bg-2: #130404;
  --sand: #f1d2c6;
  --amber: #ff5b4d;
  --ember: #c81616;
  --danger: #ff2d2d;
  --text: #fff0ee;
  --muted: #d2a8a0;
  --line: rgba(255, 71, 71, 0.24);
  --shade: rgba(6, 6, 6, 0.82);
  --panel: rgba(16, 4, 4, 0.9);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 91, 77, 0.16), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(200, 22, 22, 0.22), transparent 20%),
    linear-gradient(180deg, rgba(10, 3, 3, 0.45), rgba(10, 3, 3, 0.94)),
    linear-gradient(180deg, #190505 0%, #100202 28%, #060606 100%);
  min-height: 100vh;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
}

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

.hero {
  min-height: 92vh;
  padding: 20px 0 44px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at center bottom, rgba(255, 45, 45, 0.13), transparent 34%);
}

.topbar,
.hero-inner,
.play-zone,
.flow-section,
.immersive-copy,
.faq-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 40px;
}

.brand,
.topbar-links a {
  color: var(--sand);
  text-decoration: none;
}

.brand {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar-links a {
  font-size: 0.95rem;
}

.hero-inner {
  padding: 4vh 0 0;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 0.98;
  font-weight: 700;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3.4rem, 9vw, 7rem);
  text-transform: uppercase;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

strong {
  color: var(--text);
}

.lead {
  max-width: 64ch;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.fullscreen-button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--amber), var(--ember));
  color: #170505;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--sand);
}

.hero-strip span {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.stat-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.stat-item strong {
  display: block;
  margin-bottom: 4px;
  color: #ff8f87;
  font-size: 1.65rem;
  line-height: 1;
}

.stat-item span {
  color: var(--sand);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.play-zone,
.flow-section,
.immersive-copy,
.faq-section {
  padding: 56px 0 20px;
}

.section-copy {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-copy.narrow {
  max-width: 72ch;
}

.game-shell {
  margin-top: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    rgba(8, 2, 2, 0.95);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
}

.game-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 59, 47, 0.08);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 18px rgba(255, 45, 45, 0.78);
}

.toolbar-label {
  color: var(--sand);
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fullscreen-button {
  display: none;
  margin-left: auto;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 91, 77, 0.4);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 91, 77, 0.98), rgba(200, 22, 22, 0.98));
  color: #210505;
  font-weight: 700;
}

.game-frame-wrap {
  position: relative;
  background: #000;
}

.game-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 76vh;
  min-height: 680px;
  border: 0;
}

.flow-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 28px;
}

.flow-item {
  padding-top: 18px;
  border-top: 2px solid rgba(255, 71, 71, 0.34);
}

.systems-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 20px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  padding-top: 28px;
}

.system-line {
  padding-top: 18px;
  border-top: 2px solid rgba(255, 71, 71, 0.34);
}

.faq-list {
  padding-top: 26px;
}

details {
  border-top: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.1rem;
  color: var(--text);
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  max-width: 70ch;
  padding: 0 0 20px;
}

body.is-mobile .fullscreen-button {
  display: inline-flex;
}

@media (max-width: 920px) {
  .flow-lines {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .systems-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .game-frame-wrap iframe {
    min-height: 580px;
  }
}

@media (max-width: 640px) {
  .topbar,
  .hero-inner,
  .play-zone,
  .flow-section,
  .immersive-copy,
  .faq-section,
  .systems-section {
    width: min(100% - 24px, 100%);
  }

  .topbar {
    padding-bottom: 28px;
  }

  .topbar-links {
    gap: 12px;
  }

  h1 {
    font-size: clamp(2.5rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .lead,
  p {
    font-size: 0.99rem;
  }

  .play-zone,
  .flow-section,
  .immersive-copy,
  .faq-section,
  .systems-section {
    padding-top: 38px;
  }

  .game-toolbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .toolbar-label {
    width: calc(100% - 24px);
  }

  .fullscreen-button {
    margin-left: 0;
  }

  .game-frame-wrap iframe {
    height: 72vh;
    min-height: 500px;
  }
}

@media (max-width: 420px) {
  .game-frame-wrap iframe {
    min-height: 460px;
  }
}

:fullscreen .game-frame-wrap iframe,
:-webkit-full-screen .game-frame-wrap iframe {
  height: 100vh;
  min-height: 100vh;
}
