:root {
  --bg: #070a0d;
  --bg-raised: #0d1216;
  --bg-card: #111820;
  --bg-deep: #050709;
  --line: rgba(80, 222, 200, 0.16);
  --line-soft: rgba(80, 222, 200, 0.1);
  --text: #eef6f3;
  --text-soft: #a7b7b5;
  --text-dim: #6d7d7c;
  --accent: #2fd6b7;
  --accent-strong: #22b99e;
  --accent-ink: #06130f;
  --reward: #ffc857;
  --live: #ff6b6b;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.has-sticky {
  padding-bottom: 84px;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 36px, 560px);
  margin-left: auto;
  margin-right: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 10, 13, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  width: min(100% - 28px, 560px);
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 7px;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(47, 214, 183, 0.28));
}

.brand-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3px;
  flex: 0 0 auto;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 6px;
  min-width: 38px;
  text-align: center;
}

.lang-btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0 24px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -160px -90px auto auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 214, 183, 0.15), transparent 66%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section .eyebrow,
.radar-card .eyebrow,
.stats-head .eyebrow,
.final-inner .eyebrow {
  justify-content: flex-start;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(47, 214, 183, 0.9);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  text-wrap: balance;
}

h2 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 10px;
  text-wrap: balance;
}

h3 {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-sub {
  margin: 0 auto 24px;
  max-width: 440px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px rgba(47, 214, 183, 0.24);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.99);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text-soft);
}

.btn-lg {
  min-height: 56px;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.45;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(47, 214, 183, 0.8);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.radar-section {
  padding: 0 0 52px;
}

.radar-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}

.radar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.radar-head .eyebrow {
  margin-bottom: 8px;
}

.radar-head h2 {
  margin-bottom: 0;
  font-size: 20px;
}

.radar-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.32);
  color: var(--live);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.radar-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1.6s ease-in-out infinite;
}

.radar-sub {
  margin: 14px 0 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

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

.count-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 10px 4px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
}

.count-cell strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--reward);
}

.count-cell span {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 56px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-sub {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
}

.quiz-section,
.match-section {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
}

.quiz-shell {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.quiz-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.quiz-topline span:last-child {
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quiz-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 22px;
}

.quiz-progress span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.35s ease;
}

.quiz-body h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.option-card {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius);
  padding: 16px 12px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.option-card:active {
  transform: scale(0.98);
}

.option-card.is-selected {
  border-color: var(--accent);
  background: rgba(47, 214, 183, 0.12);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.option-index {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.option-card span:last-child {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.quiz-back {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 0 0;
}

.match-shell {
  display: grid;
  gap: 14px;
}

.match-banner {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.reveal-stage {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}

.reveal-stage::before,
.reveal-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reveal-stage::before {
  background:
    repeating-linear-gradient(0deg, rgba(47, 214, 183, 0.05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(47, 214, 183, 0.05) 0 1px, transparent 1px 26px);
}

.reveal-stage::after {
  background: linear-gradient(180deg, transparent 48%, rgba(47, 214, 183, 0.18) 50%, transparent 52%);
  animation: scan 1.4s linear infinite;
}

@keyframes scan {
  from { transform: translateY(-60%); }
  to { transform: translateY(60%); }
}

.scanner {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(47, 214, 183, 0.28);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

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

.reveal-stage p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}

.reveal-progress {
  position: relative;
  z-index: 1;
  width: min(100% - 20px, 320px);
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.reveal-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--reward));
  transition: width 0.18s linear;
}

.match-content {
  animation: fadeUp 0.4s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.match-top {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.match-art {
  width: 108px;
  height: 108px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0d10;
  border: 1px solid var(--line-soft);
}

.match-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-id {
  min-width: 0;
}

.match-tag {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.match-id strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.reward-chip {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 200, 87, 0.12);
  border: 1px solid rgba(255, 200, 87, 0.32);
  color: var(--reward);
  font-size: 12px;
  font-weight: 800;
}

.status-chip {
  align-self: start;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(47, 214, 183, 0.12);
  border: 1px solid rgba(47, 214, 183, 0.35);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-chip.is-live {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.35);
  color: var(--live);
}

.status-chip.is-testnet {
  background: rgba(138, 148, 255, 0.12);
  border-color: rgba(138, 148, 255, 0.35);
  color: #aeb4ff;
}

.deadline-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 200, 87, 0.07);
  border: 1px solid rgba(255, 200, 87, 0.22);
}

.deadline-strip span {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deadline-strip strong {
  color: var(--reward);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.match-thesis {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.match-actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
}

.how-section {
  background: var(--bg);
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.step-num {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.stats-section {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
  padding: 48px 0;
}

.stats-head {
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
}

.stat strong {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat span {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.final-cta {
  position: relative;
  padding: 60px 0;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 120%, rgba(47, 214, 183, 0.14), transparent 58%),
    var(--bg);
  overflow: hidden;
}

.final-inner {
  text-align: center;
}

.final-inner .eyebrow {
  justify-content: center;
}

.final-inner p:not(.eyebrow) {
  margin: 0 auto 22px;
  max-width: 420px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
  padding: 34px 0 42px;
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer .brand-name {
  letter-spacing: 0.12em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--text-dim);
  font-size: 13px;
}

.footer-note,
.footer-risk {
  margin: 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.6;
}

.footer-risk {
  color: #596763;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 10, 13, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 420px);
  margin: 0 auto;
  min-height: 50px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 800;
}

.sticky-cta svg {
  width: 17px;
  height: 17px;
}

[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .container,
  .topbar-inner {
    width: min(100% - 64px, 760px);
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .match-card {
    padding: 22px;
  }

  .match-top {
    grid-template-columns: 132px 1fr auto;
  }

  .match-art {
    width: 132px;
    height: 132px;
  }

  .match-id strong {
    font-size: 26px;
  }

  .count-cell {
    min-height: 84px;
  }

  .count-cell strong {
    font-size: 30px;
  }
}

@media (max-width: 359px) {
  h1 {
    font-size: 29px;
  }

  .brand-name {
    letter-spacing: 0.09em;
    font-size: 11px;
  }

  .lang-btn {
    min-width: 31px;
    padding: 8px 7px;
  }

  .option-card {
    min-height: 88px;
    padding: 13px 11px;
  }

  .match-top {
    grid-template-columns: 82px 1fr auto;
    gap: 10px;
  }

  .match-art {
    width: 82px;
    height: 82px;
  }

  .match-id strong {
    font-size: 19px;
  }

  .status-chip {
    padding: 5px 7px;
    font-size: 9px;
  }

  .count-cell {
    min-height: 66px;
  }

  .count-cell strong {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot,
  .radar-live i,
  .scanner,
  .reveal-stage::after {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
