* {
  box-sizing: border-box;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Background glow */
.bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(181,109,255,.25), transparent 60%),
    radial-gradient(600px 400px at 80% 20%, rgba(255,61,129,.25), transparent 60%);
  z-index: 0;
}

.login-container {
  position: relative;
  z-index: 1;
}

.login-card {
  width: 360px;
  padding: 36px 32px;
  border-radius: 24px;
  background: rgba(12,12,14,.85);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px rgba(0,0,0,.7);
  text-align: center;
  backdrop-filter: blur(12px);
}

/* Logo */
.logo-wrapper {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at top,
    rgba(214,181,107,.35),
    rgba(0,0,0,.9)
  );
  box-shadow:
    0 0 30px rgba(214,181,107,.35),
    inset 0 0 20px rgba(255,255,255,.05);
}

.logo-wrapper img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  border-radius: 50%;
}


.badge {
  font-size: 12px;
  letter-spacing: 2px;
  color: #d6b56b;
}

h1 {
  margin: 10px 0 6px;
  font-size: 26px;
}

.muted {
  color: #9aa0a6;
  font-size: 14px;
  margin-bottom: 26px;
}

/* Form */
.field {
  text-align: left;
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #ccc;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  outline: none;
}

.field input:focus {
  border-color: #ff3d81;
  box-shadow: 0 0 0 2px rgba(255,61,129,.25);
}

/* Row */
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 22px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aaa;
}
.logo-wrapper {
  animation: floatIn 1s ease forwards;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.link {
  color: #ff8bb2;
  text-decoration: none;
}

.link.gold {
  color: #d6b56b;
}

.link:hover {
  text-decoration: underline;
}

/* Button */
.btn-login {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #ff3d81, #b56dff);
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(255,61,129,.35);
}

.btn-login:hover {
  filter: brightness(1.05);
}

/* Footer */
.divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 26px 0 18px;
}

.footer-text {
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 420px) {
  .login-card {
    width: 92vw;
    padding: 30px 24px;
  }
}
.error-message {
  display: none;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 61, 129, 0.12);
  border: 1px solid rgba(255, 61, 129, 0.45);
  color: #ff3d81;
  font-size: 13px;
  text-align: center;
}
