:root {
  --bg: #07030f;
  --bg-deep: #04020a;
  --ink: #f9f7ff;
  --muted: #b9acd0;
  --violet: #9d3cff;
  --magenta: #ff2fd1;
  --cyan: #23e8ff;
  --lime: #c9ff3b;
  --warm: #ffbf3f;
  --line: rgba(255,255,255,.15);
  --header-h: 72px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  background: var(--bg);
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  background:
    linear-gradient(rgba(4,2,10,.38), rgba(4,2,10,.6)),
    url("assets/bg-desktop.webp") center / cover fixed;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
.space-particles {
  position: fixed;
  inset: -15%;
  pointer-events: none;
  z-index: -1;
  opacity: .4;
  background-image:
    radial-gradient(circle at 14% 24%, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle at 72% 68%, #59edff 0 1px, transparent 1.5px),
    radial-gradient(circle at 43% 83%, #ff52d6 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 19%, #fff38d 0 1px, transparent 1.6px);
  background-size: 170px 170px, 230px 230px, 290px 290px, 350px 350px;
  animation: drift 40s linear infinite;
}

.content-shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.section {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  isolation: isolate;
  overflow: hidden;
}
.section::after {
  content: "";
  position: absolute;
  inset-inline: 7%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78,231,255,.5), rgba(255,53,218,.45), transparent);
  opacity: .55;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  background: linear-gradient(180deg, rgba(5,2,14,.94), rgba(5,2,14,.68));
  border-bottom: 1px solid rgba(99,223,255,.16);
}
.brand { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.brand-name,
.brand-ticker { font-family: "Bungee", system-ui; letter-spacing: .04em; }
.brand-name { font-size: .95rem; }
.brand-ticker { color: var(--cyan); font-size: .7rem; }
.desktop-nav { display: flex; justify-content: center; gap: 24px; }
.desktop-nav a {
  color: #d4c9e8;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: var(--cyan); }
.social-icons { display: flex; align-items: center; gap: 9px; }
.social-icons a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: #0d0820;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.social-icons a:hover {
  transform: translateY(-2px);
  border-color: rgba(62,232,255,.7);
  box-shadow: 0 0 18px rgba(65,222,255,.18);
}
.social-icons img { width: 30px; height: 30px; object-fit: contain; }
.social-icons img.telegram-icon { width: 33px; height: 33px; }

.hero {
  display: grid;
  align-items: center;
  padding-top: var(--header-h);
  background:
    linear-gradient(90deg, rgba(4,2,11,.92) 0%, rgba(4,2,11,.74) 38%, rgba(4,2,11,.13) 72%, rgba(4,2,11,.3) 100%),
    url("assets/bg-desktop.webp") center / cover;
}
.hero-content {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding-block: 70px 90px;
}
.hero-copy { position: relative; z-index: 3; max-width: 650px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: "Bungee", system-ui; margin: 0; font-weight: 400; }
h1 {
  font-size: clamp(3.25rem, 6.9vw, 7.2rem);
  line-height: .83;
  letter-spacing: -.035em;
  text-shadow: 0 3px 0 rgba(12,5,23,.9), 0 0 34px rgba(195,55,255,.16);
}
h1 span { color: #fff; }
.ticker-pill {
  display: inline-flex;
  margin-top: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(55,234,255,.4);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: .12em;
  background: #0a0717;
}
.hero-tagline {
  margin: 24px 0 0;
  font-family: "Bungee", system-ui;
  font-size: clamp(1.3rem, 2.1vw, 2.1rem);
  line-height: 1.12;
}
.hero-subtitle { color: var(--muted); margin: 10px 0 24px; font-size: 1.05rem; }
.ca-panel {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 610px);
  padding: 9px;
  background: rgba(5,3,14,.9);
  border: 1px solid rgba(255,255,255,.17);
  border-left: 3px solid var(--magenta);
  border-radius: 12px;
}
.ca-text-wrap { min-width: 0; padding: 5px 8px; display: grid; gap: 2px; }
.ca-label { color: #8f7fac; font-size: .67rem; font-weight: 800; letter-spacing: .14em; }
.ca-value {
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f3effa;
  font-size: .82rem;
}
.copy-btn, .footer-copy {
  border: 0;
  color: #05030a;
  background: var(--cyan);
  padding: 0 17px;
  min-height: 40px;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #08030d;
  background: linear-gradient(90deg, var(--lime), #ffe057, #ff7ecf);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 9px 30px rgba(255,83,219,.16);
}
.btn-secondary {
  border: 1px solid rgba(75,234,255,.6);
  background: #090617;
  color: #f9f6ff;
}
.market-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 720px);
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(4,2,12,.62);
}
.market-row > div { padding: 13px 12px; border-right: 1px solid rgba(255,255,255,.1); min-width: 0; }
.market-row > div:last-child { border-right: 0; }
.market-row span { display: block; color: #9384ac; font-size: .62rem; letter-spacing: .12em; font-weight: 700; }
.market-row strong { display: block; margin-top: 5px; font-size: .93rem; overflow: hidden; text-overflow: ellipsis; }

.hero-art-wrap { position: relative; min-width: 0; display: grid; place-items: center; }
.hero-art {
  width: min(100%, 720px);
  max-height: calc(100svh - 125px);
  object-fit: contain;
  filter: drop-shadow(0 22px 45px rgba(0,0,0,.35));
  animation: float 6.5s ease-in-out infinite;
}
.hero-orbit {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(103,237,255,.22);
  box-shadow: 0 0 70px rgba(128,38,255,.14), inset 0 0 50px rgba(52,219,255,.08);
  transform: rotate(-16deg) scaleY(.46);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: #ad9dc6;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  z-index: 4;
}
.scroll-cue span { color: var(--cyan); }

.about-section {
  display: grid;
  align-items: center;
  padding: 110px 0 80px;
  background:
    linear-gradient(180deg, rgba(5,2,12,.92), rgba(5,2,12,.74)),
    url("assets/bg-desktop.webp") 70% center / cover;
}
.split-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(42px, 7vw, 105px); align-items: center; }
.portrait-frame { position: relative; max-width: 540px; justify-self: center; }
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(48,229,255,.5);
  border-radius: 24px 8px 24px 8px;
  transform: rotate(-1.2deg);
  z-index: -1;
}
.portrait-frame img { width: 100%; border-radius: 18px 6px 18px 6px; box-shadow: 0 25px 60px rgba(0,0,0,.4); }
h2 { font-size: clamp(2.7rem, 5.6vw, 6rem); line-height: .92; letter-spacing: -.025em; }
.section-copy h2 { margin-bottom: 26px; }
.lore-copy { max-width: 600px; color: #d1c7de; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.65; }
.lore-copy p { margin: 0 0 10px; }
.statement {
  margin: 30px 0 0;
  font-family: "Bungee", system-ui;
  font-size: clamp(1.4rem, 2.8vw, 2.6rem);
  line-height: 1.18;
}
.statement em { color: var(--lime); font-style: normal; }

.trip-log-section {
  padding: 105px 0 120px;
  background:
    linear-gradient(180deg, rgba(3,2,9,.95), rgba(8,3,18,.9)),
    url("assets/bg-desktop.webp") 20% center / cover;
}
.section-heading { max-width: 760px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1rem; }
.trip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.2vw, 66px); margin-top: 48px; align-items: start; }
.trip-card { position: relative; }
.trip-card-offset { margin-top: 80px; }
.trip-image-wrap { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: #0b0619; }
.trip-image-wrap::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 50px rgba(8,4,18,.35); pointer-events: none; }
.trip-image-wrap img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.1,1); }
.trip-card:hover img { transform: scale(1.035); }
.trip-card-copy { padding: 22px 4px 0; }
.log-number { color: var(--cyan); font-weight: 800; letter-spacing: .17em; font-size: .7rem; }
.trip-card h3 { margin-top: 7px; font-size: clamp(1.7rem, 3vw, 3rem); }
.trip-card p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

.void-section { min-height: 100svh; display: grid; align-items: center; }
.void-visual, .community-visual { position: absolute; inset: 0; background-position: center; background-size: cover; z-index: -3; }
.void-visual { background-image: url("assets/crossing-void.webp"); background-position: 52% center; }
.void-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2,1,7,.84) 0%, rgba(4,2,9,.57) 29%, rgba(4,2,9,.06) 62%); }
.void-content { display: flex; align-items: center; min-height: 100svh; padding-block: 95px; }
.void-copy { max-width: 520px; padding: 30px 0; }
.void-copy p { margin: 16px 0 0; color: #d2c7df; font-size: 1.05rem; }
.void-copy strong { display: inline-block; margin-top: 20px; color: var(--lime); font-family: "Bungee", system-ui; font-size: clamp(2rem, 4vw, 4.4rem); }

.mission-section {
  padding: 105px 0 90px;
  background:
    radial-gradient(circle at 12% 65%, rgba(120,31,229,.15), transparent 32%),
    linear-gradient(180deg, rgba(4,2,11,.95), rgba(4,2,11,.88)),
    url("assets/bg-desktop.webp") center / cover;
}
.mission-heading { display: flex; flex-direction: column; }
.mission-heading > p:last-child { margin: 8px 0 0; color: var(--cyan); font-family: "Bungee", system-ui; }
.mission-stats { width: 74%; margin-top: 28px; margin-left: auto; }
.chart-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: end;
  margin-top: 18px;
}
.chart-wrap {
  position: relative;
  min-height: 565px;
  border: 1px solid rgba(69,230,255,.38);
  border-radius: 16px;
  overflow: hidden;
  background: #080611;
  box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 35px rgba(104,40,255,.11);
}
.chart-wrap::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,47,209,.12);
}
#dex-frame { display: block; width: 100%; height: 565px; border: 0; background: #07050d; }
.chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(118,36,216,.18), transparent 43%),
    #080610;
}
.chart-empty span { color: var(--cyan); font-size: .72rem; letter-spacing: .2em; font-weight: 800; }
.chart-empty strong { font-family: "Bungee", system-ui; font-size: clamp(1.2rem, 2.4vw, 2rem); }
.chart-empty small { color: var(--muted); }
.chart-pepe {
  width: min(100%, 310px);
  max-height: 535px;
  object-fit: contain;
  object-position: bottom;
  justify-self: end;
  filter: drop-shadow(0 20px 24px rgba(0,0,0,.35));
}

.community-section { min-height: 100svh; display: grid; align-items: center; }
.community-visual { background-image: url("assets/community.webp"); background-position: center; }
.community-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(3,1,9,.86) 0%, rgba(3,1,9,.6) 31%, rgba(3,1,9,.05) 65%); }
.community-content { display: flex; align-items: center; min-height: 100svh; padding-block: 100px; }
.community-copy { max-width: 560px; }
.community-copy > p:not(.eyebrow) { color: #ddd1e7; font-size: 1.08rem; line-height: 1.5; margin: 18px 0 0; }
.community-copy .hero-actions { margin-top: 26px; }
.community-socials { margin-top: 24px; }
.community-socials a { width: 46px; height: 46px; }
.community-socials img { width: 36px; height: 36px; }

.site-footer { background: #030207; border-top: 1px solid rgba(255,255,255,.12); }
.footer-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1.4fr) 1fr;
  gap: 30px;
  align-items: center;
  color: #9e91b3;
  font-size: .8rem;
}
.footer-inner > div:first-child { display: flex; flex-direction: column; }
.footer-inner strong { color: #fff; font-family: "Bungee", system-ui; font-weight: 400; }
.footer-inner > p { text-align: right; margin: 0; letter-spacing: .08em; }
.footer-ca { display: flex; gap: 8px; align-items: center; min-width: 0; padding: 6px 7px 6px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.footer-ca span { color: var(--cyan); font-size: .65rem; font-weight: 800; }
.footer-ca code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.footer-copy { min-height: 34px; padding-inline: 11px; font-size: .68rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

@keyframes float {
  0%,100% { transform: translateY(0) rotate(-.4deg); }
  50% { transform: translateY(-12px) rotate(.4deg); }
}
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(80px,55px,0); } }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero-content { grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(3rem, 8vw, 5.4rem); }
  .chart-stage { grid-template-columns: minmax(0, 1fr) 240px; }
  .mission-stats { width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1.4fr; }
  .footer-inner > p { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
  html { scroll-snap-type: y proximity; }
  body::before {
    background:
      linear-gradient(rgba(4,2,10,.46), rgba(4,2,10,.66)),
      url("assets/bg-mobile.webp") center / cover fixed;
  }
  .content-shell { width: min(100% - 30px, 680px); }
  .site-header { padding: 0 15px; gap: 12px; }
  .brand-name { font-size: .72rem; }
  .brand-ticker { display: none; }
  .social-icons { gap: 5px; }
  .social-icons a { width: 34px; height: 34px; border-radius: 10px; }
  .social-icons img { width: 27px; height: 27px; }
  .social-icons img.telegram-icon { width: 30px; height: 30px; }

  .section { min-height: auto; scroll-snap-align: start; }
  .hero {
    min-height: 100svh;
    align-items: start;
    background:
      linear-gradient(180deg, rgba(4,2,11,.7), rgba(4,2,11,.28) 38%, rgba(4,2,11,.82) 78%, rgba(4,2,11,.96)),
      url("assets/bg-mobile.webp") center / cover;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 32px;
    padding-bottom: 74px;
  }
  .hero-art-wrap { grid-row: 1; margin-top: 8px; }
  .hero-art { width: min(88vw, 540px); max-height: 44svh; }
  .hero-orbit { width: 72%; }
  .hero-copy { grid-row: 2; text-align: center; }
  .hero-copy .eyebrow { display: none; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.7rem); line-height: .86; }
  .ticker-pill { margin-top: 13px; }
  .hero-tagline { margin-top: 14px; font-size: 1.18rem; }
  .hero-subtitle { margin: 6px 0 16px; }
  .ca-panel { text-align: left; }
  .ca-value { max-width: 59vw; font-size: .73rem; }
  .hero-actions { justify-content: center; }
  .btn { flex: 1 1 140px; }
  .market-row { grid-template-columns: 1fr 1fr; }
  .market-row > div:nth-child(2) { border-right: 0; }
  .market-row > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .scroll-cue { display: none; }

  .about-section, .trip-log-section, .mission-section { padding: 80px 0; }
  .about-section {
    background:
      linear-gradient(180deg, rgba(5,2,12,.88), rgba(5,2,12,.78)),
      url("assets/bg-mobile.webp") center / cover;
  }
  .split-layout { grid-template-columns: 1fr; gap: 36px; }
  .portrait-frame { width: min(88%, 480px); }
  h2 { font-size: clamp(2.5rem, 12vw, 4.5rem); }
  .section-copy { text-align: left; }
  .statement { font-size: 1.65rem; }

  .trip-log-section {
    background:
      linear-gradient(180deg, rgba(3,2,9,.94), rgba(7,3,16,.9)),
      url("assets/bg-mobile.webp") 50% 65% / cover;
  }
  .trip-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 34px; }
  .trip-card-offset { margin-top: 0; }

  .void-section, .community-section { min-height: 100svh; }
  .void-visual { background-position: 60% center; }
  .void-shade { background: linear-gradient(180deg, rgba(2,1,7,.32), rgba(2,1,7,.15) 35%, rgba(2,1,7,.86) 75%); }
  .void-content { min-height: 100svh; align-items: end; padding-bottom: 72px; }
  .void-copy { max-width: 100%; }

  .mission-section {
    background:
      linear-gradient(180deg, rgba(4,2,11,.95), rgba(4,2,11,.9)),
      url("assets/bg-mobile.webp") center / cover;
  }
  .chart-stage { grid-template-columns: 1fr; gap: 18px; }
  .chart-wrap { min-height: 540px; order: 2; }
  #dex-frame { height: 540px; }
  .chart-pepe { order: 1; width: min(58%, 300px); max-height: 360px; justify-self: end; margin-bottom: -40px; z-index: 4; }

  .community-visual { background-position: 57% center; }
  .community-shade { background: linear-gradient(180deg, rgba(2,1,7,.18), rgba(2,1,7,.17) 35%, rgba(2,1,7,.88) 76%); }
  .community-content { min-height: 100svh; align-items: end; padding-bottom: 70px; }
  .community-copy { max-width: 100%; }
  .community-copy h2 { font-size: clamp(3rem, 16vw, 5rem); }
  .community-socials { justify-content: flex-start; }

  .footer-inner { grid-template-columns: 1fr; gap: 18px; padding-block: 26px; }
  .footer-ca { width: 100%; }
}

@media (max-width: 420px) {
  .brand-name { font-size: .64rem; }
  .social-icons a { width: 31px; height: 31px; }
  .social-icons img { width: 25px; height: 25px; }
  .social-icons img.telegram-icon { width: 27px; height: 27px; }
  .ca-value { max-width: 52vw; }
  .chart-wrap, #dex-frame { min-height: 500px; height: 500px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
