.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 19px var(--font-head); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand b { margin-left: 4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 56px; background: radial-gradient(800px 500px at 20% 10%, rgba(79, 124, 255, .25), transparent), radial-gradient(600px 500px at 90% 90%, rgba(155, 107, 255, .2), transparent), var(--bg-2); border-right: 1px solid var(--line); }
.side-copy { position: relative; z-index: 1; }
.side-copy h1 { font-size: clamp(34px, 3.6vw, 50px); margin-bottom: 30px; }
.side-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.side-copy li { display: flex; gap: 12px; align-items: center; color: #c6d3ee; font-size: 16px; }
.side-copy li span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--ice); }
.side-copy li svg { width: 18px; height: 18px; }
.side-quote { position: relative; z-index: 1; max-width: 420px; padding: 18px 20px; border-radius: 16px; background: rgba(5, 8, 16, .5); border: 1px solid var(--line); color: #c6d3ee; }
.side-quote span { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--muted); }
.orb { position: absolute; width: 520px; height: 520px; right: -180px; top: 30%; border-radius: 50%; background: conic-gradient(from 180deg, #7df9ff, #4f7cff, #9b6bff, #7df9ff); filter: blur(80px); opacity: .25; animation: spin 30s linear infinite; }

.auth-main { display: grid; place-items: center; padding: 32px 20px; }
.auth-card { width: 100%; max-width: 420px; }
.mobile-brand { display: none; margin-bottom: 28px; }
.auth-form { margin-top: 28px; animation: fade .3s; }
.auth-form h2 { font-size: 28px; margin-bottom: 6px; }
.auth-form > p { margin-bottom: 24px; }
.auth-form .btn-lg { margin-top: 8px; }
.terms { margin: 4px 0 14px; font-size: 13.5px; color: var(--muted); align-items: flex-start; }
.terms input { margin-top: 3px; accent-color: var(--blue); }
.strength { height: 4px; border-radius: 4px; background: var(--panel-2); overflow: hidden; margin-top: 4px; }
.strength i { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s, background .3s; }
.auth-err { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 92, 122, .1); border: 1px solid rgba(255, 92, 122, .35); color: #ffc2cd; font-size: 14px; }

.oauth { margin-top: 24px; display: grid; gap: 10px; }
.oauth-btn { justify-content: center; gap: 12px; background: #fff; color: #1f1f1f; border-color: #fff; }
.oauth-btn:hover { border-color: var(--ice); background: #f2f6ff; }
.oauth-btn svg { width: 20px; height: 20px; }
.oauth-btn.discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.oauth-btn.discord:hover { background: #4752c4; border-color: #7983f5; }
.divider { display: flex; align-items: center; gap: 12px; margin: 10px 0 -6px; color: var(--dim); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.auth-form.after-oauth { margin-top: 18px; }

@media (max-width: 880px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .mobile-brand { display: flex; }
}
