:root {
  --bg: #070603;
  --bg-soft: #0a0906;
  --card: #12110c;
  --border: rgba(255, 255, 255, 0.08);
  --orange: #ff6a00;
  --text: #f6f7f2;
  --muted: #979488;
  --danger: #ff4d4d;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", sans-serif;
  --radius: 16px;
  --radius-sm: 11px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 6, 3, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: min(640px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.brand {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--text);
}
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.brand-accent { color: var(--orange); }
.nav-right { display: flex; gap: 8px; align-items: center; }

.promo {
  background: var(--orange);
  color: var(--bg);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
}

.btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}
.btn-primary {
  background: var(--orange);
  color: var(--bg);
  border: 0;
}
.btn-ghost { color: var(--muted); border: 0; background: transparent; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.main { width: min(640px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 72px; }

.hero {
  text-align: center;
  padding: 28px 20px 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 80% at 88% 0%, rgba(255, 106, 0, 0.22), transparent 55%),
    var(--bg-soft);
}
.hero-eyebrow {
  color: var(--orange);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
  margin: 12px 0 14px;
  color: var(--text);
}
.hero-title-accent { color: var(--orange); }
.hero-sub {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 16px;
  font-size: 14px;
}
.roi-steps { text-align: left; }
.roi-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
}
.roi-step:last-child { border-bottom: 0; padding-bottom: 0; }
.roi-step:first-child { padding-top: 0; }
.roi-step strong {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 13px;
}
.roi-step span { color: var(--text); padding-top: 4px; }
.hero-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
  text-align: center;
}
.hero-point {
  padding: 14px 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(7, 6, 3, 0.45);
}
.hero-point strong {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
}
.hero-point span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.hero-actions .btn { width: 100%; padding: 12px 16px; }

.section-header { margin: 28px 0 12px; text-align: center; }
#homeView > .section-header:first-child { margin-top: 0; }
.section-header h2 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}
.section-header p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.card h3 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.plan-kicker {
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.dash-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.dash-row > * { display: flex; flex-direction: column; min-width: 0; }
.dash-row .card { flex: 1; display: flex; flex-direction: column; }
.card-foot { margin-top: auto; padding-top: 14px; }

.stat-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
}
.stat-card-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stat-card-value {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
  letter-spacing: -.02em;
}

.field { margin-bottom: 12px; text-align: center; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.input {
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}
.input::placeholder { color: rgba(151, 148, 136, 0.8); }
.input:focus {
  outline: none;
  border-color: var(--orange);
}

.sides { display: grid; grid-template-columns: 1fr; gap: 8px; }
.sides button {
  padding: 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.sides button.on {
  color: var(--bg);
  background: var(--orange);
  border-color: var(--orange);
}

.grid3 { display: grid; grid-template-columns: 1fr; gap: 10px; }
.grid3 .card { min-height: 0; }
.muted { color: var(--muted); font-size: 13px; }
.mt-2 { margin-top: 8px; }

.claim-hero {
  margin: 0 0 12px;
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(255, 106, 0, 0.16), transparent 58%),
    var(--bg-soft);
  text-align: center;
}
.claim-timer-countdown {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .04em;
  line-height: 1.15;
  margin: 4px 0 2px;
}
.claim-timer-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 12px;
}
.claim-timer-progress-fill {
  height: 100%;
  width: 0;
  background: var(--orange);
}

.actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; }
.actions-2, .stats-2, .stats-3 { grid-template-columns: 1fr; }

.vol-split { margin: 0; text-align: center; }
.vol-card {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
}
.vol-value {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 4px 0 8px;
}
.split { display: grid; grid-template-columns: 1fr; gap: 10px; }
.bar { height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--orange); }

table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--text); }
th, td { padding: 10px 6px; border-bottom: 1px solid var(--border); text-align: center; }
th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.team-pager {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.team-pager-sm { margin: 8px 0 0; }
.team-pager-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.team-leg {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 10px;
  background: var(--bg);
}
.team-leg:last-child { margin-bottom: 0; }
.team-leg-title {
  font-family: var(--display);
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
}
.team-ids {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-height: 44px;
}
.team-id {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}
.team-id-lv { color: var(--orange); margin-right: 8px; }
.team-empty { color: var(--muted); padding: 10px 0; }

.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  padding: 10px 16px; border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  z-index: 50;
  font-size: 13px; font-weight: 500;
}
.toast.error { border-color: var(--danger); color: var(--danger); }
.foot {
  color: var(--muted);
  font-size: 12px;
  margin-top: 24px;
  word-break: break-all;
  text-align: center;
}
