.login { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }

.brand-panel {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, #0f2a3d 0%, #0a1324 55%, #070c18 100%);
  display: flex; align-items: flex-end; padding: 56px;
}
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; mix-blend-mode: screen; }
.a1 { width: 460px; height: 460px; background: #14b8a6; top: -120px; left: -80px; animation: drift 16s ease-in-out infinite alternate; }
.a2 { width: 380px; height: 380px; background: #2563eb; top: 30%; right: -120px; animation: drift 20s ease-in-out infinite alternate-reverse; }
.a3 { width: 300px; height: 300px; background: #f5b84b; bottom: -140px; left: 30%; opacity: 0.25; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
.grid { position: absolute; inset: 0; width: 100%; height: 100%; }

.pins { position: absolute; inset: 0; }
.pin {
  position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; border-radius: 50%;
  background: #f5b84b; box-shadow: 0 0 0 4px rgba(245, 184, 75, 0.25);
  animation: pop 0.6s var(--ease) both; animation-delay: var(--d);
}
.pin::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #f5b84b;
  animation: ring 2.4s ease-out infinite; animation-delay: var(--d);
}
.pin:nth-child(1) { --x: 22%; --y: 30%; --d: 0s; }
.pin:nth-child(2) { --x: 64%; --y: 22%; --d: 0.6s; }
.pin:nth-child(3) { --x: 48%; --y: 52%; --d: 1.2s; }
.pin:nth-child(4) { --x: 76%; --y: 64%; --d: 1.8s; }
.pin:nth-child(5) { --x: 30%; --y: 72%; --d: 2.4s; }
@keyframes pop { from { transform: scale(0); opacity: 0; } }
@keyframes ring { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }

.brand-copy { position: relative; max-width: 460px; animation: rise 0.9s var(--ease) both 0.2s; }
.brand-copy h1 { font-size: 40px; line-height: 1.1; margin: 20px 0 12px; letter-spacing: -0.02em; }
.brand-copy p { color: #b9c6dc; font-size: 16px; margin: 0 0 20px; }
.brand-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #dbe4f3; }
.brand-copy li { padding-left: 28px; position: relative; }
.brand-copy li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #2563eb);
  -webkit-mask: radial-gradient(circle, transparent 3px, #000 3.5px); mask: radial-gradient(circle, transparent 3px, #000 3.5px);
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.form-panel { display: grid; place-items: center; padding: 32px 16px; background: var(--bg); }
.card {
  width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 32px; box-shadow: var(--shadow-lg);
  animation: rise 0.7s var(--ease) both;
}
.card h2 { margin: 0; font-size: 26px; letter-spacing: -0.01em; }
.sub { margin: 4px 0 24px; color: var(--text-3); }
.mobile-logo { display: none; margin-bottom: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; font-weight: 600; font-size: 13px; color: var(--text-2); }
.pw-wrap { position: relative; display: block; }
.pw-wrap .input { padding-right: 64px; }
.pw-toggle {
  position: absolute; right: 6px; top: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px;
  background: transparent; color: var(--text-3); font-size: 12px; font-weight: 600;
}
.pw-toggle:hover { background: var(--accent-soft); color: var(--accent); }
.error { min-height: 20px; margin: 0 0 8px; color: var(--danger); font-size: 13px; }
.submit { width: 100%; height: 46px; font-size: 15px; }
.foot { text-align: center; color: var(--text-3); font-size: 12px; margin: 18px 0 0; }
.shake { animation: shake 0.45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.success { animation: out 0.5s var(--ease) forwards; }
@keyframes out { to { opacity: 0; transform: translateY(-12px) scale(0.98); } }

@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .brand-panel { display: none; }
  .mobile-logo { display: block; }
  .card { padding: 28px 20px; }
}
