:root {
  --bg: #0e0e10;
  --panel: #18181b;
  --panel-2: #1f1f23;
  --line: #2a2a2f;
  --text: #ececf0;
  --muted: #9a9aa3;
  --red: #d1262f;
  --red-2: #ef4a52;
  --gold: #e0b04a;
  --green: #3ddc6a;
  --pixel: "Silkscreen", ui-monospace, monospace;
  --body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); }
img { image-rendering: pixelated; }
a { color: inherit; }
code { font-family: ui-monospace, Consolas, monospace; background: var(--panel-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; background: rgba(14,14,16,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px var(--pixel); color: var(--red); letter-spacing: 1px; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
nav a:hover { color: var(--text); }

main { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.hero { text-align: center; padding: 64px 0 40px; }
.hero h1 { font: 700 clamp(40px, 8vw, 72px)/1 var(--pixel); color: var(--red); margin: 14px 0 10px; letter-spacing: 2px; text-shadow: 0 4px 0 #5a0c11; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 26px; }
.ip-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ip { display: inline-flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 12px 16px; font: 600 16px var(--body); cursor: pointer; }
.ip:hover { border-color: var(--red); }
.ip-label { color: var(--muted); font-weight: 500; }
.ip-copy { font: 700 12px var(--pixel); color: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 10px; padding: 12px 20px; font-weight: 600; }
.btn.ghost { border: 1px solid var(--line); background: var(--panel); }
.btn.ghost:hover { border-color: var(--text); }

.block { padding: 40px 0; border-top: 1px solid var(--line); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
h2 { font: 700 26px var(--pixel); margin: 0; }
h3 { font-size: 17px; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.muted { color: var(--muted); margin: 0; }
.small { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }
.note { color: var(--muted); font-size: 14px; margin: 18px 0 0; text-align: center; }

.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.pack { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pack.best { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(224,176,74,.25), 0 10px 30px rgba(224,176,74,.08); }
.pack img { width: 100%; max-width: 180px; height: auto; margin: 4px 0 8px; }
.bonus { font: 700 12px var(--pixel); color: var(--green); background: rgba(61,220,106,.12); border-radius: 6px; padding: 3px 8px; min-height: 22px; }
.bonus.empty { background: none; }
.amount { font: 700 20px var(--pixel); color: var(--red-2); }
.amount s { color: #66666e; font-size: 13px; }
.amount span { display: block; font-size: 13px; margin-top: 2px; }
.pname { color: var(--muted); font-size: 14px; margin: 2px 0 14px; }
.btn.buy { width: 100%; background: var(--red); color: #fff; margin-top: auto; }
.btn.buy:hover { background: var(--red-2); }
.btn.buy.disabled { background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); cursor: not-allowed; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card.accent { border-color: rgba(209,38,47,.6); }
.tag { font: 500 12px var(--body); color: var(--gold); background: rgba(224,176,74,.12); padding: 2px 8px; border-radius: 6px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.items li:last-child { border-bottom: 0; }
.items b { font-family: var(--pixel); color: var(--red-2); white-space: nowrap; }
.items b::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px; background: url(assets/chip-28.png) center/contain no-repeat; image-rendering: pixelated; }

.earn { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.earn li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.earn b { color: var(--gold); }
.earn span { color: var(--muted); font-size: 14.5px; }

details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { text-align: center; color: var(--muted); padding: 30px 20px 50px; border-top: 1px solid var(--line); margin-top: 20px; }
footer p { margin: 4px 0; }

@media (max-width: 640px) {
  .top { padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
  nav { gap: 14px; }
  main { padding: 0 16px; }
  .hero { padding: 40px 0 28px; }
  .packs { grid-template-columns: repeat(2, 1fr); }
}
