/* =========================================================
   Pipe Inu — Detective Noir × Solana Cyberpunk
   ========================================================= */

:root {
  /* Colors */
  --bg-void: #03050a;
  --bg-deep: #05070f;
  --bg-navy: #0a1020;
  --bg-panel: rgba(12, 18, 36, 0.72);
  --bg-panel-strong: rgba(8, 12, 24, 0.88);

  --solana-purple: #9945ff;
  --solana-cyan: #14f195;
  --solana-teal: #00d1c1;
  --neon-green: #39ff14;
  --neon-magenta: #c77dff;
  --gold-smoke: #c8b48a;

  --text: #eef2ff;
  --text-muted: #9aa6c3;
  --text-dim: #6b7693;

  --border: rgba(153, 69, 255, 0.22);
  --border-cyan: rgba(20, 241, 149, 0.28);
  --glow-purple: 0 0 40px rgba(153, 69, 255, 0.35);
  --glow-cyan: 0 0 40px rgba(20, 241, 149, 0.25);
  --glow-soft: 0 0 60px rgba(153, 69, 255, 0.15);

  /* Typography */
  --font-display: "Syne", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", sans-serif;

  /* Spacing & layout */
  --container: 1180px;
  --header-h: 76px;
  --announce-h: 36px;
  --radius: 20px;
  --radius-sm: 12px;
  --section-y: clamp(5rem, 10vw, 8.5rem);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--announce-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg-void);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

code {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
}

:focus-visible {
  outline: 2px solid var(--solana-cyan);
  outline-offset: 3px;
}

::selection {
  background: rgba(153, 69, 255, 0.45);
  color: #fff;
}

/* Grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Plaid texture accent (subtle) */
.plaid-overlay,
.philosophy::after,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(153, 69, 255, 0.5) 40px,
      rgba(153, 69, 255, 0.5) 41px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(20, 241, 149, 0.35) 40px,
      rgba(20, 241, 149, 0.35) 41px
    );
}

/* ---------- Utilities ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--solana-cyan);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 16ch;
}

.text-glow {
  background: linear-gradient(120deg, var(--solana-cyan), var(--solana-purple), var(--solana-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--bg-void);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  animation: floatY 2.4s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(153, 69, 255, 0.45);
}

.loader-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ---------- Custom cursor ---------- */
.cursor-glow {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9980;
  background: radial-gradient(circle, rgba(153, 69, 255, 0.18), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

body.has-cursor .cursor-glow {
  opacity: 1;
}

/* ---------- Announcement bar ---------- */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  height: var(--announce-h);
  overflow: hidden;
  background: linear-gradient(90deg, #12081f, #06141a, #0d0820);
  border-bottom: 1px solid rgba(153, 69, 255, 0.25);
  display: flex;
  align-items: center;
}

.announce-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  will-change: transform;
}

.announce-track span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--solana-cyan);
  padding-right: 0.5rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--header-h);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: rgba(153, 69, 255, 0.18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  z-index: 2;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 0 20px rgba(153, 69, 255, 0.4);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--solana-purple), var(--solana-cyan));
}

.nav-buy {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.nav-mobile-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  position: relative;
  z-index: 2;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(10, 16, 32, 0.6);
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease, top 0.3s var(--ease-out);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}

.btn-buy {
  color: #05070f;
  background: linear-gradient(120deg, var(--solana-cyan), #7dffb3 40%, var(--solana-purple));
  background-size: 180% 180%;
  box-shadow: 0 0 28px rgba(20, 241, 149, 0.28), 0 0 48px rgba(153, 69, 255, 0.18);
  animation: buyGlow 4s ease-in-out infinite;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(20, 241, 149, 0.4), 0 0 60px rgba(153, 69, 255, 0.28);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-cyan);
  background: rgba(20, 241, 149, 0.06);
  box-shadow: var(--glow-cyan);
}

.btn-icon {
  padding-inline: 1.1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
}

.btn-icon:hover {
  border-color: var(--solana-purple);
  box-shadow: var(--glow-purple);
}

.btn-copy {
  min-height: 40px;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: rgba(153, 69, 255, 0.18);
  border: 1px solid rgba(153, 69, 255, 0.35);
  color: var(--text);
  font-size: 0.82rem;
}

.btn-copy:hover {
  background: rgba(153, 69, 255, 0.3);
}

.btn-copy--sm {
  min-height: 34px;
  padding: 0.35rem 0.8rem;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  animation: none;
  filter: grayscale(0.35);
}

.btn.is-disabled:hover,
.btn[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

.btn .coming-soon-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(8, 12, 24, 0.95);
  border: 1px solid var(--border);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn.is-disabled:hover .coming-soon-tip,
.btn[aria-disabled="true"]:hover .coming-soon-tip,
.btn.is-disabled:focus-visible .coming-soon-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes buyGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes rippleAnim {
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--announce-h) + var(--header-h) + 2rem) 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 70% 40%, rgba(153, 69, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(20, 241, 149, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-navy) 55%, var(--bg-void) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(153, 69, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 241, 149, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black, transparent);
  animation: gridDrift 40s linear infinite;
  opacity: 0.55;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-orb--purple {
  width: 420px;
  height: 420px;
  top: 10%;
  right: 8%;
  background: var(--solana-purple);
}

.hero-orb--cyan {
  width: 280px;
  height: 280px;
  bottom: 15%;
  left: 5%;
  background: var(--solana-cyan);
  opacity: 0.28;
}

.hero-orb--teal {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 40%;
  background: var(--solana-teal);
  opacity: 0.2;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.geo-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.geo {
  position: absolute;
  border: 1px solid rgba(153, 69, 255, 0.35);
  opacity: 0.5;
  animation: geoFloat 12s ease-in-out infinite;
}

.geo-1 {
  width: 70px;
  height: 70px;
  top: 22%;
  left: 8%;
  transform: rotate(45deg);
  border-color: rgba(20, 241, 149, 0.35);
}

.geo-2 {
  width: 40px;
  height: 40px;
  top: 65%;
  right: 12%;
  border-radius: 50%;
  animation-delay: -3s;
}

.geo-3 {
  width: 0;
  height: 0;
  top: 30%;
  right: 28%;
  border: none;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 32px solid rgba(153, 69, 255, 0.25);
  animation-delay: -6s;
}

.geo-4 {
  width: 55px;
  height: 55px;
  bottom: 22%;
  left: 28%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background: rgba(20, 241, 149, 0.12);
  border: none;
  animation-delay: -2s;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: rgba(8, 12, 24, 0.65);
}

.badge-ticker {
  color: var(--solana-cyan);
  border-color: rgba(20, 241, 149, 0.35);
  box-shadow: 0 0 20px rgba(20, 241, 149, 0.15);
}

.badge-solana {
  color: var(--neon-magenta);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line--accent {
  background: linear-gradient(100deg, #fff 10%, var(--solana-cyan) 45%, var(--solana-purple) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  max-width: 32ch;
  margin-bottom: 2rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.ca-panel {
  max-width: 460px;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
}

.ca-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ca-address {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  color: var(--solana-cyan);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-warning {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-character {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
}

.character-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(153, 69, 255, 0.45), rgba(20, 241, 149, 0.12) 45%, transparent 70%);
  filter: blur(20px);
  animation: pulseGlow 5s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 28px;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 42px rgba(153, 69, 255, 0.35));
}

.neon-ring {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  border: 1px solid rgba(20, 241, 149, 0.28);
  box-shadow: inset 0 0 50px rgba(153, 69, 255, 0.12), 0 0 36px rgba(20, 241, 149, 0.12);
  animation: ringPulse 6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(circle, transparent 52%, black 58%);
  -webkit-mask-image: radial-gradient(circle, transparent 52%, black 58%);
}

.float-y {
  animation: floatY 5.5s ease-in-out infinite;
}

/* Pipe smoke — aligned near the pipe / muzzle area */
.smoke-container {
  position: absolute;
  top: 28%;
  left: 42%;
  width: 140px;
  height: 200px;
  z-index: 3;
  pointer-events: none;
}

.smoke {
  position: absolute;
  bottom: 0;
  left: 40%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 180, 138, 0.45), rgba(153, 69, 255, 0.12) 50%, transparent 70%);
  filter: blur(8px);
  opacity: 0;
  animation: smokeRise 4.5s ease-out infinite;
}

.smoke-1 { left: 35%; animation-delay: 0s; }
.smoke-2 { left: 48%; width: 36px; height: 36px; animation-delay: 0.8s; }
.smoke-3 { left: 28%; width: 22px; height: 22px; animation-delay: 1.6s; }
.smoke-4 { left: 55%; width: 30px; height: 30px; animation-delay: 2.4s; }
.smoke-5 { left: 42%; width: 40px; height: 40px; animation-delay: 3.2s; }

@keyframes smokeRise {
  0% {
    opacity: 0;
    transform: translate(0, 20px) scale(0.6);
  }
  15% { opacity: 0.7; }
  70% { opacity: 0.35; }
  100% {
    opacity: 0;
    transform: translate(30px, -140px) scale(1.8);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  z-index: 2;
}

.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--solana-cyan);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(16px); }
}

.reveal-on-load {
  opacity: 0;
  transform: translateY(28px);
}

body.is-loaded .reveal-on-load {
  animation: loadIn 1s var(--ease-out) forwards;
}

body.is-loaded .hero-visual.reveal-on-load {
  animation-delay: 0.2s;
}

@keyframes loadIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Marquee ---------- */
.marquee-section {
  padding: 1.5rem 0 2.5rem;
  overflow: hidden;
  border-block: 1px solid rgba(153, 69, 255, 0.15);
  background: linear-gradient(180deg, transparent, rgba(153, 69, 255, 0.04), transparent);
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee + .marquee {
  margin-top: 0.35rem;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
}

.marquee--left .marquee-track {
  animation: marqueeLeft 42s linear infinite;
}

.marquee--right .marquee-track {
  animation: marqueeRight 48s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(238, 242, 255, 0.55);
}

.marquee--right .marquee-track span {
  -webkit-text-stroke-color: rgba(20, 241, 149, 0.4);
}

.marquee-track span[aria-hidden="true"] {
  -webkit-text-stroke: 0;
  color: var(--solana-purple);
  font-size: 0.5em;
  opacity: 0.7;
}

.marquee--right .marquee-track span[aria-hidden="true"] {
  color: var(--solana-cyan);
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ---------- About ---------- */
.about {
  background:
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(153, 69, 255, 0.1), transparent),
    var(--bg-void);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-text {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.hl {
  color: var(--text);
  font-weight: 600;
  position: relative;
  background: linear-gradient(90deg, rgba(153, 69, 255, 0.25), rgba(20, 241, 149, 0.15));
  padding: 0 0.2em;
  border-radius: 4px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.about-tags li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

.about-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.tilted-card {
  width: min(100%, 360px);
  padding: 1.5rem;
  border-radius: var(--radius);
  transform: rotate(4deg);
  transition: transform 0.5s var(--ease-out);
}

.tilted-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.about-logo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: calc(var(--radius) - 6px);
  margin-bottom: 1rem;
  background: radial-gradient(circle at 50% 45%, rgba(153, 69, 255, 0.2), transparent 65%);
}

.tilted-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--solana-cyan);
}

/* ---------- Lore ---------- */
.lore {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(20, 241, 149, 0.06), transparent),
    linear-gradient(180deg, var(--bg-void), var(--bg-navy) 40%, var(--bg-void));
}

.lore-container {
  max-width: 760px;
}

.lore .section-title {
  max-width: none;
  margin-bottom: 3.5rem;
}

.lore-story {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lore-line {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), color 0.6s ease;
}

.lore-line.is-visible {
  opacity: 1;
  transform: none;
  color: var(--text);
}

.lore-line--emphasis {
  font-style: italic;
  font-weight: 600;
}

.lore-word {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lore-finale {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  background: linear-gradient(100deg, var(--text), var(--solana-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lore-smoke {
  position: relative;
  height: 60px;
  margin: 0.5rem 0;
  opacity: 0.6;
}

.lore-smoke span {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 180, 138, 0.3), transparent 70%);
  filter: blur(12px);
  animation: loreSmoke 6s ease-in-out infinite;
}

.lore-smoke span:nth-child(1) { left: 10%; animation-delay: 0s; }
.lore-smoke span:nth-child(2) { left: 40%; animation-delay: 1.5s; }
.lore-smoke span:nth-child(3) { left: 70%; animation-delay: 3s; }

.lore-smoke--alt span:nth-child(1) { left: 25%; }
.lore-smoke--alt span:nth-child(2) { left: 55%; }

@keyframes loreSmoke {
  0%, 100% { transform: translateY(10px) scale(0.8); opacity: 0.3; }
  50% { transform: translateY(-15px) scale(1.2); opacity: 0.7; }
}

/* ---------- Traits ---------- */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 2.5rem;
  perspective: 1000px;
}

.trait-card {
  border-radius: var(--radius);
  padding: 1px;
  transform-style: preserve-3d;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.trait-card:hover {
  border-color: rgba(20, 241, 149, 0.4);
  box-shadow: var(--glow-cyan);
}

.trait-card-inner {
  padding: 1.75rem 1.4rem;
  border-radius: inherit;
  height: 100%;
  transform: translateZ(30px);
}

.trait-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--solana-purple);
  margin-bottom: 1.25rem;
}

.trait-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.trait-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ---------- Banner ---------- */
.banner-frame {
  position: relative;
  margin-top: 2rem;
}

.banner-glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(120deg, var(--solana-purple), var(--solana-cyan), var(--solana-purple));
  background-size: 200% 200%;
  animation: borderGlow 6s linear infinite;
  opacity: 0.85;
  z-index: 0;
}

.banner-inner {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-navy);
  aspect-ratio: 3 / 1;
  isolation: isolate;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  will-change: transform;
  transition: transform 0.1s linear;
}

.banner-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.12) 48%,
    transparent 58%
  );
  transform: translateX(-120%);
  animation: lightSweep 7s ease-in-out infinite;
  pointer-events: none;
}

.banner-smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.banner-smoke span {
  position: absolute;
  bottom: -10%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 180, 138, 0.2), transparent 70%);
  filter: blur(20px);
  animation: bannerSmoke 8s ease-in-out infinite;
}

.banner-smoke span:nth-child(1) { left: 15%; animation-delay: 0s; }
.banner-smoke span:nth-child(2) { left: 45%; animation-delay: 2s; }
.banner-smoke span:nth-child(3) { left: 72%; animation-delay: 4s; }

.banner-caption {
  position: relative;
  z-index: 2;
  margin-top: 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes lightSweep {
  0%, 30% { transform: translateX(-120%); }
  60%, 100% { transform: translateX(120%); }
}

@keyframes bannerSmoke {
  0%, 100% { transform: translateY(20px) scale(0.8); opacity: 0.2; }
  50% { transform: translateY(-40px) scale(1.3); opacity: 0.55; }
}

/* ---------- Token ---------- */
.token-panel {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
}

.token-identity {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.token-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 0 30px rgba(153, 69, 255, 0.35);
}

.token-identity h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.token-identity p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
}

.token-item dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.token-item dd {
  font-size: 1.05rem;
  font-weight: 500;
}

.token-ca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.token-ca code {
  color: var(--solana-cyan);
  word-break: break-all;
}

/* ---------- Join steps ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.steps-line {
  position: absolute;
  top: 42px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--solana-purple), var(--solana-cyan), transparent);
  box-shadow: 0 0 16px rgba(153, 69, 255, 0.45);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 241, 149, 0.4);
  box-shadow: var(--glow-cyan);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--bg-void);
  background: linear-gradient(135deg, var(--solana-cyan), var(--solana-purple));
  box-shadow: 0 0 24px rgba(153, 69, 255, 0.4);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ---------- Philosophy ---------- */
.philosophy {
  position: relative;
  padding: clamp(6rem, 14vw, 10rem) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(153, 69, 255, 0.14), transparent 65%),
    var(--bg-deep);
}

.philosophy::after {
  z-index: 0;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.philosophy-smoke span {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 180, 138, 0.18), transparent 70%);
  filter: blur(30px);
  animation: philosophySmoke 10s ease-in-out infinite;
}

.philosophy-smoke span:nth-child(1) { left: 10%; top: 20%; }
.philosophy-smoke span:nth-child(2) { right: 15%; top: 30%; animation-delay: 2s; }
.philosophy-smoke span:nth-child(3) { left: 35%; bottom: 10%; animation-delay: 4s; }
.philosophy-smoke span:nth-child(4) { right: 30%; bottom: 25%; animation-delay: 6s; }

.philosophy-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.manifesto {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  margin-bottom: 2rem;
}

.manifesto-accent {
  background: linear-gradient(100deg, var(--solana-cyan), var(--solana-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.manifesto-sub {
  max-width: 42ch;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.55;
}

@keyframes philosophySmoke {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate(20px, -30px) scale(1.25); opacity: 0.7; }
}

/* ---------- Community ---------- */
.community-panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(153, 69, 255, 0.12), rgba(20, 241, 149, 0.05)),
    var(--bg-panel);
}

.community .section-title {
  max-width: none;
  margin-inline: auto;
}

.community-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-style: italic;
  color: var(--text-muted);
  max-width: 28ch;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 2rem;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(10, 16, 32, 0.55);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.is-open {
  border-color: rgba(20, 241, 149, 0.35);
  box-shadow: 0 0 30px rgba(153, 69, 255, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--solana-cyan);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.faq-icon::before {
  top: 10px;
  left: 3px;
  right: 3px;
  height: 2px;
}

.faq-icon::after {
  left: 10px;
  top: 3px;
  bottom: 3px;
  width: 2px;
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer[hidden] {
  display: grid;
}

.faq-answer > p {
  overflow: hidden;
  padding: 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  min-height: 0;
}

.faq-item.is-open .faq-answer > p {
  padding-bottom: 1.25rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid rgba(153, 69, 255, 0.15);
  background: linear-gradient(180deg, var(--bg-void), #020308);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 0 24px rgba(153, 69, 255, 0.35);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer-brand span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.footer-links a,
.footer-copy {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}

.footer-links a:hover,
.footer-copy:hover {
  color: var(--solana-cyan);
}

.footer-links a.is-disabled,
.footer-links a[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
}

.footer-links a.is-disabled::after {
  content: "Coming Soon";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(8, 12, 24, 0.95);
  border: 1px solid var(--border);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.footer-links a.is-disabled:hover::after {
  opacity: 1;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-smoke);
}

.footer-disclaimer {
  max-width: 62ch;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---------- Toast & back to top ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 10050;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.95);
  border: 1px solid rgba(20, 241, 149, 0.4);
  color: var(--solana-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--glow-cyan);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 16, 32, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  border-color: var(--solana-cyan);
  box-shadow: var(--glow-cyan);
}

/* ---------- Shared animations ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}

@keyframes ringPulse {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.7; }
  50% { transform: rotate(4deg) scale(1.02); opacity: 1; }
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

@keyframes geoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

.geo-1 { animation-name: geoFloatSpin; }

@keyframes geoFloatSpin {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-18px) rotate(55deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badges,
  .hero-actions,
  .ca-row {
    justify-content: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .ca-panel {
    margin-inline: auto;
  }

  .hero-visual {
    order: -1;
  }

  .hero-character {
    width: min(78%, 380px);
  }

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

  .about-text {
    max-width: none;
  }

  .about-visual {
    order: -1;
  }

  .traits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .steps-line {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .nav-link {
    padding: 0.5rem 0.6rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: calc(var(--announce-h) + var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1.5rem 1.5rem 2rem;
    background: rgba(3, 5, 10, 0.96);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
    overflow-y: auto;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-link {
    padding: 1rem 0.5rem;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-buy {
    display: none;
  }

  .nav-mobile-cta {
    display: block;
    margin-top: 1.25rem;
  }

  .nav-mobile-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

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

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
    --announce-h: 32px;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .announce-track span {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .hero {
    padding-top: calc(var(--announce-h) + var(--header-h) + 1.25rem);
    padding-bottom: 3rem;
  }

  .hero-character {
    width: min(92%, 340px);
  }

  .smoke-container {
    top: 24%;
    left: 38%;
    width: 100px;
    height: 150px;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.5rem);
  }

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

  .banner-inner {
    aspect-ratio: 3 / 1;
    min-height: 110px;
  }

  .banner-caption {
    letter-spacing: 0.14em;
    font-size: 0.72rem;
  }

  .section-title {
    max-width: none;
  }

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

  .cursor-glow {
    display: none;
  }

  .geo {
    opacity: 0.3;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 2.55rem;
  }

  .ca-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-copy {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .lore-line,
  .reveal-on-load {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }

  .float-y,
  .hero-logo {
    animation: none !important;
  }
}

/* Pause animations when page hidden — handled via JS class */
body.is-paused * {
  animation-play-state: paused !important;
}
