* {
  box-sizing: border-box;
}

:root {
  --bg: #09090b;
  --panel: #18181b;
  --panel-2: rgba(24, 24, 27, 0.65);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --line: #27272a;
  --cyan: #67e8f9;
  --green: #86efac;
  --purple: #c4b5fd;
  --gold: #fcd34d;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(9, 9, 11, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  color: #d4d4d8;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.11), transparent 34%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 6rem 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid rgba(103, 232, 249, 0.22);
  background: rgba(34, 211, 238, 0.08);
  color: #a5f3fc;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.accent-green {
  border-color: rgba(134, 239, 172, 0.22);
  background: rgba(34, 197, 94, 0.08);
  color: var(--green);
}

.accent-purple {
  border-color: rgba(196, 181, 253, 0.22);
  background: rgba(139, 92, 246, 0.09);
  color: var(--purple);
}

.accent-gold {
  border-color: rgba(252, 211, 77, 0.22);
  background: rgba(245, 158, 11, 0.08);
  color: var(--gold);
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy p,
.section-heading p,
.section p,
.modal-body p {
  color: #d4d4d8;
  font-size: 1.08rem;
  max-width: 50rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.button-primary {
  background: white;
  color: black;
}

.button-secondary {
  border-color: #3f3f46;
  color: #e4e4e7;
  background: transparent;
}

.button-secondary:hover {
  background: #18181b;
}

.button-small {
  padding: 0.75rem 1rem;
  font-size: 0.94rem;
}

.game-preview-card,
.card,
.pill-card,
.modal-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.game-preview-card {
  border-radius: 1.7rem;
  overflow: hidden;
}

.window-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.game-preview {
  min-height: 460px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #09090b, #18181b);
}

.game-preview h2 {
  margin: 0;
  font-size: 1.45rem;
}

.game-preview p {
  color: var(--muted);
  max-width: 24rem;
}

.gear {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-roadmap {
  border-top: 1px solid var(--line);
}

.section-heading h2,
.split h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0.2rem 0 1rem;
  font-weight: 900;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quarters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.pill-card {
  border-radius: 1.15rem;
  padding: 1rem 1.15rem;
  background: rgba(0, 0, 0, 0.24);
}

.roadmap-card .step-number {
  color: #3f3f46;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: #71717a;
  text-align: center;
  padding: 1.35rem 1rem 2rem;
  font-size: 0.94rem;
}

.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-panel {
  position: relative;
  width: min(560px, calc(100% - 2rem));
  margin: 12vh auto 0;
  border-radius: 1.5rem;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.modal-header h3 {
  margin: 0;
}

.modal-body {
  padding: 1.25rem 1.15rem 1.5rem;
}

.close-button {
  border: none;
  background: transparent;
  color: white;
  font-size: 1.15rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .quarters {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 720px) {
  .nav {
    min-height: auto;
    padding: 1rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
  }

  .hero-grid,
  .split,
  .quarters {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 0.5rem;
  }

  .hero-grid {
    padding: 4rem 0;
  }

  .game-preview {
    min-height: 340px;
  }

  .section {
    padding: 4rem 0;
  }
}
