/* === Global Styles === */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #001122 0%, #000814 100%);
  font-family: "Poppins", sans-serif;
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* === Animated Glow Background === */
body::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.4), transparent 70%);
  top: -200px;
  left: -200px;
  filter: blur(150px);
  animation: floatGlow 8s ease-in-out infinite alternate;
  z-index: 0;
}

body::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.3), transparent 70%);
  bottom: -200px;
  right: -200px;
  filter: blur(120px);
  animation: floatGlow 10s ease-in-out infinite alternate-reverse;
  z-index: 0;
}

@keyframes floatGlow {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(40px, 30px);
  }
}

/* === Glowing Card === */
.glow-card {
  background: rgba(15, 25, 45, 0.9);
  border: 1px solid rgba(0, 123, 255, 0.5);
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(0, 140, 255, 0.4);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.glow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 45px rgba(0, 160, 255, 0.7);
}

/* === Form Controls === */
.form-control {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 123, 255, 0.4);
  padding: 0.9rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: #00b3ff;
  box-shadow: 0 0 15px #00b3ff;
  outline: none;
}

/* === Buttons === */
.btn-primary {
  background: linear-gradient(90deg, #007bff, #00b3ff);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
  transition: all 0.3s ease;
  font-weight: 500;
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #0099ff, #00e0ff);
  box-shadow: 0 0 35px rgba(0, 200, 255, 0.7);
}

/* === Links === */
a {
  color: #00c8ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #66dfff;
}

/* === Responsive Layout === */
@media (max-width: 768px) {
  body {
    padding: 2rem;
    align-items: flex-start;
  }

  .glow-card {
    margin-top: 4rem;
    padding: 2rem;
    max-width: 90%;
  }
}

@media (max-width: 640px) {
  .glow-card {
    padding: 1.5rem;
    border-radius: 0.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .btn-primary {
    font-size: 0.9rem;
    padding: 0.6rem;
  }
}
