/* Styles Existants */
body {
  background: black; /* Remplacé le dégradé initial par noir pour harmoniser avec les effets lumineux */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: "Arial", sans-serif;
  color: #ffffff;
  overflow: hidden; /* Assure que les éléments de fond ne créent pas de scroll */
}

.login-container {
  background-color: #020202;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  text-align: center;
  width: 100%;
  max-width: 400px;
  color: white;
  position: relative;
  z-index: 2; /* Assure que le formulaire reste au-dessus des effets de fond */
}

.login-logo {
  width: 294px;
  margin: 0 auto 20px;
  border-radius: 50%;
}

.login-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ff00ff;
}

.login-input {
  background-color: #2d2d2d;
  border: 1px solid #ff00ff;
  color: white;
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 25px;
  outline: none;
  font-size: 16px;
}

.login-input:focus {
  border-color: #ff00ff;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.btn-primary {
  background-color: #ff00ff;
  color: white;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 20px;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #ff00ffcc;
}

.google-signin-button {
  background-color: #ffffff;
  color: #000000;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.google-signin-button:hover {
  background-color: #f1f1f1;
}

.google-icon {
  margin-right: 10px;
}

.footer {
  margin-top: 30px;
  color: #ffffff;
  font-size: 12px;
}

/* Effet Moving Spots Intégré */
.moving-spot {
  position: absolute;
  width: 200px;
  height: 200px;
  pointer-events: none;
  z-index: 1; /* Assure que les spots sont derrière le formulaire */
}

.beam {
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.4) 20%,
    transparent 70%
  );
  filter: blur(8px);
  transform-origin: center;
  mix-blend-mode: screen;
}

.ambient-light {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0;
  mix-blend-mode: screen;
  animation: fadeInOut 4s infinite;
  z-index: 1; /* Assure que les lumières ambiantes sont derrière le formulaire */
}

.strobe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3; /* Assure que l'effet stroboscope est au-dessus de tous */
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }
}

/* Optionnel : Effet d'explosion de lumière */
.light-explosion {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1),
    rgba(255, 165, 0, 0) 70%
  );
  border-radius: 50%;
  animation: explode 2s ease-out forwards;
  z-index: 1;
}

@keyframes explode {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(50);
    opacity: 0;
  }
}
