:root {
  color-scheme: light;
  --bg: #d4f4ff;
  --ink: #123849;
  --muted: #437182;
  --line: rgba(18, 56, 73, 0.16);
  --accent: #e4ba4f;
  --accent-2: #00b7e4;
  --accent-3: #43a84a;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-2: rgba(225, 248, 255, 0.85);
  --shadow: 0 16px 34px rgba(17, 88, 118, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(88% 50% at 50% -10%, #a6e8ff 0%, transparent 75%),
    linear-gradient(180deg, #d4f4ff 0%, #bcf0ff 45%, #ebfbff 100%);
  color: var(--ink);
}

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

.bg-glow {
  position: fixed;
  inset: -20% -20%;
  background:
    radial-gradient(65% 65% at 20% 10%, rgba(0, 183, 228, 0.22), transparent 66%),
    radial-gradient(75% 75% at 80% 0%, rgba(67, 168, 74, 0.18), transparent 72%),
    radial-gradient(85% 85% at 50% 110%, rgba(228, 186, 79, 0.22), transparent 74%);
  z-index: 0;
  pointer-events: none;
}

.bg-dots {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(18, 56, 73, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

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

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(244, 252, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: headerIn 0.45s ease;
  margin-bottom: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Bungee", cursive;
  letter-spacing: 0.04em;
  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-coin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8dd, #f5ce68 52%, #dda93b 100%);
  border: 2px solid #e0b44a;
  box-shadow: 0 6px 14px rgba(228, 186, 79, 0.45);
}

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

.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: 999px;
  padding: 10px 18px;
  min-height: 42px;
  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: var(--accent);
  color: #3b2a00;
  border-color: transparent;
}

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

.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: #1f5366;
  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 {
  display: grid;
  gap: 36px;
  align-items: center;
  padding-bottom: 32px;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

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

.hero-title {
  font-family: "Bungee", cursive;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin: 0;
}

.hero-title span {
  color: #c7942f;
  display: block;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

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

.ca-card {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 10px;
}

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

.ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.ca-row code {
  flex: 1 1 260px;
  color: #c58b1f;
  word-break: break-all;
  font-weight: 700;
}

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

.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: stretch;
  align-content: stretch;
  justify-items: stretch;
}

.chart-embed {
  width: 100%;
  max-width: 640px;
  height: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  justify-self: center;
}

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

.art-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
}

.art-card {
  width: 100%;
  border-radius: 18px;
  display: block;
  border: 1px solid rgba(18, 56, 73, 0.15);
  box-shadow: var(--shadow);
  background: var(--surface);
  padding: 8px;
}

.art-card-main {
  min-height: 220px;
  object-fit: cover;
}

.art-card-banner {
  min-height: 220px;
  object-fit: cover;
}

.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: "Bungee", cursive;
  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;
  padding: 70px 0 0;
}

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

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

#token {
  padding-bottom: 28px;
}

.section-title h2 {
  font-family: "Bungee", cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

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

.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: 18px;
  border: 1px dashed rgba(18, 56, 73, 0.22);
  padding: 18px;
  background: var(--surface);
}

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

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

.step-num {
  font-family: "Bungee", cursive;
  font-size: 28px;
  color: var(--accent);
}

.cta {
  padding: 40px 0 0;
}

.cta-card {
  border-radius: 26px;
  padding: 26px;
  background: linear-gradient(120deg, rgba(0, 183, 228, 0.2), rgba(228, 186, 79, 0.26));
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
}

.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: #2f6879;
}

.footer-title {
  font-family: "Bungee", cursive;
  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(22px);
  transition: opacity 0.35s ease, transform 0.35s 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(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .icon-button {
    display: none;
  }

  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .hero-visual {
    min-height: auto;
  }

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

@media (max-width: 959px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .mobile-menu {
    display: grid;
  }

  .stat-grid {
    margin-top: 18px;
  }

  .logo {
    font-size: 12px;
  }

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

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

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