
*{box-sizing:border-box}
body{margin:0;min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 75% 15%,#302052 0,transparent 42%),#070711;color:#f4f3ff;font-family:Inter,system-ui,sans-serif}
.snowfall{position:fixed;z-index:1;inset:0;overflow:hidden;pointer-events:none}
.login-card{position:relative;z-index:2;width:min(380px,calc(100% - 32px));padding:32px;border:1px solid #8b7bff45;border-radius:18px;background:#101020;box-shadow:0 20px 50px rgba(0,0,0,.48),0 0 30px #5b43ae1f}
.brand{color:#a78bfa;font-weight:800;letter-spacing:.02em}
h1{margin:20px 0 8px;font-size:28px}
p{margin:0 0 24px;color:#a5a8c4}
label{display:block;margin-bottom:8px;font-size:14px;font-weight:700}
input{width:100%;height:48px;border:1px solid #303044;border-radius:10px;padding:0 14px;background:#0b0b17;color:#fff;outline:none}
input:focus{border-color:#8b7bff;box-shadow:0 0 0 3px #8b5cf629}
button{width:100%;height:48px;margin-top:12px;border:1px solid #c4b5fd90;border-radius:10px;background:linear-gradient(115deg,#8b5cf6,#5965ed 55%,#2787e8);background-size:180% 180%;color:white;font-weight:800;cursor:pointer;box-shadow:0 8px 25px #754bff36;transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}
button:hover:not(:disabled){background:linear-gradient(115deg,#a078ff,#6879ff 55%,#43a3ff);background-size:180% 180%;box-shadow:0 12px 30px #754bff5c;filter:saturate(1.12);transform:translateY(-2px);animation:button-gradient-shift 1.3s ease-in-out infinite alternate}
button:active:not(:disabled){transform:translateY(0) scale(.98)}
button:disabled{opacity:.6;cursor:wait}
@keyframes button-gradient-shift{from{background-position:0 50%}to{background-position:100% 50%}}
#error{min-height:20px;margin-top:12px;color:#ff8790;font-size:14px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}button:hover:not(:disabled){animation:none;transform:none}}
