:root{
  --bg0:#060b14;
  --bg1:#071427;
  --card: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.10);
  --text:#eaf0ff;
  --muted: rgba(234,240,255,.68);
  --accent:#4f7cff;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 18% 15%, rgba(76,87,255,.35), transparent 60%),
    radial-gradient(900px 500px at 82% 22%, rgba(0,200,255,.20), transparent 60%),
    radial-gradient(900px 600px at 70% 80%, rgba(120,60,255,.18), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

.topbar{
  position:sticky; top:0;
  background: rgba(5,10,18,.55);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar-inner{
  max-width:1100px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text)}
.brand-logo{width:28px; height:28px; object-fit:contain}
.brand-name{font-weight:700}

.topbar-right{display:flex; gap:10px; align-items:center}
.ghost{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:var(--text);
  padding:8px 12px;
  border-radius:12px;
  text-decoration:none;
  cursor:pointer;
}

.wrap{max-width:900px; margin:0 auto; padding:26px 18px 60px}

.card{
  border-radius:24px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  padding:22px;
}

.title{margin:0; font-size:32px}
.sub{margin:10px 0 16px; color:var(--muted)}

.locked{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  border-radius:18px;
  padding:16px;
}

.lockRow{display:flex; gap:12px; align-items:center; margin-bottom:14px}
.lockIcon{font-size:22px}
.lockTitle{font-weight:800}
.lockSub{color:rgba(234,240,255,.70); font-size:13px; margin-top:4px}

.btn{
  width:100%;
  border:none;
  border-radius:14px;
  padding:14px 14px;
  font-weight:800;
  cursor:pointer;
  background: linear-gradient(90deg, rgba(79,124,255,.95), rgba(79,124,255,.60));
  color:#081021;
}
.hint{margin-top:10px; font-size:12px; color:rgba(234,240,255,.60)}

.result{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  border-radius:18px;
  padding:16px;
}
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.metric{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius:16px;
  padding:14px;
}
.label{font-size:12px; color:rgba(234,240,255,.65)}
.value{font-size:34px; font-weight:900; margin-top:6px}

.note{margin-top:12px; color:rgba(234,240,255,.68); font-size:13px}

@media (max-width:700px){
  .grid{grid-template-columns:1fr}
}
