/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* ===== BACKGROUND ===== */
body {
  height: 100vh;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== CONTAINER ===== */
.auth-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== CARD ===== */
.auth-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  padding: 40px 30px;
  border-radius: 20px;
  width: 350px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.8s ease;
}

/* ===== LOGO ===== */
.logo-top {
  width: 80px;
  margin-bottom: 15px;
}

h1 {
  color: white;
  margin-bottom: 20px;
}

/* ===== INPUTS ===== */
.auth-card input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
}

.auth-card input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== BUTTON ===== */
.auth-card button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.auth-card button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 75, 43, 0.6);
}

/* ===== LINKS ===== */
.register-link {
  margin-top: 15px;
  font-size: 13px;
  color: white;
}

.register-link a {
  color: #ff4b2b;
  text-decoration: none;
}

/* ===== ERROR ===== */
.error-msg {
  margin-top: 10px;
  color: #ff4b2b;
  font-size: 13px;
}

/* ===== SPLASH SCREEN ===== */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.splash-logo {
  width: 160px;
  animation: zoomIn 1.2s ease-in-out infinite alternate;
}

/* ===== ANIMATIONS ===== */
@keyframes zoomIn {
  from { transform: scale(0.9); }
  to { transform: scale(1.1); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}