body {
  margin: 0;
  height: 100vh;
  background: radial-gradient(circle at center, #000010, #000000 80%);
  overflow: hidden;
  font-family: Arial, sans-serif;
  color: white;
}
.codebit {
  position: absolute;
  font-size: 22px;
  font-weight: bold;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #0072ff;
  animation: float 6s ease-in-out infinite;
  opacity: 0.8;
}

/* Random floating effect */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}
/* Multiple star layers */
.stars,
.stars2,
.stars3 {
  width: 100%;
  height: 130%;
  background: url("https://www.transparenttextures.com/patterns/stardust.png");
  position: absolute;
  top: 10;
  left: 0;
  z-index: 0;
  opacity: 0.7;
}
.stars {
  animation: moveStars 80s linear infinite;
}
.stars2 {
  animation: moveStars 120s linear infinite;
}
.stars3 {
  animation: moveStars 200s linear infinite;
}

/* @keyframes moveStars {
              from {
                transform: translateY(0);
              }
              to {
                transform: translateY(-800px);
              }
            } */

/* Shooting stars */
.shooting-star {
  position: absolute;
  width: 2px;
  height: 80px;
  background: linear-gradient(white, transparent);
  opacity: 0.7;
  top: -100px;
  animation: shoot 5s linear infinite;
}

@keyframes shoot {
  0% {
    transform: translate(0, 0) rotate(45deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(800px, 600px) rotate(45deg);
    opacity: 0;
  }
}

/* Sun in center */
.sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, #ffd700, #ff4500);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 60px #ff6600, 0 0 120px #ff3300, 0 0 200px #ff6600;
  z-index: 1;
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  from {
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Orbit paths */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed darkgray;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin linear infinite;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Planet style */
.planet {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 5px black;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.planet:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px white, 0 0 60px currentColor;
}

/* Different planets */
.html {
  background: #ff5733;
  box-shadow: 0 0 20px #ff5733;
}
.css {
  background: #3498db;
  box-shadow: 0 0 20px #3498db;
}
.js {
  background: #f1c40f;
  box-shadow: 0 0 20px #f1c40f;
  color: black;
}
.python {
  background: #2ecc71;
  box-shadow: 0 0 20px #2ecc71;
}
.git {
  background: #e74c3c;
  box-shadow: 0 0 20px #e74c3c;
}

/* Title */
.title {
  position: absolute;
  top: 10%;
  width: 100%;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  animation: fadeIn 3s ease-out forwards;
  opacity: 0;
  z-index: 10;
}

.gradient-text {
  background: linear-gradient(90deg, #00c6ff, #0072ff, #00ffcc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowText 4s infinite linear;
}
@keyframes glowText {
  0% {
    text-shadow: 0 0 10px #00eaff, 0 0 20px #0072ff;
  }
  50% {
    text-shadow: 0 0 20px #00ffcc, 0 0 40px #00c6ff;
  }
  100% {
    text-shadow: 0 0 10px #00eaff, 0 0 20px #0072ff;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
