@import url('https://fonts.googleapis.com/css2?family=Space+Mono&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Mono', monospace;
  background: radial-gradient(circle at bottom, #1b1f4a 0%, #05010d 60%);
  color: #e8e9ff;
  overflow-x: hidden;
}

/* 🌠 STAR ANIMATION */
.stars, .stars2, .stars3 {
  position: fixed;
  inset: 0;
  background-repeat: repeat;
  animation: moveStars linear infinite;
  z-index: -3;
}

.stars {
  background-image: url("https://files.catbox.moe/8l9y4w.png");
  animation-duration: 200s, 6s;
}

.stars2 {
  background-image: url("https://files.catbox.moe/8l9y4w.png");
  animation-duration: 140s, 9s;
}

.stars3 {
  background-image: url("https://files.catbox.moe/8l9y4w.png");
  animation-duration: 90s, 12s;
}


@keyframes moveStars {
  from { background-position: 0 0; }
  to { background-position: -10000px 5000px; }
}
@keyframes twinkle {
  0%   { opacity: 0.15; }
  25%  { opacity: 0.4; }
  50%  { opacity: 0.2; }
  75%  { opacity: 0.5; }
  100% { opacity: 0.15; }
}


/* 🪐 HEADER */
.planet-header {
  text-align: center;
  padding: 4rem 1rem 3rem;
  background: linear-gradient(to bottom, rgba(10,10,30,0.8), transparent);
}

.planet-header img {
  width: 220px;
  max-width: 70%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

header h1 {
  letter-spacing: 3px;
  text-shadow: 0 0 15px #8f96ff;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background: rgba(10,10,30,0.7);
  backdrop-filter: blur(6px);
}

nav a {
  color: #aab1ff;
  text-decoration: none;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #8f96ff;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

main {
  max-width: 900px;
  margin: 3rem auto;
  padding: 1rem;
}

/* ✨ FLOATING CARDS */
.card {
  background: rgba(15,15,45,0.8);
  border: 1px solid #2d2f6b;
  box-shadow: 0 0 25px rgba(120,120,255,0.2);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(140,140,255,0.35);
}

.card h2 {
  color: #c9ccff;
  text-shadow: 0 0 8px #7b7fff;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: #9aa0ff;
  border-top: 1px solid #2d2f6b;
}
