@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

body {
  background-color: #0b0e1a;
  background-image: 
    linear-gradient(90deg, rgba(203,166,247,0.03) 1px, transparent 1px),
    linear-gradient(rgba(203,166,247,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #cba6f7;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease forwards;
  backdrop-filter: blur(2px);
}


form {
  background: rgba(21, 24, 39, 0.15); /* semi-transparent for glassy effect */
  border: 1px solid rgba(203, 166, 247, 0.25); /* subtle outline */
  backdrop-filter: blur(10px); /* glass blur effect */
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 40px 2px #cba6f733;
  text-align: center;
  animation: slideFadeIn 0.8s ease forwards;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #cba6f7;
  text-shadow: 0 0 8px #cba6f799;
  animation: glowPulse 3s ease-in-out infinite;
}

.input-wrapper {
  margin-bottom: 1.2rem;
  text-align: left;
}

.input-wrapper label {
  display: block;
  margin-bottom: 0.5rem;
  color: #9b9dc4;
  font-size: 0.9rem;
}

.input-wrapper input {
  width: 100%;
  padding: 10px;
  background: #222435;
  border: none;
  border-radius: 8px;
  color: #ddd;
  font-size: 16px;
  outline: none;
  box-shadow: 0 0 6px #cba6f72a;
  box-sizing: border-box;
}

.input-wrapper input:focus {
  box-shadow: 0 0 12px #cba6f799;
  background-color: #2a2d45;
}

button {
  background: #cba6f7;
  color: #0b0e1a;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 10px #cba6f755;
  font-weight: 600;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

button:hover {
  background: #a28dbc;
  color: #000;
  transform: scale(1.02);
  box-shadow: 0 0 12px #a28dbcaa;
}

button:active {
  transform: scale(0.98);
}

p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #999;
}

a {
  color: #ead1dc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: #cba6f7;
}

.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #a28dbc;
  margin: 0 10px;
  opacity: 0.4;
}

.separator span {
  color: #a28dbc;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 0 5px #a28dbc;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 8px #cba6f799;
  }
  50% {
    text-shadow: 0 0 16px #cba6f7dd;
  }
}
