/* Reset y tipografía */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Fondo animado */
.bg-animation {
  position: fixed;
  inset: 0;
  background: linear-gradient(270deg, #06d6a0, #118ab2, #ef476f, #ffd166);
  background-size: 800% 800%;
  animation: gradientMove 15s ease infinite;
  z-index: -1;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animaciones de entrada */
.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
  animation: slideUp 0.5s ease forwards;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Wrapper principal */
.wrapper {
  width: 750px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  border-radius: 12px;
  color: #fff;
  padding: 40px 35px 55px;
  margin: auto;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

.wrapper h1 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* Inputs */
.input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.input-field {
  position: relative;
  width: 48%;
  min-width: 240px;
  height: 50px;
}

.input-field input {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255, 255, 255, 0.35);
  outline: none;
  font-size: 16px;
  color: #fff;
  border-radius: 8px;
  padding: 15px 15px 15px 40px;
  transition: all 0.3s ease;
}

.input-field input:focus {
  border-color: #06d6a0;
  background: rgba(6,214,160,0.08);
  box-shadow: 0 0 10px rgba(6,214,160,0.4);
}

.input-field i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #ddd;
}

/* Botones */
.btn {
  width: 100%;
  height: 48px;
  background: #06d6a0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #05b88a;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* Modal */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
}

.popup-content {
  background: rgba(255,255,255,0.95);
  color: #222;
  margin: 10vh auto;
  padding: 28px 24px;
  border-radius: 10px;
  width: 92%;
  max-width: 380px;
  position: relative;
  box-shadow: 0 16px 40px rgba(