/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Background */
body {
  background: #0a0a0f;
  color: #fff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Particles behind content */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Modal / Card */
.modal {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 35px 40px;
  width: 350px;
  text-align: center;
  border-radius: 16px;
  animation: fadeIn 0.5s ease-in-out;
}

.modal h1 {
  font-size: 2.5rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.modal h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Inputs */
input {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: 0.2s ease;
}

input:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(135, 81, 255, 0.6);
}

/* Buttons */
.button {
  width: 100%;
  padding: 12px 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
  transition: 0.25s ease;
}

.button-primary {
  background: #8c4bff;
  color: white;
}

.button-primary:hover {
  background: #a56aff;
  transform: translateY(-2px);
}

/* Footer link */
footer {
  margin-top: 15px;
  font-size: 0.85rem;
}

footer a {
  color: #a56aff;
  text-decoration: none;
  transition: 0.2s;
}

footer a:hover {
  color: #c8a3ff;
  text-decoration: underline;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
