/* =========
   Base
   ========= */
:root {
  --bg: #050711;
  --bg-elevated: #0a0d1a;
  --bg-soft: #101425;
  --border-subtle: rgba(255, 255, 255, 0.06);

  --accent: #ff5bfd;
  --accent-soft: rgba(255, 91, 253, 0.2);
  --accent-2: #4de3ff;
  --accent-2-soft: rgba(77, 227, 255, 0.15);

  --text: #f9fbff;
  --text-muted: #9ca5c6;

  --danger: #ff4b81;
  --success: #4dffba;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(255, 91, 253, 0.5);

  --transition-fast: 160ms ease-out;
  --transition-med: 220ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at 0 0, #221652 0, transparent 50%),
    radial-gradient(circle at 100% 0, #103560 0, transparent 55%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 18px 56px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========
   Nav
   ========= */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(
      135deg,
      rgba(255, 91, 253, 0.06),
      rgba(77, 227, 255, 0.04)
    ),
    rgba(5, 7, 17, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  background: #000;
  box-shadow: 0 0 18px rgba(255, 205, 72, 0.5);
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.nav__logo-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.nav__link {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav__link--pill {
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #050711;
  font-weight: 600;
  padding-inline: 16px;
}

.nav__link--pill:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px) scale(1.02);
}

.nav__link--translate {
  padding: 8px 14px;
  font-size: 13px;
  background: rgba(77, 227, 255, 0.1);
  border-color: rgba(77, 227, 255, 0.3);
  color: var(--accent-2);
}

.nav__link--translate:hover {
  background: rgba(77, 227, 255, 0.2);
  border-color: rgba(77, 227, 255, 0.5);
  color: var(--accent-2);
}

/* =========
   Buttons
   ========= */
.btn {
  border-radius: var(--radius-pill);
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-med), transform var(--transition-fast),
    box-shadow var(--transition-med), border-color var(--transition-fast);
}

.btn--primary {
  background: radial-gradient(circle at 0 0, #ffe8ff 0, #ff5bfd 45%, #ff2b73);
  color: #050711;
  box-shadow: 0 10px 30px rgba(255, 43, 115, 0.5);
}

.btn--primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 40px rgba(255, 43, 115, 0.7);
}

.btn--ghost {
  background: rgba(7, 11, 30, 0.9);
}

.btn--ghost:hover {
  background: rgba(15, 22, 56, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn--icon {
  text-decoration: none;
  font-size: 14px;
  padding-inline: 16px;
}

.btn__icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.btn--tiny {
  font-size: 12px;
  padding: 6px 12px;
}

/* =========
   Hero
   ========= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(16, 22, 60, 0.9);
  border: 1px solid rgba(77, 227, 255, 0.35);
  color: var(--accent-2);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__logo-wrap {
  margin-top: 14px;
  margin-bottom: 4px;
}

.hero__logo {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(255, 205, 72, 0.5));
}

.hero__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.02;
  margin: 16px 0 14px;
  text-transform: uppercase;
}

.hero__title-top {
  display: block;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  font-size: 13px;
  margin-bottom: 6px;
}

.hero__title-main {
  display: inline;
  background: linear-gradient(110deg, #ffffff, #ffe6ff, #ff5bfd, #ff9a4b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 26px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero__launch {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.metric {
  min-width: 90px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(10, 13, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.metric__label {
  color: var(--text-muted);
}

.metric__value {
  font-weight: 600;
}

.metric__value--accent {
  color: var(--success);
}

/* Hero visual orbit */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbit {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 50% 0, #ffef9f 0, #ff5bfd 40%, #050711);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.hero-orbit__circle {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-orbit__circle--outer {
  width: 230px;
  height: 230px;
  opacity: 0.5;
}

.hero-orbit__circle--middle {
  width: 180px;
  height: 180px;
  opacity: 0.7;
}

.hero-orbit__circle--inner {
  width: 130px;
  height: 130px;
  opacity: 0.9;
}

.hero-orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 28px;
  background: radial-gradient(circle at 10% 0, #ffffff, #ffe0ff 40%, #ff5bfd);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  color: #050711;
}

.hero-orbit__core-title {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 4px;
}

.hero-orbit__core-sub {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-orbit__chip {
  position: absolute;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #050711;
  animation: float 4s ease-in-out infinite;
}

.hero-orbit__chip--blue {
  top: 20%;
  left: -8px;
  background: linear-gradient(135deg, #def7ff, #4de3ff);
}

.hero-orbit__chip--pink {
  bottom: 16%;
  right: -10px;
  background: linear-gradient(135deg, #ffd7ff, #ff5bfd);
  animation-delay: 0.8s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* =========
   Sections
   ========= */
.section {
  margin-bottom: 60px;
}

.section__header {
  max-width: 540px;
  margin-bottom: 24px;
}

.section__header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section__title {
  font-size: 22px;
  margin: 0 0 6px;
}

.section__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.section--grid .tokenomics__grid {
  margin-top: 6px;
}

/* Tokenomics */
.tokenomics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, rgba(77, 227, 255, 0.15), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(255, 91, 253, 0.18), transparent 50%),
    var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.token-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.token-card__value {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.token-card__value--accent {
  background: linear-gradient(110deg, #fffbcc, #fff1f9, #4dffba);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.token-card__text {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.token-card--accent {
  border-color: rgba(255, 252, 167, 0.7);
  box-shadow: 0 0 28px rgba(255, 252, 167, 0.5);
}

/* Leaderboard */
.leaderboard__card {
  padding: 14px 16px 12px;
}

.leaderboard__header-row {
  display: grid;
  grid-template-columns: 60px 1fr 90px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.leaderboard__rows {
  max-height: 380px;
  overflow-y: auto;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 60px 1fr 90px;
  align-items: center;
  font-size: 13px;
  padding: 6px 4px;
  border-radius: 8px;
  position: relative;
  cursor: default;
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.leaderboard-row::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color var(--transition-fast);
}

.leaderboard-row:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

.leaderboard-row:hover::after {
  border-color: rgba(255, 255, 255, 0.06);
}

.leaderboard-row--top1 {
  background: radial-gradient(circle at 0 0, rgba(255, 230, 128, 0.26), transparent 55%),
    rgba(10, 12, 24, 0.96);
}

.leaderboard-row--top1::after {
  border-color: rgba(255, 226, 128, 0.85);
}

.leaderboard-row--top2,
.leaderboard-row--top3 {
  background: radial-gradient(circle at 0 0, rgba(203, 224, 255, 0.24), transparent 55%),
    rgba(10, 12, 24, 0.96);
}

.leaderboard-row--top2::after,
.leaderboard-row--top3::after {
  border-color: rgba(189, 206, 255, 0.7);
}

.leaderboard-row--top10 {
  background: rgba(255, 255, 255, 0.02);
}

.leaderboard__rank {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-weight: 600;
}

.leaderboard__badge {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.leaderboard__badge--gold {
  background: linear-gradient(120deg, #fff7c2, #ffdd80);
  color: #3b2c00;
}

.leaderboard__badge--silver {
  background: linear-gradient(120deg, #f0f3ff, #ccd8ff);
  color: #10152c;
}

.leaderboard__name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.leaderboard__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.leaderboard__name-text {
  display: flex;
  flex-direction: column;
}

.leaderboard__name-main {
  font-weight: 500;
}

.leaderboard__name-handle {
  font-size: 11px;
  color: var(--text-muted);
}

.leaderboard__pct {
  justify-self: flex-end;
  font-weight: 600;
}

.leaderboard__pct-bar {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  margin-top: 4px;
}

.leaderboard__pct-bar-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left;
  transform: scaleX(0);
  animation: barGrow 900ms ease-out forwards;
}

@keyframes barGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.leaderboard__footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.leaderboard__total span:last-child {
  font-weight: 600;
  color: var(--success);
}

.leaderboard__legend {
  display: flex;
  gap: 8px;
}

.pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 17, 0.8);
}

.pill--gold {
  border-color: rgba(255, 231, 145, 0.9);
}

.pill--silver {
  border-color: rgba(210, 216, 255, 0.9);
}

/* How it works */
.how__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.how-card__step {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.how-card__title {
  margin: 0 0 6px;
  font-size: 15px;
}

.how-card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

/* Community */
.community__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px;
}

.community-card__title {
  margin: 0 0 8px;
  font-size: 15px;
}

.community-card__text {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.community__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-card--highlight {
  border-color: rgba(77, 227, 255, 0.7);
  box-shadow: 0 0 30px rgba(77, 227, 255, 0.4);
}

.community-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.community-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.community-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent), var(--accent-2));
}

.community-card__footnote {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 11px;
  padding: 10px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.footer__brand {
  font-weight: 600;
  color: var(--text);
}

.footer__tagline {
  margin-left: 8px;
}

/* Scrollbar styling for leaderboard */
.leaderboard__rows::-webkit-scrollbar {
  width: 4px;
}

.leaderboard__rows::-webkit-scrollbar-track {
  background: transparent;
}

.leaderboard__rows::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* =========
   Responsive
   ========= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
  }

  .community__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .how__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tokenomics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav {
    padding-inline: 10px;
  }

  .nav__links {
    display: none;
  }

  .page {
    padding-inline: 14px;
  }

  .section__header--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .tokenomics__grid,
  .how__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-orbit {
    width: 220px;
    height: 220px;
  }

  .hero-orbit__core {
    width: 120px;
    height: 120px;
  }

  .leaderboard__header-row,
  .leaderboard-row {
    grid-template-columns: 46px 1fr 70px;
  }
}


