:root{
  --bg:#0b0e14;
  --panel:#101827;
  --panel2:#0f1624;
  --text:#e6edf3;
  --muted:#9aa7b2;
  --brand:#6ee7ff;
  --brand2:#7c5cff;
  --border:rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 800px at 20% 0%, rgba(124,92,255,.18), transparent 60%),
              radial-gradient(1000px 700px at 80% 0%, rgba(110,231,255,.14), transparent 55%),
              var(--bg);
}
a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 18px}
.topbar{
  position:sticky;top:0;z-index:10;
  background: rgba(11,14,20,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.brand{font-weight:800;letter-spacing:.5px}
.nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.nav a{opacity:.9}
.nav a:hover{opacity:1}
.main{padding:24px 18px 40px}
.footer{border-top:1px solid var(--border);padding:18px 0;background:rgba(16,24,39,.35)}
.footer__inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.muted{color:var(--muted)}
.h1{font-size:40px;line-height:1.1;margin:0 0 10px}
.h2{font-size:28px;line-height:1.2;margin:0}
.lead{color:var(--muted);margin:0 0 18px;font-size:16px}
.hero{padding:10px 0}
.hero__card{
  background: linear-gradient(180deg, rgba(16,24,39,.9), rgba(16,24,39,.55));
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px;
  box-shadow: var(--shadow);
}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 18px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-weight:650;
}
.btn:hover{background: rgba(255,255,255,.06)}
.btn--primary{
  background: linear-gradient(135deg, rgba(110,231,255,.18), rgba(124,92,255,.22));
  border-color: rgba(110,231,255,.22);
}
.btn--ghost{background:transparent}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
.card{
  background: rgba(15,22,36,.65);
  border:1px solid var(--border);
  border-radius:16px;
}
.card--padded{padding:16px}
.card__title{font-weight:750;margin-bottom:8px}
.card__text{color:var(--muted)}
.page-head{display:flex;flex-direction:column;gap:8px;margin:6px 0 18px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.product{
  background: rgba(15,22,36,.65);
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
}
.product__name{font-weight:800;font-size:18px}
.product__desc{color:var(--muted);margin:6px 0 10px}
.product__price{font-weight:800;margin:0 0 12px}
.forum-row{
  display:flex;justify-content:space-between;gap:12px;align-items:center;
  padding:12px 0;border-top:1px solid var(--border);
}
.forum-row:first-of-type{border-top:0;padding-top:4px}
.forum-row__title{font-weight:700}
.list{margin:8px 0 0;padding-left:18px;color:var(--muted)}
.pill{
  display:inline-block;
  padding:6px 10px;border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  margin-top:6px;
}
.form{display:flex;flex-direction:column;gap:8px}
.label{font-size:13px;color:var(--muted)}
.input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}
.input:focus{border-color: rgba(110,231,255,.28)}
.stack{display:flex;flex-direction:column;gap:8px;margin:0 0 14px}
.alert{
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px 12px;
  background: rgba(255,255,255,.03);
}
.alert--ok{border-color: rgba(110,231,255,.22)}
.alert--err{border-color: rgba(255,120,120,.25)}
.balance{font-size:34px;font-weight:900;letter-spacing:.2px}
.post{padding:10px 0;border-top:1px solid var(--border)}
.post:first-of-type{border-top:0;padding-top:0}
.post__body{margin-top:6px;line-height:1.5}
.rules{
  white-space: pre-wrap;
  margin: 10px 0 0;
  padding: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.nav-grid{display:flex;flex-wrap:wrap;gap:10px}
.spacer{height:12px}
.link{color:inherit}
.link:hover{text-decoration:underline}
.drawer{
  border:1px solid var(--border);
  border-radius:14px;
  background: rgba(255,255,255,.02);
  overflow:hidden;
}
.drawer__summary{
  cursor:pointer;
  list-style:none;
  padding:12px 12px;
  font-weight:750;
}
.drawer__summary::-webkit-details-marker{display:none}
.drawer__body{padding:0 12px 12px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  cursor:pointer;
}
.chip input{accent-color: #6ee7ff}
@media (max-width: 900px){
  .cards{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .h1{font-size:34px}
}

