body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top, #2b2b2b 0, #000 55%, #000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  color: #fff;
}

/* Carte de connexion */
.login-box {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(255, 87, 51, 0.35);
  padding: 32px 26px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Titre avec glow */
#title-glow {
    position: relative;
    z-index: 5;
    text-align: center;
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fbd7a0;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.4),
        0 0 2px rgba(0, 0, 0, 0.6);
    animation:
        titleSoftPulse 6s ease-in-out infinite,
        titleColorCycleWarm 12s linear infinite;
}

@keyframes titleSoftPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow:
            0 0 1px rgba(255, 230, 200, 0.25),
            0 0 2px rgba(0, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.02);
        text-shadow:
            0 0 2px rgba(255, 230, 200, 0.28),
            0 0 3px rgba(0, 0, 0, 0.45);
    }
}

/* Cycle de couleurs chaudes */
@keyframes titleColorCycleWarm {
    0%   { color: #ffd9a1; }
    33%  { color: #ffc2a8; }
    66%  { color: #ffb3b3; }
    100% { color: #ffe7c7; }
}

/* Champs */
.input-group {
  position: relative;
  margin-bottom: 18px;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 11px 42px 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  outline: none;
  font-size: 15px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* Bouton œil */
.toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
}

/* Bouton submit */
button[type="submit"] {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff5733, #ff8a50);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 0 12px rgba(255, 87, 51, 0.55);
}

button[type="submit"]:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  box-shadow: 0 0 18px rgba(255, 87, 51, 0.8);
}

/* Message d’erreur */
.error-message {
  background: rgba(255, 0, 0, 0.08);
  color: #ff8a80;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  border: 1px solid rgba(255, 82, 82, 0.7);
}

/* Lien inscription */
.signup-link {
  margin-top: 18px;
  font-size: 14px;
  color: #ddd;
}

.signup-link a {
  color: #4fc3f7;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .login-box {
    margin: 0 16px;
    padding: 28px 20px;
  }
  #title-glow {
    font-size: 19px;
  }
}