
/* =========================================
   MOONSHOT - ECLIPSA TEAM
   Main stylesheet
========================================= */

:root {
  --bg: #020611;
  --panel: rgba(10, 23, 42, 0.88);
  --panel-light: rgba(18, 37, 62, 0.92);
  --blue: #62c5ff;
  --blue-bright: #8bd8ff;
  --text: #eef6ff;
  --muted: #91a9c3;
  --border: rgba(113, 183, 232, 0.2);
  --danger: #ff737d;
  --font-main: "Inter", sans-serif;
  --font-display: "Orbitron", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

#menuStars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

/* =========================================
   TOP NAVIGATION
========================================= */

.topbar {
  height: 70px;
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(2, 8, 19, 0.94);
  border-bottom: 1px solid rgba(110, 183, 235, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  color: white;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 2px;
}

.brand span {
  color: var(--blue);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #91a9c3;
  font-size: 10px;
  letter-spacing: 2px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #58e0a1;
  box-shadow: 0 0 12px #58e0a1;
}

/* =========================================
   SCREEN SYSTEM
========================================= */

main {
  position: relative;
  z-index: 1;
}

.screen {
  display: none;
  width: 100%;
  min-height: calc(100vh - 70px);
  padding: 55px 5%;
}

.screen.active {
  display: block;
}

.screen.active.moonshot-home {
  display: flex;
}

/* =========================================
   HOME SCREEN
========================================= */

.moonshot-home {
  position: relative;
  min-height: calc(100vh - 70px);
  height: auto;
  overflow: hidden;
  isolation: isolate;
  align-items: center;
  justify-content: center;
  padding: 55px 25px 105px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(24, 68, 112, 0.38), transparent 52%),
    linear-gradient(180deg, #020611 0%, #071326 60%, #101c2d 100%);
}

.space-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Blue glow behind Earth */

.earth-glow {
  position: absolute;
  width: 470px;
  height: 470px;
  top: 1%;
  right: 10%;
  border-radius: 50%;
  background: #238bd8;
  filter: blur(115px);
  opacity: 0.17;
}

/* Earth */

.earth {
  position: absolute;
  width: clamp(145px, 19vw, 260px);
  height: clamp(145px, 19vw, 260px);
  top: 7%;
  right: 17%;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 28% 42%, rgba(91, 166, 113, 0.95) 0 9%, transparent 10%),
    radial-gradient(ellipse at 65% 31%, rgba(80, 153, 105, 0.9) 0 12%, transparent 13%),
    radial-gradient(ellipse at 52% 70%, rgba(71, 139, 100, 0.8) 0 10%, transparent 11%),
    radial-gradient(circle at 35% 30%, #a9e7ff 0%, #438fca 23%, #17517e 53%, #06172f 78%);
  box-shadow:
    inset -28px -18px 45px rgba(0, 0, 0, 0.85),
    inset 10px 5px 22px rgba(255, 255, 255, 0.22),
    0 0 35px rgba(67, 168, 255, 0.48),
    0 0 100px rgba(44, 135, 255, 0.2);
  animation: earthFloat 12s ease-in-out infinite;
}

.earth::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 25% 25%, rgba(255,255,255,.55), transparent 20%),
    linear-gradient(115deg, transparent 42%, rgba(0,0,0,.3) 100%);
}

.earth::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(123, 204, 255, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(65, 160, 255, 0.3);
}

/* Moon foreground */

.moon-surface {
  position: absolute;
  width: 150%;
  height: 430px;
  left: -25%;
  bottom: -290px;
  border-radius: 50% 50% 0 0;
  transform: rotate(-4deg);
  background:
    radial-gradient(ellipse at 25% 30%, rgba(20, 25, 34, .3) 0 4%, transparent 5%),
    radial-gradient(ellipse at 43% 42%, rgba(20, 25, 34, .35) 0 6%, transparent 7%),
    radial-gradient(ellipse at 67% 28%, rgba(20, 25, 34, .3) 0 5%, transparent 6%),
    radial-gradient(ellipse at 78% 48%, rgba(20, 25, 34, .35) 0 7%, transparent 8%),
    radial-gradient(ellipse at 50% 0%, #a4a8ad 0%, #666e79 32%, #303a49 70%, #111a29 100%);
  box-shadow:
    0 -15px 65px rgba(180, 202, 226, 0.2),
    inset 0 25px 55px rgba(230, 238, 247, 0.12);
}

.moon-horizon {
  position: absolute;
  width: 140%;
  height: 180px;
  left: -20%;
  bottom: 15px;
  border-top: 2px solid rgba(190, 213, 238, 0.28);
  border-radius: 50%;
  filter: blur(4px);
}

/* Home text */

.home-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.team-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 32px;
  color: #b0c9df;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
}

.team-line {
  display: inline-block;
  width: 38px;
  height: 1px;
  background: var(--blue);
  opacity: 0.8;
}

.logo-small {
  margin-bottom: 8px;
  color: #83d0fa;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 7px;
}

.main-logo h1 {
  margin: 0;
  color: #f4f8ff;
  font-family: var(--font-display);
  font-size: clamp(65px, 12vw, 145px);
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1.15;
  text-shadow: 0 0 35px rgba(91, 183, 255, 0.3);
}

.main-logo h1 span {
  color: #69c5f5;
}

.logo-underline {
  width: 175px;
  height: 3px;
  margin: 17px auto;
  background: linear-gradient(90deg, transparent, #65c8ff, transparent);
  box-shadow: 0 0 15px rgba(101, 200, 255, 0.5);
}

.logo-subtitle {
  color: #d1e6f8;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 6px;
}

.home-description {
  margin: 30px auto;
  color: #c0d0e1;
  font-size: 14px;
  line-height: 2;
}

.moonshot-start {
  min-width: 245px;
  padding: 17px 27px;
  border: 1px solid #70caff;
  border-radius: 4px;
  background: linear-gradient(110deg, #126da6, #174a83);
  color: white;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(55, 166, 255, 0.25);
  transition: 0.3s ease;
}

.moonshot-start:hover {
  transform: translateY(-4px);
  background: linear-gradient(110deg, #188acb, #1b5da0);
  box-shadow: 0 0 45px rgba(55, 166, 255, 0.55);
}

.moonshot-start span {
  margin-left: 12px;
}

.home-stats {
  display: flex;
  justify-content: center;
  gap: 75px;
  margin-top: 48px;
}

.home-stats div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-stats strong {
  color: #e6f5ff;
  font-family: var(--font-display);
  font-size: 25px;
}

.home-stats span {
  color: #8da9c5;
  font-size: 9px;
  letter-spacing: 2px;
}

.home-footer {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 18px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #91a7bf;
  font-size: 9px;
  letter-spacing: 1.5px;
}

@keyframes earthFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

/* =========================================
   GENERAL SECTION HEADINGS
========================================= */

.section-heading {
  max-width: 800px;
  margin: 20px auto 45px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 3px;
}

.section-heading h2,
.game-heading h2,
.result-content h2 {
  margin: 0;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(25px, 4vw, 42px);
  letter-spacing: 2px;
}

.section-heading h2 span {
  color: var(--blue);
}

.section-heading p,
.game-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* =========================================
   MISSION SELECTION CARDS
========================================= */

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1250px;
  margin: 0 auto;
}

.mission-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0a1729;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mission-card:hover {
  transform: translateY(-7px);
  border-color: var(--blue);
}

.mission-image {
  position: absolute;
  inset: 0;
  opacity: 0.65;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.mission-card:hover .mission-image {
  transform: scale(1.06);
}

.lunar-image {
  background:
    radial-gradient(circle at 70% 25%, #aeb8c7 0 4%, transparent 5%),
    radial-gradient(ellipse at 40% 90%, #737d8a, transparent 55%),
    linear-gradient(160deg, #102a46, #374352 60%, #080f1b);
}

.base-image {
  background:
    radial-gradient(circle at 50% 55%, rgba(85, 190, 255, .45), transparent 28%),
    linear-gradient(150deg, #102d43, #263d4a 55%, #080f1b);
}

.orbit-image {
  background:
    radial-gradient(circle at 70% 25%, #6bc4ff 0 2%, transparent 3%),
    radial-gradient(circle at 65% 28%, #2e82ba 0 15%, transparent 16%),
    linear-gradient(145deg, #050b19, #122c4a 60%, #080f1b);
}

.mission-card-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 28px 24px;
  background: linear-gradient(transparent, rgba(2, 8, 19, 0.98) 28%);
}

.mission-number {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 2px;
}

.mission-card h3 {
  margin: 12px 0;
  color: white;
  font-family: var(--font-display);
  font-size: 17px;
}

.mission-card p {
  min-height: 48px;
  color: #b4c5d8;
  font-size: 12px;
  line-height: 1.7;
}

.mission-cta {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

/* =========================================
   GAME SCREEN
========================================= */

.game-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 1450px;
  margin: 0 auto 28px;
}

.game-heading h2 {
  font-size: 25px;
}

.mission-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
}

.mission-clock span,
.mission-clock small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
}

.mission-clock strong {
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-size: 21px;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  max-width: 1450px;
  margin: 0 auto;
  align-items: start;
}

.main-game-column,
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* Game canvas */

.canvas-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #030a15;
}

.canvas-label {
  position: absolute;
  top: 13px;
  left: 15px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d5e8f8;
  font-size: 9px;
  letter-spacing: 2px;
  pointer-events: none;
}

#gameCanvas {
  display: block;
  width: 100%;
  height: auto;
  min-height: 250px;
  background: #0a1525;
}

.movement-hint {
  position: absolute;
  right: 15px;
  bottom: 12px;
  color: #d3e7f7;
  font-size: 9px;
  letter-spacing: 1px;
  text-shadow: 0 1px 5px black;
  pointer-events: none;
}

/* =========================================
   PANELS
========================================= */

.resource-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(113, 183, 232, 0.14);
}

.panel-heading h3 {
  margin: 0;
  color: #e9f4ff;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.panel-heading > span {
  color: #7794b1;
  font-size: 9px;
  letter-spacing: 1px;
}

/* =========================================
   RESOURCE BARS
========================================= */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.resource-item {
  min-width: 0;
}

.resource-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: #a9bfd5;
  font-size: 10px;
  letter-spacing: 1px;
}

.resource-top strong {
  color: white;
  font-family: var(--font-display);
}

.resource-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 20px;
  background: #1b2b3d;
}

.resource-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transition: width 0.3s ease;
}

.oxygen-fill {
  background: linear-gradient(90deg, #328ee7, #79caff);
}

.water-fill {
  background: linear-gradient(90deg, #168eae, #61d9ee);
}

.food-fill {
  background: linear-gradient(90deg, #62a64e, #a7df75);
}

.energy-fill {
  background: linear-gradient(90deg, #c28a31, #ffe18a);
}

/* =========================================
   ALLOCATION SLIDERS
========================================= */

.allocation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.allocation-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #b7c9dc;
  font-size: 11px;
}

.allocation-item span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.allocation-item strong {
  color: var(--blue);
}

.allocation-item input {
  width: 100%;
  accent-color: #56b9f3;
  cursor: pointer;
}

/* =========================================
   ACTION BUTTONS
========================================= */

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.action-btn,
.secondary-btn {
  min-height: 44px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #10243b;
  color: #d9edff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.2s ease;
}

.action-btn:hover,
.secondary-btn:hover {
  border-color: var(--blue);
  background: #173858;
}

.danger-btn {
  border-color: rgba(255, 115, 125, 0.3);
  color: #ff9ba2;
}

.danger-btn:hover {
  border-color: var(--danger);
  background: rgba(125, 38, 49, 0.35);
}

/* =========================================
   SIDEBAR
========================================= */

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stat-list > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(113, 183, 232, 0.1);
  font-size: 11px;
}

.stat-list > div:last-child {
  border-bottom: 0;
}

.stat-list span {
  color: var(--muted);
}

.stat-list strong {
  color: #eaf6ff;
  text-align: right;
  font-family: var(--font-display);
  font-size: 11px;
}

/* Upgrades */

.upgrade-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.upgrade-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(113, 183, 232, 0.14);
  border-radius: 5px;
  background: rgba(19, 43, 68, 0.8);
  color: #d8e9f9;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  transition: 0.2s ease;
}

.upgrade-btn:hover {
  border-color: var(--blue);
  background: #183a5a;
}

.upgrade-btn small {
  color: var(--blue);
  white-space: nowrap;
}

/* Events and logs */

.event-panel h4 {
  margin: 0 0 10px;
  color: var(--blue-bright);
}

.event-panel p {
  color: #b4c6d9;
  font-size: 12px;
  line-height: 1.6;
}

.event-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-choices button {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #10243b;
  color: white;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.mission-log {
  max-height: 220px;
  overflow-y: auto;
  color: #a9bfd3;
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-line;
}

/* =========================================
   RESULT SCREEN
========================================= */

#resultScreen {
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(25, 75, 120, 0.22), transparent 60%);
}

#resultScreen.active {
  display: flex;
}

.result-content {
  width: min(100%, 750px);
  padding: 45px 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 22, 40, 0.88);
}

.result-content h2 {
  margin: 12px 0;
}

.result-content > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.result-stats > div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(20, 48, 76, 0.6);
}

.result-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn {
  min-height: 45px;
  padding: 13px 22px;
  border: 1px solid #70caff;
  border-radius: 5px;
  background: linear-gradient(110deg, #126da6, #174a83);
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.2s ease;
}

.primary-btn:hover {
  background: linear-gradient(110deg, #188acb, #1b5da0);
  box-shadow: 0 0 25px rgba(55, 166, 255, 0.3);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1000px) {
  .game-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .earth {
    right: 8%;
  }
}

@media (max-width: 650px) {
  .topbar {
    height: 60px;
    padding: 0 18px;
  }

  .brand {
    font-size: 15px;
  }

  .topbar-right {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .screen {
    min-height: calc(100vh - 60px);
    padding: 35px 16px;
  }

  .moonshot-home {
    min-height: 760px;
    padding: 90px 16px 145px;
  }

  .earth {
    width: 135px;
    height: 135px;
    top: 5%;
    right: 7%;
  }

  .earth-glow {
    width: 250px;
    height: 250px;
    right: 0;
  }

  .moon-surface {
    height: 300px;
    bottom: -225px;
  }

  .team-label {
    gap: 8px;
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .team-line {
    width: 18px;
  }

  .logo-small {
    font-size: 9px;
    letter-spacing: 4px;
  }

  .main-logo h1 {
    font-size: clamp(48px, 14vw, 78px);
    letter-spacing: 2px;
  }

  .logo-subtitle {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .home-description {
    font-size: 12px;
  }

  .home-stats {
    gap: 23px;
    margin-top: 38px;
  }

  .home-stats strong {
    font-size: 20px;
  }

  .home-stats span {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .home-footer {
    right: 12px;
    bottom: 15px;
    left: 12px;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 8px;
    text-align: center;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-card {
    min-height: 330px;
  }

  .game-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .mission-clock {
    align-items: flex-start;
  }

  .resource-grid,
  .allocation-grid,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .resource-panel {
    padding: 15px;
  }

  .panel-heading > span {
    font-size: 8px;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .result-stats {
    grid-template-columns: 1fr;
  }

  .result-content {
    padding: 30px 18px;
  }
}

/* =====================================
   REAL SPACE PHOTOGRAPH BACKGROUNDS
   ECLIPSA - MOONSHOT
===================================== */

/* MAIN MENU - REAL MOON AND EARTH */

.moonshot-home {
  background:
    linear-gradient(
      90deg,
      rgba(2, 6, 17, 0.80),
      rgba(2, 6, 17, 0.30),
      rgba(2, 6, 17, 0.65)
    ),
    linear-gradient(
      0deg,
      rgba(2, 6, 17, 0.65),
      transparent 65%
    ),
    url("https://eol.jsc.nasa.gov/DatabaseImages/ESC/large/ART002/ART002-E-21241.JPG")
    center 55% / cover no-repeat !important;
}

/* Hide the artificial CSS Earth and Moon.
   The real photograph replaces them. */

.moonshot-home .space-scene {
  display: none !important;
}

/* Keep the title readable */

.moonshot-home .home-content {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}

.moonshot-home .main-logo h1 {
  text-shadow:
    0 0 25px rgba(91,183,255,.5),
    0 3px 18px rgba(0,0,0,.9);
}

.moonshot-home .home-description {
  color: #e4efff;
}

/* =====================================
   MISSION 01 - LUNAR EXPLORATION
===================================== */

.lunar-image {
  background-image:
    linear-gradient(
      0deg,
      rgba(2,8,19,.85),
      rgba(2,8,19,.08)
    ),
    url("https://pic.clubic.com/v1/images/1906297/raw") !important;
  background-position: center !important;
  background-size: cover !important;
}

/* =====================================
   MISSION 02 - MOON BASE
===================================== */

.base-image {
  background-image:
    linear-gradient(
      0deg,
      rgba(2,8,19,.85),
      rgba(2,8,19,.08)
    ),
    url("https://scx2.b-cdn.net/gfx/news/hires/2026/nasa-plans-to-have-a-p.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
}

/* =====================================
   MISSION 03 - ORBITAL STATION
===================================== */

.orbit-image {
  background-image:
    linear-gradient(
      0deg,
      rgba(2,8,19,.85),
      rgba(2,8,19,.08)
    ),
    url("https://assets.science.nasa.gov/content/dam/science/esd/eo/content-feature/earthkam/images/S131-E-011050.jpg/jcr%3Acontent/renditions/cq5dam.web.1280.1280.jpeg")
    !important;
  background-position: center !important;
  background-size: cover !important;
}

/* Keep mission images visible */

.mission-image {
  position: absolute;
  inset: 0;
  opacity: 1 !important;
  background-repeat: no-repeat !important;
}

.mission-card-content {
  z-index: 2;
}

/* Mobile background positioning */

@media (max-width: 650px) {
  .moonshot-home {
    background-position: 55% center !important;
  }
}
