:root {
  color-scheme: dark;
  --bg: #020303;
  --bg-lift: #080b0b;
  --ink: #f7fbff;
  --muted: rgba(224, 238, 241, 0.72);
  --soft: rgba(224, 238, 241, 0.58);
  --panel: rgba(7, 10, 10, 0.82);
  --panel-strong: rgba(10, 16, 16, 0.94);
  --line: rgba(221, 251, 255, 0.22);
  --line-strong: rgba(223, 252, 255, 0.52);
  --cyan: #d8f7ff;
  --electric: #8cf4ff;
  --acid: #b9ff66;
  --amber: #ffe06f;
  --hot: #ff629b;
  --shadow-cold: 0 0 20px rgba(195, 246, 255, 0.34), 0 0 48px rgba(140, 244, 255, 0.16);
  --shadow-hot: 0 0 16px rgba(255, 98, 155, 0.42), 0 0 34px rgba(185, 255, 102, 0.12);
  --radius: 8px;
  --max-width: 1360px;
  --font-ui: "Trebuchet MS", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-display: "Impact", "Arial Black", "Trebuchet MS", system-ui, sans-serif;
  --font-tight: "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(216, 247, 255, 0.06), transparent 340px),
    linear-gradient(128deg, rgba(185, 255, 102, 0.045), transparent 420px),
    linear-gradient(245deg, rgba(255, 98, 155, 0.035), transparent 520px),
    var(--bg);
  font-family: var(--font-ui);
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(216, 247, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 247, 255, 0.032) 1px, transparent 1px),
    repeating-linear-gradient(115deg, transparent 0 96px, rgba(185, 255, 102, 0.032) 96px 97px);
  background-size: 80px 80px, 80px 80px, 220px 220px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), black 18%, black 84%, transparent);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(255, 255, 255, 0.018) 6px 7px);
  opacity: 0.55;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img {
  max-width: 100%;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  object-fit: contain;
  vertical-align: -0.22em;
}

.brand-icon-x {
  filter: invert(1) drop-shadow(0 0 7px rgba(255, 255, 255, 0.55));
}

.page-shell {
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 62px;
  padding: 8px 10px;
  border: 1px solid rgba(221, 251, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(3, 6, 6, 0.74);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-family: var(--font-tight);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(216, 247, 255, 0.52);
}

.logo-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(216, 247, 255, 0.62);
  border-radius: 50%;
  background: #030303;
  box-shadow: var(--shadow-cold);
  place-items: center;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: contrast(1.08) brightness(1.14) drop-shadow(0 0 8px rgba(216, 247, 255, 0.76));
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 12px;
  color: rgba(247, 251, 255, 0.78);
  font-family: var(--font-tight);
  font-size: 14px;
  font-weight: 900;
}

.site-nav a {
  position: relative;
  padding: 16px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--electric), var(--acid));
  box-shadow: 0 0 12px rgba(140, 244, 255, 0.8);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 170ms ease;
}

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

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.top-actions,
.hero-buttons,
.join-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.round-action,
.icon-tool,
.gallery-nav,
.modal-close,
.socials a {
  display: grid;
  border: 1px solid rgba(221, 251, 255, 0.32);
  border-radius: 50%;
  background: rgba(5, 7, 7, 0.78);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05), var(--shadow-cold);
  place-items: center;
}

.round-action,
.socials a {
  width: 46px;
  height: 46px;
}

.round-action .brand-icon,
.socials .brand-icon {
  width: 21px;
  height: 21px;
}

.round-action:hover,
.socials a:hover,
.gallery-nav:hover,
.icon-tool:hover {
  color: var(--acid);
  border-color: rgba(185, 255, 102, 0.74);
  box-shadow: var(--shadow-hot), var(--shadow-cold);
}

.wallet-button,
.primary-cta,
.secondary-cta,
.market-actions button,
.market-actions a,
.toolbar-pill,
.contract-pill,
.wallet-modal button:not(.modal-close),
.wallet-modal a {
  border: 1px solid rgba(221, 251, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(4, 8, 8, 0.82);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.055), 0 0 16px rgba(140, 244, 255, 0.16);
  color: var(--ink);
  cursor: pointer;
}

.wallet-button,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 12px;
  border-radius: 999px;
  padding: 0 26px;
  font-family: var(--font-tight);
  font-size: 15px;
  font-weight: 900;
}

.wallet-button,
.primary-cta {
  border-color: rgba(185, 255, 102, 0.76);
  background:
    linear-gradient(180deg, rgba(185, 255, 102, 0.22), rgba(140, 244, 255, 0.08)),
    rgba(15, 33, 19, 0.78);
  box-shadow: var(--shadow-hot), inset 0 0 22px rgba(255, 255, 255, 0.08);
}

.secondary-cta {
  border-color: rgba(140, 244, 255, 0.54);
}

.primary-cta:hover,
.secondary-cta:hover,
.wallet-button:hover {
  transform: translateY(-1px);
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 0 24px rgba(216, 247, 255, 0.14),
    0 30px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--acid);
  font-family: var(--font-tight);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 28px;
  min-height: 650px;
  padding: 56px 0 28px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 710px;
}

.hero-copy h1 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 92px;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 2px #fff,
    0 0 20px rgba(216, 247, 255, 0.86),
    0 0 42px rgba(140, 244, 255, 0.32),
    4px 4px 0 rgba(255, 98, 155, 0.18);
}

.hero-tagline {
  margin: 24px 0 14px;
  color: #fff;
  font-family: var(--font-tight);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

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

.launch-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 680px);
  margin: 46px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 251, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(4, 7, 7, 0.74);
  box-shadow: var(--shadow-cold);
}

.launch-item {
  min-width: 0;
  padding: 16px 15px;
  border-right: 1px solid rgba(221, 251, 255, 0.13);
}

.launch-item:last-child {
  border-right: 0;
}

.launch-item dt {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--cyan);
  font-family: var(--font-tight);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-item dd {
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-art::before {
  top: 24px;
  right: 4px;
  width: 76%;
  height: 76%;
  border: 1px solid rgba(221, 251, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(216, 247, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(216, 247, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: skewX(-10deg) rotate(-2deg);
  mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

.hero-art::after {
  right: 58px;
  bottom: 86px;
  width: 58%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acid), var(--electric), transparent);
  box-shadow: 0 0 20px rgba(140, 244, 255, 0.72);
  transform: rotate(-8deg);
}

.hero-art > img {
  position: absolute;
  right: -86px;
  bottom: -2px;
  width: 780px;
  max-width: none;
  filter:
    contrast(1.12)
    brightness(1.16)
    drop-shadow(0 0 8px rgba(247, 251, 255, 0.78))
    drop-shadow(0 0 34px rgba(140, 244, 255, 0.22));
  mix-blend-mode: screen;
  transform: rotate(-2deg);
}

.scan-stack {
  position: absolute;
  right: 10px;
  bottom: 38px;
  z-index: 2;
  display: grid;
  width: 360px;
  gap: 14px;
  pointer-events: none;
}

.scan-stack span {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 247, 255, 0.78), transparent);
  box-shadow: 0 0 10px rgba(216, 247, 255, 0.58);
  animation: scanDrift 3.8s ease-in-out infinite;
}

.scan-stack span:nth-child(2) {
  width: 78%;
  margin-left: auto;
  animation-delay: -1s;
}

.scan-stack span:nth-child(3) {
  width: 64%;
  animation-delay: -2s;
}

.scan-stack span:nth-child(4) {
  width: 86%;
  margin-left: auto;
  animation-delay: -2.8s;
}

.market-panel {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 0;
  margin-top: 14px;
  overflow: hidden;
}

.token-card {
  padding: 28px 24px;
  border-right: 1px solid rgba(221, 251, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(185, 255, 102, 0.055), transparent 46%),
    rgba(4, 8, 8, 0.45);
}

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

.token-avatar {
  display: grid;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #020303;
  box-shadow: var(--shadow-cold);
  place-items: center;
}

.token-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.12) brightness(1.15);
}

.token-heading h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

.token-heading small {
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
}

.price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 18px;
}

.price-row span {
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
}

.price-row strong {
  color: var(--acid);
  text-shadow: 0 0 12px rgba(185, 255, 102, 0.54);
}

.market-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.market-actions a,
.market-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.market-actions .brand-icon {
  width: 18px;
  height: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 251, 255, 0.17);
  border-radius: var(--radius);
}

.metric-grid div {
  min-width: 0;
  padding: 13px 11px;
  border-right: 1px solid rgba(221, 251, 255, 0.12);
}

.metric-grid div:last-child {
  border-right: 0;
}

dt {
  color: rgba(247, 251, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

dd {
  margin: 4px 0 0;
  color: #fff;
  font-weight: 900;
}

.chart-card {
  min-width: 0;
  padding: 18px 20px 16px;
}

.dex-card {
  display: grid;
  min-height: 640px;
  padding: 14px;
}

.dex-chart-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 612px;
  border: 0;
  border-radius: var(--radius);
  background: #050606;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.07),
    0 0 20px rgba(140, 244, 255, 0.16);
}

.gallery-section {
  position: relative;
  margin: 38px 0 24px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.section-heading h2,
.faq-panel h2,
.lore-panel h2,
.join-panel h2 {
  margin: 6px 0 0;
  font-family: var(--font-tight);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.signal-line {
  width: min(23vw, 260px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 247, 255, 0.72), var(--acid), transparent);
  box-shadow: 0 0 12px rgba(140, 244, 255, 0.44);
}

.gallery-wrap {
  position: relative;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 8px 42px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.specimen-card {
  position: relative;
  display: grid;
  min-width: 280px;
  min-height: 280px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(221, 251, 255, 0.28);
  border-radius: var(--radius);
  background: #020303;
  box-shadow: 0 0 18px rgba(216, 247, 255, 0.14), inset 0 0 20px rgba(255, 255, 255, 0.05);
  place-items: stretch;
  scroll-snap-align: center;
  transform: rotate(var(--tilt));
}

.specimen-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.82)),
    repeating-linear-gradient(180deg, transparent 0 14px, rgba(216, 247, 255, 0.032) 14px 15px);
}

.specimen-card.active {
  border-color: rgba(185, 255, 102, 0.72);
  box-shadow: var(--shadow-hot), var(--shadow-cold);
}

.specimen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.16) brightness(1.15) drop-shadow(0 0 13px rgba(216, 247, 255, 0.62));
  mix-blend-mode: screen;
}

.specimen-card div {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
}

.specimen-card h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.specimen-card p {
  margin: 4px 0 0;
  color: rgba(247, 251, 255, 0.72);
  font-size: 13px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(221, 251, 255, 0.42);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-nav.prev {
  left: -6px;
}

.gallery-nav.next {
  right: -6px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.gallery-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(221, 251, 255, 0.24);
  border-radius: 50%;
  background: rgba(216, 247, 255, 0.18);
  cursor: pointer;
}

.gallery-dots button.active {
  background: var(--acid);
  box-shadow: 0 0 12px rgba(185, 255, 102, 0.85);
}

.info-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.12fr;
  gap: 22px;
  margin-top: 28px;
}

.faq-panel,
.lore-panel {
  min-height: 520px;
  padding: 30px;
}

.faq-panel h2,
.lore-panel h2 {
  margin-bottom: 22px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid rgba(221, 251, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 14px;
  padding: 0 15px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 8px;
  border: 1px solid rgba(221, 251, 255, 0.24);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list p {
  margin: -4px 15px 16px;
  color: rgba(247, 251, 255, 0.7);
  font-size: 14px;
}

.speech-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: 22px;
}

.speech-row img {
  width: 126px;
  flex: 0 0 auto;
  filter: contrast(1.15) brightness(1.15) drop-shadow(0 0 14px rgba(216, 247, 255, 0.7));
  mix-blend-mode: screen;
}

.speech-row p {
  position: relative;
  margin: 0 0 16px;
  padding: 14px 18px;
  border: 1px solid rgba(221, 251, 255, 0.32);
  border-radius: var(--radius);
  color: rgba(247, 251, 255, 0.82);
  font-size: 13px;
  line-height: 1.7;
}

.speech-row p::before {
  position: absolute;
  bottom: 12px;
  left: -9px;
  width: 16px;
  height: 16px;
  content: "";
  border-bottom: 1px solid rgba(221, 251, 255, 0.32);
  border-left: 1px solid rgba(221, 251, 255, 0.32);
  background: rgba(7, 10, 10, 0.82);
  transform: rotate(45deg);
}

.lore-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.76fr);
  gap: 22px;
  overflow: hidden;
}

.lore-content {
  position: relative;
  z-index: 2;
}

.timeline {
  display: grid;
  gap: 23px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
}

.timeline h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.timeline p {
  margin: 0;
  color: rgba(247, 251, 255, 0.7);
  font-size: 13px;
}

.timeline-icon {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(221, 251, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(4, 7, 7, 0.82);
  box-shadow: var(--shadow-cold);
  color: var(--acid);
  place-items: center;
}

.timeline-icon svg {
  width: 22px;
  height: 22px;
}

.timeline li:not(:last-child) .timeline-icon::after {
  position: absolute;
  top: 50px;
  left: 50%;
  width: 1px;
  height: 26px;
  content: "";
  background: rgba(221, 251, 255, 0.26);
}

.neural-scene {
  position: relative;
  min-height: 450px;
}

.neural-scene::before {
  position: absolute;
  inset: 18px 8px;
  content: "";
  border: 1px solid rgba(221, 251, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(221, 251, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(221, 251, 255, 0.045) 1px, transparent 1px),
    repeating-linear-gradient(45deg, transparent 0 58px, rgba(185, 255, 102, 0.05) 58px 59px);
  background-size: 44px 44px, 44px 44px, 120px 120px;
  transform: skewY(-5deg);
}

.neural-scene img {
  position: absolute;
  right: -102px;
  bottom: 54px;
  width: 470px;
  max-width: none;
  filter: contrast(1.18) brightness(1.18) drop-shadow(0 0 18px rgba(216, 247, 255, 0.72));
  mix-blend-mode: screen;
  transform: rotate(-3deg);
}

.node {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 1px solid var(--acid);
  border-radius: 2px;
  background: rgba(185, 255, 102, 0.12);
  box-shadow: 0 0 14px rgba(185, 255, 102, 0.66);
  transform: rotate(45deg);
}

.node-a {
  top: 42px;
  right: 90px;
}

.node-b {
  top: 168px;
  left: 24px;
  border-color: var(--electric);
  box-shadow: 0 0 14px rgba(140, 244, 255, 0.6);
}

.node-c {
  right: 28px;
  bottom: 174px;
  border-color: var(--hot);
  box-shadow: 0 0 14px rgba(255, 98, 155, 0.58);
}

.node-d {
  left: 84px;
  bottom: 72px;
  border-color: var(--amber);
  box-shadow: 0 0 14px rgba(255, 224, 111, 0.58);
}

.join-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 140px;
  margin-top: 28px;
  padding: 22px 30px;
}

.join-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 20px;
}

.join-copy img {
  width: 138px;
  flex: 0 0 auto;
  filter: contrast(1.14) brightness(1.14) drop-shadow(0 0 16px rgba(216, 247, 255, 0.66));
  mix-blend-mode: screen;
}

.join-panel p:not(.eyebrow) {
  max-width: 540px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr minmax(280px, 390px) auto;
  align-items: center;
  gap: 18px;
  padding: 26px 8px 0;
}

.footer small {
  color: rgba(247, 251, 255, 0.66);
  font-size: 13px;
}

.contract-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 46px;
  gap: 14px;
  border-radius: var(--radius);
  padding: 0 16px;
  text-align: left;
}

.contract-pill span {
  color: rgba(247, 251, 255, 0.74);
  font-size: 12px;
}

.contract-pill strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

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

.wallet-dialog {
  width: min(430px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.wallet-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.wallet-modal {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 30px;
}

.wallet-modal h2,
.wallet-modal p {
  margin: 0;
}

.wallet-modal p {
  color: rgba(247, 251, 255, 0.72);
  font-size: 14px;
}

.wallet-modal button:not(.modal-close),
.wallet-modal a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 900;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: min(360px, calc(100% - 48px));
  padding: 14px 18px;
  border: 1px solid rgba(185, 255, 102, 0.58);
  border-radius: var(--radius);
  background: rgba(4, 8, 8, 0.94);
  box-shadow: var(--shadow-hot), var(--shadow-cold);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(216, 247, 255, 0.06), rgba(0, 0, 0, 0.9)),
    #020303;
  place-items: center;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.loading-screen.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-frame {
  position: relative;
  display: grid;
  width: min(100%, 920px);
  min-height: 560px;
  overflow: hidden;
  padding: 42px;
  border: 1px solid rgba(221, 251, 255, 0.32);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(180deg, transparent 0 12px, rgba(255, 255, 255, 0.024) 12px 13px),
    rgba(3, 7, 7, 0.9);
  box-shadow: var(--shadow-cold), 0 0 72px rgba(0, 0, 0, 0.48);
  place-items: end start;
}

.loading-art {
  position: absolute;
  inset: -82px -80px 62px 190px;
  pointer-events: none;
}

.loading-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.16) brightness(1.18) drop-shadow(0 0 20px rgba(216, 247, 255, 0.74));
  opacity: 0.9;
}

.loading-kicker {
  position: relative;
  z-index: 2;
  margin: 0 0 4px;
  color: var(--acid);
  font-family: var(--font-tight);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.loading-frame strong {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(216, 247, 255, 0.72);
}

.loading-progress-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(180px, 560px) auto;
  align-items: center;
  width: min(100%, 690px);
  gap: 18px;
  margin-top: 20px;
}

.loading-track {
  height: 42px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(221, 251, 255, 0.56);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.64);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.12), 0 0 18px rgba(216, 247, 255, 0.22);
}

.loading-fill {
  position: relative;
  width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--acid), var(--electric), var(--hot));
  box-shadow: inset 0 0 13px rgba(255, 255, 255, 0.34), 0 0 24px rgba(140, 244, 255, 0.62);
  transition: width 120ms linear;
}

.loading-fill span {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(150deg, rgba(255, 255, 255, 0.17) 0 18px, transparent 18px 40px);
  animation: flow 900ms linear infinite;
}

.loading-progress-row > span {
  color: var(--acid);
  font-family: var(--font-tight);
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(185, 255, 102, 0.65);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

@keyframes flow {
  from {
    transform: translateX(-42px);
  }
  to {
    transform: translateX(42px);
  }
}

@keyframes scanDrift {
  0%,
  100% {
    opacity: 0.32;
    transform: translateX(-14px);
  }
  50% {
    opacity: 0.95;
    transform: translateX(14px);
  }
}

@media (max-width: 1100px) {
  .page-shell {
    width: min(100% - 36px, 920px);
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-art {
    min-height: 440px;
    order: -1;
  }

  .hero-art > img {
    right: 50%;
    width: min(720px, 104%);
    transform: translateX(50%) rotate(-2deg);
  }

  .hero-art::before {
    right: 50%;
    width: 88%;
    transform: translateX(50%) skewX(-8deg);
  }

  .scan-stack {
    right: 50%;
    width: min(420px, 80%);
    transform: translateX(50%);
  }

  .market-panel,
  .info-grid,
  .lore-panel {
    grid-template-columns: 1fr;
  }

  .token-card {
    border-right: 0;
    border-bottom: 1px solid rgba(221, 251, 255, 0.14);
  }

  .neural-scene {
    min-height: 330px;
  }

  .neural-scene img {
    right: 50%;
    bottom: 0;
    width: min(480px, 96%);
    transform: translateX(50%) rotate(-2deg);
  }

  .dex-card {
    min-height: 580px;
  }

  .dex-chart-frame {
    min-height: 552px;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer .contract-pill {
    grid-column: 1 / -1;
    order: 5;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 22px, 640px);
    padding-top: 12px;
  }

  .topbar {
    top: 8px;
    gap: 10px;
  }

  .logo {
    font-size: 18px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    gap: 18px;
    font-size: 13px;
  }

  .top-actions {
    gap: 8px;
  }

  .round-action {
    display: none;
  }

  .wallet-button {
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hero-section {
    padding-top: 24px;
  }

  .hero-art {
    min-height: 294px;
  }

  .hero-art > img {
    bottom: -18px;
    width: 520px;
  }

  .hero-art::before {
    top: 18px;
    height: 78%;
  }

  .hero-art::after {
    right: 28px;
    bottom: 34px;
    width: 72%;
  }

  .scan-stack {
    bottom: 20px;
    width: 76%;
  }

  .hero-copy h1 {
    font-size: 56px;
  }

  .hero-tagline {
    font-size: 30px;
  }

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

  .hero-buttons,
  .join-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
  }

  .launch-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
  }

  .launch-item:nth-child(2n) {
    border-right: 0;
  }

  .launch-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(221, 251, 255, 0.13);
  }

  .token-card,
  .chart-card,
  .faq-panel,
  .lore-panel {
    padding: 20px 16px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-row span {
    font-size: 32px;
  }

  .market-actions,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(221, 251, 255, 0.12);
  }

  .metric-grid div:last-child {
    border-bottom: 0;
  }

  .dex-card {
    min-height: 500px;
    padding: 8px;
  }

  .dex-chart-frame {
    min-height: 482px;
  }

  .section-heading {
    gap: 10px;
  }

  .section-heading h2,
  .faq-panel h2,
  .lore-panel h2,
  .join-panel h2 {
    font-size: 29px;
  }

  .signal-line {
    width: 54px;
  }

  .gallery-track {
    grid-auto-columns: minmax(230px, 82%);
    padding-inline: 28px;
  }

  .gallery-nav {
    width: 46px;
    height: 46px;
  }

  .info-grid {
    gap: 16px;
  }

  .timeline li {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  .timeline-icon {
    width: 44px;
    height: 44px;
  }

  .timeline li:not(:last-child) .timeline-icon::after {
    top: 44px;
    height: 33px;
  }

  .speech-row {
    align-items: center;
  }

  .speech-row img {
    width: 88px;
  }

  .join-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .join-copy {
    align-items: center;
  }

  .join-copy img {
    width: 96px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding-inline: 4px;
  }

  .socials {
    justify-content: flex-start;
  }

  .contract-pill {
    width: 100%;
  }

  .loading-screen {
    padding: 14px;
  }

  .loading-frame {
    min-height: 520px;
    padding: 24px;
  }

  .loading-art {
    inset: -44px -66px 136px 18px;
  }

  .loading-frame strong {
    font-size: 42px;
  }

  .loading-progress-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .loading-progress-row > span {
    justify-self: start;
    font-size: 24px;
  }
}

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