* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== CONTAINER ===== */
.container {
  width: 400px;
  height: 460px;
  position: relative;
}

/* ===== CARD ===== */
.card {
  width: 100%;
  height: 100%;
  background: #000;
  padding: 40px;
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;

  animation: neonGlow 14s infinite linear;
  transition: 0.5s ease;
}

.card.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

/* ===== TITLE ===== */
h2 {
  color: #fff;
  margin-bottom: 30px;
}

/* ===== INPUT ===== */
.input-box {
  position: relative;
  margin-bottom: 30px;
}

.input-box input {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 16px;
}

.input-box label {
  position: absolute;
  top: 10px;
  left: 0;
  color: #aaa;
  transition: 0.3s;
}

.input-box span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  animation: inputGlow 14s infinite linear;
}

.input-box input:focus + label,
.input-box input:valid + label {
  top: -15px;
  font-size: 12px;
}

/* ===== BUTTON ===== */
.btn {
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  animation: btnGlow 14s infinite linear;
}

/* ===== SWITCH TEXT ===== */
.switch-text {
  margin-top: 20px;
  color: #aaa;
}

.switch-text span {
  cursor: pointer;
  font-weight: bold;
  animation: textColor 14s infinite linear;
}

/* ===== NEON ANIMATIONS ===== */
@keyframes neonGlow {
  0% { box-shadow: 0 0 30px #ff00cc, 0 0 80px #ff00cc; }
  14% { box-shadow: 0 0 30px #00aaff, 0 0 80px #00aaff; }
  28% { box-shadow: 0 0 30px #00ff66, 0 0 80px #00ff66; }
  42% { box-shadow: 0 0 30px #ffee00, 0 0 80px #ffee00; }
  57% { box-shadow: 0 0 30px #ff3300, 0 0 80px #ff3300; }
  71% { box-shadow: 0 0 30px #9b00ff, 0 0 80px #9b00ff; }
  85% { box-shadow: 0 0 30px #00ffd5, 0 0 80px #00ffd5; }
  100% { box-shadow: 0 0 30px #ff00cc, 0 0 80px #ff00cc; }
}

@keyframes btnGlow {
  0% { background: #ff00cc; }
  14% { background: #00aaff; }
  28% { background: #00ff66; }
  42% { background: #ffee00; }
  57% { background: #ff3300; }
  71% { background: #9b00ff; }
  85% { background: #00ffd5; }
  100% { background: #ff00cc; }
}

@keyframes inputGlow {
  0% { background: #ff00cc; }
  14% { background: #00aaff; }
  28% { background: #00ff66; }
  42% { background: #ffee00; }
  57% { background: #ff3300; }
  71% { background: #9b00ff; }
  85% { background: #00ffd5; }
  100% { background: #ff00cc; }
}

@keyframes textColor {
  0% { color: #ff00cc; }
  14% { color: #00aaff; }
  28% { color: #00ff66; }
  42% { color: #ffee00; }
  57% { color: #ff3300; }
  71% { color: #9b00ff; }
  85% { color: #00ffd5; }
  100% { color: #ff00cc; }
}
.welcome {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 5px;
}

.forgot {
  text-align: right;
  font-size: 13px;
  margin-bottom: 20px;
  cursor: pointer;
  animation: textColor 14s infinite linear;
}

/* ===== EYE ICON ===== */
.eye {
  position: absolute;
  right: 0;
  bottom: 8px;
  cursor: pointer;
  font-size: 18px;
  user-select: none;
}

/* ===== SOCIAL LOGIN ===== */
.social {
  margin-top: 20px;
  color: #aaa;
}

.social p {
  font-size: 13px;
  margin-bottom: 10px;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  animation: btnGlow 14s infinite linear;
}

.google { color: #000; }
.facebook { color: #000; }
.linkedin { color: #000; }
/* ===== BACKGROUND ANIMATION ===== */
body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(120deg, #050505, #0b0b0b, #050505);
  background-size: 300% 300%;
  animation: bgMove 15s ease infinite;
}

/* Gradient movement */
@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating neon orbs */
.bg-animation {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-animation span {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: float 18s infinite linear;
}

/* Different colors & positions */
.bg-animation span:nth-child(1) {
  background: #ff00cc;
  top: 10%;
  left: 10%;
}

.bg-animation span:nth-child(2) {
  background: #00ffd5;
  top: 60%;
  left: 20%;
  animation-duration: 22s;
}

.bg-animation span:nth-child(3) {
  background: #9b00ff;
  top: 30%;
  left: 70%;
  animation-duration: 26s;
}

.bg-animation span:nth-child(4) {
  background: #00ff66;
  top: 70%;
  left: 65%;
  animation-duration: 30s;
}

/* Floating movement */
@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-60px) translateX(40px); }
  100% { transform: translateY(0) translateX(0); }
}