@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&family=Inter:wght@300;400&display=swap');

:root {
  --page-bg: #0b0d0f;           /* single dark tone for entire site */
  --accent-orange: #ff6b00;     /* logo / highlight */
  --nasa-blue: #4da3ff;         /* download button */
  --text-light: #f4f4f4;
  --text-dim: #a3a3a3;
  --halo: rgba(255,255,255,0.18);
  --halo-outer: rgba(255,107,0,0.14);
}

/* Reset / global basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: var(--page-bg);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- HERO ---------- */
header.hero {
  background: transparent; /* unified with page */
  min-height: 44vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header.hero::before {
  content: none; /* removed grain overlay */
}

.overlay h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  color: var(--accent-orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.overlay h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--text-light);
  margin-top: 0.25em;
  opacity: 0.9;
}

.overlay .tagline {
  color: var(--text-dim);
  margin-top: 0.75em;
}

/* ---------- SCREENSHOT ---------- */
.screenshot {
  background: transparent;
  text-align: center;
  padding: 3.5em 0;
  position: relative;
}

.screenshot img {
  width: min(92%, 1280px);
  height: auto;
  border-radius: 14px;
  box-shadow:
    0 0 0.75rem var(--halo),
    0 0 2.25rem var(--halo),
    0 0 4.5rem var(--halo-outer),
    0 12px 48px rgba(0,0,0,0.55);
}

/* ---------- EXPLAINER VIDEO ---------- */
.video {
  padding: 4rem 1rem;
  text-align: center;
}

.video-frame {
  position: relative;
  max-width: 960px;
  margin: 2rem auto 0;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- CONTENT SECTIONS ---------- */
.copy, .tech, .contact, .download {
  max-width: 880px;
  margin: 3.25em auto;
  padding: 0 1.1em;
  background: transparent;
}

h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-orange);
  letter-spacing: 0.04em;
  margin-bottom: 0.75em;
}

.copy p + p {
  margin-top: 1.1em;
}

.copy .donation {
  margin-top: 1.2em;
  color: var(--text-light);
}

.tech ul {
  list-style: none;
  margin: 0.75em 0 0 0;
  padding: 0;
}

.tech li {
  margin: 0.4em 0;
  color: var(--text-dim);
}

.tech {
  margin-top: 0.9em;
  color: var(--text-dim);
  font-style: italic;
}

.contact a {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- CTA BUTTONS ---------- */
.cta {
  display: inline-block;
  margin-top: 1.2em;
  padding: 0.9em 1.4em;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.cta:active {
  transform: translateY(1px);
}

/* Orange button (if needed elsewhere) */
.cta-orange {
  background: var(--accent-orange);
  color: #0b0d0f;
  box-shadow: 0 10px 28px rgba(255,107,0,0.25);
}
.cta-orange:hover {
  opacity: 0.9;
}

/* Blue download button */
.cta-blue {
  background: var(--nasa-blue);
  color: #041221;
  box-shadow: 0 10px 28px rgba(77,163,255,0.28), 0 0 40px rgba(77,163,255,0.18);
}
.cta-blue:hover {
  opacity: 0.95;
}

/* ---------- DOWNLOAD SECTION ---------- */
.download {
  text-align: center;
  padding-bottom: 2.5em;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4em;
}

.download .privacy {
  margin-top: 1em;
  font-size: 0.9em;
}

.download .privacy a {
  color: var(--text-dim);
  text-decoration: none;
}

.download .privacy a:hover {
  text-decoration: underline;
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  color: var(--text-dim);
  padding: 2.5em 1em 3.5em;
  font-size: 0.95em;
  background: var(--page-bg);
  border-top: none;
}

/* ---------- SMALL SCREENS ---------- */
@media (max-width: 640px) {
  .overlay .tagline { font-size: 0.95rem; }
  .screenshot { padding: 2em 0; }
  .copy, .tech, .contact, .download { margin: 2.25em auto; }
}
