body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(-45deg, #6a11cb, #2575fc, #ff4e50, #f9d423);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  color: #fff;
  text-align: center;
}
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Card */
.auth-card {
  background: rgba(0,0,0,0.55);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  max-width: 420px;
  width: 90%;
  animation: fadeIn 1.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Title */
.title {
  font-size: 2rem;
  margin-bottom: 5px;
}
.subtitle {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #ddd;
}

/* Auth Forms */
.auth-container {
  margin-top: 10px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-form h2 {
  margin-bottom: 5px;
}
.auth-form input {
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
}
.auth-form button {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #2575fc;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.auth-form button:hover {
  background: #1b5ed6;
}
.auth-form p {
  font-size: 0.9rem;
}
.auth-form a {
  color: #f9d423;
  text-decoration: underline;
  cursor: pointer;
}

/* Hide Register initially */
.hidden {
  display: none;
}
