/* Nova Inferno landing — the game's own palette + type (HUD cyan/gold/red on deep navy, Orbitron).
   Zero-framework, mobile-first. The starfield canvas + nebula glows sit fixed behind everything. */

@font-face {
  font-family: "Orbitron";
  src: url("/assets/orbitron-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #05070e;
  --bg2: #0a1426;
  --panel: rgba(10, 22, 38, 0.72);
  --line: #1c3346;
  --cyan: #35d0ff;
  --gold: #ffd319;
  --hot: #ff5a3c;
  --steel: #7da0bf;
  --text: #d8e8f6;
  --display: "Orbitron", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- backdrop layers ------------------------------------------------------ */
#stars {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
}
.nebula {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 40% at 18% 12%, rgba(53, 208, 255, 0.10), transparent 70%),
    radial-gradient(45% 38% at 85% 30%, rgba(255, 90, 60, 0.08), transparent 70%),
    radial-gradient(60% 50% at 50% 95%, rgba(120, 60, 200, 0.10), transparent 70%);
}

/* --- hero ------------------------------------------------------------------ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 20px 72px; position: relative;
}
.hero-logo {
  width: min(72vw, 440px); height: auto;
  filter: drop-shadow(0 0 42px rgba(53, 208, 255, 0.35)) drop-shadow(0 10px 60px rgba(255, 90, 60, 0.25));
  animation: hover 6s ease-in-out infinite;
}
@keyframes hover { 50% { transform: translateY(-10px); } }

.tagline {
  font-family: var(--display);
  font-size: clamp(15px, 3.6vw, 24px);
  letter-spacing: 0.22em;
  margin-top: 18px;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(53, 208, 255, 0.55);
}
.tagline .hot { color: var(--gold); text-shadow: 0 0 18px rgba(255, 211, 25, 0.55); }
.sub {
  max-width: 560px; margin-top: 16px;
  color: var(--steel); font-size: clamp(14px, 2.6vw, 17px);
}

.cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.btn {
  font-family: var(--display); font-size: 14px; letter-spacing: 0.12em;
  padding: 15px 26px; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 2px solid; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  display: inline-block;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-gold {
  color: #241a02; background: linear-gradient(180deg, #ffe062, #ffb300);
  border-color: #ffd319; box-shadow: 0 0 22px rgba(255, 211, 25, 0.35), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-gold:hover { box-shadow: 0 0 34px rgba(255, 211, 25, 0.6), inset 0 1px 0 rgba(255,255,255,0.5); transform: translateY(-1px); }
.btn-ghost {
  color: var(--cyan); background: linear-gradient(180deg, #16294a, #0a1426);
  border-color: rgba(53, 208, 255, 0.7); box-shadow: 0 0 16px rgba(53, 208, 255, 0.18), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-ghost:hover { color: #fff; box-shadow: 0 0 26px rgba(53, 208, 255, 0.4); transform: translateY(-1px); }

.platforms { margin-top: 26px; font-size: 11px; letter-spacing: 0.28em; color: var(--steel); }
.platforms b { color: var(--text); }
.scroll-cue {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: var(--cyan); opacity: 0.6; font-size: 22px; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 50% { transform: translate(-50%, 8px); opacity: 1; } }

/* --- sections --------------------------------------------------------------- */
.section { max-width: 1060px; margin: 0 auto; padding: 96px 20px; }
.h-kicker {
  font-family: var(--display); font-size: 12px; letter-spacing: 0.4em;
  color: var(--hot); text-shadow: 0 0 14px rgba(255, 90, 60, 0.5); margin-bottom: 10px;
}
.h-title {
  font-family: var(--display); font-size: clamp(22px, 4.6vw, 36px);
  color: #fff; letter-spacing: 0.03em; margin-bottom: 40px; line-height: 1.25;
}

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 24px; text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(53, 208, 255, 0.55); box-shadow: 0 12px 40px rgba(53, 208, 255, 0.12); }
.card img { width: 110px; height: 110px; object-fit: contain; margin-bottom: 16px; filter: drop-shadow(0 6px 20px rgba(0,0,0,0.6)); }
.medals .card img { width: 140px; height: 140px; }
.card h4 { font-family: var(--display); font-size: 15px; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--steel); }

/* hangar split */
.split { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 5fr 7fr; } }
.split-art img {
  width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 44px rgba(53, 208, 255, 0.10);
}
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.feature-list li {
  padding: 18px 20px; border-left: 3px solid var(--cyan);
  background: linear-gradient(90deg, rgba(53, 208, 255, 0.07), transparent 70%);
  border-radius: 0 12px 12px 0; font-size: 15px; color: var(--steel);
}
.feature-list b { color: #fff; display: block; font-family: var(--display); font-size: 13px; letter-spacing: 0.08em; margin-bottom: 4px; }

/* campaign band */
.campaign { position: relative; text-align: center; overflow: hidden; border-radius: 24px; padding: 110px 24px; }
.campaign-planet {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.38; z-index: -1;
}
.campaign::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(80% 90% at 50% 50%, transparent 30%, var(--bg) 100%);
}
.campaign-copy { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.campaign-copy p { color: var(--text); font-size: clamp(15px, 2.6vw, 18px); }

/* enlist */
.enlist { text-align: center; }
.enlist > p { max-width: 520px; margin: 0 auto 30px; color: var(--steel); }
#waitlist { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#waitlist input {
  font-size: 16px; padding: 15px 18px; width: min(85vw, 340px);
  background: rgba(10, 22, 38, 0.9); color: var(--text);
  border: 2px solid var(--line); border-radius: 10px; outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#waitlist input:focus { border-color: var(--cyan); box-shadow: 0 0 18px rgba(53, 208, 255, 0.3); }
#waitlist-msg { margin-top: 18px; font-family: var(--display); font-size: 13px; letter-spacing: 0.08em; min-height: 20px; }
#waitlist-msg.ok { color: #7cfc8a; text-shadow: 0 0 12px rgba(124, 252, 138, 0.5); }
#waitlist-msg.err { color: var(--hot); }

/* footer */
footer {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 40px 20px 56px; color: var(--steel); font-size: 12px; letter-spacing: 0.12em;
}
footer img { border-radius: 8px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo, .scroll-cue { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
