/* Fondo tipo ondas animadas */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #eaeaea;
  background: #000;
  overflow-x: hidden;
  position: relative;
}

.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 200vw;
  height: 200vh;
  background: linear-gradient(45deg,
    #00ffff40,
    #1a1aff30,
    #ff00ff25,
    #00ff0040
  );
  background-size: 400% 400%;
  animation: aurora 15s ease infinite;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.6;
}

@keyframes aurora {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Contenedor principal */
.container {
  max-width: 500px;
  margin: auto;
  padding: 5rem 1rem 2rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

/* Botón compartir */
.share-btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  background: #111;
  border: 1px solid #0ff;
  color: #0ff;
  font-size: 1.3rem;
  padding: 0.6rem 0.7rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s ease;
}

.share-btn:hover {
  transform: scale(1.2) rotate(20deg);
  box-shadow: 0 0 12px #0ffb;
}

/* Imagen perfil */
.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0ff;
  margin-bottom: 1rem;
}

/* Texto principal */
h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.subtext {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 2rem;
}

/* Íconos superiores */
.top-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.top-icons a {
  color: #9efff3;
  font-size: 1.6rem;
  transition: 0.5s ease;
  transform-origin: center;
}

.top-icons a:hover {
  transform: rotateY(360deg) scale(1.3);
  color: #ffffff;
  filter: drop-shadow(0 0 8px #0ff);
}

/* Botones */
.button-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #444;
  color: #eaeaea;
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin: 0.5rem auto;
  max-width: 300px;
  font-size: 1rem;
  transition: 0.4s ease;
}

.button-link i {
  margin-right: 0.5rem;
}

.button-link:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05) rotateX(15deg);
  box-shadow: 0 0 20px #0ff8;
  transition: 0.4s ease;
}

/* Footer */
footer {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: #666;
}

/* Loader general */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

/* Loader animación */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aurora-loader {
  position: absolute;
  width: 200vw;
  height: 200vh;
  top: -50%;
  left: -50%;
  background: linear-gradient(45deg,
    #00ffff40,
    #1a1aff30,
    #ff00ff25,
    #00ff0040
  );
  background-size: 400% 400%;
  animation: aurora 15s ease infinite;
  filter: blur(80px);
  opacity: 0.6;
  z-index: -1;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #0ff;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow:
    0 0 10px #0ff,
    0 0 20px #0ff,
    0 0 30px #0ff,
    0 0 40px #0ff2;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}