body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  color: white;
  text-align: center;
  overflow: hidden;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 1.5s infinite;
  color: #ffffff;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
}

p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
  color: #b0c4de;
}

.loader {
  border: 8px solid rgba(255, 255, 255, 0.2);
  border-top: 8px solid #00d9ff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin 1.2s linear infinite, glow 1.5s ease-in-out infinite alternate;
  margin: 0 auto;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 30px rgba(0, 217, 255, 1);
  }
}

.redirect-container {
  animation: fadeOut 5s ease-out;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}
