:root{
  --bg:#0b0d12;
  --card:#111626;
  --text:#e8ecff;
  --muted:#aab2d5;
  --line:#242a3d;
  --accent:#5b8cff;
  --accent2:#a54bff;
  --shadow:0 12px 40px rgba(0,0,0,.35);
  --radius:18px;
  --max:1040px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(91,140,255,.35) 0%, transparent 60%),
    radial-gradient(900px 600px at 95% 0%, rgba(165,75,255,.28) 0%, transparent 60%),
    radial-gradient(800px 500px at 40% 110%, rgba(80,255,201,.12) 0%, transparent 55%),
    var(--bg);
}

a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
code{
  background:rgba(10,14,28,.65);
  border:1px solid var(--line);
  padding:2px 6px;
  border-radius:10px;
}
small{color:var(--muted)}
.container{max-width:var(--max); margin:0 auto; padding:22px}
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(11,13,18,.75), rgba(11,13,18,.25));
  border-bottom:1px solid rgba(36,42,61,.7);
}
.topbar{display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap; padding:14px 22px}
.brand{display:flex; gap:12px; align-items:center}
.logo{
  width:44px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow);
  font-weight:900;
}
.brand h1{font-size:16px; margin:0}
.brand p{margin:0; color:var(--muted); font-size:13px}
nav{display:flex; gap:10px; flex-wrap:wrap}
nav a{
  font-size:13px;
  padding:9px 12px;
  border:1px solid rgba(36,42,61,.85);
  border-radius:999px;
  background:rgba(17,22,38,.55);
}
nav a.active{border-color: rgba(91,140,255,.95)}
.hero{padding:28px 0 10px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
}
.card{
  background: rgba(17,22,38,.72);
  border: 1px solid rgba(36,42,61,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
h2{margin:0 0 10px; font-size:18px}
h3{margin:0 0 6px; font-size:15px}
p{color:rgba(232,236,255,.92); line-height:1.55}
.muted{color:var(--muted)}
.row{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: var(--accent);
  font-weight:800;
  cursor:pointer;
}
.btn.ghost{
  background: rgba(10,14,28,.55);
  border:1px solid rgba(36,42,61,.95);
  font-weight:700;
}
.btn:active{transform: translateY(1px)}
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 920px){
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr))}
}
@media (max-width: 640px){
  .grid{grid-template-columns: 1fr}
}
.kv{
  border:1px solid rgba(36,42,61,.9);
  background: rgba(10,14,28,.45);
  border-radius: 16px;
  padding:12px;
}
.kv .k{font-size:12px; color:var(--muted); margin-bottom:6px}
.kv .v{font-weight:750}
.divider{height:1px; background:rgba(36,42,61,.9); margin:14px 0}
.input{
  width:100%;
  background: rgba(10,14,28,.55);
  border:1px solid rgba(36,42,61,.95);
  color:var(--text);
  padding:12px 12px;
  border-radius: 14px;
  outline:none;
}
.app-card{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.tag{
  display:inline-block;
  font-size:12px;
  color:var(--muted);
  border:1px solid rgba(36,42,61,.9);
  background: rgba(10,14,28,.4);
  padding:4px 10px;
  border-radius:999px;
  width:max-content;
}
.links{display:flex; gap:10px; flex-wrap:wrap; margin-top:2px}
.footer{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding:22px 0 40px;
  color:var(--muted);
  font-size:13px;
}
.notice{
  border-left: 3px solid var(--accent);
  padding: 10px 12px;
  background: rgba(10,14,28,.45);
  border-radius: 14px;
  border:1px solid rgba(36,42,61,.95);
}
details{
  border:1px solid rgba(36,42,61,.9);
  background: rgba(10,14,28,.45);
  border-radius: 16px;
  padding: 12px;
  margin-top: 10px;
}
summary{cursor:pointer; font-weight:800}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid rgba(36,42,61,.9);
  background: rgba(10,14,28,.45);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}
