*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #0B0B0E; }

:root {
  --black:  #0B0B0E;
  --deep:   #0E0E12;
  --panel:  #141418;
  --panel2: #1A1A20;
  --border: #2A2A35;
  --border2:#353545;
  --cyan:   #00E5FF;
  --amber:  #FF9500;
  --pink:   #FF2D55;
  --text:   #E8E8F0;
  --muted:  #8A8AA8;
  --muted2: #565670;
  --orb:    'Orbitron', sans-serif;
  --body:   'Inter', sans-serif;
  --mono:   'JetBrains Mono', monospace;
}

body {
  background: transparent;
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
  font-size: 14px;
}

/* ── NEBULA BACKGROUND ──
   A real fixed div (#nebula-layer) is injected as the first element in
   the body by js. It sits at z-index:0, above the html base color and
   below all page content (z-index:2+). The tiled nebula image is dimmed
   by a dark gradient overlay so text stays readable. */
#nebula-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(11,11,14,0.45), rgba(11,11,14,0.45)),
    url('../assets/nebula.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}



/* All content sits above the nebula layer (0) and star canvas (1) */
nav, section, footer, .nav-drawer {
  position: relative;
  z-index: 2;
}

/* ── SCANLINES ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.06) 3px, rgba(0,0,0,0.06) 4px
  );
  pointer-events: none;
  z-index: 9000;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 48px;
  background: rgba(11,11,14,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--orb);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  letter-spacing: 0;
}

.nav-logo .accent { color: var(--cyan); }

.nav-logo .logo-word {
  letter-spacing: 0.15em;
}

.nav-logo::before {
  content: '';
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--cyan);
  display: block;
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 2s steps(1) infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--cyan); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--muted);
  transition: transform 0.2s, opacity 0.2s, background 0.2s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--cyan); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--cyan); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: rgba(11,11,14,0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  padding: 8px 0 16px;
}

.nav-drawer.open { display: flex; }

.nav-drawer a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, background 0.15s;
}

.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--cyan); background: rgba(0,229,255,0.03); }
.nav-drawer a.drawer-cta { color: var(--cyan); }

.nav-cta {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
}

.nav-cta:hover {
  background: rgba(0,229,255,0.08);
  box-shadow: 0 0 16px rgba(0,229,255,0.2);
}

/* ── HERO ── */
#hero {
  position: relative;
  z-index: 3;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

/* Tunnel canvas */
#tunnel-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-title {
  margin: 0;
  line-height: 1;
}

.hero-logo {
  display: block;
  width: clamp(300px, 52vw, 660px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 50px rgba(120,80,255,0.35))
          drop-shadow(0 0 100px rgba(0,229,255,0.15));
}

.hero-title .line2 {
  color: var(--cyan);
  text-shadow:
    0 0 30px rgba(0,229,255,0.5),
    0 0 80px rgba(0,229,255,0.2);
  display: block;
}

.hero-sub {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: -12px;
  margin-bottom: 32px;
}

.hero-sub span {
  color: var(--amber);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 32px;
  background: var(--cyan);
  color: #000;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: box-shadow 0.2s, transform 0.15s;
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(0,229,255,0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 32px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
  cursor: pointer;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--muted2));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

.hero-scroll-label {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--muted2);
  text-transform: uppercase;
}

/* ── SECTION BASICS ── */
.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--amber);
  opacity: 0.6;
}

.section-title {
  font-family: var(--orb);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.section-body {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 520px;
}

/* ── STORY ── */
#story {
  background: rgba(11,11,14,0.5);
  border-top: 1px solid var(--border);
  padding: 100px 0;
}

.story-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}

.story-inner .section-eyebrow { justify-content: center; }

.story-lede {
  font-family: var(--orb);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 36px;
  text-shadow: 0 0 40px rgba(0,229,255,0.12);
}

.story-body {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 18px;
  text-align: left;
}

.story-body strong {
  color: var(--text);
  font-weight: 500;
}

.story-signoff {
  font-family: var(--orb);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: var(--cyan);
  text-transform: uppercase;
  margin-top: 40px;
  text-shadow: 0 0 30px rgba(0,229,255,0.4);
}

/* ── GAME SECTION ── */
#game {
  background: rgba(14,14,18,0.55);
  border-top: 1px solid var(--border);
  padding: 100px 0;
}

.game-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Fake game screen with animated content */
.game-screen {
  position: relative;
  aspect-ratio: 16/9;
  background: #050508;
  border: 1px solid var(--border);
  overflow: hidden;
}

.gs-tunnel-top, .gs-tunnel-bot {
  position: absolute;
  left: 0; right: 0;
  background: var(--panel);
  border: none;
}

.gs-tunnel-top { top: 0; height: 20%; border-bottom: 1px solid rgba(0,229,255,0.3); }
.gs-tunnel-bot { bottom: 0; height: 20%; border-top: 1px solid rgba(0,229,255,0.3); }

/* Starfield */
.gs-stars {
  position: absolute;
  inset: 0;
}

/* Player ship */
.gs-player {
  position: absolute;
  left: 18%;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 14px;
  background: var(--cyan);
  clip-path: polygon(0% 50%, 40% 0%, 100% 25%, 100% 75%, 40% 100%);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0,229,255,0.4);
  animation: playerBob 1.2s ease-in-out infinite alternate;
}

@keyframes playerBob {
  0% { transform: translateY(calc(-50% - 3px)); }
  100% { transform: translateY(calc(-50% + 3px)); }
}

/* Player shot */
.gs-shot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: shotMove 0.6s linear infinite;
}

@keyframes shotMove {
  0%   { left: 24%; opacity: 1; }
  100% { left: 65%; opacity: 0.3; }
}

/* Enemies */
.gs-enemy {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--amber);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 0 8px var(--amber);
}

.gs-enemy-1 { top: 38%; right: 22%; animation: enemyFloat1 1.5s ease-in-out infinite alternate; }
.gs-enemy-2 { top: 55%; right: 32%; animation: enemyFloat2 1.1s ease-in-out infinite alternate; }
.gs-enemy-3 { top: 45%; right: 42%; animation: enemyFloat3 0.9s ease-in-out infinite alternate; }
.gs-enemy-fast { width: 9px; height: 9px; background: var(--pink); box-shadow: 0 0 6px var(--pink); clip-path: none; border-radius: 50%; }
.gs-enemy-fast-1 { top: 32%; right: 28%; animation: enemyFloat1 0.7s ease-in-out infinite alternate; }
.gs-enemy-fast-2 { top: 62%; right: 38%; animation: enemyFloat2 0.65s ease-in-out infinite alternate; }

@keyframes enemyFloat1 { 0% { transform: translateY(-4px); } 100% { transform: translateY(4px); } }
@keyframes enemyFloat2 { 0% { transform: translateY(3px); } 100% { transform: translateY(-5px); } }
@keyframes enemyFloat3 { 0% { transform: translateY(-2px); } 100% { transform: translateY(6px); } }

/* Enemy bullet */
.gs-ebullet {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--amber);
  animation: ebulletMove 1.2s linear infinite;
}

.gs-ebullet-1 { top: 42%; animation-delay: 0s; }
.gs-ebullet-2 { top: 54%; animation-delay: 0.6s; }

@keyframes ebulletMove {
  0%   { right: 28%; opacity: 1; }
  100% { right: 80%; opacity: 0; }
}

/* Beat pulse on tunnel walls */
.gs-tunnel-top, .gs-tunnel-bot {
  animation: tunnelPulse 0.51s ease-in-out infinite alternate;
}

@keyframes tunnelPulse {
  0%   { height: 20%; }
  100% { height: 24%; }
}

/* HUD */
.gs-hud {
  position: absolute;
  top: 8px; left: 10px; right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.gs-hud-label {
  font-family: var(--mono);
  font-size: 7px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.gs-lives {
  display: flex;
  gap: 3px;
}

.gs-life {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  clip-path: polygon(0% 50%, 40% 0%, 100% 25%, 100% 75%, 40% 100%);
}

.gs-score {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--cyan);
  letter-spacing: 0.1em;
}

/* Currency (Lumen) — top-left */
.gs-currency {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gs-lumen {
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--cyan);
  display: inline-block;
}

/* Shield readout — segmented (1 life; shield is the survival stat) */
.gs-shield {
  display: flex;
  align-items: center;
  gap: 3px;
}

.gs-shield-label {
  font-family: var(--mono);
  font-size: 7px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-right: 2px;
}

.gs-seg {
  width: 5px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 4px rgba(0,229,255,0.5);
}

.gs-seg.off {
  background: rgba(0,229,255,0.15);
  box-shadow: none;
}

/* Beat bar at bottom */
.gs-beatbar {
  position: absolute;
  bottom: 20%;
  left: 0; right: 0;
  height: 2px;
  display: flex;
  gap: 2px;
  padding: 0 8px;
  z-index: 2;
}

.gs-beat-seg {
  flex: 1;
  background: rgba(0,229,255,0.15);
  animation: beatSeg 0.51s ease-in-out infinite alternate;
}

.gs-beat-seg:nth-child(odd) { animation-delay: 0.1s; }
.gs-beat-seg.active { background: rgba(0,229,255,0.7); }

@keyframes beatSeg {
  0%   { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Screen corner markers */
.gs-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(0,229,255,0.4);
  border-style: solid;
}
.gs-corner.tl { top: 4px; left: 4px; border-width: 1px 0 0 1px; }
.gs-corner.tr { top: 4px; right: 4px; border-width: 1px 1px 0 0; }
.gs-corner.bl { bottom: 4px; left: 4px; border-width: 0 0 1px 1px; }
.gs-corner.br { bottom: 4px; right: 4px; border-width: 0 1px 1px 0; }

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.game-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
  text-transform: uppercase;
}

.game-tag.highlight {
  border-color: rgba(0,229,255,0.3);
  color: var(--cyan);
  background: rgba(0,229,255,0.04);
}

/* ── FEATURES — SIGNAL TIMELINE ── */
#features {
  background: rgba(11,11,14,0.5);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.features-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 72px;
  align-items: end;
}

/* The signal timeline */
.signal-timeline {
  position: relative;
  padding-left: 32px;
}

/* Vertical signal line */
.signal-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--cyan) 10%,
    var(--cyan) 90%,
    transparent 100%
  );
  opacity: 0.3;
}

.signal-item {
  position: relative;
  padding: 0 0 52px 24px;
  border-left: none;
}

.signal-item:last-child { padding-bottom: 0; }

/* Signal node on the line */
.signal-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--black);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.signal-item:nth-child(2)::before { border-color: var(--amber); }
.signal-item:nth-child(3)::before { border-color: var(--cyan); }
.signal-item:nth-child(4)::before { border-color: var(--amber); }
.signal-item:nth-child(5)::before { border-color: var(--pink); }
.signal-item:nth-child(6)::before { border-color: var(--cyan); }

/* Horizontal tick from node */
.signal-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 1px;
  background: var(--border2);
}

.signal-band {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.signal-item:nth-child(2) .signal-band { color: var(--amber); }
.signal-item:nth-child(4) .signal-band { color: var(--amber); }
.signal-item:nth-child(5) .signal-band { color: var(--pink); }

.signal-name {
  font-family: var(--orb);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 10px;
}

.signal-desc {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 460px;
}

/* ── ABOUT ── */
#about {
  background: rgba(14,14,18,0.55);
  border-top: 1px solid var(--border);
  padding: 100px 0;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
}

/* Corner brackets */
.about-card::before, .about-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--amber);
  border-style: solid;
  opacity: 0.5;
}

.about-card::before { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.about-card::after  { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }

.about-logo {
  font-family: var(--orb);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 4px;
}

.about-logo .k { color: var(--cyan); }

.about-tagline {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.about-text {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-location {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-transform: uppercase;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-location::before {
  content: '◆';
  font-size: 0.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.about-stat {
  background: var(--panel);
  padding: 28px 24px;
}

.stat-val {
  font-family: var(--orb);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan);
  line-height: 1;
  display: block;
  text-shadow: 0 0 20px rgba(0,229,255,0.25);
}

.stat-key {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

/* ── TEAM ── */
#team {
  background: rgba(11,11,14,0.5);
  border-top: 1px solid var(--border);
  padding: 100px 0;
}

.team-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.team-header {
  margin-bottom: 56px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.team-card {
  background: var(--panel);
  padding: 32px 24px;
  position: relative;
  transition: background 0.2s;
}

.team-card:hover { background: var(--panel2); }

/* Top accent bar */
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--border);
  transition: background 0.2s;
}

.team-card:nth-child(1)::before { background: var(--cyan); }
.team-card:nth-child(2)::before { background: var(--amber); }
.team-card:nth-child(3)::before { background: var(--cyan); }
.team-card:nth-child(4)::before { background: var(--amber); }

.team-id {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--muted2);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.team-name {
  font-family: var(--orb);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.team-card:nth-child(2) .team-role,
.team-card:nth-child(4) .team-role { color: var(--amber); }

.team-bio {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── EDITOR TEASER ── */
#editor {
  background: rgba(14,14,18,0.55);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.editor-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.editor-screen {
  background: #0D0D0F;
  border: 1px solid var(--border);
  padding: 0;
  position: relative;
  overflow: hidden;
  opacity: 0.7;
}

/* Mini editor mockup */
.editor-titlebar {
  height: 24px;
  background: #0A0A0C;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}

.editor-dot { width: 8px; height: 8px; border-radius: 50%; }
.editor-dot.r { background: #FF5F57; }
.editor-dot.y { background: #FEBC2E; }
.editor-dot.g { background: #28C840; }

.editor-title-text {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.editor-title-text span { color: var(--cyan); }

.editor-lanes {
  padding: 8px 0;
}

.editor-lane {
  height: 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(42,42,53,0.5);
  position: relative;
  overflow: hidden;
}

.editor-lane-label {
  width: 80px;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0 8px;
  border-right: 1px solid var(--border);
  text-transform: uppercase;
}

.editor-lane-track {
  flex: 1;
  height: 100%;
  position: relative;
  background: #0D0D0F;
}

/* Lane content dots/bars */
.lane-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.lane-bar {
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: 1px;
}

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,11,14,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(1px);
}

.coming-soon-label {
  font-family: var(--orb);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-shadow: 0 0 20px rgba(255,149,0,0.4);
}

.coming-soon-sub {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── CREATORS / STREAMERS ── */
#creators {
  background: rgba(14,14,18,0.55);
  border-top: 1px solid var(--border);
  padding: 90px 0;
}

.creators-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
}

.creators-header {
  text-align: center;
  margin-bottom: 48px;
}

.creators-header .section-eyebrow { justify-content: center; }

.creators-header .section-body {
  margin: 0 auto;
  max-width: 560px;
  text-align: center;
}

.creators-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.creator-note {
  background: var(--panel);
  padding: 32px 28px;
  position: relative;
}

.creator-note::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.creator-note.safe::before { background: var(--cyan); }
.creator-note.byo::before  { background: var(--amber); }

.creator-tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.creator-note.safe .creator-tag { color: var(--cyan); }
.creator-note.byo  .creator-tag { color: var(--amber); }

.creator-note h3 {
  font-family: var(--orb);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 12px;
}

.creator-note p {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ── WISHLIST ── */
#wishlist {
  background: rgba(11,11,14,0.5);
  border-top: 1px solid var(--border);
  padding: 100px 48px;
}

.wishlist-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.wishlist-inner .section-body {
  margin: 0 auto 40px;
  max-width: 420px;
  text-align: center;
}

/* Frequency visualizer decoration */
.wishlist-viz {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 40px;
  margin-bottom: 40px;
}

.viz-bar {
  width: 3px;
  background: var(--cyan);
  opacity: 0.4;
  animation: vizBeat 0.5s ease-in-out infinite alternate;
  border-radius: 1px 1px 0 0;
}

.viz-bar:nth-child(1)  { height: 12px; animation-delay: 0.0s; }
.viz-bar:nth-child(2)  { height: 20px; animation-delay: 0.05s; }
.viz-bar:nth-child(3)  { height: 28px; animation-delay: 0.1s; }
.viz-bar:nth-child(4)  { height: 36px; animation-delay: 0.15s; }
.viz-bar:nth-child(5)  { height: 30px; animation-delay: 0.2s; }
.viz-bar:nth-child(6)  { height: 40px; animation-delay: 0.07s; }
.viz-bar:nth-child(7)  { height: 34px; animation-delay: 0.12s; }
.viz-bar:nth-child(8)  { height: 22px; animation-delay: 0.17s; }
.viz-bar:nth-child(9)  { height: 16px; animation-delay: 0.22s; }
.viz-bar:nth-child(10) { height: 10px; animation-delay: 0.27s; }

@keyframes vizBeat {
  0%   { transform: scaleY(0.6); opacity: 0.3; }
  100% { transform: scaleY(1); opacity: 0.7; }
}

.wishlist-form {
  display: flex;
  margin-bottom: 12px;
}

.wishlist-input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  outline: none;
  transition: border-color 0.2s;
}

.wishlist-input:focus { border-color: var(--cyan); }
.wishlist-input::placeholder { color: var(--muted2); }

.wishlist-submit {
  height: 46px;
  padding: 0 28px;
  background: var(--cyan);
  color: #000;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.2s;
}

.wishlist-submit:hover {
  box-shadow: 0 0 24px rgba(0,229,255,0.35);
}

.wishlist-note {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--muted2);
  margin-bottom: 28px;
}

.steam-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border2);
  padding: 12px 28px;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.steam-btn:hover {
  border-color: var(--text);
  box-shadow: 0 0 20px rgba(232,232,240,0.08);
}

.steam-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* ── FOOTER ── */
footer {
  background: rgba(14,14,18,0.8);
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-family: var(--orb);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-decoration: none;
}

.footer-logo .k { color: var(--cyan); }

.footer-sep { width: 1px; height: 14px; background: var(--border); }

.footer-copy {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--muted2);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .game-inner, .about-inner, .features-header, .editor-inner { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
  #features, #game, #about, #team, #story, #creators { padding: 72px 0; }
  .creators-grid { grid-template-columns: 1fr; }
  .creators-inner { padding: 0 24px; }
  .features-inner, .team-inner { padding: 0 24px; }
  .game-inner, .about-inner, .editor-inner, .story-inner { padding: 0 24px; }
  #wishlist { padding: 72px 24px; }
  #editor { padding: 72px 0; }
  .editor-inner { padding: 0 24px; }
}

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .wishlist-form { flex-direction: column; }
  .wishlist-input { border-right: 1px solid var(--border); border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}