/* === RESET === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === GLOBAL === */
body {
  font-family: 'Dosis', 'Segoe UI', Tahoma, sans-serif;
  background: url("https://unityrp.lv/bot/login-bc.jpeg") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  position: relative;
}

/* Background overlay */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 25, 0.7),
    rgba(25, 25, 55, 0.85)
  );
  backdrop-filter: blur(6px);
  z-index: 0;
}

/* === WRAPPER === */
.login-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: fadeIn 0.8s ease;
}

/* === CARD === */
.login-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 50px 70px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
}

/* === LOGO === */
.logo {
  width: 100px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
}

/* === TITLES === */
h1 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.subtitle {
  font-size: 0.95rem;
  color: #cfcfcf;
  margin-bottom: 34px;
  line-height: 1.4;
}

/* === DISCORD BUTTON === */
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.4);
}

.login-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.65);
}

.discord-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

/* === FOOTER === */
footer {
  font-size: 0.85rem;
  color: #aaa;
  text-align: center;
  opacity: 0.8;
}

/* === ANIMATION === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .login-card {
    padding: 36px 28px;
    width: 90%;
  }

  .logo {
    width: 85px;
    margin-bottom: 18px;
  }

  h1 {
    font-size: 1.55rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .login-btn {
    font-size: 0.95rem;
    padding: 12px;
  }
}
