
:root{
  --bg-top: #0b1221;
  --bg-bottom: #15394a;
  --t-50: rgba(255,255,255,.5);
  --t-30: rgba(255,255,255,.3);
  --t-15: rgba(255,255,255,.15);
  --ink: #cfe7ff;
  --pill: #1b2a3a;
  --accent: #59f;
  --shadow: 0 20px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  color:var(--ink);
  background: radial-gradient(1200px 800px at 50% 35%, rgba(255,255,255,.02), transparent 60%) ,
              linear-gradient(180deg,var(--bg-top),var(--bg-bottom));
  transition: background 900ms linear;
  overflow-x:hidden;
}
#scene{position:fixed; inset:0; z-index:0}
.page{position:relative; z-index:2; padding:18px}
.watermark{
  text-align:center; letter-spacing:6px; margin:110px 0 280px;
  color:rgba(255,255,255,.06); font-weight:700;
  text-shadow:0 2px 6px rgba(0,0,0,.6);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 14px; background:rgba(8,12,20,.55);
  backdrop-filter:saturate(140%) blur(6px);
  border:1px solid rgba(255,255,255,.05); border-radius:12px;
  box-shadow:var(--shadow);
}
.brand{
  background:linear-gradient(180deg,#cfe7ff,#8eb7ff 60%,#4b93ff);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  font-weight:800; letter-spacing:2.5px; border:none; cursor:pointer;
}
.menu a{color:#cfe7ff; opacity:.9; font-size:14px; padding:6px 10px; border-radius:999px; background:rgba(255,255,255,.04); margin-right:6px; cursor:pointer}
.menu a:hover{background:rgba(255,255,255,.08)}
.pill{padding:6px 10px; border-radius:999px; background:var(--pill); font-size:12px}
.pill.muted{opacity:.8}
.card{
  background:rgba(8,12,20,.55); border:1px solid rgba(255,255,255,.05);
  border-radius:14px; padding:16px; box-shadow:var(--shadow);
}
.card.soft{background:rgba(255,255,255,.03)}
.hero h3{margin:6px 0 8px}
.hero .cta{display:flex; gap:10px; margin-top:12px}
.btn{padding:10px 14px; border-radius:12px; background:rgba(255,255,255,.05); color:var(--ink); border:1px solid rgba(255,255,255,.08); cursor:pointer}
.btn:hover{background:rgba(255,255,255,.08)}
.btn.solid{background:linear-gradient(180deg,#79ffa5,#3be784); color:#071012; border:none}
.btn.ghost{background:transparent; border:1px solid rgba(255,255,255,.15)}
.chip{padding:3px 8px; background:rgba(255,255,255,.06); border-radius:999px}
.pillline{margin:10px 0 14px; display:flex; gap:14px; padding:8px 12px; border-radius:12px; background:rgba(8,12,20,.45); border:1px solid rgba(255,255,255,.05)}
.grid{display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:16px}
.bullets{margin:8px 0 0 0; padding-left:18px}
.muted{opacity:.75}
/* Drawer */
.drawer{position:fixed; inset:0; z-index:40; display:none; align-items:stretch; justify-content:flex-end; background:rgba(0,0,0,.25)}
.drawer.show{display:flex}
.drawer .panel{
  width:min(680px,92vw); height:100%; background:rgba(10,14,22,.7);
  border-left:1px solid rgba(255,255,255,.07); box-shadow:-24px 0 60px rgba(0,0,0,.6);
  backdrop-filter: blur(10px) saturate(140%);
  transform:translateX(40px); opacity:0; transition: all 280ms ease;
}
.drawer.show .panel{transform:none; opacity:1}
.panel-head{display:flex; align-items:center; justify-content:space-between; padding:16px; border-bottom:1px solid rgba(255,255,255,.06)}
.panel-body{padding:16px; overflow:auto; height:calc(100% - 58px)}
.x{background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); color:#cfe7ff; border-radius:10px; padding:6px 10px; cursor:pointer}
/* Modal */
.modal{position:fixed; inset:0; z-index:50; display:none; align-items:center; justify-content:center; background:rgba(6,8,12,.45); backdrop-filter: blur(4px)}
.modal.show{display:flex}
.modal .panel{width:min(920px,95vw); border-radius:24px; background:rgba(10,14,22,.82); border:1px solid rgba(255,255,255,.06); box-shadow: 0 40px 100px rgba(0,0,0,.5)}
.modal .profile .panel-body{padding:18px 20px 24px}
.avatar{width:44px;height:44px;border-radius:999px;background:linear-gradient(180deg,#89b0ff,#6d8cff);display:flex;align-items:center;justify-content:center;margin-right:10px}
.profile .panel-head{gap:12px}
.profile .who{flex:1}
.profile .cols{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.profile input{width:100%; padding:10px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.04); color:var(--ink); margin:6px 0 12px}
.profile label{font-size:12px; opacity:.7}
.msg{margin-top:8px; font-size:12px; opacity:.8}
/* Themes */
.themes{position:fixed; left:12px; bottom:12px; z-index:30; display:flex; align-items:center; gap:10px}
.theme-row{display:flex; gap:6px; padding:8px 10px; border-radius:20px; background:rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.06)}
.swatch{width:10px;height:10px;border-radius:50%; box-shadow:0 0 0 2px rgba(255,255,255,.15) inset, 0 0 0 2px rgba(0,0,0,.2)}
.tiny{font-size:12px; opacity:.6}
@media (max-width:900px){
  .grid{grid-template-columns: 1fr}
}
