:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --ink: #0d1117;
  --ink-2: #4a5260;
  --ink-3: #8a919c;
  --line: #eceef2;
  --line-2: #dfe3e9;
  --ice: #2f6bff;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code { font-family: var(--mono); font-size: 0.9em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); }

/* ── top ── */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em; text-decoration: none; font-size: 16px;
}
.brand-ball { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--ink); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.link-ext { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.link-ext:hover { color: var(--ink); }
.btn {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 500; transition: transform .15s, background .15s;
}
.btn:hover { background: #262c36; transform: translateY(-1px); }

/* ── hero ── */
.hero {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center;
  padding-top: 88px; padding-bottom: 72px;
}
.eyebrow { margin: 0 0 20px; font-size: 13px; color: var(--ink-3); letter-spacing: 0.02em; }
h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.02em;
  margin: 0 0 24px;
}
h1 em { font-style: italic; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 540px; margin: 0 0 32px; }
.ca {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 8px 8px 8px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg);
}
.ca-label { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.ca code { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.copy {
  font: 500 13px var(--sans); border: 0; cursor: pointer;
  background: var(--bg-soft); color: var(--ink); padding: 6px 12px; border-radius: 999px;
}
.copy:hover { background: var(--line); }

.hero-ball { display: flex; flex-direction: column; align-items: center; }
.ball-stage { position: relative; width: 380px; height: 380px; display: flex; align-items: center; justify-content: center; }
.ball {
  --size: 300px;
  width: var(--size); height: var(--size);
  mix-blend-mode: multiply; /* фон картинки почти белый — растворяется в странице */
  /* края кадра чуть серее страницы — гасим их к краю */
  -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 82%, transparent 100%);
  transition: width 1.2s cubic-bezier(.2,.8,.2,1), height 1.2s cubic-bezier(.2,.8,.2,1);
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.ball-caption { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
.ball-caption b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ── stats ── */
.stats {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-top: 0; padding-bottom: 0;
}
.stat { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-label { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.stat-value { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-main .stat-value { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: -0.01em; }
.stat-sub { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ── next round ── */
.next { padding-top: 32px; padding-bottom: 8px; }
.next-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 14px; }
.next-head > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.next-right { text-align: right; align-items: flex-end; }
.addr { font-size: 13px; text-decoration: none; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr:hover { color: var(--ink); text-decoration: underline; }
#nextText { font-size: 14px; font-variant-numeric: tabular-nums; }
.bar { height: 6px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.bar-fill { height: 100%; width: 0; background: var(--ink); border-radius: 999px; transition: width .8s ease; }
.next-note { font-size: 13px; color: var(--ink-3); margin: 10px 0 0; }

/* ── sections ── */
section h2 {
  font-family: var(--serif); font-weight: 400; font-size: 44px; letter-spacing: -0.015em;
  margin: 0 0 16px; line-height: 1.1;
}
.section-lede { font-size: 17px; color: var(--ink-2); max-width: 680px; margin: 0 0 48px; }
.how { padding-top: 112px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--bg); }
.step-n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.steps h3 { font-size: 16px; font-weight: 600; margin: 16px 0 8px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 14px; }

.loop {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin: 32px 0 64px; padding: 18px; border-radius: 16px; background: var(--bg-soft);
  font-size: 14px; color: var(--ink-2);
}
.loop span { padding: 6px 14px; background: var(--bg); border-radius: 999px; box-shadow: 0 0 0 1px var(--line); }
.loop span:last-child { background: var(--ink); color: #fff; box-shadow: none; }
.loop i { width: 20px; height: 1px; background: var(--line-2); position: relative; }
.loop i::after {
  content: ''; position: absolute; right: -1px; top: -3px;
  border-left: 5px solid var(--line-2); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
}

.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.detail h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.detail p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ── burns ── */
.burns { padding-top: 112px; }
.burns-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.burns-head h2 { margin: 0; }
.table-wrap { border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th {
  position: sticky; top: 0; background: var(--bg-soft); z-index: 1;
  text-align: left; font-weight: 500; font-size: 12px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em; padding: 12px 20px; border-bottom: 1px solid var(--line);
}
td { padding: 14px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #fafbfc; }
tbody tr.fresh { animation: fresh 2.4s ease-out; }
@keyframes fresh { from { background: #eef3ff; } to { background: transparent; } }
.r { text-align: right; }
.id { color: var(--ink-3); font-family: var(--mono); font-size: 13px; }
.sub { display: block; font-size: 12px; color: var(--ink-3); }
.burned-cell { font-weight: 500; }
.tx { font-size: 13px; color: var(--ink-2); text-decoration: none; margin-left: 12px; }
.tx:hover { color: var(--ink); text-decoration: underline; }
.pending { font-size: 12px; color: #8a5a00; }
.empty { text-align: center; color: var(--ink-3); padding: 48px 20px; white-space: normal; }

/* ── faq ── */
.faq { padding-top: 112px; padding-bottom: 96px; }
.faq details, .faq h2 { max-width: 760px; }
section[id] { scroll-margin-top: 40px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 500; font-size: 16px;
  display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--ink-3); font-weight: 400; font-size: 20px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--ink-2); max-width: 680px; }

/* ── footer ── */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; }
.foot-in { display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.foot p { margin: 0; font-size: 13px; max-width: 560px; text-align: right; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── responsive ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 24px; }
  .hero-ball { order: -1; }
  .ball-stage { width: 280px; height: 280px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .details { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .top-in { gap: 12px; }
  .link-ext { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .steps, .details { grid-template-columns: 1fr; }
  .loop i { display: none; }
  section h2 { font-size: 36px; }
  .how, .burns, .faq { padding-top: 80px; }
  .hide-sm { display: none; }
  td, th { padding-left: 12px; padding-right: 12px; }
  .next-head { flex-direction: column; align-items: flex-start; }
  .next-right { text-align: left; align-items: flex-start; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot p { text-align: left; }
}

/* ── 90 / 10 ── */
.lede b { color: var(--ink); font-weight: 600; }
.next-mid { flex: 1; align-items: center; text-align: center; }
.split {
  display: flex; gap: 4px; margin: 32px 0 0; height: 44px; font-size: 14px;
}
.split > div { display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 12px; white-space: nowrap; overflow: hidden; }
.split-buy { background: var(--ink); color: #fff; }
.split-team { background: var(--bg-soft); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); justify-content: center; min-width: 96px; }
.split + .loop { margin-top: 12px; }
@media (max-width: 640px) {
  .next-mid { align-items: flex-start; text-align: left; }
}

/* ── mcap в навбаре ── */
.mcap {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14px; font-variant-numeric: tabular-nums;
}
.mcap-label { font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.08em; }
.mcap b { font-weight: 600; }

/* ── пагинация лога ── */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.pg-pages { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pg, .pg-n {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; border: 0; cursor: pointer;
  font: 500 14px var(--sans); font-variant-numeric: tabular-nums;
  background: var(--bg); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.pg:hover:not(:disabled), .pg-n:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.pg:disabled { opacity: .35; cursor: default; }
.pg-n.on { background: var(--ink); color: #fff; box-shadow: none; }
.pg-gap { align-self: center; color: var(--ink-3); padding: 0 2px; }
@media (max-width: 640px) {
  .mcap { padding: 6px 10px; font-size: 13px; }
  .mcap-label { display: none; }
  .btn { padding: 8px 12px; font-size: 13px; }
}

/* ── meme + tek ── */
.why { padding-top: 112px; }
.why-title { font-size: clamp(40px, 5vw, 60px); max-width: 760px; }
.why .section-lede { margin-bottom: 40px; }
.why .section-lede b { color: var(--ink); font-weight: 600; }
.formula { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; }
.formula-part {
  display: flex; align-items: center; justify-content: center; height: 120px;
  border: 1px solid var(--line); border-radius: 16px;
  font-family: var(--serif); font-size: 48px; letter-spacing: -0.01em;
}
.formula-op { font-family: var(--serif); font-size: 44px; color: var(--ink-3); }
.formula-result { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 960px) {
  .formula { grid-template-columns: 1fr; gap: 8px; }
  .formula-part { height: 88px; font-size: 40px; }
  .formula-op { justify-self: center; font-size: 32px; line-height: 1; }
}
@media (max-width: 640px) { .why { padding-top: 80px; } }
