/* Вход, регистрация и остальные страницы auth — макет funpayvision-login. Классы a-*. */
body:has(.a-page) { background: #05070d; }
.a-page { --line: rgba(255,255,255,.09); --muted: #a3abbd; --dim: #6d7588; --green: #34d399; min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; color: #f3f6fb; font-family: 'Manrope', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.a-page a { color: #93c5fd; text-decoration: none; }
.a-page a:hover { color: #bfdbfe; }
.a-l { position: relative; overflow: hidden; padding: 44px 56px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: radial-gradient(60% 50% at 30% 20%, rgba(37,99,235,.28), transparent 70%), radial-gradient(50% 50% at 80% 90%, rgba(8,145,178,.2), transparent 70%), #070a14; }
.a-l::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 40% 40%, #000, transparent 80%); mask-image: radial-gradient(70% 60% at 40% 40%, #000, transparent 80%); }
.a-page .a-logo { position: relative; display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; color: #f3f6fb; }
.a-logo i img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.a-logo i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; box-shadow: 0 6px 22px -6px rgba(34,184,240,.55); color: #60a5fa; }
.a-logo b { background: linear-gradient(90deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-pitch { position: relative; margin-top: auto; }
.a-pitch h2 { font-family: 'Unbounded', sans-serif; font-size: clamp(28px, 3vw, 42px); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
.a-pitch h2 span { background: linear-gradient(90deg, #60a5fa, #22d3ee, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-pitch p { color: var(--muted); margin: 14px 0 0; font-size: 16px; max-width: 440px; line-height: 1.6; }
.a-live { position: relative; margin-top: 30px; max-width: 440px; display: flex; flex-direction: column; gap: 8px; min-height: 196px; }
.a-ev { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(14,18,30,.75); border: 1px solid var(--line); backdrop-filter: blur(8px); animation: aIn .5s cubic-bezier(.2,.8,.2,1); }
.a-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 15px; }
.a-ev b { font-size: 13.5px; display: block; }
.a-ev small { font-size: 12px; color: var(--muted); }
.a-ev em { margin-left: auto; font-style: normal; font-weight: 800; font-size: 13px; color: var(--green); }
@keyframes aIn { from { opacity: 0; transform: translateY(-10px); } }
.a-pitch .a-note { font-size: 12px; color: var(--dim); margin-top: 10px; }
.a-trust { position: relative; display: flex; gap: 22px; margin-top: 22px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.a-trust span::before { content: "✓ "; color: var(--green); font-weight: 800; }

.a-r { display: grid; place-items: center; padding: 40px 24px; position: relative; }
.a-box { width: 100%; max-width: 400px; }
.a-back { position: absolute; top: 28px; right: 28px; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.a-page .a-back { color: var(--muted); }
.a-page .a-back:hover { color: #f3f6fb; }
.a-mlogo { display: none !important; margin-bottom: 28px; }
.a-flash { margin-bottom: 16px; }
.a-box h1, .a-box .auth-heading { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 0; text-align: left; color: #f3f6fb; }
.a-box .sub, .a-box .auth-sub { color: var(--muted); margin: 6px 0 0; font-size: 15px; text-align: left; }
.a-gbtn { margin-top: 28px; width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font: inherit; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; transition: .2s; }
.a-page a.a-gbtn { color: #f3f6fb; }
.a-gbtn:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.a-or { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--dim); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; }
.a-or::before, .a-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.a-f { margin-bottom: 14px; }
.a-f label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.a-inp { position: relative; }
.a-inp input { width: 100%; height: 50px; padding: 0 46px 0 44px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #f3f6fb; font: inherit; font-size: 15px; outline: none; transition: .15s; }
.a-inp input:focus { border-color: rgba(59,130,246,.65); box-shadow: 0 0 0 4px rgba(59,130,246,.15); background: rgba(59,130,246,.04); }
.a-inp input.bad { border-color: rgba(248,113,113,.6); box-shadow: 0 0 0 4px rgba(248,113,113,.12); }
.a-inp > svg { position: absolute; left: 15px; top: 16px; color: var(--dim); pointer-events: none; }
.a-eye { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border-radius: 9px; border: 0; background: none; color: var(--dim); cursor: pointer; display: grid; place-items: center; }
.a-eye:hover { color: #f3f6fb; background: rgba(255,255,255,.05); }
.a-err { display: none; font-size: 12.5px; color: #fca5a5; margin-top: 6px; }
.a-err.on { display: block; }
.a-go { position: relative; overflow: hidden; width: 100%; height: 52px; border: 0; border-radius: 14px; color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; background: linear-gradient(135deg, #2563eb, #3b82f6 45%, #06b6d4); box-shadow: 0 12px 34px -10px rgba(37,99,235,.85), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .15s; margin-top: 6px; }
.a-go:hover { transform: translateY(-1px); }
.a-go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%); transform: translateX(-100%); animation: aSh 3.5s infinite; }
@keyframes aSh { 60%, 100% { transform: translateX(100%); } }
.a-go.load { pointer-events: none; opacity: .85; }
.a-go.load span { opacity: 0; }
.a-go.load::before { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: aRot .7s linear infinite; }
@keyframes aRot { to { transform: rotate(360deg); } }
.a-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 10px; cursor: pointer; }
.a-check input { accent-color: #3b82f6; width: 16px; height: 16px; margin-top: 2px; flex: none; }
.a-reg { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.a-reg a { font-weight: 800; }
.a-legal { text-align: center; margin-top: 22px; font-size: 12px; color: var(--dim); line-height: 1.6; }

/* остальные страницы auth (код 2FA/Telegram, подтверждение почты, восстановление) — в тех же цветах */
.a-box .auth-form { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.a-box .auth-form input[type=text], .a-box .auth-form input[type=email], .a-box .auth-form input[type=password] { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #f3f6fb; font: inherit; font-size: 15px; outline: none; }
.a-box .auth-form input:focus { border-color: rgba(59,130,246,.65); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.a-box .btn-fill, .a-box .btn.btn-fill { height: 52px; border: 0; border-radius: 14px; color: #fff; font-weight: 800; font-size: 16px; background: linear-gradient(135deg, #2563eb, #3b82f6 45%, #06b6d4); box-shadow: 0 12px 34px -10px rgba(37,99,235,.85); }
.a-box .auth-links { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.a-box .otp-card { background: transparent; border: 0; box-shadow: none; padding: 0; max-width: none; }
.a-box .auth-field-eye { position: relative; }

@media (max-width: 960px) {
  .a-page { grid-template-columns: 1fr; }
  .a-l { display: none; }
  .a-mlogo { display: flex !important; }
  .a-back { top: 20px; right: 20px; }
  .a-r { align-items: start; padding-top: 72px; }
}
@media (prefers-reduced-motion: reduce) { .a-page *, .a-page *::before, .a-page *::after { animation: none !important; } }

