:root {
  --bg: #0a0e1a;
  --bg-card: #131a2b;
  --bg-elev: #1a2238;
  --border: #2a3450;
  --text: #e8ecf4;
  --text-dim: #8b95b0;
  --accent: #6366f1;
  --accent-2: #ec4899;
  --success: #22c55e;
  --danger: #ef4444;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
.login-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}
.login-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 12s infinite ease-in-out;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  left: -100px;
}
.orb-2 {
  width: 350px;
  height: 350px;
  background: var(--accent-2);
  bottom: -100px;
  right: -50px;
  animation-delay: -4s;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: #10b981;
  top: 50%;
  left: 50%;
  animation-delay: -8s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}
.login-card {
  background: rgba(19, 26, 43, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.brand {
  text-align: center;
  margin-bottom: 32px;
}
.brand-logo {
  font-size: 56px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}
.brand h1 {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(90deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.brand p {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 4px;
  letter-spacing: 2px;
}
.form { display: flex; flex-direction: column; gap: 16px; }
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form label span {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.form input {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s;
  outline: none;
  font-family: inherit;
}
.form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.form-error {
  min-height: 20px;
  font-size: 13px;
  color: var(--danger);
}
.btn {
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}
.quick-login {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.quick-login p {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.quick-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.quick-buttons button {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.quick-buttons button:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.footer {
  margin-top: 32px;
  color: var(--text-dim);
  font-size: 12px;
  text-align: center;
}
@media (max-width: 480px) {
  .login-card { padding: 28px 20px; }
  .brand-logo { font-size: 44px; }
  .brand h1 { font-size: 22px; }
}
