/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #1e3c72, #2a5298);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
  color: #fff;
}

/* Background Blobs */
.blob {
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 30% 30%, #00d4ff, transparent 70%);
  border-radius: 50%;
  filter: blur(120px);
  animation: blobMove 20s infinite alternate;
}
.blob2 {
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 30% 30%, #0077ff, transparent 70%);
  border-radius: 50%;
  filter: blur(120px);
  animation: blobMove2 25s infinite alternate;
}

/* Card */
.login-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 20px;
  width: 340px;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.5);
  text-align: center;
  z-index: 2;
}

.login-card .logo img {
  width: 70px;
  margin-bottom: 1rem;
}

.login-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
.login-card .subtitle {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form input {
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
  transition: 0.3s;
}
.login-form input:focus {
  background: rgba(255,255,255,0.2);
  box-shadow: 0px 0px 8px rgba(0,212,255,0.7);
}
.login-form input::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Options row */
.options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.options-row label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.options-row .forgot {
  color: #00d4ff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}
.options-row .forgot:hover {
  text-decoration: underline;
}

/* Login Button */
.btn.login {
  background: linear-gradient(90deg, #36d1dc, #5b86e5);
  padding: 0.9rem;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn.login:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 15px rgba(91, 134, 229, 0.8);
}

.btn.login::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.15), transparent, rgba(255,255,255,0.15));
  transform: rotate(25deg);
  animation: shine 3s infinite linear;
}

/* Sign Up link */
.signup-link {
  margin-top: 1rem;
  font-size: 0.9rem;
}
.signup-link a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: bold;
}

/* Animations */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes blobMove {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(200px, 200px) scale(1.4); }
}
@keyframes blobMove2 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-200px, -200px) scale(1.3); }
}
@keyframes shine {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}
