/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #021225, #010a17);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ===== WRAPPER ===== */
.login-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

/* ===== CARD ===== */
.login-card {
  background: rgba(2, 18, 37, 0.9);
  border-radius: 18px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  animation: fadeInUp 0.8s ease;
}

/* ===== HEADER ===== */
.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #00ff8f;
}

.login-header h1 span {
  color: #fff;
}

.login-header p {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 5px;
}

/* ===== FORM ===== */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  position: relative;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #aaa;
}

.input-group input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 25px;
  border: none;
  outline: none;
  background: #021225;
  color: #fff;
}

.input-group input:focus {
  outline: 2px solid #00ff8f;
}

/* ===== OPTIONS ===== */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.form-options a {
  color: #00ff8f;
}

.form-options input {
  margin-right: 5px;
}

/* ===== BUTTONS ===== */
.login-btn {
  padding: 12px;
  border-radius: 25px;
  border: none;
  background: #00ff8f;
  color: #021225;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* ===== DIVIDER ===== */
.divider {
  text-align: center;
  position: relative;
  font-size: 13px;
  opacity: 0.7;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: 40%;
  background: #444;
  position: absolute;
  top: 50%;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

/* ===== SOCIAL ===== */
.social-btn {
  padding: 12px;
  border-radius: 25px;
  border: none;
  background: #fff;
  color: #000;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-btn i {
  margin-right: 8px;
}

.social-btn:hover {
  background: #eee;
}

/* ===== SIGNUP ===== */
.signup-text {
  text-align: center;
  font-size: 14px;
}

.signup-text a {
  color: #00ff8f;
  font-weight: 500;
}
/* ================= PRELOADER ================= */
#preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #021225, #010a17);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* TEXT */
#preloader p {
  color: #00ff8f;
  font-weight: 700;
  margin-top: 20px;
  font-size: 16px;
  text-align: center;
  letter-spacing: 1px;
}

/* FOOTBALL SHAPE */
.football {
  position: relative;
  width: 100px;
  height: 100px;
}

/* DOT BASE */
.dot {
  width: 14px;
  height: 14px;
  background: #00ff8f;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  animation: pulse 1.2s infinite ease-in-out;
}

/* FOOTBALL FORM */
.dot1 { transform: translate(-50%, -50%) translate(-28px, -18px); animation-delay: 0s; }
.dot2 { transform: translate(-50%, -50%) translate(0px, -26px); animation-delay: 0.1s; }
.dot3 { transform: translate(-50%, -50%) translate(28px, -18px); animation-delay: 0.2s; }

.dot4 { transform: translate(-50%, -50%) translate(-22px, 0px); animation-delay: 0.3s; }
.dot5 { transform: translate(-50%, -50%) translate(0px, 0px); animation-delay: 0.4s; }
.dot6 { transform: translate(-50%, -50%) translate(22px, 0px); animation-delay: 0.5s; }

.dot7 { transform: translate(-50%, -50%) translate(-28px, 18px); animation-delay: 0.6s; }
.dot8 { transform: translate(-50%, -50%) translate(0px, 26px); animation-delay: 0.7s; }
.dot9 { transform: translate(-50%, -50%) translate(28px, 18px); animation-delay: 0.8s; }

/* ANIMATION */
@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .football {
    width: 70px;
    height: 70px;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  #preloader p {
    font-size: 14px;
  }
}

/* ===== ANIMATION ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {
  .login-card {
    padding: 30px 20px;
  }
}
