
:root{
  --bg0:#0b0f14;
  --bg1:#0f1620;
  --panel:#151a22cc;
  --panel2:#10141bcc;
  --stroke:rgba(255,255,255,.14);
  --text:#eaf1ff;
  --muted:#aeb8cc;
  --accent:#ff9a2f;
  --accent2:#ffcc73;
  --navBlue1:#2b66ad;
  --navBlue2:#1d4f92;
  --radius:18px;
  --shadow:0 18px 60px rgba(0,0,0,.55);
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
*{box-sizing:border-box}
html,body{height:100%; margin:0}
html{}
body{
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 900px at 30% 20%, rgba(255,255,255,.07), transparent 60%),
    radial-gradient(900px 600px at 70% 75%, rgba(120,70,255,.10), transparent 60%),
    linear-gradient(140deg, var(--bg1), var(--bg0));
  overflow-x:hidden;
  overflow-y: auto; /* allow premium scroll */
}
.topbar{
  position:sticky; top:0; z-index:50;
  height:56px;
  background: linear-gradient(180deg, var(--navBlue1), var(--navBlue2));
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  display:flex; align-items:center;
  padding:0 18px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width:180px;
}
.brand img{
  height:32px; width:auto;
  display:block;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
}
.nav{
  margin-left:auto;
  display:flex;
  align-items:stretch;
  gap:10px;
}
/* Clamp wobble: fixed button widths */
.nav a{
  width:104px; /* fixed so bold doesn't shift */
  display:flex;
  align-items:center;
  justify-content:center;
  height:42px;
  margin-top:0;
  border-radius:14px;
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:400; /* non-bold by default */
  color: rgba(255,255,255,.92);
  position:relative;
  transition: transform .14s ease, background .14s ease, color .14s ease;
}
.nav a::after{
  content:"";
  position:absolute; left:18px; right:18px; bottom:8px;
  height:2px; border-radius:999px;
  background: linear-gradient(90deg, transparent, rgba(255,154,47,.95), transparent);
  opacity:0;
  transition: opacity .14s ease;
}
.nav a:hover{
  transform: translateY(5px); /* "drops down" */
  font-weight:800; /* bold on hover */
  background: rgba(0,0,0,.22);
  color: var(--accent2);
}
.nav a:hover::after{opacity:1}
.nav a.active{
  background: rgba(0,0,0,.28);
  color: var(--accent2);
  font-weight:800;
}
.nav a.active::after{opacity:1}

main{min-height: calc(100vh - 64px);}
.card{
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:40px; padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
  font-weight:700;
  letter-spacing:.02em;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(0,0,0,.28)}
.small{font-size:12px; color:var(--muted)}

/* Premium scrollbar (Explore + BodLab) */
body{
  scrollbar-width: thin;                 /* Firefox */
  scrollbar-color: rgba(255,255,255,.22) rgba(255,255,255,.04);
}
::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-track{
  background: rgba(255,255,255,.03);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.12));
}
