/* ===== База ===== */
:root {
  --bg: #070b14;
  --bg-alt: #0b1120;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.09);
  --text: #e8edf6;
  --text-dim: #93a1b8;
  --accent: #25a6e8;
  --accent-2: #7c5cfc;
  --gradient: linear-gradient(100deg, #25a6e8, #7c5cfc);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 780px; }

a { color: inherit; text-decoration: none; }

/* ===== Фоновые орбы и сетка ===== */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}

.orb-1 { width: 480px; height: 480px; background: rgba(37, 166, 232, 0.35); top: -160px; left: -120px; }
.orb-2 { width: 420px; height: 420px; background: rgba(124, 92, 252, 0.3); top: 30%; right: -160px; animation-delay: -6s; }
.orb-3 { width: 380px; height: 380px; background: rgba(37, 166, 232, 0.2); bottom: -140px; left: 30%; animation-delay: -12s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ===== Шапка ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}

.logo-icon { width: 30px; height: 30px; }
.logo-icon-small { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--text); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 30px rgba(37, 166, 232, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124, 92, 252, 0.45); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--surface-border);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  padding: 180px 0 90px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-dim);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Таймер */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 34px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}

.countdown-item { display: flex; flex-direction: column; align-items: center; min-width: 64px; }

.countdown-value {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.countdown-label { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.countdown-sep { font-size: 2rem; color: var(--text-dim); padding-bottom: 18px; }

/* ===== Бегущая строка ===== */
.marquee {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: var(--surface);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee-track i {
  font-style: normal;
  font-size: 0.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== Распределение наград ===== */
.alloc {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.alloc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.alloc-name { font-weight: 600; font-size: 1.02rem; }

.alloc-pct {
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.alloc-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.alloc-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 0 16px rgba(37, 166, 232, 0.5);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible .alloc-fill { width: var(--w); }

.alloc-desc {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ===== Статистика ===== */
.stats { padding: 20px 0 70px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
}

.stat-value {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label { color: var(--text-dim); font-size: 0.88rem; margin-top: 6px; }

/* ===== Секции ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 14px;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 54px;
}

/* Карточки */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 166, 232, 0.4);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 1.9rem;
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(37, 166, 232, 0.12);
  margin-bottom: 20px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* Шаги */
.steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: border-color 0.25s;
}

.step:hover { border-color: rgba(124, 92, 252, 0.4); }

.step-num {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
  font-weight: 800;
  font-size: 1.25rem;
}

.step-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step-body p { color: var(--text-dim); font-size: 0.95rem; }

/* Снапшот + проверка */
.snapshot-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.snapshot-info .section-title { text-align: left; }

.snapshot-list {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
}

.snapshot-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--surface-border);
  font-size: 0.96rem;
}

.snapshot-list li span { color: var(--text-dim); }
.snapshot-list li strong { text-align: right; }

.claim-card {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(37, 166, 232, 0.1), rgba(124, 92, 252, 0.1));
  border: 1px solid var(--surface-border);
}

.claim-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.claim-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 22px; }

/* Виджет подключения кошелька */
.wallet-widget { min-height: 120px; }

.wallet-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  animation: state-in 0.35s ease;
}

.wallet-state.hidden { display: none; }

@keyframes state-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.btn-icon { width: 20px; height: 20px; }

.wallet-hint {
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.wallet-address {
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 0.85rem;
  color: var(--text-dim);
  word-break: break-all;
}

.wallet-status-text { font-weight: 600; }

.wallet-note {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 340px;
}

/* Спиннер проверки */
.spinner {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Бейджи статуса */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-ok { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.35); }
.status-no { background: rgba(251, 191, 36, 0.1); color: #fcd34d; border: 1px solid rgba(251, 191, 36, 0.3); }
.status-err { background: rgba(248, 113, 113, 0.1); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.3); }

/* Сумма награды */
.reward-amount {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 34px;
  border-radius: 14px;
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid var(--surface-border);
}

.reward-value {
  font-size: 1.9rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reward-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.faq-item[open] .faq-chevron { transform: rotate(-135deg); }

.faq-body { padding: 0 24px 20px; }
.faq-body p { color: var(--text-dim); font-size: 0.95rem; }

/* CTA */
.cta-section { padding-bottom: 100px; }

.cta-card {
  text-align: center;
  padding: 64px 32px;
  border-radius: 26px;
  background: linear-gradient(140deg, rgba(37, 166, 232, 0.16), rgba(124, 92, 252, 0.16));
  border: 1px solid var(--surface-border);
}

.cta-card h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 12px; }
.cta-card p { color: var(--text-dim); max-width: 520px; margin: 0 auto 28px; }

/* ===== Прогресс проверок ===== */
.checks-progress {
  margin-top: 26px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
}

.checks-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.checks-title { font-size: 0.98rem; color: var(--text-dim); }

.checks-title strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.checks-total { font-size: 0.88rem; color: var(--text-dim); }

.checks-bar { height: 12px; }

/* ===== Roadmap-таймлайн ===== */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 10px;
  padding-left: 34px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), rgba(255, 255, 255, 0.08));
}

.tl-item { position: relative; }

.tl-dot {
  position: absolute;
  left: -34px;
  top: 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.tl-item.done .tl-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(37, 166, 232, 0.6);
}

.tl-item.active .tl-dot {
  border-color: var(--accent-2);
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(124, 92, 252, 0.5);
  animation: tl-pulse 2s infinite;
}

@keyframes tl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 92, 252, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(124, 92, 252, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 92, 252, 0); }
}

.tl-card {
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: border-color 0.2s, transform 0.2s;
}

.tl-card:hover { border-color: rgba(37, 166, 232, 0.35); transform: translateX(4px); }
.tl-item.active .tl-card { border-color: rgba(124, 92, 252, 0.45); }

.tl-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.tl-phase {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.tl-status {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.tl-status.status-done { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; }
.tl-status.status-active { background: rgba(124, 92, 252, 0.15); color: #b7a5ff; }

.tl-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.tl-card p { color: var(--text-dim); font-size: 0.93rem; }

/* ===== Подвал ===== */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 48px 0 30px;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-brand p { color: var(--text-dim); font-size: 0.88rem; margin-top: 10px; max-width: 340px; }

.footer-nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-nav a { color: var(--text-dim); font-size: 0.92rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }

.footer-socials { display: flex; gap: 12px; align-items: center; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-dim);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link svg { width: 18px; height: 18px; }

.social-link:hover {
  color: var(--text);
  border-color: rgba(37, 166, 232, 0.45);
  transform: translateY(-2px);
}

.footer-disclaimer p {
  color: rgba(147, 161, 184, 0.6);
  font-size: 0.78rem;
  line-height: 1.55;
  border-top: 1px solid var(--surface-border);
  padding-top: 22px;
}

/* ===== Анимация появления ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .snapshot-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .burger { display: flex; }

  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 11, 20, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--surface-border);
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.open { transform: none; opacity: 1; pointer-events: auto; }

  .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--surface-border); }
  .nav-cta { margin-top: 16px; }

  .hero { padding-top: 140px; }
  .cards { grid-template-columns: 1fr; }
  .countdown { padding: 18px 20px; gap: 10px; }
  .countdown-item { min-width: 52px; }
  .section { padding: 64px 0; }
  .step { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .countdown-sep { display: none; }
}
