/* ═══════════════════════════════════════════════════════
   AI Router — Login Page
   ═══════════════════════════════════════════════════════ */

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── Ambient glow ── */
.login-glow {
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Card ── */
.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 52px 40px;
  margin: 0 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: cardIn 0.5s var(--ease-out) both;
}

/* ── Icon badge ── */
.login-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(129,140,248,0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

/* ── Text ── */
.login-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-2);
  margin: 0 0 36px;
  line-height: 1.5;
}

/* ── Linux.do button ── */
.btn-linuxdo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, #e2782d 0%, #d06a24 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-mid) ease;
  box-shadow: 0 2px 12px rgba(226,120,45,0.25);
}
.btn-linuxdo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(226,120,45,0.35);
}
.btn-linuxdo:active {
  transform: scale(.98);
}

/* ── Footer ── */
.login-footer {
  margin-top: 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.login-footer a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
.login-footer a:hover {
  color: var(--text-2);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .login-card {
    padding: 40px 24px;
  }
}
