body {
  margin: 0;
  height: 100vh;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

/* Twinkling stars */
.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.space {
  position: relative;
  width: 200px;
  height: 200px;
  z-index: 1;
}

/* Earth */
.earth {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: blue;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(0, 0, 255, 0.5);
  transition: background-color 0.5s ease;
}

/* Orbit base */
.orbit {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit 5s linear infinite;
}

/* Orbit variations */
.orbit2 {
  width: 150px;
  height: 150px;
  animation-duration: 7s;
}

.orbit3 {
  width: 250px;
  height: 250px;
  animation-duration: 10s;
}

/* Moons & Satellite */
.moon, .moon2, .satellite {
  position: absolute;
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.moon {
  width: 30px;
  height: 30px;
  background-color: gray;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.moon2 {
  width: 20px;
  height: 20px;
  background-color: lightgray;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.satellite {
  width: 10px;
  height: 10px;
  background-color: red;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.shooting-star {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, white, transparent);
  top: 0;
  left: 0;
  opacity: 0;
  transform: rotate(45deg);
  z-index: 2;
  pointer-events: none;
}

/* Orbit animation */
@keyframes orbit {
  0% {
    transform: rotate(0deg) translate(-50%, -50%);
  }
  100% {
    transform: rotate(360deg) translate(-50%, -50%);
  }
}

