/* ==== GLOBAL RESET ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* ==== FORM CARD ==== */
.form-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  max-width: 400px;
  width: 90%;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.form-card h1 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #f8f8f8;
}

.form-card input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.form-card input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.form-card button {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff8a00, #e52e71);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.4s ease;
}

.form-card button:hover {
  background: linear-gradient(90deg, #e52e71, #ff8a00);
}

.form-card .link {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}

.form-card .link a {
  color: #ffda6b;
  text-decoration: none;
  font-weight: 600;
}

#loginMessage {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #00ffcc;
}

/* ==== ANIMATIONS ==== */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
