:root {
  --ink: #f7f7f7;
  --muted: #b8b8b8;
  --soft: #e6e0d1;
  --charcoal: #121316;
  --graphite: #1d2026;
  --panel: rgba(28, 31, 37, 0.84);
  --panel-strong: #242832;
  --line: rgba(255, 255, 255, 0.12);
  --red: #d83b35;
  --red-dark: #891d20;
  --gold: #d7aa40;
  --gold-soft: #f0cf75;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 59, 53, 0.28), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(215, 170, 64, 0.22), transparent 23rem),
    linear-gradient(140deg, #101114 0%, #1b1d23 44%, #2a2b2d 100%);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

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

#matter-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#app {
  position: relative;
  z-index: 1;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 19, 22, 0.78);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(215, 170, 64, 0.7);
  border-radius: 8px;
  color: var(--gold-soft);
  background: linear-gradient(145deg, rgba(216, 59, 53, 0.25), rgba(215, 170, 64, 0.16));
  box-shadow: inset 0 0 20px rgba(215, 170, 64, 0.14);
}

.brand-name {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 74px);
  padding: 54px 0 66px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(215, 170, 64, 0.35);
  border-radius: 8px;
  color: var(--gold-soft);
  background: rgba(215, 170, 64, 0.08);
  font-size: 0.79rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px rgba(216, 59, 53, 0.95);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3rem, 9vw, 6.85rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--soft);
  font-size: 1.1rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #161311;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 16px 36px rgba(215, 170, 64, 0.24);
}

.button.secondary {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.device-stage {
  position: relative;
  min-height: 580px;
}

.phone {
  position: absolute;
  right: 8%;
  top: 6%;
  width: min(330px, 74vw);
  aspect-ratio: 9 / 18.8;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: linear-gradient(155deg, #353942, #101114 72%);
  box-shadow: var(--shadow);
}

.phone::before {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 74px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
  content: "";
}

.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(215, 170, 64, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 45% 36%, rgba(215, 170, 64, 0.36), transparent 7rem),
    radial-gradient(circle at 58% 58%, rgba(216, 59, 53, 0.5), transparent 9rem),
    #15171d;
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
}

.screen-title {
  position: absolute;
  top: 28px;
  left: 24px;
  right: 24px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.core {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 132px;
  height: 132px;
  border: 2px solid rgba(215, 170, 64, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3.6s ease-in-out infinite;
}

.core::before,
.core::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  content: "";
}

.core::after {
  inset: 38px;
  background: var(--red);
  box-shadow: 0 0 42px rgba(216, 59, 53, 0.8);
}

.orbit {
  position: absolute;
  left: 50%;
  top: 42%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--turn));
}

.orbit.one {
  width: 214px;
  height: 86px;
  --turn: -22deg;
}

.orbit.two {
  width: 214px;
  height: 86px;
  --turn: 58deg;
}

.hud {
  position: absolute;
  right: 20px;
  bottom: 24px;
  left: 20px;
  display: grid;
  gap: 10px;
}

.hud-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.status-strip {
  position: absolute;
  left: 0;
  bottom: 8%;
  display: grid;
  gap: 10px;
  width: min(280px, 56vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(19, 20, 24, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.status-strip strong {
  font-size: 1.9rem;
  line-height: 1;
}

.status-strip span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.band {
  border-top: 1px solid var(--line);
  background: rgba(12, 13, 16, 0.52);
}

.content-section {
  padding: 86px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
}

.feature-card .icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 8px;
  color: var(--gold-soft);
  background: rgba(216, 59, 53, 0.18);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.game-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.mission {
  padding: 30px;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.06);
}

.mission p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 1.15rem;
  line-height: 1.8;
}

.roadmap {
  display: grid;
  gap: 12px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.roadmap-index {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: #17120a;
  background: var(--gold);
  font-weight: 900;
}

.roadmap-item h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.roadmap-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 54px;
}

.contact p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(13, 14, 17, 0.8);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  font-size: 0.88rem;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.96);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .game-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .device-stage {
    min-height: 510px;
  }

  .phone {
    right: 50%;
    transform: translateX(50%);
  }

  .status-strip {
    left: 50%;
    transform: translateX(-50%);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contact,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .section,
  .nav,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .device-stage {
    min-height: 455px;
  }

  .phone {
    width: min(286px, 84vw);
  }

  .status-strip {
    width: min(260px, 84vw);
  }

  .content-section {
    padding: 64px 0;
  }

  .roadmap-item {
    grid-template-columns: 1fr;
  }
}
