/* Fondo general estilo gamer */
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #2a004d, #0a001a);
  font-family: 'Orbitron', sans-serif;
  color: white;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenedor principal */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* Logo de bienvenida */
.logo {
  font-size: 3rem;
  font-weight: 700;
  color: #7d2cff; /* morado login */
  text-shadow: 0 0 25px #7d2cff, 0 0 60px #00cfff; /* mezcla celeste del registro */
  letter-spacing: 2px;
  margin-bottom: 30px;
  animation: neonLogo 2s infinite alternate;
}

.logo span {
  color: #00cfff; /* celeste registro */
  text-shadow: 0 0 15px #00cfff, 0 0 30px #7d2cff;
}

/* Círculo de carga animado */
.loader {
  width: 70px;
  height: 70px;
  border: 6px solid #7d2cff; /* morado */
  border-top: 6px solid #00cfff; /* celeste */
  border-radius: 50%;
  animation: spin 1.2s linear infinite, neonGlow 1.5s infinite alternate;
  margin-bottom: 25px;
  box-shadow: 0 0 30px #7d2cff, 0 0 60px #00cfff;
}

/* Texto inferior */
.welcome-text {
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 0 0 10px #7d2cff, 0 0 20px #00cfff;
  letter-spacing: 1px;
  animation: fadeInUp 1.5s;
}

/* Animaciones */
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
@keyframes neonGlow {
  0% { box-shadow: 0 0 30px #7d2cff, 0 0 60px #00cfff;}
  100% { box-shadow: 0 0 60px #00cfff, 0 0 90px #7d2cff;}
}
@keyframes neonLogo {
  0% { text-shadow: 0 0 25px #7d2cff, 0 0 60px #00cfff;}
  100% { text-shadow: 0 0 60px #00cfff, 0 0 90px #7d2cff;}
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 480px) {
  .logo { font-size: 2rem; }
  .loader { width: 50px; height: 50px; }
  .welcome-text { font-size: 1rem; }
}
