:root {
  /* Colors */
  --bg-dark: #0b0d17;
  --bg-space: #0c0e1b;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #a0a0a0;
  --accent-sun: #ffcc00;
  --accent-planet-1: #ff9d00;
  --accent-planet-2: #4fc3f7;
  --accent-planet-3: #ff5252;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  
  /* Fonts */
  --font-title: 'Fredoka', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-s);
  position: relative;
  z-index: 10;
}

.stars-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
  overflow: hidden;
}

.stars-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: 1744px 122px #FFF, 134px 1321px #FFF, 92px 859px #FFF, 1533px 1476px #FFF, 1278px 1133px #FFF, 172px 1481px #FFF, 1550px 145px #FFF, 545px 1238px #FFF, 122px 1459px #FFF, 112px 1321px #FFF, 153px 476px #FFF, 127px 1133px #FFF, 172px 148px #FFF, 150px 145px #FFF, 545px 123px #FFF, 122px 145px #FFF;
  animation: animStar 150s linear infinite;
}

@keyframes animStar {
  from { transform: translateY(0px); }
  to { transform: translateY(-2000px); }
}

/* Background Animation Containers */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#solar-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-l { margin-top: var(--space-l); }
.mb-m { margin-bottom: var(--space-m); }

header h1 {
  animation: float 3s ease-in-out infinite;
  color: var(--accent-sun);
  text-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
  font-size: 3rem;
}

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

.mission-details {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-l);
  margin-top: var(--space-xl);
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
  
  .mission-brief p {
    font-size: 1rem;
  }
}

.detail-card {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-l);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.detail-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-planet-1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

footer {
  padding: var(--space-l) 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0.75;
  transition: opacity 0.3s ease-in-out;
}