:root{
  --bg:#0b0f19;
  --panel:#121a2b;
  --panel2:#0b1222;
  --text:#ffffff;
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.55);
  --border:rgba(255,255,255,.09);
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:18px;
  --radius2:14px;
  --accent:#4f7cff;
  --accent2:rgba(79,124,255,.18);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  background:var(--bg);
  color:var(--text);
}

a{color:#9bb6ff;text-decoration:none}
a:hover{opacity:.9}

.container{max-width:980px;margin:0 auto;padding:18px}
.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card-pad{padding:18px}

.topbar{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background:rgba(11,15,25,.6);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:14px 18px; max-width:980px; margin:0 auto;
}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.2px}
.dot{width:10px;height:10px;border-radius:99px;background:var(--accent);box-shadow:0 0 0 6px var(--accent2)}
.navlinks{display:flex;gap:10px;flex-wrap:wrap}
.navlinks a{
  padding:8px 10px;border-radius:12px;
  border:1px solid transparent;
}
.navlinks a:hover{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.06)}

.footer{
  max-width:980px;margin:20px auto 0; padding:18px;
  color:var(--muted2); font-size:13px;
}
hr.soft{border:0;border-top:1px solid rgba(255,255,255,.08);margin:16px 0}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 14px;border-radius:14px;border:0;
  background:var(--accent); color:#fff;font-weight:800;
  cursor:pointer; user-select:none;
  transition:transform .12s ease, opacity .12s ease;
}
.btn:active{transform:translateY(1px)}
.btn.secondary{background:rgba(255,255,255,.10);font-weight:700}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.14)}

.input, .textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:var(--panel2);
  color:var(--text);
  outline:none;
}
.textarea{min-height:90px;resize:vertical}

.grid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:860px){ .grid{grid-template-columns:1fr 1fr} }

.row{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:12px;border-radius:16px;
  transition:transform .12s ease, background .12s ease;
}
.row:hover{transform:translateY(-1px);background:rgba(255,255,255,.03)}
.muted{color:var(--muted)}
.pill{font-size:12px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.08)}
																	  
																	  function launchConfetti(){
  for(let i=0;i<40;i++){
    const c = document.createElement("div");
    c.className = "confetti-piece";
    c.style.left = Math.random()*100+"vw";
    c.style.background = `hsl(${Math.random()*360},80%,60%)`;
    document.body.appendChild(c);
    setTimeout(()=>c.remove(), 3000);
  }
}

