/* ===== LOGIN BACKGROUND ===== */

.login-body {
  margin: 0;
  height: 100vh;
  font-family: "Courier New", monospace;
  background: linear-gradient(135deg, #0f0f0f, #111827, #0f0f0f);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #00ffcc;
}

@keyframes gradientMove {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* ===== GLASS CARD ===== */

.login-card {
  position: relative;
  width: 380px;
  padding: 45px;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 204, 0.2);
  box-shadow: 0 0 40px rgba(0, 255, 204, 0.2);
  animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-card h1 {
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.subtitle {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 30px;
}

/* ===== FLOATING LABEL INPUT ===== */

.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid rgba(0, 255, 204, 0.3);
  border-radius: 8px;
  color: #00ffcc;
  outline: none;
  font-size: 14px;
  transition: 0.3s;
}

.input-group label {
  position: absolute;
  left: 14px;
  top: 14px;
  color: #777;
  pointer-events: none;
  transition: 0.3s;
}

.input-group input:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 10px #00ffcc;
}

.input-group input:focus + label,
.input-group input:valid + label {
  top: -8px;
  left: 10px;
  font-size: 11px;
  background: #111;
  padding: 0 5px;
  color: #00ffcc;
}

/* ===== BUTTON ===== */

.login-card button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #00ffcc, #00ccaa);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-card button:hover {
  box-shadow: 0 0 20px #00ffcc;
  transform: translateY(-2px);
}

/* ===== TERMINAL LINE ===== */

.terminal-line {
  margin-top: 20px;
  font-size: 11px;
  color: #666;
  text-align: center;
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ===== PARTICLES ===== */

.particle {
  position: absolute;
  width: 2px;
  height: 10px;
  background: #00ffcc;
  bottom: -20px;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  from { transform: translateY(0); }
  to { transform: translateY(-120vh); }
}
