/*! ====== GLOBAL STYLE ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/** ====== LOGIN / REGISTER GENERAL ====== */
.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top left, #0f2027, #203a43, #2c5364);
}

/*^ ====== HOME BACKGROUND ====== */
.home-body {
  background: linear-gradient(120deg, #0a0f1c, #16213e, #1a1f3c);
}

/*& ====== GLASS CARD DESIGN ====== */
.login-card,
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
  width: 100%;
  max-width: 450px;
  transition: 0.3s ease;
  animation: fadeIn 0.7s ease-in-out;
}

.login-card:hover {
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.25);
}

/*? ====== TEXTS ====== */
.neon-text {
  color: #00e0ff;
  text-shadow: 0 0 8px #00e0ff, 0 0 20px #00e0ff;
  font-weight: 600;
}

.text-cyan {
  color: #00e0ff !important;
}

/*? ====== INPUTS ====== */
.custom-input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 12px;
  transition: 0.3s;
}

.custom-input:hover {
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.custom-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.custom-input:focus {
  border-color: #00e0ff;
  box-shadow: 0 0 12px rgba(0, 224, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

/*^ ====== BUTTONS ====== */
.neon-btn {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;
  border: none;
  border-radius: 12px;
  transition: 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.2);
}

.neon-btn:hover {
  box-shadow: 0 0 18px rgba(0, 224, 255, 0.5);
  transform: translateY(-2px);
}

.neon-btn:active {
  transform: scale(0.97);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

/*! ====== NAVBAR ====== */
.glass-nav {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.08);
}

.hover-glow:hover {
  box-shadow: 0 0 15px #00e0ff;
  transition: 0.3s;
}

/*! ====== MODALS ====== */
.neon-modal {
  background: rgba(20, 28, 40, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 255, 0.25);
  border-radius: 20px;
  box-shadow: 0 0 35px rgba(0, 224, 255, 0.3);
  color: #fff;
  animation: popIn 0.4s ease;
}

.modal.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s ease;
}
.modal .modal-dialog {
  transform: translateY(-10px);
  opacity: 0;
}

.neon-modal .modal-header {
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.modal-glow-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #00e0ff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.15);
}

.neon-modal .modal-body ul li {
  color: #f87171;
  font-weight: 400;
  margin-bottom: 6px;
}

/** ====== ANIMATIONS ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/*& ====== HOME PAGE ANIMATION ====== */
.welcomeMsg h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #00e0ff;
  text-shadow: 0 0 15px #00e0ff, 0 0 40px #00e0ff;
  animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
  from {
    text-shadow: 0 0 10px #00e0ff, 0 0 25px #00e0ff;
  }
  to {
    text-shadow: 0 0 25px #00ffff, 0 0 60px #00e0ff;
  }
}

/*? ====== FLOATING GLOW EFFECT ====== */
.floating-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 255, 0.4) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: floatGlow 6s infinite ease-in-out alternate;
  filter: blur(25px);
  pointer-events: none;
}

@keyframes floatGlow {
  0% {
    transform: translate(-60%, -60%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-40%, -40%) scale(1.3);
    opacity: 1;
  }
}

/*! ====== RESPONSIVE ====== */
@media (max-width: 576px) {
  .login-card {
    padding: 2rem 1.5rem;
  }

  .welcomeMsg h1 {
    font-size: 1.8rem;
  }
}

/*^ ====== FADE-IN ON LOAD ====== */
.fade-in {
  opacity: 0;
  animation: fadeInPage 1.2s ease forwards;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/** ====== FOOTER SIGNATURE ====== */
footer {
  position: relative;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  box-shadow: 0 -5px 15px rgba(0, 255, 255, 0.05);
}
