.auth-wrap.auth-premium {
  --auth-ink: #102554;
  --auth-blue: #1b4aa8;
  --auth-cyan: #27c7d8;
  --auth-orange: #ffa800;
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(420px, 520px);
  gap: clamp(28px, 5vw, 72px);
  min-height: 100dvh;
  padding: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(circle at 12% 18%, rgba(39,199,216,.18), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(255,168,0,.16), transparent 29%),
    linear-gradient(135deg, #f7fbff 0%, #eef5ff 52%, #fffaf0 100%);
}

.auth-premium::before {
  background: linear-gradient(135deg, rgba(39,199,216,.26), rgba(27,74,168,.08)) !important;
}

.auth-showcase {
  position: relative;
  align-self: center;
  color: #fff;
  padding: clamp(30px, 4vw, 54px);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(145deg, #102554 0%, #1b4aa8 60%, #137f9b 120%);
  box-shadow: 0 32px 80px rgba(16,37,84,.25);
  animation: authShowcaseIn .8s cubic-bezier(.2,.8,.2,1) both;
}

.auth-showcase::before,
.auth-showcase::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.auth-showcase::before {
  width: 260px;
  height: 260px;
  right: -105px;
  top: -105px;
  border: 42px solid rgba(255,255,255,.07);
  animation: authFloat 9s ease-in-out infinite;
}

.auth-showcase::after {
  width: 150px;
  height: 150px;
  left: -65px;
  bottom: -70px;
  background: rgba(255,168,0,.18);
  filter: blur(2px);
  animation: authFloat 7s ease-in-out infinite reverse;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.auth-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57e4c3;
  box-shadow: 0 0 0 6px rgba(87,228,195,.13);
  animation: authPulse 2s ease-in-out infinite;
}

.auth-showcase h1 {
  max-width: 390px;
  margin: 28px 0 14px;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 900;
}

.auth-showcase > p {
  max-width: 390px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 15px;
  line-height: 1.75;
}

.auth-benefits {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.auth-benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.075);
  transition: transform .25s ease, background .25s ease;
}

.auth-benefit:hover { transform: translateX(6px); background: rgba(255,255,255,.12); }
.auth-benefit i { display:grid; place-items:center; width:42px; height:42px; border-radius:13px; background:rgba(255,168,0,.18); color:#ffd36d; }
.auth-benefit strong { display:block; color:#fff; font-size:14px; }
.auth-benefit span { color:rgba(255,255,255,.65); font-size:12px; }

.auth-premium .auth-card {
  position: relative;
  align-self: center;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
  scrollbar-width: thin;
}

.auth-premium .auth-card::-webkit-scrollbar { width: 5px; }
.auth-premium .auth-card::-webkit-scrollbar-thumb { background: rgba(27,74,168,.22); border-radius: 9px; }
.auth-premium .auth-logo { margin-bottom: 22px; }
.auth-premium .auth-logo-icon { box-shadow: 0 14px 32px rgba(27,74,168,.18); }
.auth-premium .form-input { min-height: 50px; background: rgba(255,255,255,.82); }
.auth-premium .form-input:hover { border-color: rgba(27,74,168,.38); }
.auth-premium .btn-auth { min-height: 50px; box-shadow: 0 12px 25px rgba(27,74,168,.2); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.auth-premium .btn-auth:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(27,74,168,.27); filter: saturate(1.08); }
.auth-premium .btn-auth:active { transform: translateY(0) scale(.99); }
.auth-premium .social-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16,37,84,.09); }
.auth-premium .nav-lang { position: sticky; top: 0; z-index: 3; }

body.dark-theme .auth-wrap.auth-premium,
html.dark .auth-wrap.auth-premium {
  background: radial-gradient(circle at 12% 18%, rgba(39,199,216,.13), transparent 31%), linear-gradient(140deg, #081226, #101b32 58%, #1b1720);
}

@keyframes authShowcaseIn { from { opacity:0; transform:translateX(-24px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes authFloat { 0%,100% { transform:translate3d(0,0,0); } 50% { transform:translate3d(12px,18px,0); } }
@keyframes authPulse { 50% { box-shadow:0 0 0 10px rgba(87,228,195,0); } }

@media (max-width: 900px) {
  .auth-wrap.auth-premium { grid-template-columns: 1fr; padding: 72px 22px 28px; }
  .auth-showcase { max-width: 620px; width:100%; margin:0 auto; padding:24px 28px; }
  .auth-showcase h1 { margin:18px 0 8px; font-size:30px; }
  .auth-showcase > p { line-height:1.55; }
  .auth-benefits { grid-template-columns:repeat(3,1fr); margin-top:20px; }
  .auth-benefit { grid-template-columns:36px 1fr; padding:10px; }
  .auth-benefit i { width:36px; height:36px; }
  .auth-benefit span { display:none; }
  .auth-premium .auth-card { max-width:620px; max-height:none; margin:0 auto; }
}

@media (max-width: 600px) {
  .auth-wrap.auth-premium { display:block; padding:68px 12px 16px; }
  .auth-showcase { padding:22px; border-radius:24px; margin-bottom:14px; }
  .auth-showcase h1 { font-size:27px; }
  .auth-showcase > p { font-size:13px; }
  .auth-benefits { display:none; }
  .auth-premium .auth-card { padding:22px 18px; border-radius:24px; }
  .auth-premium .auth-logo-icon { width:56px; height:56px; }
  .auth-premium .auth-title { font-size:22px; }
  .auth-premium .auth-sub { margin-bottom:20px; }
  .auth-premium .otp-wrap { gap:6px; }
  .auth-premium :is(.otp-inp,.otp-digit) { width:clamp(38px, 11vw, 46px); height:54px; font-size:20px; }
  #theme-toggle-btn { top:12px !important; right:12px !important; }
}

@media (max-width: 370px) {
  .auth-showcase { display:none; }
  .auth-wrap.auth-premium { padding-top:62px; }
  .auth-premium .auth-card { padding:20px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-showcase, .auth-showcase::before, .auth-showcase::after, .auth-kicker-dot { animation:none !important; }
  .auth-premium * { scroll-behavior:auto !important; transition-duration:.01ms !important; }
}
