:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --ink: #e0e0e0;
  --muted: #6b6b6b;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #e0e0e0;
  --accent-2: #c44a4a;
  --accent-3: #5a9a5a;
  --surface: rgba(16, 16, 16, 0.95);
  --surface-2: rgba(18, 18, 18, 0.92);
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #0a0a0a;
  color: var(--ink);
}

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

.bg-glow {
  position: fixed;
  inset: -20% -20%;
  background: none;
  z-index: 0;
  pointer-events: none;
}

.bg-dots {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 32px 70px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: headerIn 0.45s ease;
  margin-bottom: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.2;
  min-width: 0;
}

.logo span:last-child {
  display: inline-block;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.nav {
  display: none;
  gap: 20px;
  justify-self: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b6b6b;
}

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

.actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 8px 16px;
  min-height: 36px;
  border: 1.5px solid var(--line);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: center;
  font-weight: 600;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn.is-clicked {
  animation: clickPulse 0.25s ease;
}

.btn.is-success {
  background: var(--accent-3);
  color: #fff;
  border-color: transparent;
}

.btn.solid {
  background: #7c5cbf;
  color: #fff;
  border-color: transparent;
}

.btn.ghost {
  background: var(--surface);
  color: var(--ink);
}

.btn-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  flex-shrink: 0;
}

.btn-icon[src$=".svg"] {
  filter: brightness(0) invert(1);
}

.btn.solid .btn-icon[src$=".svg"] {
  filter: brightness(0) invert(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  background: transparent;
}

.nav-cta:hover {
  border-color: #7c5cbf;
  color: #fff;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.icon-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: #7a7290;
  margin: 0 auto;
}

.mobile-menu {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.mobile-menu a {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: var(--surface);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
}

.hidden {
  display: none !important;
}

.hero {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  max-width: 90vw;
  opacity: 0.25;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 65%, rgba(0,0,0,1) 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 65%, rgba(0,0,0,1) 20%, transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

.hero-title {
  font-family: "Russo One", sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-title span {
  color: var(--ink);
  display: block;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ca-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(16, 16, 16, 0.6);
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.ca-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.ca-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.ca-row code {
  flex: 1;
  min-width: 0;
  color: #999;
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-row .btn {
  flex: 0 0 auto;
}

.chart-section {
  padding-top: 0;
}

.chart-embed {
  width: 100%;
  min-height: 320px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chart-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.token-art {
  display: grid;
  margin-top: 8px;
}

.banner-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.gallery-item {
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
}

.gallery-item.wide {
  grid-column: 1 / -1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 101;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  line-height: 1;
  padding: 8px;
}

.lightbox-close:hover {
  opacity: 1;
}

.story h3,
.step h3 {
  margin: 0 0 8px;
}

.story p,
.step p,
.footer-sub {
  margin: 0;
}

.stat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  background: var(--surface);
  border-radius: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 520px;
}

.stat-label {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-value {
  margin: 0;
  font-weight: 700;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  font-family: "Russo One", sans-serif;

  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 0;
}

.ticker-group {
  display: inline-flex;
  gap: 28px;
  padding-right: 28px;
}

.section {
  display: grid;
  gap: 28px;
}

.section.alt {
  background: var(--surface-2);
  border-radius: 20px;
  padding: 56px 32px 64px;
  border: 1px solid var(--line);
}

.section-title {
  display: grid;
  gap: 12px;
}

#token {
  padding-bottom: 28px;
}

.section-title h2 {
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
}

.lock-card {
  display: grid;
}

.lock-card-inner {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lock-card-inner h3 {
  margin: 0;
  font-family: "Russo One", sans-serif;

  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

.lock-card-inner .btn {
  justify-self: start;
}

.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow);
}

.story-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.story {
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 20px;
  background: var(--surface);
}

.story h3 {
  font-family: "Russo One", sans-serif;

  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
}

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

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.step h3 {
  font-family: "Russo One", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.step-num {
  font-family: "Russo One", sans-serif;

  font-size: 32px;
  color: var(--accent);
  opacity: 0.6;
}

.cta {
  padding: 40px 0 0;
}

.cta-card {
  border-radius: 20px;
  padding: 26px;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
}

.cta-card h2 {
  font-family: "Russo One", sans-serif;

  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #4a4a4a;
}

.footer-title {
  font-family: "Russo One", sans-serif;

  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes clickPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes headerIn {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 960px) {
  .nav {
    display: inline-flex;
  }

  .icon-button {
    display: none;
  }

  .logo span:last-child {
    max-width: none;
  }
}

@media (max-width: 959px) {
  .page {
    padding: 16px 16px 50px;
    gap: 32px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    padding: 10px 16px;
    top: 10px;
    border-radius: 20px;
  }

  .topbar.menu-open {
    border-radius: 16px;
  }

  .mobile-menu {
    display: grid;
  }

  .logo {
    font-size: 12px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-bg {
    width: 100%;
    opacity: 0.2;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .ca-card {
    width: 100%;
  }

  .chart-embed,
  .chart-embed iframe {
    min-height: 260px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide {
    grid-column: auto;
  }

  .cta-card {
    padding: 20px;
    border-radius: 16px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .step {
    grid-template-columns: 1fr;
  }
}
