img[alt="logo"] {
  display: block;
  margin: 25px auto;
  width: 200px;
  height: auto;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/background.png") no-repeat center center fixed;
  background-size: cover;
  backdrop-filter: blur(10px);
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* =============================
   Login box: transparencia + borde neón (pulso)
   ============================= */

.neon-card {
  /* Transparencia del recuadro */
  background: rgba(15, 15, 18, 0.55) !important;
  border: 1px solid rgba(0, 255, 255, 0.55) !important;
  border-radius: 14px;
  overflow: hidden;
  position: relative;

  /* “Glass” effect */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  /* Glow base */
  box-shadow:
    0 0 12px rgba(0, 255, 255, 0.55),
    0 0 28px rgba(0, 255, 255, 0.35),
    0 0 60px rgba(0, 255, 255, 0.18);

  /* Animación suave de “latido” */
  animation: neonPulse 3.6s ease-in-out infinite;
}

/* Encabezado del card también semi-transparente */
.neon-card .card-header {
  background: rgba(0, 0, 0, 0.25) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.neon-card .card-body {
  background: transparent !important;
}

/* Un segundo halo “soft” alrededor (tipo neón difuso) */
.neon-card::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 22px;
  pointer-events: none;
  opacity: 0.45;
  filter: blur(18px);
  background: radial-gradient(circle at 50% 40%, rgba(0, 255, 255, 0.35), transparent 62%);
  animation: neonHalo 3.6s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% {
    border-color: rgba(0, 255, 255, 0.60);
    box-shadow:
      0 0 12px rgba(0, 255, 255, 0.60),
      0 0 32px rgba(0, 255, 255, 0.38),
      0 0 70px rgba(0, 255, 255, 0.22);
  }
  50% {
    border-color: rgba(0, 255, 255, 0.32);
    box-shadow:
      0 0 8px rgba(0, 255, 255, 0.30),
      0 0 18px rgba(0, 255, 255, 0.18),
      0 0 40px rgba(0, 255, 255, 0.10);
  }
}

@keyframes neonHalo {
  0%, 100% { opacity: 0.48; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(0.98); }
}

button {
  padding: 10px 20px;
  background-color: #e50914;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1em;
  font-weight: 700;
  text-shadow: 2px 2px 4px #000;
  position: relative;
  box-shadow: 0 2px 25px rgba(255, 0, 0, 0.5);
}

a:link {
  text-decoration: none;
  text-shadow: 2px 2px 4px #000;
}

button:hover {
  background-color: #ff0000;
}

.btn {
  padding: 10px 20px;
  background-color: #e50914;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 5px;
  font-size: 1em;
  font-weight: 700;
  text-shadow: 2px 2px 4px #000;
}

.btn:hover {
  background-color: #ff0000;
}

@media screen and (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
  }

  input[type="email"] {
    width: 90%;
  }

  .btn {
    width: 90%;
    margin: 10px auto;
  }

  p {
    white-space: normal;
  }
}
