@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Estilos para el video de fondo */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000; /* Fondo negro para áreas no cubiertas por el video */
}

.video-background video {
  width: auto;
  height: auto;
  max-width: 120%;
  max-height: 120%;

}
/* Estilos para las imágenes de esquina */
.corner-images {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  z-index: 1000;
  pointer-events: none;
}

.corner-img {
  height: 60px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.corner-img:hover {
  opacity: 1;
}

/* Estilos para el contenedor principal */
.box {
  position: relative;
  width: 450px;
  height: 500px;
  background: repeating-conic-gradient(
    from var(--a),
    #ff2770 0%,
    #ff2770 5%,
    transparent 5%,
    transparent 40%,
    #ff2770 50%
  );
  filter: drop-shadow(0 15px 50px rgba(0, 0, 0, 0.5));
  animation: rotating 4s linear infinite;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-conic-gradient(
    from var(--a),
    #45f3ff 0%,
    #45f3ff 5%,
    transparent 5%,
    transparent 40%,
    #45f3ff 50%
  );
  filter: drop-shadow(0 15px 50px #000);
  border-radius: 20px;
  animation: rotating 4s linear infinite;
  animation-delay: -1s;
}

.box::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: rgba(45, 45, 57, 1); /* 100% opaco */
  border-radius: 15px;
  border: 8px solid rgba(37, 37, 43, 1); /* 100% opaco */
}

@keyframes rotating {
  0% { --a: 0deg; }
  100% { --a: 360deg; }
}

/* Estilos para el contenido */
.content {
  position: absolute;
  inset: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
}

.content h2 {
  color: #fff;
  font-size: 1.8em;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Estilos para el formulario */
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

label {
  color: #fff;
  font-size: 1em;
  margin-bottom: -20px;
  opacity: 0.8;
}

input[type="email"] {
  width: 100%;
  padding: 12px 20px;
  outline: none;
  font-size: 1em;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  transition: all 0.3s ease;
}

input[type="email"]:focus {
  border-color: #45f3ff;
  background: rgba(69, 243, 255, 0.1);
}

input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

button[type="submit"] {
  background: linear-gradient(45deg, #45f3ff, #2b8aff);
  border: none;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 1em;
  letter-spacing: 1px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  box-shadow: 0 0 15px #45f3ff, 0 0 30px #45f3ff;
  transform: translateY(-2px);
}

/* Estilos para los botones de navegación */
.nav-buttons {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.nav-button {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9em;
  transition: all 0.3s ease;
  padding: 8px 15px;
  border-radius: 20px;
}

.nav-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Estilos responsivos */
@media (max-width: 500px) {
  .box {
    width: 90%;
    height: auto;
    min-height: 400px;
  }
  
  .content {
    padding: 20px;
  }
  
  .corner-img {
    height: 40px;
  }
}