/* galacticfleet.com marketing landing — standalone, committed dark look. Kept
   self-contained (its own reset) so it never depends on the game's app.css. */
@font-face {
  font-family: "Space Grotesk";
  src: url("/public/vendor/fonts/spacegrotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
:root {
  --bg: #05060a;
  --fg: #eef1f7;
  --muted: #8b93a7;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #7db2ff;
}
body {
  min-height: 100%;
  color: var(--fg);
  background: var(--bg);
  font: 16px/1.5 "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* the galaxy art as a fixed backdrop, dimmed + tinted so the hero stays readable */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/public/galaxy-bg.webp") center center / cover no-repeat;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 620px at 70% 0%, rgba(125, 178, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 12% 110%, rgba(157, 102, 232, 0.14), transparent 60%),
    radial-gradient(115% 100% at 50% 38%, transparent 30%, rgba(5, 6, 10, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.32), rgba(5, 6, 10, 0.5));
}

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6vh 24px 0;
  text-align: center;
}
.hero-inner { max-width: 720px; width: 100%; }

.eyebrow {
  margin: 0 0 18px;
  font-size: clamp(13px, 2.4vw, 16px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}
.hero-title {
  margin: 0;
  font-size: clamp(48px, 12vw, 128px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  background: linear-gradient(180deg, #fff, #b9c6e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 22px auto 34px;
  max-width: 40ch;
  font-size: clamp(16px, 2.6vw, 20px);
  color: var(--fg);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7);
}

.waitlist {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.wl-email {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font: inherit;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.wl-email::placeholder { color: #5c637a; }
.wl-email:focus { border-color: var(--accent); background: rgba(125, 178, 255, 0.08); }
.wl-go {
  padding: 14px 22px;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  color: #05060a;
  background: linear-gradient(180deg, #cfe0ff, #7db2ff);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s, filter 0.15s;
}
.wl-go:hover { filter: brightness(1.08); }
.wl-go:active { transform: translateY(1px); }

.wl-fine { margin: 16px 0 0; font-size: 13px; color: var(--fg); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.wl-err { margin: 0 0 14px; color: #ff9a9a; font-size: 14px; }
.wl-done {
  margin: 8px auto 0;
  max-width: 34ch;
  font-size: clamp(17px, 3vw, 22px);
  color: var(--fg);
}

.hero-foot {
  margin-top: auto;
  padding: 32px 0 24px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

@media (max-width: 520px) {
  .waitlist { flex-direction: column; }
  .wl-go { width: 100%; }
}
