/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #673de6, #a18cd1);
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Box */
.login-box {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 420px;
  text-align: center;
  transform: translateY(50px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.login-box h1 {
  color: #673de6;
  font-size: 28px;
  margin-bottom: 10px;
  animation: slideIn 1s ease forwards;
}

.login-box p {
  color: #555;
  margin-bottom: 30px;
  font-size: 15px;
  animation: slideIn 1.2s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Buttons */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-btn {
  background-color: #673de6;
  color: white;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  animation: fadeIn 1.5s ease forwards;
}

.login-btn:hover {
  background-color: #5432bd;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(103, 61, 230, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .login-box {
    padding: 25px;
  }

  .login-btn {
    font-size: 14px;
    padding: 12px;
  }
}
