:root{
  --bg:#0b0b0d;
  --bg2:#0f1013;
  --text:#e9e9ee;
  --muted:#a7a8b3;
  --accent:#ffcc00;
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --radius: 18px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(255,204,0,.20), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(255,204,0,.12), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}
.noise{
  position:fixed; inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
  opacity:.35;
}
.container{max-width:1100px; margin:0 auto; padding:28px 18px 40px;}
.mono{font-family:var(--mono)}
.accent{color:var(--accent)}

.topbar{
  position:sticky; top:0; z-index:10;
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 18px;
  backdrop-filter: blur(10px);
  background: rgba(10,10,12,.6);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.brand{display:flex; gap:12px; align-items:center; text-decoration:none; color:inherit}
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  width:54px; height:54px;
  border-radius:14px;
  background: linear-gradient(180deg, rgba(255,204,0,.95), rgba(255,204,0,.55));
  color:#121212;
  font-weight:900;
  letter-spacing:.5px;
  box-shadow: var(--shadow);
  text-decoration:none;
}
.brandName{font-weight:800; font-size:15px}
.brandTag{font-size:12px; color:var(--muted)}
.nav{display:flex; gap:10px; flex-wrap:wrap}
.navLink{
  text-decoration:none;
  color:var(--text);
  font-weight:650;
  font-size:13px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background: rgba(18,19,25,.35);
}
.navLink:hover{border-color: rgba(255,204,0,.45)}
.navLink.active{border-color: rgba(255,204,0,.65); background: rgba(255,204,0,.10)}

.hero{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; margin-top:16px;}
@media (max-width: 920px){ .hero{grid-template-columns:1fr} }
.h1{font-size:44px; line-height:1.05; margin:0 0 12px}
@media (max-width: 520px){ .h1{font-size:34px} }
.h2{font-size:28px; margin:0}
.lead{color:var(--muted); font-size:15px; line-height:1.6; margin:0 0 16px; max-width: 640px}

.cta{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(18,19,25,.40);
  color:var(--text);
  text-decoration:none;
  font-weight:800;
  letter-spacing:.2px;
}
.btn:hover{border-color: rgba(255,204,0,.55)}
.btn.primary{
  background: linear-gradient(180deg, rgba(255,204,0,1), rgba(255,204,0,.65));
  color:#141414;
  border-color: rgba(255,204,0,.8);
}
.btn.ghost{background: transparent}

.chips{display:flex; gap:10px; flex-wrap:wrap}
.chip{
  padding:10px 12px;
  border-radius:999px;
  border:1px dashed rgba(255,255,255,.16);
  background: rgba(18,19,25,.25);
  font-size:13px;
}
.chip.warn{border-color: rgba(255,204,0,.55)}

.panel{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(18,19,25,.60), rgba(18,19,25,.25));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panelTitle{padding:14px 16px; font-weight:900; border-bottom:1px solid rgba(255,255,255,.08);}
.panelBody{padding:14px 16px}
.kv{display:grid; grid-template-columns: 1fr 1.2fr; gap:10px 14px; font-size:14px;}
.k{color:var(--muted)} .v{font-weight:800}
.hint{margin-top:12px; color:var(--muted); font-size:13px; line-height:1.5}
.stamp{
  margin-top:14px;
  width:max-content;
  padding:10px 12px;
  border-radius: 12px;
  border:2px solid rgba(255,204,0,.65);
  color: rgba(255,204,0,.95);
  font-weight:900;
  letter-spacing:.8px;
  transform: rotate(-4deg);
}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; margin-top:18px;}
@media (max-width: 920px){ .grid3{grid-template-columns:1fr} }

.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(18,19,25,.40);
  box-shadow: var(--shadow);
  padding:14px 16px;
}
.cardTitle{font-weight:950; margin-bottom:8px}
.cardText{color:var(--muted); font-size:13.5px; line-height:1.55}
.cardActions{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap}
.tag{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,204,0,.35);
  background: rgba(255,204,0,.08);
}

.sectionTitle{margin-top:22px; font-weight:950; font-size:18px}
.rules{margin-top:18px}
.rulesList{display:grid; gap:10px; margin-top:12px}
.rule{
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(18,19,25,.30);
}

.footer{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:13px;
  gap:10px;
  flex-wrap:wrap;
}

.sectionHead{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin:18px 0 12px; flex-wrap:wrap;
}
.pill{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(18,19,25,.30);
  color: var(--muted);
  font-size:12px;
}

.tableWrap{margin-top:8px; overflow:auto; border-radius:14px; border:1px solid rgba(255,255,255,.08)}
.tbl{width:100%; border-collapse:collapse; min-width:340px}
.tbl th,.tbl td{padding:10px 12px; font-size:13px}
.tbl thead th{color:var(--muted); text-align:left; background: rgba(0,0,0,.18)}
.tbl tbody tr{border-top:1px solid rgba(255,255,255,.06)}
.tbl tbody tr:hover{background: rgba(255,204,0,.06)}
.right{text-align:right}

.link{color:var(--accent); text-decoration:none; font-weight:850}
.link:hover{text-decoration:underline}
