/* Tipografía y colores temáticos */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap');

body {
  margin: 0;
  background-color: #111; /* Fondo oscuro */
  font-family: 'Orbitron', sans-serif;
  color: #eee;

  background-image: 
  linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
  url("fondo_lap.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

}


@media (max-width: 768px) {
  body {
    background-image: 
      linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
      url("fondo_movil.png");
  }
}

@keyframes moveBG {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 200px 200px;
  }
}


.container {
  min-height: 100vh; /* 100% de la altura visible */
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  padding: 30px 0;
}

header h1 {
  color: #ff007a;
  font-size: 3rem;
  text-shadow: 0 0 10px #ff007a;
}

.subtitulo {
  font-size: 1.2rem;
  color: #aaa;
}

.formulario {
  margin-top: 30px;
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 100px rgba(255, 0, 122, 0.3);
}

iframe {
  border-radius: 10px;
}

footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #666;
}
.mensaje-final {
  text-align: center;
  margin-top: 120px;
}

.mensaje-final h2 {
  font-size: 2.5rem;
  color: #ff007a;
  text-shadow: 0 0 8px #ff007a, 0 0 20px #ff007a, 0 0 30px #ff007a;
  animation: flicker 2.5s infinite;
}

.mensaje-final p {
  margin-top: 20px;
  font-size: 1.3rem;
  color: #eee;
  animation: fadeIn 4s ease-in-out infinite alternate;
}

/* Efecto de foco en mal estado */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
    text-shadow: 0 0 8px #ff007a, 0 0 20px #ff007a, 0 0 30px #ff007a;
  }
  20%, 24%, 55% {
    opacity: 0.4;
    text-shadow: none;
  }
}

/* Efecto de entrada suave para el texto secundario */
@keyframes fadeIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
