@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
:root{
  --bg1:#06080a;
  --bg2:#071827;
  --accent:#d4a017;
  --danger:#c94a3a;
  --glass: rgba(255,255,255,0.04);
  --text:#eaf2f6;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:'Poppins',system-ui,Segoe UI,Roboto,Helvetica,Arial;color:var(--text);overflow:hidden}
.bg-video{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;filter:brightness(0.45) saturate(0.9)}
.overlay{position:fixed;inset:0;z-index:1;background:linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55))}
.header{position:relative;z-index:3;display:flex;gap:12px;align-items:center;padding:18px 28px;}
.header.small{padding:12px 20px;}
.logo{width:56px;height:56px;filter:drop-shadow(0 8px 30px rgba(0,0,0,0.7))}
.hdr-text h1{margin:0;font-size:18px;letter-spacing:1px;font-weight:700}
.center{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 160px);padding:20px;text-align:center;}
.lottie-hero{width:760px;max-width:92%;height:220px;margin-bottom:18px;border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.card{width:380px;padding:22px;border-radius:14px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));backdrop-filter:blur(6px);box-shadow:0 12px 60px rgba(0,0,0,0.7);}
.card h2{margin:0 0 10px 0}
.card input{width:100%;padding:12px;margin:8px 0;border-radius:10px;border:0;background:rgba(255,255,255,0.02);color:var(--text);outline:none;font-size:15px;padding-left:14px}
.controls{display:flex;gap:10px;justify-content:center;margin-top:8px}
.btn-major{padding:12px 18px;border-radius:10px;border:0;background:linear-gradient(90deg,var(--accent), #ffb84d);color:#081018;font-weight:800;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,0.6)}
.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--text);padding:8px 12px;border-radius:8px;cursor:pointer}
.rankBadge{margin:12px auto 6px auto;background:linear-gradient(90deg,#111 30%, rgba(255,255,255,0.02));padding:8px 12px;border-radius:999px;font-weight:700;display:inline-block}

/* Dashboard */
.dashboard-grid{display:grid;grid-template-columns:320px 1fr 420px;gap:24px;padding:20px;width:100%;max-width:1280px;margin:0 auto;align-items:start;z-index:3;position:relative}
.panel{background:var(--glass);padding:18px;border-radius:12px;min-height:320px;box-shadow:0 12px 60px rgba(0,0,0,0.6);text-align:left}
.hudLottie{height:160px;margin:8px 0;border-radius:10px;overflow:hidden}
.updatesBox{max-height:420px;overflow:auto;padding-right:6px}
.updateItem{padding:12px;border-radius:8px;margin-bottom:12px;background:linear-gradient(180deg, rgba(0,0,0,0.12), rgba(255,255,255,0.02));box-shadow:inset 0 1px 0 rgba(255,255,255,0.02)}
.updateItem time{display:block;font-size:12px;color:rgba(255,255,255,0.6);margin-bottom:6px}

/* Progress */
.progressTrack{display:flex;flex-direction:column;gap:14px;margin-top:8px}
.step{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;background:linear-gradient(90deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));}
.step .dot{width:48px;height:48px;border-radius:999px;background:linear-gradient(180deg,var(--accent), #ffb84d);display:flex;align-items:center;justify-content:center;color:#081018;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,0.55)}
.step .meta{flex:1}
.step.completed{opacity:1}
.step.pending{opacity:0.45;filter:grayscale(0.2)}

/* classes grid */
.classesGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.classCard{padding:10px;border-radius:8px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));}

/* small utils */
.syncStatus{background:linear-gradient(90deg,#163a2b,#0b5a4a);padding:6px 10px;border-radius:8px;font-weight:700;margin-right:8px}
.footer{position:fixed;left:0;right:0;bottom:8px;z-index:4;text-align:center;color:rgba(255,255,255,0.6);font-size:13px}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr;}.card{width:92vw}}
