.register-container {
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: radial-gradient(circle at center, #1b1b3a 0%, #0d0d1a 100%);
  overflow: hidden;
}

.register-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(155, 92, 255, 0.2);
  width: 100%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.5s ease;
  position: relative;
  z-index: 1;
}

.register-card h1 {
  color: #fff;
  font-family: "Roboto Slab", serif;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.register-card p {
  color: #b38bff;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.rocket-icon {
  font-size: 3rem;
  color: #8b7fff;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(139, 127, 255, 0.5));
}

.input-group {
  text-align: left;
  margin-bottom: 8px;
}

.input-group label {
  display: block;
  color: #fff;
  margin-bottom: 2px;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(155, 92, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.input-group input:focus {
  border-color: #8b7fff;
  box-shadow: 0 0 10px rgba(139, 127, 255, 0.3);
}

/* Validation Styles */
.input-group.success input {
  border-color: #00ff88;
}

.input-group.error input {
  border-color: #ff4d4d;
}

.validation-msg {
  font-size: 0.75rem;
  margin-top: 2px;
  height: 15px;
  transition: color 0.3s;
}

.input-group.success .validation-msg {
  color: #00ff88;
}
.input-group.error .validation-msg {
  color: #ff4d4d;
}

/* Password Strength Meter */
.strength-meter {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 4px;
  border-radius: 2px;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #6c5ce7, #a29bfe);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
  background: linear-gradient(45deg, #a29bfe, #6c5ce7);
}

/* Success Overlay & Rocket Launch */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d0d1a;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.launch-sequence {
  text-align: center;
  color: white;
}

.rocket-launch {
  font-size: 5rem;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  animation: shake 0.5s infinite;
}

.fire {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 40px;
  background: linear-gradient(to bottom, #ff9d00, #ff0000);
  border-radius: 50% 50% 20% 20%;
  filter: blur(5px);
  animation: flame 0.1s infinite alternate;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  20% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  40% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  60% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  80% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  100% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
}

@keyframes flame {
  from {
    height: 40px;
    opacity: 0.8;
  }
  to {
    height: 60px;
    opacity: 1;
  }
}

.rocket-takeoff {
  animation: takeoff 2s forwards ease-in !important;
}

@keyframes takeoff {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100vh);
  }
}

.fade-out {
  opacity: 0;
  transform: scale(0.9);
}
