body {
  margin: 0;
  background: black;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.solar-system {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.sun {
  position: absolute;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, yellow, orange, red);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.celestial-body {
  position: absolute;
  border-radius: 50%;
}

.moon-container {
  display: none !important;
}

.asteroid-belt {
  position: absolute;
  border: 1px dotted rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@keyframes revolution {
  from {
    transform: rotate(0deg) translateX(var(--radius)) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(var(--radius)) rotate(-360deg);
  }
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* ------------------- MOBILE RESPONSIVENESS ADDED ------------------- */
@media (max-width: 600px) {
  .sun {
    width: 40px;
    height: 40px;
  }

  .orbit {
    border-width: 0.5px;
  }

  .asteroid-belt {
    border-width: 0.5px;
  }

  .celestial-body {
    width: 10px !important;  /* Ensuring planets are smaller on mobile */
    height: 10px !important;
  }

  .moon-container {
    transform: translate(-50%, -50%) scale(0.7);
  }

  .orbit-container {
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .sun {
    width: 30px;
    height: 30px;
  }

  .celestial-body {
    width: 8px !important;
    height: 8px !important;
  }

  .orbit-container {
    transform: translate(-50%, -50%) scale(0.6);
  }

