:root {
  --bg: #0b0a14;
  --bg2: #14111f;
  --card: #1a1626;
  --line: #2e2740;
  --gold: #ffcc33;
  --gold2: #d08a1e;
  --text: #e8e2d4;
  --muted: #a49d8f;
  --green: #5fd38a;
  --red: #ff6b5b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--gold); text-decoration: none; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* top bar */
nav { position: sticky; top: 0; z-index: 10; background: rgba(11,10,20,.85); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; gap: 24px; height: 56px; }
nav .brand { font: 700 22px Georgia, serif; letter-spacing: 3px; background: linear-gradient(#fff4b4, #cd821e); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav .links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
nav .links a { color: var(--text); font-size: 15px; opacity: .85; }
nav .links a:hover { color: var(--gold); opacity: 1; }

/* hero */
.hero { position: relative; overflow: hidden; text-align: center; padding: 70px 0 90px;
  background: radial-gradient(1200px 500px at 70% -10%, #3a2a5c 0%, transparent 60%),
              radial-gradient(900px 400px at 10% 110%, #5a2a2a 0%, transparent 60%),
              linear-gradient(#120e22, #0b0a14); }
.stars { position: absolute; inset: 0; background-image:
    radial-gradient(1px 1px at 10% 20%, #fff8, transparent), radial-gradient(1px 1px at 30% 70%, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 55% 30%, #fffa, transparent), radial-gradient(1px 1px at 80% 15%, #fff7, transparent),
    radial-gradient(1px 1px at 90% 60%, #fff5, transparent), radial-gradient(1.5px 1.5px at 20% 45%, #fff9, transparent),
    radial-gradient(1px 1px at 65% 85%, #fff5, transparent), radial-gradient(1px 1px at 42% 12%, #fff8, transparent); }
.dunes { position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: radial-gradient(60% 120px at 30% 120%, #1c1408 70%, transparent 71%), radial-gradient(70% 140px at 80% 130%, #241a0a 70%, transparent 71%); }
.hero img.logo { width: 320px; max-width: 80%; position: relative; filter: drop-shadow(0 6px 30px #d08a1e55); }
.hero p.lead { position: relative; font-size: 20px; color: var(--text); margin: 10px auto 28px; max-width: 640px; }
.btns { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 30px; border-radius: 8px; font-weight: 700; letter-spacing: .5px; }
.btn.gold { background: linear-gradient(#ffd75a, #d08a1e); color: #1a1000; box-shadow: 0 6px 24px #d08a1e55; }
.btn.ghost { border: 1px solid var(--gold); color: var(--gold); }
.status { position: relative; margin-top: 30px; display: inline-flex; gap: 22px; padding: 10px 22px; border: 1px solid var(--line); border-radius: 30px; background: #0006; font-size: 15px; flex-wrap: wrap; justify-content: center; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); margin-right: 6px; box-shadow: 0 0 8px var(--green); }

section { padding: 64px 0; border-top: 1px solid var(--line); }
section:nth-of-type(even) { background: var(--bg2); }
h2 { font: 700 30px Georgia, serif; margin: 0 0 8px; color: var(--gold); }
.sub { color: var(--muted); margin: 0 0 30px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.card h3 { margin: 6px 0 6px; font-size: 18px; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { font-size: 26px; }

.rates { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.rate { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 8px; }
.rate b { display: block; font: 700 26px Georgia, serif; color: var(--gold); }
.rate span { color: var(--muted); font-size: 14px; }

.stages { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stage { padding: 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.stage.now { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.stage small { color: var(--muted); }

table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
th { color: var(--muted); font-weight: 600; background: #0003; }
tr:last-child td { border-bottom: 0; }
td.p1 { color: #ffcc33; font-weight: 700; } td.p2 { color: #d8d8d8; font-weight: 700; } td.p3 { color: #e0915a; font-weight: 700; }
.tops { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tops h3 { margin: 0 0 10px; }

.news .item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.news .date { color: var(--muted); font-size: 14px; }

.packs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pack { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px 16px; }
.pack.best { border-color: var(--gold); }
.pack .coins { font: 700 28px Georgia, serif; color: var(--gold); }
.pack .price { font-size: 20px; margin: 6px 0 14px; }
.pack .bonus { color: var(--green); font-size: 14px; min-height: 20px; }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }

footer { padding: 30px 0; color: var(--muted); font-size: 14px; text-align: center; border-top: 1px solid var(--line); }
footer .soc { display: flex; gap: 18px; justify-content: center; margin-bottom: 10px; }
@media (max-width: 640px) { nav .wrap { gap: 12px; } nav .links { flex-wrap: nowrap; overflow-x: auto; gap: 14px; white-space: nowrap; scrollbar-width: none; } nav .links a { font-size: 14px; } .hero { padding: 40px 0 70px; } h2 { font-size: 24px; } }

nav .links a.on { color: var(--gold); opacity: 1; }
.dot.off { background: var(--red); box-shadow: 0 0 8px var(--red); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 20px; color: var(--text); font-size: 15px; }
.tabs a.on, .tabs a:hover { border-color: var(--gold); color: var(--gold); }
.empty { color: var(--muted); font-style: italic; }
.form { max-width: 440px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.form label { display: block; margin: 14px 0 6px; color: var(--muted); font-size: 14px; }
.form input { width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line); background: #0b0a14; color: var(--text); font-size: 16px; }
.form input:focus { outline: none; border-color: var(--gold); }
.form .btn { width: 100%; margin-top: 22px; border: 0; cursor: pointer; font-size: 16px; }
.form .hp { position: absolute; left: -9999px; }
.err { background: #3a1414; border: 1px solid var(--red); color: #ffb3a8; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; font-size: 15px; }
.ok { background: #12301e; border: 1px solid var(--green); color: #b6f0cb; border-radius: 8px; padding: 16px; text-align: center; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; padding: 10px 0 10px 44px; position: relative; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold2); color: #1a1000; font-weight: 700; text-align: center; line-height: 30px; }
.page-head { padding: 46px 0 10px; text-align: center; }
td.num, th.num { text-align: right; }
.scroll { overflow-x: auto; }
