:root {
  --bg: #050509;
  --panel: rgba(8, 7, 15, .62);
  --purple: #8b3dff;
  --purple-2: #b66cff;
  --text: #fff;
  --muted: #aaa6b8;
  --border: rgba(159, 86, 255, .48);
  --header-h: 78px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background: #050509;
}

.header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  padding: 0 4.5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  background: rgba(4, 4, 9, .66);
  border-bottom: 1px solid rgba(170, 100, 255, .13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(190, 120, 255, .65);
  border-radius: 50%;
  background: linear-gradient(145deg, #29143f, #08070c);
  box-shadow: 0 0 24px rgba(139, 61, 255, .18);
  font-size: 22px;
}

.socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.socials a {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    transition: all 0.3s ease;
}

.socials a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.socials a:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
}
.brand-name {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
  height: 100%;
}

.nav-link {
  position: relative;
  padding: 30px 0 26px;
  color: #a9a5b4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  transition: color .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 19px;
  width: 32px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--purple-2);
  box-shadow: 0 0 12px var(--purple);
}

.wallet-btn {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 19px;
  border: 1px solid rgba(161, 84, 255, .58);
  border-radius: 20px;
  color: #ddd4ee;
  background: rgba(11, 8, 18, .58);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  cursor: pointer;
  transition: .25s ease;
}

.wallet-btn:hover {
  color: #fff;
  border-color: var(--purple-2);
  box-shadow: 0 0 25px rgba(139, 61, 255, .35);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.3);
  border-radius: 8px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -5;
  background-image: url("assets/background.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.025);
  animation: slowZoom 16s ease-in-out infinite alternate;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(4,3,9,.97) 0%, rgba(4,3,9,.82) 27%, rgba(4,3,9,.24) 57%, rgba(4,3,9,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.72) 0%, transparent 18%, transparent 70%, rgba(0,0,0,.75) 100%);
}

.hero-glow {
  position: absolute;
  z-index: -3;
  width: 55vw;
  height: 55vw;
  right: -15vw;
  top: 12vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137,58,255,.18), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-3d {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease, transform 1.1s ease;
}

.hero-3d.is-ready {
  opacity: 1;
  transform: translateY(0);
}

/* WebGL missing or the model failed to load — keep the plate on its own. */
.hero-3d.is-failed {
  display: none;
}

/* No 3D available (file://, no CDN, no GPU): the empty stage plate would read
   as an almost black hero, so swap back to the painted reference artwork. */
.hero.no-3d .hero-bg {
  background-image: url("assets/hero-reference.jpg");
}

.hero.no-3d .hero-3d {
  display: none;
}

.hero-3d canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(600px, 43vw);
  margin-left: 6vw;
  padding-top: clamp(155px, 22vh, 220px);
}

.eyebrow {
  margin-bottom: 13px;
  color: #a75cff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 600;
  letter-spacing: .55em;
  text-shadow: 0 0 16px rgba(139,61,255,.4);
}

.slides {
  position: relative;
  min-height: 325px;
}

.slide {
  display: none;
  animation: slideIn .55s ease both;
}

.slide.active {
  display: block;
}

.slide h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(48px, 5.4vw, 86px);
  line-height: .95;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.055em;
  transform: skew(-5deg);
  text-shadow: 0 0 22px rgba(182,108,255,.24);
}

.slide h2 {
  margin: 24px 0 17px;
  font-size: clamp(15px, 1.35vw, 21px);
  letter-spacing: .31em;
  font-weight: 700;
}

.slide p {
  width: min(430px, 100%);
  margin: 0;
  color: #bbb6c8;
  font-size: 14px;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  gap: 20px;
  margin-top: 29px;
}

.btn {
  min-width: 175px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, #9b48ff, #7031db);
  box-shadow: 0 12px 40px rgba(112,49,219,.28);
}

.btn-primary:hover {
  box-shadow: 0 15px 48px rgba(139,61,255,.5);
}

.btn-secondary {
  border: 1px solid rgba(172,100,255,.56);
  background: rgba(7,5,13,.58);
}

.btn-secondary:hover {
  border-color: var(--purple-2);
  box-shadow: 0 0 25px rgba(139,61,255,.22);
}

.reward-card {
  width: min(420px, 100%);
  min-height: 84px;
  margin-top: 31px;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  gap: 19px;
  border: 1px solid rgba(166,86,255,.62);
  border-radius: 11px;
  background: rgba(7,5,14,.54);
  box-shadow: inset 0 0 28px rgba(139,61,255,.045), 0 0 25px rgba(0,0,0,.3);
  backdrop-filter: blur(8px);
}

.trophy {
  font-size: 28px;
  color: #a761ff;
  filter: drop-shadow(0 0 9px rgba(166,86,255,.5));
}

.reward-label {
  color: #c7bed7;
  font-family: "Orbitron", sans-serif;
  font-size: 9px;
  letter-spacing: .2em;
}

.reward-main {
  margin-top: 3px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
}

.reward-main span {
  margin-left: 7px;
  color: #c0b8ca;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
}

.bottom-left {
  position: absolute;
  z-index: 5;
  left: 4.6vw;
  bottom: 34px;
  display: grid;
  grid-template-columns: auto 150px auto;
  align-items: center;
  gap: 13px;
}

.slide-counter {
  color: #7f7b89;
  font-family: "Orbitron", sans-serif;
  font-size: 9px;
  letter-spacing: .08em;
}

.slide-counter strong {
  color: #fff;
}

.progress {
  width: 150px;
  height: 1px;
  background: rgba(255,255,255,.2);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: #b56cff;
  box-shadow: 0 0 8px #8b3dff;
  transition: width .4s ease;
}

.arrow-controls {
  display: flex;
  gap: 10px;
}

.arrow-controls button {
  width: 37px;
  height: 37px;
  border: 1px solid rgba(179,107,255,.4);
  border-radius: 50%;
  color: #ddd;
  background: rgba(4,3,9,.42);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  transition: .25s ease;
}

.arrow-controls button:hover {
  border-color: var(--purple-2);
  box-shadow: 0 0 18px rgba(139,61,255,.28);
  transform: scale(1.05);
}

.scroll-down {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: #b76cff;
  font-size: 28px;
  animation: bounce 1.8s infinite;
}

.community-mini {
  position: absolute;
  z-index: 5;
  right: 4.8vw;
  bottom: 39px;
  display: flex;
  align-items: center;
  gap: 19px;
  color: #a09aaa;
  font-size: 8px;
  letter-spacing: .2em;
  font-weight: 600;
}

.socials {
  display: flex;
  gap: 17px;
}

.socials a {
  color: #b6a2d5;
  font-size: 15px;
  transition: .2s ease;
}

.socials a:hover {
  color: #fff;
  text-shadow: 0 0 12px #a761ff;
}

.dummy-section {
  min-height: 65vh;
  padding: 130px 8vw;
  background:
    radial-gradient(circle at 70% 20%, rgba(111,49,190,.14), transparent 30%),
    #050509;
  border-top: 1px solid rgba(139,61,255,.12);
}

.dummy-section span {
  color: var(--purple-2);
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  letter-spacing: .2em;
}

.dummy-section h2 {
  margin: 16px 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(40px, 6vw, 88px);
}

.dummy-section p {
  color: var(--muted);
  max-width: 550px;
}

/* ------------------------------------------------------------------ *
 * ABOUT section
 * Self-contained: its own breakpoints live at the bottom of this block
 * so the whole section can be moved or edited in one place.
 * ------------------------------------------------------------------ */

.about {
  position: relative;
  padding: clamp(88px, 12vh, 138px) 8vw clamp(96px, 14vh, 158px);
  background-color: #050509;
  background-image: url("images/about.webp");
  background-position: 72% center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(139, 61, 255, .12);
  overflow: hidden;
  isolation: isolate;
}

/* Scrim over the photo: heavy on the left where the copy sits, lighter on
   the right so the bike stays visible. Top/bottom fades blend into the
   neighbouring sections. */
.about-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 52% at 84% 16%, rgba(126, 52, 214, .24), transparent 68%),
    radial-gradient(46% 42% at 6% 92%, rgba(90, 40, 170, .15), transparent 70%),
    linear-gradient(90deg, rgba(4, 3, 9, .95) 0%, rgba(4, 3, 9, .88) 34%, rgba(4, 3, 9, .66) 66%, rgba(4, 3, 9, .56) 100%),
    linear-gradient(180deg, #050509 0%, rgba(5, 5, 9, .3) 15%, rgba(5, 5, 9, .34) 80%, #050509 100%);
}

.about-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.about-title {
  margin: 0 0 22px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(38px, 5vw, 74px);
  line-height: .98;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.05em;
  transform: skew(-5deg);
  transform-origin: left center;
  text-shadow: 0 0 26px rgba(182, 108, 255, .26);
}

.about-lead {
  max-width: 620px;
  margin: 0 0 clamp(36px, 5vw, 58px);
  color: #bbb6c8;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.8;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.7vw, 24px);
}

.pillar {
  padding: clamp(24px, 2.4vw, 34px) clamp(20px, 2vw, 30px);
  border: 1px solid rgba(166, 86, 255, .34);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(24, 12, 44, .72), rgba(8, 6, 15, .62));
  box-shadow: inset 0 0 34px rgba(139, 61, 255, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--purple-2);
  box-shadow: inset 0 0 34px rgba(139, 61, 255, .1), 0 18px 44px rgba(0, 0, 0, .45);
}

.pillar-icon {
  width: clamp(44px, 3.6vw, 54px);
  height: clamp(44px, 3.6vw, 54px);
  margin-bottom: 22px;
  color: var(--purple-2);
  filter: drop-shadow(0 0 12px rgba(139, 61, 255, .5));
}

.pillar-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pillar h3 {
  margin: 0 0 12px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 700;
  letter-spacing: .06em;
}

.pillar p {
  margin: 0 0 24px;
  color: #aaa5b8;
  font-size: 13.5px;
  line-height: 1.72;
}

.pillar-index {
  color: var(--purple-2);
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.pillar-index::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 7px;
  background: var(--purple-2);
  box-shadow: 0 0 10px var(--purple);
}

.about-banner {
  margin-top: clamp(18px, 2.2vw, 26px);
  padding: clamp(26px, 3vw, 40px) clamp(24px, 3.4vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.6vw, 52px);
  border: 1px solid rgba(166, 86, 255, .4);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(30, 14, 56, .7), rgba(9, 6, 17, .6));
  box-shadow: inset 0 0 46px rgba(139, 61, 255, .07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.banner-mark {
  flex: none;
  width: clamp(88px, 11vw, 132px);
}

.banner-mark img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 0 22px rgba(166, 86, 255, .55));
}

.banner-title {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.9vw, 27px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.28;
}

.about-banner p {
  max-width: 520px;
  margin: 0;
  color: #aaa5b8;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.7;
}

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

@media (max-width: 620px) {
  /* Narrow viewports: keep the bike in frame and darken further, since the
     copy now spans the full width. */
  .about {
    background-position: 62% center;
  }

  .about-glow {
    background:
      radial-gradient(58% 52% at 84% 16%, rgba(126, 52, 214, .24), transparent 68%),
      linear-gradient(180deg, #050509 0%, rgba(5, 5, 9, .78) 18%, rgba(5, 5, 9, .8) 78%, #050509 100%);
  }

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

  .about-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .banner-title br {
    display: none;
  }
}

/* ------------------------------------------------------------------ *
 * TOKEN section
 * Same pattern as ABOUT: styles plus their own breakpoints in one block.
 * ------------------------------------------------------------------ */

.token {
  position: relative;
  padding: clamp(88px, 12vh, 138px) 8vw clamp(96px, 14vh, 158px);
  background-color: #050509;
  background-image: url("images/token.webp");
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(139, 61, 255, .12);
  overflow: hidden;
  isolation: isolate;
}

/* The stat cards cover most of this section, so the scrim only needs to
   protect the heading column; the LUNA sign on the right stays readable. */
.token-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 92% 42%, rgba(126, 52, 214, .26), transparent 66%),
    radial-gradient(42% 38% at 4% 8%, rgba(90, 40, 170, .14), transparent 70%),
    linear-gradient(90deg, rgba(4, 3, 9, .94) 0%, rgba(4, 3, 9, .84) 38%, rgba(4, 3, 9, .6) 72%, rgba(4, 3, 9, .5) 100%),
    linear-gradient(180deg, #050509 0%, rgba(5, 5, 9, .32) 15%, rgba(5, 5, 9, .38) 80%, #050509 100%);
}

.token-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.token-title {
  margin: 0 0 20px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(38px, 5vw, 74px);
  line-height: 1.02;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.05em;
  transform: skew(-5deg);
  transform-origin: left center;
  text-shadow: 0 0 26px rgba(182, 108, 255, .26);
}

/* Second line picks up the $LUNA purple, as in the reference. */
.token-title span {
  color: var(--purple-2);
  text-shadow: 0 0 30px rgba(139, 61, 255, .5);
}

.token-lead {
  max-width: 620px;
  margin: 0 0 clamp(32px, 4vw, 46px);
  color: #bbb6c8;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.8;
}

.token-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.3vw, 18px);
}

.stat {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 20px);
  padding: clamp(16px, 1.7vw, 24px) clamp(16px, 1.8vw, 26px);
  border: 1px solid rgba(166, 86, 255, .3);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(22, 11, 40, .66), rgba(8, 6, 15, .58));
  box-shadow: inset 0 0 30px rgba(139, 61, 255, .05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .28s ease, box-shadow .28s ease;
}

.stat:hover {
  border-color: rgba(182, 108, 255, .6);
  box-shadow: inset 0 0 30px rgba(139, 61, 255, .09);
}

.stat-wide {
  grid-column: 1 / -1;
}

.stat-icon {
  flex: none;
  width: clamp(38px, 3.2vw, 46px);
  height: clamp(38px, 3.2vw, 46px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 86, 255, .32);
  border-radius: 10px;
  background: rgba(139, 61, 255, .08);
  color: var(--purple-2);
}

.stat-icon svg {
  width: 56%;
  height: 56%;
  display: block;
}

.stat-body {
  min-width: 0; /* lets the long contract address shrink instead of overflowing */
}

.stat-label {
  margin-bottom: 6px;
  color: #9c96ab;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
}

.stat-value {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 700;
  letter-spacing: .01em;
}

.stat-value span {
  margin-left: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: .62em;
  font-weight: 500;
  color: #c0b8ca;
}

.stat-value.is-accent {
  color: var(--purple-2);
  text-shadow: 0 0 16px rgba(139, 61, 255, .45);
}

.ca-card {
  justify-content: space-between;
  gap: 16px;
}

.ca-label {
  margin-bottom: 8px;
  color: var(--purple-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.ca-value {
  display: block;
  overflow-wrap: anywhere;
  color: #cdc7d8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(11px, 1vw, 13.5px);
  letter-spacing: .02em;
}

.copy-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(166, 86, 255, .45);
  border-radius: 9px;
  color: #ddd4ee;
  background: rgba(11, 8, 18, .6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
  transition: .25s ease;
}

.copy-btn svg {
  width: 15px;
  height: 15px;
}

.copy-btn:hover {
  color: #fff;
  border-color: var(--purple-2);
  box-shadow: 0 0 22px rgba(139, 61, 255, .3);
}

.copy-btn.is-copied {
  color: #fff;
  border-color: var(--purple-2);
  background: rgba(139, 61, 255, .22);
}

.onchain-btn {
  margin-top: clamp(16px, 1.8vw, 24px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(172, 100, 255, .5);
  border-radius: 9px;
  background: rgba(7, 5, 13, .58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.onchain-btn svg {
  width: 16px;
  height: 16px;
  color: var(--purple-2);
}

.onchain-btn:hover {
  transform: translateY(-3px);
  border-color: var(--purple-2);
  box-shadow: 0 0 25px rgba(139, 61, 255, .28);
}

@media (max-width: 620px) {
  .token {
    background-position: 46% 40%;
  }

  .token-glow {
    background:
      radial-gradient(50% 60% at 92% 42%, rgba(126, 52, 214, .26), transparent 66%),
      linear-gradient(180deg, #050509 0%, rgba(5, 5, 9, .76) 18%, rgba(5, 5, 9, .8) 78%, #050509 100%);
  }

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

  .ca-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .onchain-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ------------------------------------------------------------------ *
 * ROADMAP section
 * Five phase cards joined by a connector line, plus the closing banner.
 * ------------------------------------------------------------------ */

.roadmap {
  position: relative;
  padding: clamp(88px, 12vh, 138px) 5vw clamp(96px, 14vh, 158px);
  background-color: #050509;
  background-image: url("images/roadmap.webp");
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(139, 61, 255, .12);
  overflow: hidden;
  isolation: isolate;
}

/* Phase cards run edge to edge here, so the scrim is vertical: darkest
   behind the heading, easing off over the hangar floor. */
.roadmap-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(56% 46% at 68% 10%, rgba(126, 52, 214, .26), transparent 66%),
    radial-gradient(40% 40% at 4% 30%, rgba(90, 40, 170, .14), transparent 70%),
    linear-gradient(90deg, rgba(4, 3, 9, .92) 0%, rgba(4, 3, 9, .8) 40%, rgba(4, 3, 9, .62) 74%, rgba(4, 3, 9, .54) 100%),
    linear-gradient(180deg, #050509 0%, rgba(5, 5, 9, .34) 16%, rgba(5, 5, 9, .4) 78%, #050509 100%);
}

.roadmap-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.roadmap-title {
  margin: 0 0 20px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(38px, 5.4vw, 78px);
  line-height: .98;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.05em;
  transform: skew(-5deg);
  transform-origin: left center;
  text-shadow: 0 0 26px rgba(182, 108, 255, .26);
}

.roadmap-lead {
  margin: 0 0 clamp(38px, 5vw, 60px);
  color: #bbb6c8;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.8;
}

.phases {
  /* Connector geometry. --icon-mid is the distance from the top of a card
     to the middle of its hexagon; adjust it if the card padding changes. */
  --gap: clamp(10px, 1.1vw, 16px);
  --icon-mid: 81px;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
}

.phase {
  position: relative;
  z-index: 1;
  padding: 22px clamp(14px, 1.3vw, 20px) clamp(20px, 1.8vw, 26px);
  border: 1px solid rgba(166, 86, 255, .32);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(24, 12, 44, .78), rgba(8, 6, 15, .7));
  box-shadow: inset 0 0 34px rgba(139, 61, 255, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.phase:hover {
  transform: translateY(-4px);
  border-color: var(--purple-2);
  box-shadow: inset 0 0 34px rgba(139, 61, 255, .1), 0 18px 44px rgba(0, 0, 0, .45);
}

.phase-label {
  margin-bottom: 16px;
  color: var(--purple-2);
  font-family: "Orbitron", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-align: left;
}

.phase-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  color: var(--purple-2);
  filter: drop-shadow(0 0 12px rgba(139, 61, 255, .45));
}

.phase-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Hexagon frame sits behind the glyph at a lower opacity. */
.phase-icon .hex {
  stroke: rgba(182, 108, 255, .55);
}

.phase h3 {
  margin: 0 0 10px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  letter-spacing: .05em;
}

.phase > p {
  margin: 0 0 18px;
  color: #aaa5b8;
  font-size: 12.5px;
  line-height: 1.62;
}

.phase-list {
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(166, 86, 255, .18);
  text-align: left;
}

.phase-list li {
  position: relative;
  padding: 0 0 0 24px;
  color: #cdc7d8;
  font-size: 12.5px;
  line-height: 1.5;
}

.phase-list li + li {
  margin-top: 10px;
}

.phase-list li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 15px;
  height: 15px;
  /* Hollow circle = not shipped yet (see PHASE 05). */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6c93' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.phase-list li.is-done::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b66cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.2'/%3E%3Cpath d='m8 12.2 2.7 2.7 5.5-5.5'/%3E%3C/svg%3E");
}

/* Connector line + node drawn into the gap after every card but the last.
   Only shown while all five cards share one row (see breakpoints below). */
.phase:not(:last-child)::before,
.phase:not(:last-child)::after {
  content: "";
  position: absolute;
  top: var(--icon-mid);
  pointer-events: none;
}

.phase:not(:last-child)::before {
  left: 100%;
  width: var(--gap);
  height: 1px;
  background: linear-gradient(90deg, rgba(182, 108, 255, .15), rgba(182, 108, 255, .85), rgba(182, 108, 255, .15));
}

.phase:not(:last-child)::after {
  left: calc(100% + var(--gap) / 2);
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--purple-2);
  box-shadow: 0 0 10px var(--purple);
}

.journey-banner {
  margin-top: clamp(20px, 2.4vw, 30px);
  padding: clamp(24px, 2.6vw, 34px) clamp(24px, 3vw, 42px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
  border: 1px solid rgba(166, 86, 255, .4);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(30, 14, 56, .72), rgba(9, 6, 17, .62));
  box-shadow: inset 0 0 46px rgba(139, 61, 255, .07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.journey-title {
  margin: 0;
  padding-left: clamp(20px, 2.6vw, 38px);
  border-left: 1px solid rgba(166, 86, 255, .35);
  font-size: clamp(16px, 1.75vw, 25px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.3;
}

.journey-title span {
  color: var(--purple-2);
  text-shadow: 0 0 22px rgba(139, 61, 255, .45);
}

.journey-note {
  max-width: 330px;
  margin: 0;
  padding-left: clamp(20px, 2.6vw, 38px);
  border-left: 1px solid rgba(166, 86, 255, .35);
  color: #aaa5b8;
  font-size: clamp(12.5px, 1vw, 14px);
  line-height: 1.7;
}

@media (max-width: 1050px) {
  .phases {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Cards now wrap, so the horizontal connector no longer lines up. */
  .phase::before,
  .phase::after {
    display: none;
  }

  .journey-banner {
    flex-wrap: wrap;
  }

  .journey-note {
    max-width: none;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 800px) {
  .phases {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .roadmap {
    background-position: 60% 45%;
  }

  .roadmap-glow {
    background:
      radial-gradient(56% 46% at 68% 10%, rgba(126, 52, 214, .26), transparent 66%),
      linear-gradient(180deg, #050509 0%, rgba(5, 5, 9, .76) 18%, rgba(5, 5, 9, .8) 78%, #050509 100%);
  }

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

  .journey-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .journey-title {
    padding-left: 0;
    border-left: 0;
  }
}

@keyframes slowZoom {
  from { transform: scale(1.025); }
  to { transform: scale(1.07); }
}

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

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

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

  .desktop-nav {
    gap: 19px;
  }

  .nav-link {
    font-size: 9px;
  }

  .hero-content {
    width: 48vw;
  }
}

@media (max-width: 800px) {
  :root { --header-h: 70px; }

  .header {
    padding: 0 20px;
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header > .wallet-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    z-index: 90;
    top: var(--header-h);
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(5,4,10,.96);
    border-bottom: 1px solid rgba(139,61,255,.25);
    backdrop-filter: blur(15px);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }

  .mobile-menu.open {
    transform: translateY(0);
  }

  .mobile-menu a {
    padding: 14px;
    color: #aaa6b8;
    font-size: 12px;
    letter-spacing: .15em;
  }

  .mobile-wallet {
    display: flex !important;
    justify-self: stretch;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .hero {
    min-height: 900px;
    height: auto;
  }

  .hero-bg {
    background-position: 65% center;
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(4,3,9,.94) 0%, rgba(4,3,9,.78) 30%, rgba(4,3,9,.18) 63%, rgba(4,3,9,.92) 100%),
      linear-gradient(90deg, rgba(4,3,9,.55), transparent);
  }

  /* On mobile the copy stacks at the top, so the character gets the
     bottom half of the hero to itself. */
  .hero-3d {
    top: auto;
    bottom: 60px;
    height: 42%;
  }

  .hero-content {
    width: auto;
    margin: 0;
    padding: 120px 24px 0;
  }

  .eyebrow {
    font-size: 12px;
  }

  .slides {
    min-height: 330px;
  }

  .slide h1 {
    font-size: clamp(43px, 13vw, 70px);
  }

  .slide h2 {
    margin-top: 20px;
  }

  .cta-row {
    flex-direction: column;
    width: min(360px, 100%);
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .reward-card {
    max-width: 390px;
    margin-top: 20px;
  }

  .bottom-left {
    left: 24px;
    bottom: 28px;
    grid-template-columns: auto 80px auto;
  }

  .progress {
    width: 80px;
  }

  .scroll-down {
    display: none;
  }

  .community-mini {
    right: 24px;
    bottom: 31px;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 850px;
  }

  .hero-content {
    padding-top: 108px;
  }

  .slides {
    min-height: 360px;
  }

  .reward-card {
    padding: 13px 15px;
  }

  .reward-main {
    font-size: 22px;
  }

  .reward-main span {
    display: block;
    margin: 2px 0 0;
  }

  .bottom-left {
    bottom: 23px;
  }

  .community-mini {
    bottom: 25px;
  }

  .community-mini > span {
    display: none;
  }
}
