/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #422d5e;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  opacity: 1;
  animation: fadeOut 0.5s forwards; /* Cambio principal */
  pointer-events: none;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.loader {
  width: 20px;
  height: 20px;
  border: 8px solid #e0dfda;
  border-radius: 50%;
  border-top-color: #8c5bff;
  margin: auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Difuminado */
.container {
  aspect-ratio: 1 / 1;
  height: min(270px, 90vw);                /* Mantiene tamaño visual original: ~400px */
  width: min(380px, 90vw);                /* Mantiene tamaño visual original: ~400px */
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 30px;
  margin: auto;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Contenido */
body {
  background-image: url('images/background.png'); /* Ruta de la imagen de fondo */
  background-size: cover; /* Ajustar tamaño de la imagen para cubrir toda la página */
  background-position: center; /* Centrar la imagen */
  background-repeat: no-repeat; /* Evitar la repetición de la imagen */
  background-attachment: fixed; /* Fijar la imagen de fondo para que no se desplace con el contenido */
  background-color: #51446f; /* Color de fondo de respaldo */
  color: #ab87ff; /* Color de texto */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100dvh;
}

h1 {
  font-size: 2.5rem;
  margin: 0;
  text-align: center;
}

.social-links {
  list-style-type: none;
  padding: 0;
}

.social-links li {
  display: inline-block;
  margin: 0 10px;
}

.social-links li a {
  color: #e0dfda; /* Letras */
  text-decoration: none;
  font-size: 2rem; /* Tamaño del icono */
}

/* Cambio de color al pasar el mouse */
.social-links li a:hover {
  color: #ffffff; /* Color de Discord */
}

/* Go Back */
.go-back {
  margin-top: 40px;
}

.go-back a {
  color: #e0dfda;
  font-size: 1.3rem;
  text-decoration: underline;
}

.go-back a:hover {
  color: #ffffff;
}

