/* Paw Music Login — страница /login/ */
:root { --bg: #120b1c; --ink: #f5eefc; --ink2: #c4b6d8; --ink3: #9a8bb0; --line: rgba(255, 255, 255, .1); --pink: #ff5fa2; --pink2: #ff9cc6; --violet: #8b5cff; --mint: #7de3c3; --gold: #ffc46b; --display: "Unbounded", "Manrope", system-ui, sans-serif; --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.pml { min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--ink); font: 500 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.pml a { color: inherit; }
.pml :focus-visible { outline: 2px solid var(--pink2); outline-offset: 3px; }

/* небо и волны */
.pml-sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pml-sky i { position: absolute; border-radius: 50%; filter: blur(90px); animation: pmlDrift 20s ease-in-out infinite alternate; }
.pml-sky i:nth-child(1) { width: 55vw; height: 60vh; left: -12vw; top: -14vh; background: rgba(255, 95, 162, .42); }
.pml-sky i:nth-child(2) { width: 50vw; height: 60vh; right: -14vw; top: 18vh; background: rgba(139, 92, 255, .4); animation-duration: 26s; animation-delay: -8s; }
.pml-sky i:nth-child(3) { width: 36vw; height: 40vh; left: 30vw; bottom: -16vh; background: rgba(125, 227, 195, .22); animation-duration: 30s; animation-delay: -14s; }
@keyframes pmlDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(5%, 7%) scale(1.1); } 100% { transform: translate(-4%, -5%) scale(.95); } }
.pml-waves { position: fixed; left: 0; right: 0; bottom: 0; z-index: 0; width: 100%; height: 46vh; pointer-events: none; }
.pml-waves g { animation: pmlFlow 16s linear infinite; }
.pml-waves .w2 { animation-duration: 10s; }
.pml-waves .w3 { animation-duration: 7s; animation-direction: reverse; }
@keyframes pmlFlow { to { transform: translateX(-300px); } }

/* раскладка */
.pml-wrap { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 48px; max-width: 1120px; margin: 0 auto; padding: 40px 32px; }

/* лапа */
.pml-art { display: grid; justify-items: center; gap: 30px; }
.pml-paw { position: relative; width: 340px; height: 340px; display: grid; place-items: center; }
.pml-paw img { position: relative; width: 190px; height: auto; filter: drop-shadow(0 20px 44px rgba(139, 92, 255, .7)); animation: pmlBeat 2.4s ease-in-out infinite; }
@keyframes pmlBeat { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.06); } 20% { transform: scale(.99); } 30% { transform: scale(1.03); } 45% { transform: scale(1); } }
.pml-ring { position: absolute; inset: 20px; border-radius: 50%; background: conic-gradient(from 0deg, #ff5fa2, transparent 28%, #8b5cff 50%, transparent 78%, #ff5fa2); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); animation: pmlSpin 12s linear infinite; }
.pml-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 60%, transparent 70%); }
@keyframes pmlSpin { to { transform: rotate(1turn); } }
.pml-halo { position: absolute; inset: 60px; border-radius: 50%; border: 1.5px solid rgba(255, 156, 198, .6); opacity: 0; animation: pmlHalo 3.6s ease-out infinite; }
.pml-halo:nth-child(3) { animation-delay: 1.2s; border-color: rgba(180, 140, 255, .6); }
.pml-halo:nth-child(4) { animation-delay: 2.4s; border-color: rgba(125, 227, 195, .5); }
@keyframes pmlHalo { 0% { transform: scale(.75); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }
.pml-eq { display: flex; align-items: flex-end; gap: 5px; height: 36px; }
.pml-eq b { width: 6px; height: 30%; border-radius: 4px; background: linear-gradient(#ff9cc6, #8b5cff); animation: pmlEq 1s ease-in-out infinite alternate; }
.pml-eq b:nth-child(2) { animation-duration: .7s; animation-delay: -.2s; }
.pml-eq b:nth-child(3) { animation-duration: 1.2s; animation-delay: -.5s; }
.pml-eq b:nth-child(4) { animation-duration: .8s; animation-delay: -.1s; }
.pml-eq b:nth-child(5) { animation-duration: 1.1s; animation-delay: -.7s; }
.pml-eq b:nth-child(6) { animation-duration: .9s; animation-delay: -.4s; }
.pml-eq b:nth-child(7) { animation-duration: .75s; animation-delay: -.25s; }
@keyframes pmlEq { from { height: 18%; } to { height: 100%; } }

/* карточка */
.pml-card { position: relative; padding: 34px 32px 26px; border-radius: 32px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.pml-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; background: linear-gradient(130deg, #ff5fa2, transparent 32%, transparent 64%, #8b5cff); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .8; }
.pml-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.pml-brand img { filter: drop-shadow(0 4px 12px rgba(139, 92, 255, .55)); }
.pml-brand span { display: flex; flex-direction: column; line-height: 1; }
.pml-brand small { font: 700 9.5px var(--text); letter-spacing: .32em; text-transform: uppercase; color: var(--ink3); margin: 0 0 4px 1px; }
.pml-brand b { font: 700 21px/1 var(--display); background: linear-gradient(100deg, #ff9cc6, #ff5fa2 30%, #b48cff 60%, #7de3c3 90%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pmlHolo 10s linear infinite; padding-right: .05em; }
.pml-h { margin: 26px 0 0; font: 700 clamp(34px, 4.6vw, 46px)/1.04 var(--display); letter-spacing: -.02em; }
.pml-h em { font-style: normal; background: linear-gradient(100deg, #ff5fa2, #ffc46b, #8b5cff, #7de3c3, #ff5fa2); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pmlHolo 8s linear infinite; padding-right: .06em; }
@keyframes pmlHolo { to { background-position: 300% 0; } }
.pml-s { margin: 12px 0 24px; color: var(--ink2); }
.pml-err { margin: -8px 0 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 95, 120, .14); border: 1px solid rgba(255, 95, 120, .4); color: #ffd0da; font-weight: 600; font-size: 14px; }
.pml-note { margin: 12px 0 0; color: var(--ink3); font-size: 13px; text-align: center; }

/* кнопки Paw ID в цветах музыки */
.pml .pawid-box { gap: 10px; }
.pml .pawid-btn, .pml-main { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 18px; border: 0; border-radius: 18px; text-decoration: none; font: 800 16px var(--text); color: #fff; background: linear-gradient(120deg, #ff5fa2, #b04cff 55%, #8b5cff); background-size: 160% 100%; box-shadow: 0 16px 30px -14px rgba(255, 95, 162, .8), inset 0 1px 0 rgba(255, 255, 255, .3); cursor: pointer; transition: transform .2s, background-position .5s, box-shadow .2s; }
.pml .pawid-btn:hover, .pml .pawid-btn:focus, .pml-main:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 20px 36px -14px rgba(139, 92, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.pml .pawid-btn-ico, .pml-main svg { width: 24px; height: 24px; fill: currentColor; }
.pml .pawid-btn.is-alt { min-height: 50px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: var(--ink); box-shadow: none; font-weight: 700; font-size: 15px; }
.pml .pawid-btn.is-alt:hover, .pml .pawid-btn.is-alt:focus { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 156, 198, .5); }
.pml .pawid-box.is-qr [data-pawid-qr] { background: rgba(255, 95, 162, .14); border-color: rgba(255, 156, 198, .55); }
.pml .pawid-qr { background: rgba(20, 12, 32, .7); border: 1px solid rgba(255, 255, 255, .12); color: var(--ink); box-shadow: none; }
.pml .pawid-qr-s, .pml .pawid-qr-k, .pml .pawid-qr-time small { color: var(--ink3); }
.pml .pawid-qr-k b { background: rgba(255, 255, 255, .1); color: var(--ink); }
.pml .pawid-qr-sk { background: rgba(255, 255, 255, .06); }
.pml .pawid-qr-sk i { border-color: rgba(255, 255, 255, .12); }
.pml .pawid-qr-sk::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%); }
.pml .pawid-qr-time span { background: rgba(255, 255, 255, .1); }
.pml .pawid-qr-time i, .pml .pawid-qr-logo, .pml .pawid-qr-who { background: linear-gradient(135deg, #ff5fa2, #8b5cff); }

/* плюсы */
.pml-perks { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.pml-perks li { display: flex; align-items: center; gap: 12px; }
.pml-perks i { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--pink2); }
.pml-perks li:nth-child(2) i { color: #b48cff; }
.pml-perks li:nth-child(3) i { color: var(--gold); }
.pml-perks svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pml-perks span { display: flex; flex-direction: column; font-size: 13px; color: var(--ink3); line-height: 1.35; }
.pml-perks b { color: var(--ink); font-size: 14.5px; }
.pml-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; font-weight: 700; }
.pml-foot a { text-decoration: none; color: var(--pink2); }
.pml-foot a.pml-dim { color: var(--ink3); font-weight: 600; }
.pml-foot a:hover { text-decoration: underline; }

/* телефон */
@media (max-width: 860px) {
	.pml-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px)); align-content: start; }
	.pml-art { gap: 8px; }
	.pml-paw { width: 220px; height: 220px; margin-top: 8px; }
	.pml-paw img { width: 120px; }
	.pml-ring { inset: 14px; }
	.pml-halo { inset: 40px; }
	.pml-eq { display: none; }
	.pml-card { margin-top: -6px; padding: 26px 20px 20px; border-radius: 28px; }
	.pml-brand { display: none; }
	.pml-h { margin-top: 0; text-align: center; font-size: clamp(30px, 9vw, 40px); }
	.pml-s { text-align: center; font-size: 15px; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.pml *, .pml *::before, .pml *::after { animation: none !important; transition: none !important; }
}
