/* Login page: light split card, animated hero on the left, form on the right. Fits the screen (no page scrollbar on desktop). */
*{box-sizing:border-box}
html,body{margin:0;height:100%;overflow-x:hidden}
body.loginpage{font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;font-size:14px;color:#111;min-height:100vh;display:grid;place-items:center;padding:16px;
  background:radial-gradient(circle at 10% 10%,#fde7f3 0,transparent 45%),radial-gradient(circle at 90% 90%,#e7defd 0,transparent 45%),#fafafc}
a{color:inherit;text-decoration:none}
.loginshell{width:100%;max-width:1020px;max-height:calc(100dvh - 32px);display:grid;grid-template-columns:1.05fr 1fr;border-radius:22px;overflow:hidden;background:#fff;border:1px solid #ececf2;box-shadow:0 20px 60px #6d4aa526}

/* hero */
.loginhero{position:relative;overflow:hidden;padding:clamp(20px,4vh,48px) clamp(22px,3vw,42px);color:#1f1b2e;background:linear-gradient(160deg,#fff5fa,#f3edff 70%,#eef6ff);display:flex;flex-direction:column;justify-content:center}
.loginhero>*{position:relative;z-index:1}
.blob{position:absolute!important;z-index:0!important;border-radius:50%;filter:blur(50px);opacity:.35;animation:drift 12s ease-in-out infinite alternate}
.b1{width:260px;height:260px;background:#f9a8d4;top:-70px;right:-60px}.b2{width:220px;height:220px;background:#c4b5fd;bottom:-60px;left:-50px;animation-duration:15s;animation-delay:-4s}
.float{position:absolute!important;z-index:0!important;font-size:30px;opacity:.5;animation:bob 6s ease-in-out infinite;user-select:none}
.f1{top:9%;right:12%}.f2{top:44%;right:5%;animation-delay:-2s;font-size:26px}.f3{bottom:12%;right:22%;animation-delay:-4s}.f4{top:24%;right:32%;animation-delay:-1s;font-size:24px}
.pill{align-self:flex-start;background:#fff;border:1px solid #e8dcf8;color:#6d28d9;border-radius:30px;padding:5px 14px;font-size:12px;letter-spacing:.5px;text-transform:uppercase}
.pill::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#4ade80;margin-right:8px;animation:blink 1.6s infinite}
.loginhero h1{font-size:clamp(26px,5vh,38px);line-height:1.1;font-weight:900;margin:clamp(8px,2vh,18px) 0 clamp(6px,1.4vh,12px)}
.loginhero h1 em{font-style:normal;background:linear-gradient(90deg,#db2777,#7c3aed);-webkit-background-clip:text;background-clip:text;color:transparent}
.loginhero p{color:#52506a;line-height:1.5;margin:0 0 clamp(10px,2.2vh,22px)}
.perks{list-style:none;margin:0 0 clamp(10px,2.4vh,26px);padding:0;display:grid;gap:clamp(6px,1.4vh,12px)}
.perks li{display:flex;gap:14px;align-items:center}
.perks b{width:clamp(34px,5.5vh,44px);height:clamp(34px,5.5vh,44px);border-radius:12px;background:#fff;box-shadow:0 4px 14px #7c3aed1f;display:grid;place-items:center;font-size:20px;flex:none;animation:pulse 3s ease-in-out infinite}
.perks span{font-weight:700}
.lstats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 clamp(8px,1.8vh,18px)}
.lstats div{background:#fff;border:1px solid #ece6f8;border-radius:14px;padding:clamp(8px,1.6vh,14px) 8px;text-align:center;box-shadow:0 4px 14px #7c3aed14}
.lstats b{display:block;font-size:clamp(20px,3.6vh,26px);font-weight:900;background:linear-gradient(90deg,#db2777,#7c3aed);-webkit-background-clip:text;background-clip:text;color:transparent}
.lstats span{font-size:12px;color:#6f6c85;text-transform:uppercase;letter-spacing:.5px}
.joinbtn{display:block;text-align:center;margin:0 0 clamp(8px,1.8vh,18px);padding:clamp(10px,1.8vh,14px) 16px;border-radius:12px;font-weight:800;color:#fff;background:linear-gradient(90deg,#ec4899,#8b5cf6);background-size:200% 100%;animation:shine 4s linear infinite;box-shadow:0 8px 24px #ec489955}
.joinbtn:hover{transform:translateY(-2px)}
.stores{display:flex;gap:14px;align-items:center}.stores img{height:44px;width:auto}
.pill,.loginhero h1,.loginhero p,.perks li,.lstats,.joinbtn,.stores{opacity:0;animation:rise .7s cubic-bezier(.2,.7,.2,1) forwards}
.pill{animation-delay:.05s}.loginhero h1{animation-delay:.15s}.loginhero p{animation-delay:.28s}
.perks li:nth-child(1){animation-delay:.42s}.perks li:nth-child(2){animation-delay:.56s}.perks li:nth-child(3){animation-delay:.7s}
.lstats{animation-delay:.78s}.joinbtn{animation:shine 4s linear infinite,rise .7s .8s both}.stores{animation-delay:.9s}

/* form */
.loginform{background:#fff;padding:clamp(20px,4vh,40px) clamp(22px,3vw,38px);display:flex;flex-direction:column;justify-content:center;animation:rise .8s .1s cubic-bezier(.2,.7,.2,1) both}
.authlogo{display:block;margin:0 auto;height:clamp(80px,15vh,130px);width:clamp(80px,15vh,130px);object-fit:contain;margin-top:calc(clamp(80px,15vh,130px)*-.1);margin-bottom:calc(clamp(80px,15vh,130px)*-.06)}
.authcard h3{margin:0 0 clamp(8px,1.6vh,16px);font-size:clamp(17px,2.8vh,20px)}
.fld{display:flex;align-items:center;border:1px solid #e4e4ea;border-radius:12px;margin-bottom:clamp(8px,1.4vh,12px);background:#f7f7f9;overflow:hidden}
.fld span{padding:0 12px;background:#efeff4;align-self:stretch;display:grid;place-items:center}
.fld input{flex:1;border:0;padding:clamp(9px,1.6vh,12px);outline:0;font:inherit;min-width:0;background:transparent}
.fld:focus-within{border-color:#a855f7;box-shadow:0 0 0 3px #a855f733;background:#fff}
.fld .eye{border:0;background:none;padding:0 12px;cursor:pointer;font-size:15px}
.btn{background:#111;color:#fff;border:0;border-radius:12px;padding:13px;font:inherit;font-weight:800;font-size:15px;display:inline-flex;gap:8px;align-items:center;justify-content:center;cursor:pointer}
.btn:hover{background:#333}.btn.w{width:100%}
.or{text-align:center;font-weight:700;margin:clamp(6px,1.2vh,16px) 0 clamp(4px,.8vh,8px);font-size:15px}
.links{margin-top:clamp(8px,1.6vh,16px);padding-top:clamp(8px,1.4vh,12px);border-top:1px solid #e5e5e7;text-align:center;font-size:13px}.red{color:#dc2626;text-decoration:underline}
.msg{padding:10px 12px;border-radius:8px;margin:8px 0;font-size:13px}.msg.err{background:#fee2e2;color:#b91c1c}.msg.ok{background:#dcfce7;color:#166534}
.contact{display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:center;margin-top:clamp(8px,1.6vh,16px);font-size:12px;color:#6f6c85}

@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-18px) rotate(6deg)}}
@keyframes drift{from{transform:translate(0,0) scale(1)}to{transform:translate(40px,30px) scale(1.15)}}
@keyframes pulse{0%,100%{box-shadow:0 4px 14px #7c3aed1f,0 0 0 0 #a855f755}50%{box-shadow:0 4px 14px #7c3aed1f,0 0 0 10px #a855f700}}
@keyframes blink{50%{opacity:.25}}
@keyframes shine{to{background-position:200% 0}}
@media(prefers-reduced-motion:reduce){.loginhero *,.loginform{animation:none!important;opacity:1!important}}
@media(max-width:860px){html,body{height:auto}body.loginpage{display:block}.loginshell{grid-template-columns:1fr;max-height:none}.loginhero{padding:30px 24px}.float{display:none}.loginform{padding:28px 22px}}
