:root {
  --bg: #070b12;
  --bg-2: #0c121c;
  --card: #121a27;
  --card-2: #182232;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8eef6;
  --muted: #9aa8bb;
  --green: #8fd14f;
  --green-2: #6fbf2a;
  --orange: #f5a623;
  --orange-2: #ff8a00;
  --gold: #f3c15a;
  --radius: 16px;
  --max: 1120px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background: #07111c;
  color: var(--text);
  line-height: 1.65;
  padding-left: 268px;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: #c6f08a; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.15rem); margin: 0.2em 0 0.4em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin: 0 0 0.6em; }
h3 { font-size: 1.15rem; margin: 1.2em 0 0.4em; }
p { margin: 0 0 0.9em; color: #d5deea; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 50;
  width: 268px; overflow: auto;
  background: #071018;
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 14px 12px 24px;
}
.side-logo img { height: 42px; width: auto; margin: 4px 8px 14px; }
.side-user, .side-link, .side-drop summary, .side-drop a {
  display: flex; align-items: center; gap: 10px;
  color: #d7e4f2; text-decoration: none;
  background: #0e1a28; border-radius: 12px;
  margin: 6px 0; padding: 10px 12px; font-weight: 650;
}
.side-user { align-items: flex-start; }
.side-user b, .side-user small { display: block; color: #fff; font-size: 0.92rem; }
.side-user small { color: #8ea0b5; font-weight: 500; font-size: 0.75rem; }
.side-ava {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: #163044; flex: 0 0 auto;
}
.side-bar { display: block; height: 6px; border-radius: 99px; background: #1c2c3e; margin: 6px 0; overflow: hidden; }
.side-bar i { display: block; height: 100%; background: linear-gradient(90deg, #7d5cff, #45d0ff); }
.side-card { background: #0e1a28; border-radius: 12px; padding: 10px 12px; margin: 8px 0 12px; }
.side-card-title { text-align: center; font-weight: 700; margin-bottom: 8px; }
.mission-row { display: flex; gap: 6px; }
.mission-row span { flex: 1; height: 28px; border-radius: 8px; background: #163044; }
.mission-row .gift { display: grid; place-items: center; background: #1a3a28; flex: 0 0 36px; }
.side-link { font-size: 0.95rem; }
.side-link:hover, .side-drop summary:hover, .side-drop a:hover { color: #fff; background: #132536; }
.side-ico { width: 22px; text-align: center; color: #9eb4cb; }
.side-badge { margin-left: auto; background: #12324a; color: #d7e7f5; border-radius: 8px; padding: 2px 8px; font-size: 0.78rem; }
.side-chev { margin-left: auto; color: #6e849b; }
.side-drop summary { cursor: pointer; list-style: none; }
.side-drop summary::-webkit-details-marker { display: none; }
.side-drop a { margin-left: 18px; background: transparent; font-weight: 600; font-size: 0.9rem; }
.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  display: flex; align-items: center; gap: 18px;
  padding: 0 22px;
  background: #07111c;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.top-nav { display: flex; gap: 8px; align-items: center; }
.top-nav a {
  color: #d5e2f0; font-weight: 700; padding: 8px 14px; border-radius: 999px;
}
.top-nav a.top-pill, .top-nav a.active { background: #12324c; color: #fff; }
.top-wallet { margin-left: auto; display: flex; align-items: center; gap: 10px; color: #c5d4e4; }
.top-wallet b { color: #fff; }
.burger {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #141c2a; color: #fff; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; border: 0; cursor: pointer; color: #102006;
  text-decoration: none; letter-spacing: 0.01em;
}
.btn:hover { filter: brightness(1.05); color: #102006; }
.btn-green { background: linear-gradient(180deg, #9be15d, #6fbf2a); box-shadow: 0 8px 20px rgba(111, 191, 42, 0.25); }
.btn-orange { background: linear-gradient(180deg, #ffc14d, #f08a12); color: #3a2200; box-shadow: 0 8px 20px rgba(240, 138, 18, 0.25); }
.btn-orange:hover { color: #3a2200; }
.btn-ghost { background: #1c2636; color: #fff; border: 1px solid var(--line); }
.btn-ghost:hover { color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; }
.header .btn { min-height: 40px; padding: 0 18px; }

.hero { padding: 36px 0 10px; }
.kicker { color: var(--green); font-weight: 800; letter-spacing: 0.08em; font-size: 0.78rem; text-transform: uppercase; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 760px; }
.banner {
  margin: 22px 0;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.banner img { width: 100%; height: auto; object-fit: cover; }
.banner-sm { max-width: 520px; margin-left: auto; margin-right: auto; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 28px; }
.stat {
  background: linear-gradient(180deg, #162033, #101826);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.stat b { display: block; color: var(--gold); font-size: 1.35rem; }
.stat span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 18px 0 8px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 8px;
  margin: 16px 0 22px;
}
table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--gold); font-size: 0.92rem; }
td { color: #d5deea; }
.note { color: var(--muted); font-size: 0.92rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini {
  background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.mini h3 { margin-top: 0; }

ol.steps, ul.clean { margin: 0 0 1em; padding-left: 1.2em; }
ol.steps li, ul.clean li { margin: 0.35em 0; }

.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; padding: 4px 16px;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.faq details p { margin-top: 0; }

.crumbs { color: var(--muted); font-size: 0.9rem; margin: 18px 0 0; }
.crumbs a { color: var(--muted); }

footer { margin-top: 40px; border-top: 1px solid var(--line); background: #080d15; padding: 28px 0 18px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 22px; }
footer h3 { margin-top: 0; font-size: 1rem; }
footer a { display: block; color: #c5d0de; margin: 6px 0; }
footer a:hover { color: var(--green); }
.pays { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pays img { height: 32px; width: auto; max-width: none; display: block; }
.copy { color: var(--muted); font-size: 0.85rem; margin-top: 18px; }
.age { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 2px solid #e35d5d; color: #e35d5d; border-radius: 50%; font-weight: 800; margin-right: 8px; }

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  background: #121a27; border: 1px solid rgba(243, 193, 90, 0.35);
  border-radius: 18px; padding: 16px; max-width: 760px; margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.cookie p { margin: 0 0 12px; font-size: 0.95rem; }
.hidden { display: none !important; }

@media (max-width: 860px) {
  body { padding-left: 0; }
  .sidebar { transform: translateX(-105%); transition: transform .2s ease; }
  .sidebar.open { transform: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .top-nav { display: none; }
  .stats, .grid-2, .foot-grid { grid-template-columns: 1fr; }
}
