:root{--navy:#0b1b3a;--blue:#2563eb;--gold:#facc15}*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:16px;font:14px "Segoe UI",system-ui,sans-serif;overflow:hidden;position:relative;
 background:linear-gradient(125deg,#0b1b3a,#1e3a8a,#2563eb,#0b1b3a);background-size:300% 300%;animation:bg 14s ease infinite}
@keyframes bg{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
.bubbles{position:fixed;inset:0;pointer-events:none;overflow:hidden}
.bubbles i{position:absolute;bottom:-120px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#fff9,#facc1544);animation:up linear infinite}
.bubbles i:nth-child(1){left:6%;width:60px;height:60px;animation-duration:16s}.bubbles i:nth-child(2){left:20%;width:26px;height:26px;animation-duration:11s;animation-delay:2s}
.bubbles i:nth-child(3){left:38%;width:90px;height:90px;animation-duration:22s;animation-delay:4s}.bubbles i:nth-child(4){left:55%;width:34px;height:34px;animation-duration:13s;animation-delay:1s}
.bubbles i:nth-child(5){left:72%;width:70px;height:70px;animation-duration:19s;animation-delay:3s}.bubbles i:nth-child(6){left:88%;width:30px;height:30px;animation-duration:12s;animation-delay:5s}
.bubbles i:nth-child(7){left:47%;width:18px;height:18px;animation-duration:9s;animation-delay:6s}.bubbles i:nth-child(8){left:12%;width:44px;height:44px;animation-duration:17s;animation-delay:7s}
@keyframes up{0%{transform:translateY(0) scale(.8);opacity:0}10%{opacity:.7}100%{transform:translateY(-115vh) scale(1.2);opacity:0}}
.card{position:relative;background:#ffffffee;backdrop-filter:blur(10px);border-radius:22px;padding:28px 26px 24px;width:100%;max-width:400px;box-shadow:0 30px 70px -20px #000a;animation:enter .8s cubic-bezier(.2,.9,.3,1.2) both}
@keyframes enter{from{opacity:0;transform:translateY(40px) scale(.94)}to{opacity:1;transform:none}}
.logo{position:relative;width:118px;height:118px;margin:-70px auto 10px;display:block}
.logo img{width:100%;height:100%;border-radius:50%;background:#fff;padding:4px;box-shadow:0 0 0 4px var(--gold),0 14px 30px -10px #000a;animation:float 4s ease-in-out infinite,spin-in 1s ease both;position:relative;z-index:1}
.logo::before{content:"";position:absolute;inset:-10px;border-radius:50%;border:3px dashed #facc15;animation:rot 18s linear infinite}
.logo::after{content:"";position:absolute;inset:-4px;border-radius:50%;box-shadow:0 0 0 0 #facc1588;animation:pulse 2.4s ease-out infinite}
@keyframes rot{to{transform:rotate(360deg)}}@keyframes pulse{to{box-shadow:0 0 0 26px #facc1500}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes spin-in{from{transform:rotate(-200deg) scale(.3);opacity:0}to{transform:none;opacity:1}}
h1{margin:6px 0 0;color:var(--navy);text-align:center;font-size:26px;letter-spacing:2px;animation:fadeup .7s .35s ease both}
.school{margin:2px 0 0;text-align:center;font-weight:700;color:#1e3a8a;animation:fadeup .7s .45s ease both}
p.sub{color:#6b7280;margin:2px 0 18px;text-align:center;font-size:13px;animation:fadeup .7s .55s ease both}
@keyframes fadeup{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
form{animation:fadeup .7s .65s ease both}
label{display:block;font-weight:600;margin-bottom:12px;color:#1f2937}
input{width:100%;padding:11px 12px;border:1.5px solid #cbd5e1;border-radius:12px;font:inherit;margin-top:5px;background:#fff;transition:border-color .2s,box-shadow .2s}
input:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 4px #2563eb22}
button{width:100%;background:linear-gradient(180deg,#3b82f6,#1d4ed8);color:#fff;border:0;padding:12px;border-radius:12px;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 10px 20px -10px #1d4ed8;transition:transform .15s,filter .15s}
button:hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.07)}button:disabled{opacity:.6;cursor:default}
#err{display:none;background:#fee2e2;color:#991b1b;padding:10px;border-radius:10px;margin-bottom:10px;animation:shake .4s}
@keyframes shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.chk{font-weight:400;display:flex;align-items:center;gap:8px}.chk input{width:auto;margin:0}
.foot{margin:16px 0 0;text-align:center;font-size:12px;color:#94a3b8}
.ns{color:#fff;text-align:center}
/* Mode 'kurangi gerakan' (mis. Windows: Efek animasi dimatikan): hanya latar pelan & gelembung yang tetap jalan; gerakan logo, putaran, dan getar dimatikan. */
@media (prefers-reduced-motion:reduce){.logo img,.logo::before,.logo::after,.card,h1,.school,p.sub,form,#err{animation:none!important}.bubbles i{animation-duration:30s!important}}
