:root{
  --bg:#0b0f1a;
  --card:rgba(255,255,255,0.06);
  --card2:rgba(255,255,255,0.09);
  --text:#eef2ff;
  --muted:rgba(238,242,255,.7);
  --border:rgba(255,255,255,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius:18px;
}

*{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:var(--bg);
  overflow-x:hidden;
}

.bg{
  position:fixed; inset:0;
  background:
    radial-gradient(800px 600px at 20% 10%, rgba(255,105,180,.12), transparent 60%),
    radial-gradient(900px 650px at 80% 15%, rgba(0,200,255,.10), transparent 55%),
    radial-gradient(900px 700px at 55% 90%, rgba(140,80,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%);
  pointer-events:none;
  z-index:-1;
}

.topbar{
  position:sticky; top:0;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 22px;
  background:rgba(10,14,26,.65);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--border);
}

.brand{display:flex; gap:12px; align-items:center}
.logo{
  width:42px; height:42px; display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(255,105,180,.35), rgba(0,200,255,.25));
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow: var(--shadow);
}
.title{font-weight:800; letter-spacing:.3px}
.subtitle{font-size:12px; color:var(--muted)}

.nav{display:flex; gap:14px}
.nav a{
  color:var(--muted);
  text-decoration:none;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}
.nav a:hover{
  color:var(--text);
  border-color:var(--border);
  background:rgba(255,255,255,.05);
}

.container{
  width:min(1200px, 92vw);
  margin:20px auto 60px;
}

.hero-card{
  display:flex; gap:16px; flex-wrap:wrap;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.hero-left{flex:1 1 520px}
.hero-right{flex:1 1 280px; display:flex; align-items:stretch}

h1{margin:0 0 10px 0; font-size:28px}
h2{margin:0; font-size:18px}
.muted{color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}

.stats{
  display:flex; gap:12px; margin-top:14px; flex-wrap:wrap;
}
.stat{
  flex:0 0 auto;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 14px;
  min-width:120px;
}
.stat .num{font-size:22px; font-weight:900}
.stat .label{font-size:12px; color:var(--muted)}

.callout{
  width:100%;
  background:linear-gradient(135deg, rgba(255,105,180,.12), rgba(0,200,255,.10));
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
}
.callout-title{font-weight:800; margin-bottom:6px}
.callout-body{color:var(--muted); line-height:1.4}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
  margin-top:16px;
}
@media (min-width: 980px){
  .grid{grid-template-columns: 1fr 1fr}
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}

.card-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:10px;
}

.pill{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  color:var(--muted);
}
.pill.soft{opacity:.9}

.list{display:flex; flex-direction:column; gap:10px}

.quest{
  display:block;
  text-decoration:none;
  color:inherit;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}
.quest:hover{background:rgba(255,255,255,.06)}
.quest-title{font-weight:900}
.quest-desc{color:var(--muted); font-size:13px; margin-top:4px}
.quest-meta{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; align-items:center}
.quest-meta.big{margin-top:14px}

.tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  color:var(--muted);
}

.copy{
  margin-left:auto;
  border:none;
  cursor:pointer;
  font-weight:700;
  font-size:12px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.07);
  color:var(--text);
  border:1px solid var(--border);
}
.copy:hover{background:rgba(255,255,255,.10)}

.table-wrap{overflow:auto; border-radius:14px; border:1px solid var(--border)}
table{width:100%; border-collapse:collapse; font-size:13px}
thead{background:rgba(255,255,255,.05)}
th,td{padding:10px 10px; border-bottom:1px solid rgba(255,255,255,.07); text-align:left; vertical-align:top}
tbody tr:hover{background:rgba(255,255,255,.03)}
td.muted{text-align:center}

.badge{
  display:inline-block;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  color:var(--muted);
  font-size:12px;
  margin-right:6px;
}
.badge.good{background:rgba(0,255,160,.08); color:rgba(200,255,235,.95)}
.badge.warn{background:rgba(255,200,0,.10); color:rgba(255,244,200,.95)}

.note{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.18);
  color:var(--muted);
  background:rgba(255,255,255,.03);
}

.back{
  display:inline-block;
  margin-top:14px;
  color:var(--muted);
  text-decoration:none;
}
.back:hover{color:var(--text)}

.footer{
  padding:18px 22px;
  border-top:1px solid var(--border);
  color:var(--muted);
  text-align:center;
}
