/* ═══════════════════════════════════════════════════════════
   PROJECT ROADMAP — GALAXY JOURNEY
   Premium Cinematic Dark Space Interface
   ═══════════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --f-hud:  'Orbitron', sans-serif;
  --f-body: 'Rajdhani', sans-serif;
  --f-mono: 'Space Mono', monospace;

  --cyan:   #00d4ff;
  --blue:   #3b82f6;
  --purple: #8b5cf6;
  --gold:   #f59e0b;
  --white:  #ffffff;
  --muted:  rgba(200,220,255,0.9);
  --bg:     #000008;

  --glow-s: 0 0 18px rgba(0,212,255,0.35), 0 0 50px rgba(0,212,255,0.12);
  --glow-l: 0 0 30px rgba(0,212,255,0.5),  0 0 80px rgba(0,212,255,0.18);

  --glass:        rgba(4,8,26,0.78);
  --glass-border: rgba(0,212,255,0.22);
  --glass-shadow: 0 8px 48px rgba(0,0,0,0.85), 0 0 0 1px rgba(0,212,255,0.08);
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  cursor: crosshair;
}

/* ─────────────────────────────
   CANVAS LAYERS
───────────────────────────── */
#space-canvas {
  position: fixed; inset: 0; z-index: 1;
}
#space-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

#label-canvas {
  position: fixed; inset: 0;
  z-index: 4;
  pointer-events: none;
  width: 100%; height: 100%;
}

/* ─────────────────────────────
   OVERLAY BASE
───────────────────────────── */
.overlay {
  position: fixed; inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.45s ease;
}
.overlay.hidden {
  opacity: 0;
  pointer-events: none !important;
}
.overlay.hidden * { pointer-events: none !important; }

/* ─────────────────────────────
   GALAXY HOME — title at top, planets fill screen
───────────────────────────── */
#galaxy-home {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5vh;
  pointer-events: none;
}

.galaxy-title-wrap {
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.galaxy-eyebrow {
  font-family: var(--f-mono);
  font-size: clamp(8px, 0.9vw, 11px);
  letter-spacing: 5px;
  color: var(--cyan);
  opacity: 0.65;
  margin-bottom: 18px;
  animation: flicker 5s infinite;
}

.galaxy-title-wrap {
  text-align: center;
  pointer-events: none;
  user-select: none;
  transform: translateY(80px);
}

.galaxy-welcome {
  font-family: var(--f-body);
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.galaxy-main-title {
  font-family: var(--f-hud);
  font-size: clamp(28px, 4.5vw, 62px);
  font-weight: 900;
  letter-spacing: 14px;
  line-height: 1.1;
  color: #fff;
  text-shadow:
    0 0 30px rgba(0,212,255,0.7),
    0 0 80px rgba(0,212,255,0.3),
    0 0 160px rgba(59,130,246,0.15);
  animation: titleBreath 4s ease-in-out infinite alternate;
}

.galaxy-subtitle {
  font-family: var(--f-mono);
  font-size: clamp(14px, 1.8vw, 22px);
  letter-spacing: 12px;
  color: rgba(0,212,255,1);
  margin-top: 15px;
}


/* ─────────────────────────────
   TRAVEL HUD
───────────────────────────── */
#travel-hud {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(0,20,50,0.35) 0%, transparent 70%);
}

.travel-inner {
  text-align: center;
  pointer-events: none;
}

.travel-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 6px;
  color: var(--cyan);
  opacity: 1;
  margin-bottom: 14px;
}

.travel-dest {
  font-family: var(--f-hud);
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: 10px;
  color: #fff;
  text-shadow: 0 0 40px rgba(0,212,255,0.7), 0 0 80px rgba(0,212,255,0.3);
  animation: warpPulse 0.7s ease-in-out infinite alternate;
}

.travel-meter {
  width: 260px;
  height: 2px;
  background: rgba(0,212,255,0.12);
  border-radius: 2px;
  margin: 24px auto;
  overflow: hidden;
}

.travel-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px var(--cyan);
  transition: width 0.08s linear;
}

.travel-data {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(0,212,255,0.9);
  letter-spacing: 2px;
}

.travel-warn {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(255,200,60,0.5);
  margin-top: 20px;
  animation: flicker 1.5s infinite;
}

/* ─────────────────────────────
   PLANET ARRIVAL
───────────────────────────── */
#planet-arrival {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 25vh 7vw;
  cursor: pointer;
  pointer-events: all;
}

.arrival-wrap { pointer-events: none; }

.arr-num {
  font-family: var(--f-hud);
  font-size: clamp(52px, 10vw, 110px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
  -webkit-text-stroke: 1px rgba(0, 212, 255, 0.5);
  line-height: 0.9;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.arr-num.show { opacity: 1; transform: translateY(0); }

.arr-title {
  font-family: var(--f-hud);
  font-size: clamp(22px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 7px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,212,255,0.8), 0 0 25px rgba(0,212,255,0.6), 2px 2px 6px rgba(0,0,0,0.85);
  margin-top: -4px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1) 0.12s,
              transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.12s;
}
.arr-title.show { opacity: 1; transform: translateY(0); }

.arr-date {
  font-family: var(--f-mono);
  font-size: clamp(9px, 1.1vw, 12px);
  letter-spacing: 5px;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0,212,255,0.5), 1px 1px 4px rgba(0,0,0,0.9);
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.5s ease 0.28s;
}
.arr-date.show { opacity: 1; }

.arr-line {
  width: 56px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  margin: 16px 0;
  opacity: 0;
  transition: opacity 0.5s ease 0.4s;
}
.arr-line.show { opacity: 0.75; }

.arr-tag {
  font-family: var(--f-body);
  font-size: clamp(14px, 1.8vw, 19px);
  font-weight: 500;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0,212,255,0.6), 2px 2px 8px rgba(0,0,0,0.9);
  max-width: 420px;
  opacity: 0;
  transition: opacity 0.5s ease 0.52s;
}
.arr-tag.show { opacity: 1; }

/* ── ENTER BUTTON ── */
.btn-enter {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 14px 34px;
  background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.35);
  border-radius: 2px;
  color: var(--cyan);
  font-family: var(--f-hud);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: 7px;
  cursor: pointer;
  outline: none;
  opacity: 0;
  transition: opacity 0.5s ease 0.68s,
              background 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s ease;
}
.btn-enter.show { opacity: 1; }
.btn-enter:hover {
  background: rgba(0,212,255,0.12);
  border-color: var(--cyan);
  box-shadow: var(--glow-s);
}
.btn-enter-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn-enter:hover .btn-enter-arrow { transform: translateX(7px); }

/* ─────────────────────────────
   PLANET DETAIL
───────────────────────────── */
#planet-detail {
  display: flex;
  align-items: stretch;
  pointer-events: none;
}

/* LEFT 40% — transparent, planet shows through canvas */
/* No element needed; camera frames planet there already */

/* RIGHT 60% — dark background + scrollable content */
.detail-right {
  position: fixed;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 40px;
  pointer-events: all;
  /* dark gradient bleeding left to blend with planet side */
  background: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,8,0.85) 8%,
    rgba(0,0,8,0.97) 20%,
    rgba(0,0,8,0.99) 100%
  );
}

/* ── GLASS PANEL ── */
.glass-panel {
  background: var(--glass);
  border-left: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  padding: 20px 50px 70px 50px;
  width: 100%;
  max-width: 800px;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,212,255,0.25) transparent;
}
.glass-panel::-webkit-scrollbar { width: 4px; }
.glass-panel::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.25); border-radius: 4px; }

/* ── DETAIL TOP TIMELINE (01 to 10) ── */
.d-timeline-container {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  margin-top: 0;
  margin-bottom: 22px;
  padding: 14px 18px;
  background: rgba(3, 7, 18, 0.88);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(0, 212, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.d-timeline-container.in {
  opacity: 1;
  transform: translateY(0);
}

.d-timeline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.d-timeline-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  text-transform: uppercase;
}
.d-timeline-icon {
  color: var(--cyan);
  font-size: 11px;
  animation: rotateGlow 8s linear infinite;
}
@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.d-timeline-elapsed {
  display: none;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 4px 12px;
  border-radius: 4px;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
  font-weight: 600;
}

.d-timeline-track {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 0;
}

.d-timeline-line-bg {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 2px;
}

.d-timeline-line-fill {
  position: absolute;
  top: 50%;
  left: 16px;
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, var(--cyan) 100%);
  box-shadow: 0 0 10px var(--cyan);
  transform: translateY(-50%);
  z-index: 2;
  border-radius: 2px;
  width: 0;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.d-timeline-nodes {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.d-timeline-node {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-hud);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.d-timeline-node:hover {
  border-color: var(--cyan);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.5);
}

/* Passed / Completed nodes in journey */
.d-timeline-node.passed {
  background: rgba(0, 212, 255, 0.14);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.35);
}

/* Current active page node - DIFFERENT PROMINENT HIGHLIGHT */
.d-timeline-node.current {
  background: var(--cyan);
  border: 2px solid #ffffff;
  color: #020617;
  font-weight: 900;
  transform: scale(1.22);
  box-shadow: 0 0 15px var(--cyan), 0 0 28px rgba(0, 212, 255, 0.7);
  animation: timelinePulse 2s infinite ease-in-out;
}

@keyframes timelinePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.8), 0 0 15px var(--cyan);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(0, 212, 255, 0), 0 0 22px var(--cyan);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0), 0 0 15px var(--cyan);
  }
}

/* Upcoming nodes */
.d-timeline-node.upcoming {
  opacity: 0.6;
}

@media (max-width: 680px) {
  .d-timeline-container {
    padding: 12px 14px;
    margin-bottom: 20px;
  }
  .d-timeline-node {
    width: 25px;
    height: 25px;
    font-size: 9px;
  }
  .d-timeline-node.current {
    transform: scale(1.16);
  }
  .d-timeline-elapsed {
    font-size: 10px;
    padding: 3px 8px;
  }
}

/* ── DETAIL ELEMENTS (each animates in) ── */
.d-num {
  font-family: var(--f-hud);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
  -webkit-text-stroke: 1px rgba(0, 212, 255, 0.5);
  line-height: 0.9;
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.d-num.in { opacity: 1; transform: translateX(0); }

.d-title {
  font-family: var(--f-hud);
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: 6px;
  color: #fff;
  text-shadow: 0 0 20px rgba(0,212,255,0.3);
  margin-top: -4px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s,
              transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s;
}
.d-title.in { opacity: 1; transform: translateY(0); }

.d-date {
  font-family: var(--f-mono);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 5px;
  color: var(--cyan);
  margin-top: 14px;
  opacity: 0;
  transition: opacity 0.5s ease 0.22s;
}
.d-date.in { opacity: 1; }

.d-sub {
  font-family: var(--f-hud);
  font-size: clamp(8px, 0.9vw, 10px);
  letter-spacing: 5px;
  color: rgba(220,230,255,0.95);
  margin-top: 6px;
  opacity: 0;
  transition: opacity 0.5s ease 0.32s;
}
.d-sub.in { opacity: 1; }

.d-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(0,212,255,0.45), transparent);
  margin: 22px 0;
  opacity: 0;
  transition: opacity 0.5s ease 0.44s;
}
.d-line.in { opacity: 1; }

.d-desc {
  font-family: var(--f-body);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(240,245,255,0.95);
  white-space: pre-wrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.56s,
              transform 0.5s ease 0.56s;
}
.d-desc.in { opacity: 1; transform: translateY(0); }

.d-goals-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--cyan);
  opacity: 0;
  margin-top: 26px;
  margin-bottom: 14px;
  transition: opacity 0.4s ease 0.68s;
}
.d-goals-label.in { opacity: 1; }

.d-goals { list-style: none; }

.d-goal {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 8px 0;
  font-family: var(--f-body);
  font-size: clamp(12px, 1.3vw, 15px);
  color: rgba(240,245,255,0.95);
  border-bottom: 1px solid rgba(0,212,255,0.06);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.d-goal.in { opacity: 1; transform: translateX(0); }

.d-goal-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.55;
  margin-top: 7px;
  flex-shrink: 0;
}

.d-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 13px 20px;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.5s ease 1s;
}
.d-status.in { opacity: 1; }

.d-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}
.d-status-dot.done   { background: #10b981; animation: none; }
.d-status-dot.future { background: var(--gold); animation: none; }
.d-status-dot.ongoing{ background: #a855f7; animation: blink 2s ease-in-out infinite; }

.d-status-text {
  font-family: var(--f-hud);
  font-size: 10px;
  letter-spacing: 5px;
}

/* ─────────────────────────────
   NAV BAR
───────────────────────────── */
#nav-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: linear-gradient(to top, rgba(0,0,8,0.7) 0%, transparent 100%);
  pointer-events: none;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 26px;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.22);
  border-radius: 2px;
  color: rgba(0,212,255,0.75);
  font-family: var(--f-hud);
  font-size: clamp(9px, 1vw, 12px);
  font-weight: 600;
  letter-spacing: 5px;
  cursor: pointer;
  pointer-events: all;
  outline: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.nav-btn:hover {
  background: rgba(0,212,255,0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-s);
}
.nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-arrow { font-size: 1.1em; }

.nav-counter {
  font-family: var(--f-hud);
  font-size: 12px;
  letter-spacing: 4px;
  color: rgba(0,212,255,0.4);
}
.cnt-cur {
  font-size: 20px;
  color: var(--cyan);
}

/* ─────────────────────────────
   SOUND BUTTON
───────────────────────────── */
.sound-btn {
  position: fixed;
  top: 22px; right: 22px;
  z-index: 100;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 50%;
  color: rgba(0,212,255,0.55);
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
}
.sound-btn:hover {
  background: rgba(0,212,255,0.1);
  border-color: var(--cyan);
  box-shadow: var(--glow-s);
}

/* ─────────────────────────────
   ANIMATIONS
───────────────────────────── */
@keyframes titleBreath {
  from { text-shadow: 0 0 40px rgba(0,212,255,0.5), 0 0 100px rgba(0,212,255,0.18); }
  to   { text-shadow: 0 0 60px rgba(0,212,255,0.7), 0 0 140px rgba(0,212,255,0.28), 0 0 220px rgba(59,130,246,0.12); }
}

@keyframes flicker {
  0%, 92%, 97%, 100% { opacity: 0.65; }
  93%, 96%            { opacity: 0.2;  }
}

@keyframes warpPulse {
  from { text-shadow: 0 0 25px rgba(0,212,255,0.5); }
  to   { text-shadow: 0 0 50px rgba(0,212,255,0.9), 0 0 100px rgba(0,212,255,0.4); }
}

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

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* ─────────────────────────────
   REDUCED MOTION
───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ─────────────────────────────
   RESPONSIVE
───────────────────────────── */
@media (max-width: 900px) {
  #planet-detail { align-items: flex-end; }

  /* Mobile: planet on top half, content on bottom */
  .detail-right {
    position: fixed;
    top: auto; bottom: 0;
    right: 0; left: 0;
    width: 100%;
    height: 58vh;
    padding: 16px;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(to bottom,
      transparent 0%,
      rgba(0,0,8,0.9) 6%,
      rgba(0,0,8,0.98) 14%
    );
  }

  .glass-panel {
    padding: 24px 20px;
    max-height: 52vh;
  }

  #planet-arrival { padding: 0 0 20vh 5vw; }
  .arr-num  { font-size: clamp(38px, 11vw, 68px); }
  .arr-title { font-size: clamp(18px, 5.5vw, 38px); }
  .nav-btn { padding: 9px 16px; font-size: 9px; letter-spacing: 3px; }
  .galaxy-main-title { letter-spacing: 6px; }
}

@media (max-width: 480px) {
  .glass-panel { padding: 18px 14px; max-height: 50vh; }
  .nav-bar { padding: 14px 14px; }
  .galaxy-main-title { font-size: clamp(22px, 8.5vw, 40px); letter-spacing: 4px; }
}
