@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #fff;
  background: radial-gradient(circle at top, #141414, #000000);
  overflow: hidden;
  position: relative;
}

#bg-gif {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url("/logo/LLIMXLOGINWALLPAER2.png") center/cover no-repeat;
  filter: brightness(0.4) blur(3px);
  animation: bgMove 25s ease-in-out infinite alternate;
}

@keyframes bgMove {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.1) translate(10px, 10px); }
}

.login-card {
  width: 400px;
  padding: 40px;
  background: rgba(20, 20, 40, 0.85);
  border: 1px solid rgba(120, 80, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(120, 80, 255, 0.15);
  text-align: center;
  z-index: 1;
  backdrop-filter: blur(12px);
  transition: 0.4s;
}

.login-card:hover {
  box-shadow: 0 0 30px rgba(160, 120, 255, 0.3);
}

.login-card .logo img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px rgba(200, 150, 255, 0.8));
}

.login-card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: #e0d4ff;
  text-shadow: 0 0 15px #c084fc;
  letter-spacing: 1px;
}

.login-card p {
  font-size: 0.9rem;
  color: #b0a0ff;
  margin-bottom: 25px;
}

.input-field {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(160, 100, 255, 0.4);
  overflow: hidden;
  transition: 0.3s;
}

.input-field:hover {
  box-shadow: 0 0 10px rgba(180, 130, 255, 0.3);
}

.input-field input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #fff;
  background: transparent;
}

.input-field .icon {
  margin-left: 12px;
  font-size: 18px;
  color: #b084fc;
  transition: 0.3s;
}

.input-field:focus-within .icon {
  color: #e0c4ff;
  text-shadow: 0 0 10px #c084fc;
}

.login-btn,
.social-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
  color: #fff;
  background: linear-gradient(90deg, #7a42ff, #9d50bb);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.login-btn::before,
.social-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.4s;
}

.login-btn:hover::before,
.social-btn:hover::before {
  left: 100%;
}

.login-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(180, 130, 255, 0.5);
}

.social-btn.google {
  background: linear-gradient(90deg, #5865f2, #7289da);
}

.social-btn.google:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(114, 137, 218, 0.6);
}

.divider {
  position: relative;
  text-align: center;
  margin: 25px 0;
}

.divider span {
  background: rgba(20, 20, 40, 0.85);
  padding: 0 12px;
  font-size: 12px;
  color: #ccc;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .login-card {
    width: 90%;
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .login-card h2 {
    font-size: 1.3rem;
  }
  .login-card p {
    font-size: 0.8rem;
  }
}
