@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

  
  .container {
  text-align: center;
}

.rainbow-text {
  font-size: 4rem;
  font-weight: bold;
  background: radial-gradient(circle at center, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  padding: 30px 30px;
}


@keyframes neonGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.neon-button {
  padding: 15px 30px;
  border: 2px solid #0ff;
  border-radius: 25px;
  color: #0ff;
  text-decoration: none;
  font-size: 1.2rem;
  text-shadow:
    0 0 5px #0ff,
    0 0 10px #0ff,
    0 0 20px #0ff;
  box-shadow:
    0 0 5px #0ff,
    0 0 10px #0ff,
    0 0 20px #0ff,
    0 0 40px #0ff;
  transition: background-color 0.3s, color 0.3s;
}
.neon-button:hover {
  background-color: #0ff;
  color: #000;
}

/* Starry background */
#star-container {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  overflow: hidden;
  z-index: -1;
}

/* Star style */
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkle 2s infinite ease-in-out;
}




/* Twinkle animation */
@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Shooting star style */
.shooting-star {
  position: absolute;
  width: 2px;
  height: 100px;
  background:linear-gradient(-135deg, white 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  opacity: 0;
  transform: rotate(-135deg);
  animation: shoot 3s linear infinite;
}

/* Shooting star animation */
@keyframes shoot {
  0% {
    transform: translateX(0) translateY(0) rotate(135deg);
    opacity: 1;
  }
  100% {
    transform: translateX(100vw) translateY(100vh) rotate(135deg);
    opacity: 0;
  }
}

.satellite {
  position: absolute;
  width: 40px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit 20s linear infinite;
}

@keyframes orbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(310px) rotate(180deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(310px) rotate(-360deg);
  }
}

.earth-container {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 50px; /* Adjust this value to set the gap below buttons */
  z-index: -1; /* Ensure it stays behind other elements */
}

.earth-image {
  width: 100%;
  max-width: 800px; /* Adjust as needed */
  height: auto;
  animation: rotateEarth 264s linear infinite; /* Optional rotation */
}

@keyframes rotateEarth {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.earth-container2 {
  position: fixed;
  bottom: 0;
  left:0;
  width: 15%;
  z-index: -1; /* Ensures it stays behind other elements */
}

.earth-image2 {
  width: 100%;
  height: auto;
  /*animation: rotateplanet 180s linear infinite; /* Optional rotation */
}

@keyframes rotateplanet {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.earth-container3 {
  position: fixed;
  top: 0;
  right:0;
  width: 25%;
  z-index: -1; /* Ensures it stays behind other elements */
}

.earth-image3 {
  width: 100%;
  height: auto;
  /*animation: rotateplanet 180s linear infinite; /* Optional rotation */
}

@keyframes rotateplanet {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rocket {
  position: fixed; /* Use fixed for screen-relative positioning */
  top: 50%;         /* Vertically center */
  left: -100px;     /* Start off-screen */
  width: 40px;
  height: auto;
  transform: translateY(-50%); /* Adjust for perfect vertical center */
  animation: fly-across 8s linear infinite;*
}

@keyframes fly-across {
  0% {
    left: -100px; /* Start off-screen on the left */
  }
  100% {
    left: 110vw;  /* End off-screen on the right */
  }
}

/* Flash overlay */
#flash-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: white;
  opacity: 0;
  z-index: 1000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: opacity 0.4s ease-in-out;
}

/* Line sweep across screen */
#line-sweep {
  position: fixed;
  top: 50%;
  left: 0;
  width: 0;
  height: 4px;
  background: white;
  z-index: 1001;
  opacity: 0;
  transform: translateY(-50%);
}


#flash-overlay {
  filter: blur(10px);
}


