/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

/* Background */
body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #1a1145, #050816 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  overflow-x: hidden;
}

/* Smooth animated glow background */
body::before {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7b3cff, transparent 70%);
  filter: blur(120px);
  top: -120px;
  left: -120px;
  animation: floatGlow 10s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes floatGlow {
  0% { transform: translate(0,0); }
  100% { transform: translate(80px,40px); }
}

/* Container */
.container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Title */
.container h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 6px;
}

.subtitle {
  color: #a0a0c0;
  margin-bottom: 28px;
}

/* Glass Card */
.card {
  background: rgba(15, 15, 25, 0.75);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(130, 60, 255, 0.25);
  box-shadow: 0 0 60px rgba(123, 60, 255, 0.35);
  transition: 0.3s ease;
}

.card:hover {
  box-shadow: 0 0 80px rgba(140, 80, 255, 0.45);
}

/* Inputs */
.card input {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(30,30,40,0.7);
  color: white;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

.card input:focus {
  border-color: #7b3cff;
  box-shadow: 0 0 10px rgba(123,60,255,0.4);
}

/* Buttons */
.card button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #7b3cff, #a855f7);
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s;
}

.card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(140, 80, 255, 0.4);
}

/* Divider */
.divider {
  margin: 18px 0;
  color: #9ca3af;
  font-size: 13px;
}

/* Login Button */
.login-btn {
  background: transparent !important;
  border: 2px solid #7b3cff !important;
}

.login-btn:hover {
  background: rgba(123,60,255,0.15) !important;
}

/* Mobile Optimization */
@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding-top: 60px;
  }

  .container h1 {
    font-size: 26px;
  }

  .card {
    padding: 22px;
  }
}

