:root {
  color-scheme: dark;
  --bg: #07070d;
  --card: #151522;
  --card-soft: #1c1c2b;
  --text: #ffffff;
  --muted: #8f91ad;
  --line: #2a2a3a;
  --gold: #ffd700;
  --cyan: #00e5ff;
  --green: #00ff88;
  --red: #ff3344;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 10%, rgba(0, 229, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 20% 5%, rgba(255, 215, 0, 0.12), transparent 28rem),
    linear-gradient(135deg, #05050a 0%, #0b1020 48%, #05050a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand.missing-brand::before {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff5a8, var(--gold) 45%, #9f7800 100%);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.35);
}

.site-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--gold);
}

.language-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.language-button {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.language-button.active {
  background: var(--gold);
  color: #09090d;
}

[data-lang-panel][hidden] {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 48px;
  min-height: 680px;
  padding: 40px 0 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 9vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

h2 {
  max-width: 760px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-text,
.split-section p,
.feature-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: #06100b;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.inline-link {
  display: inline-flex;
  margin-top: 10px;
  margin-right: 18px;
  color: var(--gold);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle, rgba(0, 229, 255, 0.14), transparent 45%),
    rgba(12, 12, 22, 0.74);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.hero-visual::before {
  content: "";
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff5a8, var(--gold) 48%, #9f7800 100%);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.28), 0 0 96px rgba(0, 229, 255, 0.12);
}

.hero-medal {
  position: absolute;
  width: 190px;
  height: 190px;
  object-fit: contain;
  z-index: 4;
  filter: drop-shadow(0 0 28px rgba(255, 215, 0, 0.28));
}

.hero-logo {
  position: absolute;
  width: 150px;
  height: 150px;
  object-fit: contain;
  z-index: 5;
  opacity: 0;
  filter:
    drop-shadow(0 0 22px rgba(255, 215, 0, 0.7))
    drop-shadow(0 0 54px rgba(0, 255, 136, 0.48));
  animation: sonar-logo-blip 4s linear infinite;
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 50%;
  animation: sonar-ring-pulse 4s linear infinite;
}

.ring-one {
  width: 260px;
  height: 260px;
}

.ring-two {
  width: 370px;
  height: 370px;
}

.route-line {
  position: absolute;
  height: 2px;
  width: 78%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.4;
}

.sonar-sweep {
  position: absolute;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, rgba(0, 255, 136, 0.72) 0deg, rgba(0, 229, 255, 0.22) 15deg, transparent 48deg, transparent 360deg);
  opacity: 0.72;
  mix-blend-mode: screen;
  animation: sonar-scan 4s linear infinite;
  pointer-events: none;
}

.sonar-sweep::after {
  content: "";
  position: absolute;
  inset: 48%;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.8);
}

.route-a {
  transform: rotate(-22deg);
}

.route-b {
  transform: rotate(28deg);
}

@keyframes sonar-scan {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sonar-logo-blip {
  0%,
  7% {
    opacity: 0;
    transform: scale(0.86);
  }

  14% {
    opacity: 1;
    transform: scale(1);
  }

  32%,
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes sonar-ring-pulse {
  0%,
  100% {
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: none;
  }

  14% {
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 32px rgba(0, 255, 136, 0.18);
  }
}

.stats-strip,
.feature-grid,
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stats-strip article,
.feature-card,
.token-card,
.roadmap article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(21, 21, 34, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.stats-strip article {
  padding: 22px;
}

.stats-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 34px;
}

.stats-strip span,
.roadmap span {
  color: var(--muted);
}

.section {
  padding: 96px 0 0;
}

.section-heading {
  margin-bottom: 30px;
}

.feature-card {
  min-height: 230px;
  padding: 26px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 38px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3 {
  font-size: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.token-card {
  padding: 24px;
}

.token-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.token-row:last-child {
  border-bottom: 0;
}

.token-row strong {
  color: var(--gold);
}

.fair-use-section {
  padding-top: 80px;
}

.fair-use-card {
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 28px;
  padding: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 215, 0, 0.12), transparent 24rem),
    rgba(21, 21, 34, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.fair-use-card p {
  max-width: 920px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.fair-use-card p:last-child {
  margin-bottom: 0;
}

.roadmap {
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 96px;
}

.roadmap article {
  padding: 22px;
}

.roadmap strong {
  display: block;
  margin-bottom: 36px;
  color: var(--cyan);
}

.terms-shell {
  padding-bottom: 96px;
}

.terms-page {
  display: grid;
  gap: 28px;
}

.terms-hero {
  max-width: 900px;
  padding: 62px 0 10px;
}

.terms-hero h1 {
  font-size: clamp(42px, 7vw, 82px);
}

.terms-hero p,
.terms-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.terms-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 229, 255, 0.1), transparent 28rem),
    rgba(21, 21, 34, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.terms-card h2 {
  margin-bottom: 24px;
}

.terms-card h3 {
  margin: 30px 0 10px;
  color: var(--gold);
  font-size: 20px;
}

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

.page-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 36px);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 229, 255, 0.1), transparent 26rem),
    rgba(21, 21, 34, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.page-card h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
}

.page-card p,
.mini-grid p,
.timeline-item p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.highlight-card {
  border-color: rgba(0, 255, 136, 0.24);
}

.warning-card {
  border-color: rgba(255, 215, 0, 0.28);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 215, 0, 0.12), transparent 26rem),
    rgba(21, 21, 34, 0.78);
}

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

.mini-grid article {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.mini-grid h3 {
  margin-top: 0;
}

.compact-token-card {
  margin-top: 24px;
  box-shadow: none;
}

.timeline {
  display: grid;
  gap: 18px;
  padding-bottom: 96px;
}

.timeline-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.08), transparent 40%),
    rgba(21, 21, 34, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-item h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 44px);
}

.timeline-item.done {
  border-color: rgba(0, 255, 136, 0.24);
}

.timeline-item.done span {
  color: var(--green);
}

.timeline-item.active {
  border-color: rgba(255, 215, 0, 0.28);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 215, 0, 0.12), transparent 26rem),
    rgba(21, 21, 34, 0.78);
}

.timeline-item.active span {
  color: var(--gold);
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .hero,
  .split-section,
  .stats-strip,
  .feature-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .page-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::before,
  .hero-medal,
  .hero-logo,
  .radar-ring,
  .sonar-sweep {
    animation: none;
  }
}
