/* ============================================================
   ADPT Cosmic UI — shared stylesheet
   Deep space, glass panels, aurora accents.
   Palette continues the existing ADPT identity:
   teal #00d4aa · violet #7c3aed · void #05050c
   ============================================================ */

:root {
  /* ADPT duality identity: machine-blue vs organic-orange
     (from the brand art: blue Merkaba / orange Flower of Life) */
  --void: #050310;                          /* violet-black, ominous */
  --vapor-pink: #ff3dbb;
  --vapor-magenta: #e935c1;
  --vapor-violet: #9945ff;
  --vapor-teal: #1fd9a4;
  --vapor-orange: #ff8c42;
  --vapor-yellow: #ffd166;
  --panel: #141224;                    /* surface-1, violet-leaning */
  --panel-solid: #100d1d;              /* surface-0.5 */
  --panel-edge: rgba(148, 158, 198, 0.07);
  --primary: #4d7fff;                       /* electric blue */
  --primary-dim: rgba(77, 127, 255, 0.14);
  --secondary: #ff9a3c;                     /* solar orange */
  --secondary-dim: rgba(255, 154, 60, 0.14);
  --gold: #ffcf6b;
  --text: #e8e8f2;
  --text-dim: #9a9ab4;
  --danger: #ff5d7a;
  --radius: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', ui-monospace, 'Cascadia Code', Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* The starfield canvas sits behind everything */
#cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
}

main, nav, footer { position: relative; z-index: 1; }

::selection { background: var(--secondary); color: #fff; }

/* ---------- Navigation ----------
   Grid with EQUAL 1fr side columns: the links column sits on the
   true page centerline, regardless of logo vs button width. */
.nav {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(3, 3, 9, 0.94);
  border-bottom: 1px solid rgba(130, 140, 190, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.8);
  z-index: 50;
}
.nav > .nav-logo { justify-self: start; }
.nav > .btn { justify-self: end; }

.nav-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  vertical-align: -8px;
  margin-right: 0.55rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.nav-logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  background: linear-gradient(120deg, var(--vapor-yellow), var(--vapor-pink) 55%, var(--vapor-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 3.2vw, 3rem);
  flex-wrap: wrap;
  padding: 0 1rem;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a { padding: 0.35rem 0.85rem; border-radius: 999px; transition: color 0.15s, background-color 0.15s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: #9db9ff; background: rgba(77, 127, 255, 0.12); }

/* ---------- Sponsored ad banner (DexScreener-style) ---------- */
.ad-banner {
  /* sticky: rides just below the nav on scroll (top set by Ads.mount) */
  position: sticky;
  top: 57px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  --ad-accent: #9945ff;
  background:
    radial-gradient(120% 200% at 0% 50%, color-mix(in srgb, var(--ad-accent) 14%, transparent), transparent 40%),
    radial-gradient(120% 200% at 100% 50%, color-mix(in srgb, var(--ad-accent) 10%, transparent), transparent 40%),
    linear-gradient(90deg, #0a0714, #08080f 30%, #08080f 70%, #0a0714);
  border-bottom: 1px solid color-mix(in srgb, var(--ad-accent) 35%, transparent);
  border-top: 1px solid rgba(255, 207, 107, 0.12);
  min-height: 104px;
  font-size: 1.02rem;
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.75);
}
/* rotation wash: a purple liquid nebula floods through the slot as the
   next advertiser materializes — same species of haze as the site's sky.
   Pure opacity/transform/blur on a pseudo-layer: GPU-composited, no layout. */
.ad-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  /* WARP FIELD: soft-bodied light comets — elliptical smears feathered
     in every direction (never hard lines: hairlines read as a broken
     screen; glow reads as starlight). Bloomed with blur, site palette. */
  background-image:
    radial-gradient(closest-side, rgba(235, 240, 255, 0.85), transparent),
    radial-gradient(closest-side, rgba(200, 214, 255, 0.55), transparent),
    radial-gradient(closest-side, rgba(153, 69, 255, 0.65), transparent),
    radial-gradient(closest-side, rgba(235, 240, 255, 0.45), transparent),
    radial-gradient(closest-side, rgba(233, 53, 193, 0.4), transparent),
    radial-gradient(closest-side, rgba(200, 214, 255, 0.6), transparent),
    radial-gradient(closest-side, rgba(255, 208, 158, 0.35), transparent),
    radial-gradient(closest-side, rgba(235, 240, 255, 0.6), transparent),
    radial-gradient(closest-side, rgba(153, 69, 255, 0.45), transparent);
  background-repeat: no-repeat;
  background-size:
    34% 7px, 46% 5px, 40% 8px, 52% 4px, 30% 6px,
    44% 5px, 38% 7px, 28% 4px, 48% 6px;
  background-position:
    14% 16%, 74% 26%, 32% 38%, 62% 50%, 10% 60%,
    82% 70%, 26% 82%, 55% 90%, 44% 8%;
  filter: blur(1.8px) saturate(1.25);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  opacity: 0;
  transform: scaleX(0.08);
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: no-preference) {
  .ad-banner.washing::before {
    animation: ad-warp 1.15s cubic-bezier(0.5, 0, 0.65, 1) forwards;
  }
  /* outgoing ad punches to warp: stretches, smears, gone */
  .ad-banner.washing .ad-body,
  .ad-banner.washing .ad-tag {
    animation: ad-depart 0.5s cubic-bezier(0.5, 0, 0.75, 0.6) forwards;
  }
}
@keyframes ad-warp {
  0%   { opacity: 0;    transform: scaleX(0.08); }
  20%  { opacity: 0.9;  transform: scaleX(0.8); }
  55%  { opacity: 0.95; transform: scaleX(2.0); }
  85%  { opacity: 0.35; transform: scaleX(3.0); }
  100% { opacity: 0;    transform: scaleX(3.5); }
}
@keyframes ad-depart {
  to { opacity: 0; transform: scaleX(1.35) translateX(9%); filter: blur(8px) brightness(1.12); }
}
}
}

/* a light sweep passes over the slot — a live broadcast, not a static box */
.ad-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.055) 50%, transparent 58%);
  transform: translateX(-120%);
  animation: ad-sheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ad-sheen {
  0%, 55%  { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}
/* dwell progress: the slot visibly counts down its airtime */
.ad-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--ad-accent), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
  animation: ad-progress var(--ad-dwell, 18s) linear forwards;
  opacity: 0.85;
}
@keyframes ad-progress { to { transform: scaleX(1); } }
.ad-live {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 0.4rem;
  vertical-align: 1px;
  animation: ad-live 1.8s ease-in-out infinite;
}
@keyframes ad-live { 0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--gold); } 50% { opacity: 0.35; box-shadow: none; } }
.ad-banner.ad-inline { position: relative; top: 0; z-index: 1; box-shadow: 0 18px 45px -12px rgba(0,0,0,0.7); border-radius: 14px; }
.ad-tag {
  font: 700 0.62rem var(--mono);
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid rgba(255, 207, 107, 0.4);
  border-radius: 6px;
  padding: 0.18rem 0.5rem;
  flex: 0 0 auto;
}
.ad-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  flex: 1;
  animation: ad-in 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.2s;
}
.ad-body:hover { transform: scale(1.02); }
.ad-body:hover .ad-name { color: var(--primary); }
.ad-logo {
  font-size: 2.4rem;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.15));
}
.ad-logo-img {
  width: 56px; height: 56px;
  flex: 0 0 auto;
  border-radius: 15px;
  object-fit: cover;
  background: #0f1118;
  border: 1px solid color-mix(in srgb, var(--ad-accent) 55%, transparent);
  box-shadow: 0 6px 18px -4px rgba(0,0,0,0.7), 0 0 22px -4px color-mix(in srgb, var(--ad-accent) 45%, transparent);
}
.ad-text { min-width: 0; text-align: left; }
.ad-name { font-weight: 700; font-size: 1.12rem; color: var(--text); }
.ad-ticker { font-family: var(--mono); font-size: 0.85rem; margin-left: 0.4rem; }
.ad-tagline {
  display: block;
  color: var(--text-dim);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-cta {
  flex: 0 0 auto;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--primary-dim);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  transition: all 0.2s;
}
.ad-cta:hover { background: var(--primary-dim); }
@keyframes ad-in {
  0%  { opacity: 0; transform: scaleX(1.3) translateX(-6%); filter: blur(8px) brightness(1.2); }
  60% { opacity: 1; transform: scaleX(1.02); filter: blur(0.5px) brightness(1.05); }
  100% { opacity: 1; transform: none; filter: none; }
}
@media (max-width: 640px) {
  .ad-banner { gap: 0.7rem; padding: 0.8rem 1rem; min-height: 96px; }
  .ad-tag { display: none; }
  .ad-cta { font-size: 0.72rem; padding: 0.35rem 0.7rem; }
  .ad-logo { font-size: 2rem; }
  .ad-logo-img { width: 46px; height: 46px; }
  .ad-tagline { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.95rem var(--font);
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, color 0.15s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(77, 127, 255, 0.5);
}
.btn-primary:hover { background: #6790ff; }

.btn-violet {
  background: rgba(77, 127, 255, 0.16);
  color: #9db9ff;
}
.btn-violet:hover { background: rgba(77, 127, 255, 0.24); color: #b7cbff; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); }
/* connected wallet chip — Phantom pattern: gradient avatar dot + address */
.btn-ghost.connected {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.85rem;
  background: rgba(77, 127, 255, 0.12);
}
.btn-ghost.connected::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6790ff, #ff9a3c);
  flex: 0 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  gap: 1.4rem;
}

/* Brand duality art (blue Merkaba / orange Flower of Life head)
   ghosted behind the hero copy, fading into the starfield */
.hero-duality {
  position: absolute;
  inset: 0;
  background: url('../assets/adpt-duality.png') center 32% / cover no-repeat;
  opacity: 0.24;
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 42%, #000 30%, transparent 72%);
  mask-image: radial-gradient(ellipse 78% 68% at 50% 42%, #000 30%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.hero > *:not(.hero-duality) { position: relative; }

.hero-eyebrow {
  font: 600 0.8rem var(--mono);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(120, 145, 220, 0.18);
  border-radius: 9px;
  background: rgba(8, 10, 22, 0.6);
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.hero h1 .grad {
  background: linear-gradient(105deg, var(--vapor-yellow) 0%, var(--vapor-orange) 30%, var(--vapor-pink) 62%, var(--vapor-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-tag {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--text-dim);
  max-width: 640px;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 0.6rem; }

.scroll-hint {
  margin-top: 3rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: floaty 2.6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(8px); opacity: 0.5; } }

/* ---------- Sections ---------- */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
}

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .kicker {
  font: 600 0.75rem var(--mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vapor-pink);
}
.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
}
.section-head p { color: var(--text-dim); max-width: 620px; margin: 0.8rem auto 0; }

/* ---------- Glass panels ---------- */
.panel {
  /* No backdrop-filter here: blurring over the animated starfield forces a
     re-blur every frame and tanks perf. A more opaque bg reads the same. */
  background: #141224;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 1.8rem;
  /* resting blurred shadow lifts the card off the starfield */
  box-shadow: 0 18px 45px -12px rgba(0, 0, 0, 0.7);
  transition: background-color 0.15s ease, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.panel:hover {
  background: #1a172e;
  border-color: rgba(153, 69, 255, 0.22);
  box-shadow: 0 26px 60px -14px rgba(0, 0, 0, 0.8);
}
.panel h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.panel p { color: var(--text-dim); font-size: 0.95rem; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }

/* ---------- Buy section ---------- */
.buy-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }

.buy-card { text-align: center; padding: 2.4rem 1.8rem; }
.buy-card .big-icon { font-size: 2.4rem; display: block; margin-bottom: 0.8rem; }
.buy-card .btn { margin-top: 1.2rem; }

.amount-row { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.amount-chip {
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--panel-edge);
  background: transparent;
  color: var(--text-dim);
  font: 600 0.85rem var(--mono);
  cursor: pointer;
  transition: all 0.2s;
}
.amount-chip:hover, .amount-chip.sel { border-color: var(--primary); color: var(--primary); background: var(--primary-dim); }

#crossmint-mount {
  margin-top: 1.2rem;
  min-height: 0;
  border-radius: var(--radius);
  transition: min-height 0.3s;
}
#crossmint-mount.cm-active {
  min-height: 90px;
  border: 1px dashed var(--panel-edge);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 0.85rem;
}
#crossmint-mount.cm-active::after { content: 'Crossmint payment element mounts here (#crossmint-mount)'; }

/* ---------- Game (Proof of Adaptation) ---------- */
.game-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}

.countdown {
  font: 700 clamp(1.6rem, 4.5vw, 2.6rem) var(--mono);
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.stat-row { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.stat b { display: block; font-size: 1.5rem; color: var(--primary); font-family: var(--mono); }
.stat span { color: var(--text-dim); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Marketplace ---------- */
.meme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }

.meme-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.meme-thumb {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem;
  background:
    radial-gradient(circle at 30% 30%, var(--secondary-dim), transparent 60%),
    radial-gradient(circle at 70% 75%, var(--primary-dim), transparent 60%),
    #0b0b16;
  overflow: hidden;
}
.meme-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.meme-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.meme-body h4 { font-size: 0.98rem; }
.meme-actions { display: flex; gap: 0.5rem; margin-top: auto; flex-wrap: wrap; }
.meme-actions .btn { padding: 0.4rem 0.9rem; font-size: 0.78rem; }

.experimental-tag {
  font: 600 0.62rem var(--mono);
  letter-spacing: 0.12em;
  color: var(--gold);
  border: 1px solid rgba(255, 207, 107, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  align-self: flex-start;
}

/* ---------- Token gate (members-only content) ---------- */
.gated { position: relative; overflow: hidden; }
.gated .gate-content { display: block; color: inherit; text-decoration: none; transition: filter 0.5s, opacity 0.5s; }
.gated.locked .gate-content {
  filter: blur(14px) saturate(0.6) brightness(0.7);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
.gate-overlay {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1.5rem;
  background: radial-gradient(ellipse at center, rgba(2,2,8,0.25), rgba(2,2,8,0.75));
}
.gated.locked .gate-overlay { display: flex; }
.gate-lock {
  font-size: 2.2rem;
  filter: grayscale(0.3);
  text-shadow: 0 4px 18px rgba(0,0,0,0.8);
}
.gate-overlay h3 { font-size: 1.2rem; }
.gate-overlay p { color: var(--text-dim); font-size: 0.92rem; max-width: 420px; }
.gate-overlay .btn { margin-top: 0.4rem; }

/* ---------- Node chart ---------- */
.chart-panel { padding: 1.6rem; }
#node-chart { width: 100%; height: 280px; display: block; }
.chart-badge {
  display: inline-block;
  font: 600 0.72rem var(--mono);
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  border-radius: 9px;
  margin-bottom: 1rem;
}
.chart-badge-live { color: var(--primary); border: 1px solid rgba(77,127,255,0.4); }
.chart-badge-demo { color: var(--gold); border: 1px solid rgba(255,207,107,0.4); }

/* ---------- DexScreener band ---------- */
.dex-band { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--panel-edge); box-shadow: 0 18px 45px -12px rgba(0,0,0,0.7); }
.dex-band iframe { width: 100%; height: 420px; border: 0; display: block; background: #0b0b16; }
.dex-placeholder {
  height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  color: var(--text-dim); font-size: 0.9rem;
  background: repeating-linear-gradient(45deg, #0b0b16, #0b0b16 12px, #0d0d1a 12px, #0d0d1a 24px);
}

/* ---------- Affiliate ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.tier-card { text-align: center; }
.tier-card .tier-pct { font: 800 2.2rem var(--mono); color: var(--primary); display: block; }
.tier-card.tier-hot { border-color: rgba(124, 58, 237, 0.5); }
.tier-card.tier-hot .tier-pct { color: var(--secondary); }

.ref-link-row { display: none; gap: 0.6rem; margin-top: 1.4rem; }
.ref-link-row.visible { display: flex; }
.ref-link-row input {
  flex: 1;
  background: #0b0b16;
  border: 1px solid var(--panel-edge);
  border-radius: 11px;
  color: var(--primary);
  font: 0.85rem var(--mono);
  padding: 0.7rem 1rem;
}

.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 2.2rem;
  height: 2.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--secondary-dim);
  color: var(--secondary);
  font: 700 1rem var(--mono);
}

/* ---------- Brand band divider ---------- */
.brand-band {
  position: relative;
  z-index: 1;
  height: 240px;
  /* cropped to the ears: a centered slice of the face, not a full strip */
  max-width: min(880px, 92vw);
  margin: 0 auto;
  background: url('../assets/adpt-band.jpg') 53% 50% / cover no-repeat;
  /* SPECTRAL: screen-blend melts the image's darkness into the void —
     the background of the art IS the galaxy behind it; only the eyes'
     luminance ghosts through. No shadow: a ghost casts none. */
  mix-blend-mode: screen;
  /* soft-focus: an apparition, not a photograph */
  filter: saturate(0.52) blur(1.6px);
  /* elliptical feather: a straight edge is geometrically impossible —
     the apparition has no frame, it condenses toward its own center */
  -webkit-mask-image: radial-gradient(ellipse 54% 46% at 50% 50%,
    #000 30%, rgba(0,0,0,0.6) 52%, rgba(0,0,0,0.22) 68%, transparent 82%);
  mask-image: radial-gradient(ellipse 54% 46% at 50% 50%,
    #000 30%, rgba(0,0,0,0.6) 52%, rgba(0,0,0,0.22) 68%, transparent 82%);
}
/* presence dial: a dark inner veil dims the luminance the screen-blend
   lets through. Before .awake the gaze is nearly gone; awake, it hovers
   at the threshold of certainty and BREATHES across it — sometimes you
   see it, sometimes you only think you did. */
.brand-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.82;
  transition: opacity 2.6s ease;
  pointer-events: none;
}
.brand-band.awake::before {
  opacity: 0.80;
  animation: band-breathe 14s ease-in-out 2.6s infinite;
}
@keyframes band-breathe {
  0%, 100% { opacity: 0.80; }
  42%      { opacity: 0.90; }   /* recedes — did I imagine it? */
  70%      { opacity: 0.70; }   /* meets your eyes — almost sure */
}
/* soft inward pull, no hard vignette — space has no frame */
.brand-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 85% at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.38) 100%);
  pointer-events: none;
}
/* warp-starfield canvas — OVERHANGS the band (sibling, not child, so the
   band's feather mask can't clip it): stars fly through the gaze and out
   past its edges toward the viewer (js/band-warp.js sets geometry) */
.band-warp {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
}

/* ---------- Advertiser booking form ---------- */
.booking-form { max-width: 760px; margin: 0 auto; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-wide { grid-column: 1 / -1; }
.field span {
  font: 600 0.72rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input, .field select {
  background: #0f1118;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: var(--text);
  font: 0.95rem var(--font);
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus { border-color: var(--primary); }
.field input::placeholder { color: #55556e; }
.booking-pay { margin-top: 1.6rem; border-top: 1px solid var(--panel-edge); padding-top: 1.4rem; }
.pay-note { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 1.1rem; }
.pay-note a { color: var(--primary); }

/* ---------- Socials ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.8rem;
}
.social-link {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--panel-edge);
  border-radius: 13px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  background: rgba(255,255,255,0.02);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.6);
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.7); }
.social-link .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); flex: 0 0 auto; }

/* ---------- Footer & legal ---------- */
footer {
  border-top: 1px solid var(--panel-edge);
  background: linear-gradient(180deg, transparent, rgba(5,5,12,0.9) 30%);
  padding: 3.5rem 1.5rem 2.5rem;
  margin-top: 4rem;
}
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 2rem; }
.legal {
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.7;
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  background: rgba(255,255,255,0.02);
}
.legal strong { color: var(--text); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--text-dim); font-size: 0.8rem; }
.footer-meta a { color: var(--text-dim); }
.footer-meta a:hover { color: var(--primary); }

/* ---------- Toasts ---------- */
#toasts { position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 100; display: flex; flex-direction: column; gap: 0.6rem; }
.toast {
  background: var(--panel-solid);
  border: 1px solid var(--panel-edge);
  border-left: 3px solid var(--primary);
  border-radius: 13px;
  padding: 0.8rem 1.2rem;
  font-size: 0.88rem;
  max-width: 340px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: toast-in 0.25s ease;
}
.toast-warn { border-left-color: var(--gold); }
.toast-ok { border-left-color: var(--primary); }
.toast-info { border-left-color: var(--secondary); }
.toast-out { opacity: 0; transform: translateX(20px); transition: all 0.5s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint { animation: none; }
  html { scroll-behavior: auto; }
}

/* Mid-size screens: tighten the nav so it wraps to at most two tidy rows */
@media (max-width: 1080px) {
  .nav-links { gap: clamp(0.8rem, 2vw, 1.4rem); }
  .nav-links a { font-size: 0.86rem; }
}

/* burger hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .hero { min-height: 78vh; }
  .nav { grid-template-columns: 1fr auto auto; gap: 0.6rem; }
  .nav-burger { display: flex; justify-self: end; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.8rem 1rem 1.1rem;
    background: #0d0f16;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85);
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 0.8rem 1rem; border-radius: 12px; font-size: 1rem; }
}

/* ============================================================
   EFFECTS LAYER — presentation polish (js/effects.js)
   Additive only; no integration-contract selectors are altered.
   ============================================================ */

/* ---------- Scroll progress hairline ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
}

/* ---------- Hero entrance ---------- */
.hero-anim .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotate(1.5deg);
  animation: hw-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes hw-rise { to { opacity: 1; transform: none; } }
.hero-anim .hero-tag, .hero-anim .hero-ctas, .hero-anim .launch-chip {
  animation: fade-up 0.9s ease 0.7s backwards;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }

.launch-chip {
  font: 600 0.72rem var(--mono);
  letter-spacing: 0.22em;
  color: var(--gold);
  border: 1px solid rgba(255, 207, 107, 0.28);
  border-radius: 9px;
  padding: 0.4rem 1rem;
  background: rgba(20, 14, 4, 0.55);
}
.launch-chip b { color: #fff; font-weight: 700; margin-left: 0.2rem; }

.hero-duality { will-change: transform; transition: transform 0.2s ease-out; }

/* ---------- Staggered grid reveals ---------- */
.reveal .grid-2 > *, .reveal .grid-3 > *, .reveal .buy-wrap > *,
.reveal .meme-grid > *, .reveal .tier-grid > *, .reveal .game-hero > *,
.reveal .social-grid > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in .grid-2 > *, .reveal.in .grid-3 > *, .reveal.in .buy-wrap > *,
.reveal.in .meme-grid > *, .reveal.in .tier-grid > *, .reveal.in .game-hero > *,
.reveal.in .social-grid > * {
  opacity: 1;
  transform: none;
}
.reveal.in .grid-2 > :nth-child(2), .reveal.in .buy-wrap > :nth-child(2),
.reveal.in .game-hero > :nth-child(2) { transition-delay: 0.12s; }
.reveal.in .grid-3 > :nth-child(2), .reveal.in .tier-grid > :nth-child(2),
.reveal.in .meme-grid > :nth-child(2) { transition-delay: 0.08s; }
.reveal.in .grid-3 > :nth-child(3), .reveal.in .tier-grid > :nth-child(3),
.reveal.in .meme-grid > :nth-child(3) { transition-delay: 0.16s; }
.reveal.in .tier-grid > :nth-child(4), .reveal.in .meme-grid > :nth-child(4) { transition-delay: 0.24s; }
.reveal.in .meme-grid > :nth-child(5) { transition-delay: 0.1s; }
.reveal.in .meme-grid > :nth-child(6) { transition-delay: 0.18s; }
.reveal.in .meme-grid > :nth-child(7) { transition-delay: 0.26s; }
.reveal.in .meme-grid > :nth-child(8) { transition-delay: 0.34s; }
.reveal.in .social-grid > * { transition-delay: calc(0.03s * var(--i, 0)); }

/* ---------- Kicker underline ---------- */
.section-head .kicker { position: relative; padding-bottom: 0.55rem; display: inline-block; }
.section-head .kicker::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--vapor-teal), var(--vapor-pink), transparent);
  transform: translateX(-50%);
  transition: width 0.9s ease 0.15s;
}
.reveal.in .kicker::after, .section .kicker::after { width: 130%; }

/* ---------- Card tilt ---------- */
.tiltable { transform-style: preserve-3d; transition: transform 0.25s ease; }
.tiltable:hover { transition: transform 0.06s linear; }

/* ---------- Segmented countdown ---------- */
.cd-seg { display: flex; align-items: flex-start; gap: 0.35rem; }
.cd-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.6ch;
  background: rgba(255, 207, 107, 0.06);
  border: 1px solid rgba(255, 207, 107, 0.22);
  border-radius: 9px;
  padding: 0.25rem 0.55rem 0.35rem;
}
.cd-unit b { font-size: 0.9em; line-height: 1.15; }
.cd-unit i {
  font: 500 0.5rem var(--mono);
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cd-sep { opacity: 0.35; font-size: 0.8em; line-height: 1.6; }
.cd-live { letter-spacing: 0.1em; }

/* ---------- Meme lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(1, 1, 4, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-panel {
  position: relative;
  max-width: min(960px, 94vw);
  width: 100%;
  background: var(--panel-solid);
  border: 1px solid rgba(130, 140, 190, 0.2);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.95);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox-panel { transform: none; }
/* showcase stage: never crop the art — letterbox on pure black */
.lightbox-stage { position: relative; background: #000; }
.lightbox-stage video,
.lightbox-stage img {
  width: 100%;
  display: block;
  max-height: min(74vh, 900px);
  object-fit: contain;
}
.lightbox-res {
  position: absolute;
  bottom: 0.7rem;
  right: 0.8rem;
  font: 700 0.6rem var(--mono);
  letter-spacing: 0.14em;
  color: var(--vapor-teal);
  background: rgba(2, 2, 8, 0.72);
  border: 1px solid rgba(31, 217, 164, 0.35);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  pointer-events: none;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
}
.lightbox-bar h4 { font-size: 1.05rem; }
.lightbox-actions { display: flex; gap: 0.5rem; }
.lightbox-actions .btn { padding: 0.45rem 1rem; font-size: 0.82rem; }
.lightbox-close {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(4, 4, 10, 0.7);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Flywheel (tokenomics orbit) ---------- */
.flywheel-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .flywheel-wrap { grid-template-columns: 440px 1fr; gap: 4rem; }
}
.flywheel {
  position: relative;
  width: min(380px, 86vw);
  aspect-ratio: 1;
  margin: 0 auto;
}
.flywheel .fw-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(130, 140, 190, 0.22);
  border-radius: 50%;
}
.flywheel .fw-ring.r2 { inset: 18%; border-color: rgba(255, 154, 60, 0.16); }
.flywheel .fw-core {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a1a50, #0a0714 70%);
  border: 1px solid rgba(153, 69, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(153, 69, 255, 0.22), 0 0 110px rgba(233, 53, 193, 0.10), inset 0 0 30px rgba(0,0,0,0.6);
}
.flywheel .fw-core img { width: 58%; border-radius: 50%; }
.fw-orbit { position: absolute; inset: 0; }
.fw-node {
  position: absolute;
  left: 50%; top: 50%;
  width: 92px;
  margin: -46px;
  text-align: center;
  /* positioned every frame by js/effects.js orbit() — no CSS animation,
     nested counter-rotation proved unreliable across engines */
}
.fw-node .fw-dot {
  width: 44px; height: 44px;
  margin: 0 auto 0.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--panel-solid);
  border: 1px solid rgba(130, 140, 190, 0.3);
  box-shadow: 0 8px 22px -6px rgba(0,0,0,0.8);
}
.fw-node span {
  font: 600 0.62rem var(--mono);
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.fw-splits { display: grid; gap: 0.9rem; }
.fw-split {
  display: grid;
  grid-template-columns: 3.6rem 1fr auto;
  gap: 1rem;
  align-items: center;
}
.fw-split b { font: 800 1.3rem var(--mono); color: var(--primary); }
.fw-split.alt b { color: var(--secondary); }
.fw-split .fw-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(130, 140, 190, 0.12);
  overflow: hidden;
}
.fw-split .fw-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--vapor-teal));
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s;
}
.fw-split.alt .fw-bar i { background: linear-gradient(90deg, var(--vapor-magenta), var(--vapor-orange)); }
.reveal.in .fw-split .fw-bar i { width: var(--w, 50%); }
.fw-split span { font: 500 0.78rem var(--mono); color: var(--text-dim); letter-spacing: 0.05em; }
.fw-flow {
  margin-top: 1.4rem;
  font: 500 0.75rem var(--mono);
  letter-spacing: 0.08em;
  color: var(--text-dim);
  line-height: 2;
}
.fw-flow b { color: var(--gold); font-weight: 600; }

/* ---------- Road to Launch timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 2.2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  opacity: 0.35;
}
.tl-item { position: relative; padding: 0 0 2rem 1rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -2.2rem; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--panel-solid);
  border: 2px solid rgba(130, 140, 190, 0.4);
}
.tl-item.done::before { border-color: var(--primary); background: rgba(77,127,255,0.25); }
.tl-item.now::before {
  border-color: var(--gold);
  background: rgba(255,207,107,0.2);
  box-shadow: 0 0 0 0 rgba(255,207,107,0.5);
  animation: tl-pulse 2.4s ease-out infinite;
}
@keyframes tl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,207,107,0.45); }
  70% { box-shadow: 0 0 0 12px rgba(255,207,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,207,107,0); }
}
.tl-item .tl-date {
  font: 700 0.68rem var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tl-item.now .tl-date { color: var(--gold); }
.tl-item.launch .tl-date { color: var(--secondary); }
.tl-item h3 { font-size: 1.15rem; margin: 0.25rem 0 0.35rem; }
.tl-item p { color: var(--text-dim); font-size: 0.93rem; max-width: 58ch; }

/* ---------- Advertise: most-popular ribbon ---------- */
.tier-card { position: relative; overflow: hidden; }
.tier-card.tier-hot::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 14px; right: -34px;
  transform: rotate(38deg);
  font: 700 0.58rem var(--mono);
  letter-spacing: 0.14em;
  color: #1c0d00;
  background: linear-gradient(90deg, #d97a24, var(--secondary));
  padding: 0.28rem 2.6rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

/* ---------- Footer columns ---------- */
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-cols h5 {
  font: 600 0.7rem var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}
.footer-cols a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.22rem 0;
  transition: color 0.2s;
}
.footer-cols a:hover { color: var(--primary); }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.footer-brand img { width: 38px; height: 38px; border-radius: 50%; }
.footer-brand b { font-size: 1.1rem; letter-spacing: 0.12em; }
.footer-blurb { color: var(--text-dim); font-size: 0.85rem; max-width: 34ch; }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Reduced motion: neutralize the effects layer ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-anim .hw, .hero-anim .hero-tag, .hero-anim .hero-ctas, .hero-anim .launch-chip { animation: none; opacity: 1; transform: none; }
  .reveal .grid-2 > *, .reveal .grid-3 > *, .reveal .buy-wrap > *,
  .reveal .meme-grid > *, .reveal .tier-grid > *, .reveal .game-hero > *,
  .reveal .social-grid > * { opacity: 1; transform: none; transition: none; }
  .tl-item.now::before { animation: none; }
  .reveal.in .fw-split .fw-bar i { transition: none; }
  .scroll-progress { display: none; }
}


/* ---------- Numeric UI: tabular figures (app-feel) ---------- */
.countdown, .cd-unit b, .stat b, .tier-pct, .fw-split b,
.launch-chip b, .article-meta, .rc-date, .chart-badge, .ad-ticker {
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   TIER 2/3 — hero swap console, SVG icon sizing, chart shimmer
   ============================================================ */

/* ---------- Split hero: copy left, console right ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
@media (min-width: 1024px) {
  .hero-split { grid-template-columns: 1.12fr 0.88fr; gap: 4rem; }
  .hero-copy { align-items: flex-start; text-align: left; }
  .hero-copy .hero-ctas { justify-content: flex-start; }
  .hero-copy h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
}

/* ---------- Swap console (Uniswap-familiar) ---------- */
.swap-console {
  background: #14161f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 1.1rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85);
}
.sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0.5rem 0.8rem;
  font: 600 0.95rem var(--font);
}
.sc-badge {
  font: 600 0.66rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 207, 107, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.sc-box { position: relative; display: grid; gap: 4px; }
.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #0f1118;
  border-radius: 16px;
  padding: 0.95rem 1.1rem;
  transition: background-color 0.15s;
}
.sc-row:focus-within { background: #12141d; outline: 1px solid rgba(77, 127, 255, 0.35); }
.sc-field { min-width: 0; flex: 1; }
.sc-field label {
  display: block;
  font: 500 0.72rem var(--font);
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}
.sc-field input {
  width: 100%;
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
  font: 600 1.5rem var(--font);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.sc-field input::-webkit-outer-spin-button,
.sc-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sc-out { font: 600 1.5rem var(--font); color: var(--text-dim); }
.sc-token {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  font: 600 0.95rem var(--font);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
}
.tok-ic {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-block;
  object-fit: cover;
}
.tok-sol { background: linear-gradient(135deg, #9945ff 20%, #14f195 85%); }
.sc-arrow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14161f;
  border: 3px solid #0f1118;
  border-radius: 12px;
  color: var(--text-dim);
  z-index: 1;
}
.sc-rate {
  font: 500 0.78rem var(--font);
  color: var(--text-dim);
  padding: 0.7rem 0.5rem 0.75rem;
  font-variant-numeric: tabular-nums;
}
.sc-btn { width: 100%; padding: 1rem; font-size: 1.02rem; }
.sc-alt {
  text-align: center;
  font: 500 0.8rem var(--font);
  color: var(--text-dim);
  padding-top: 0.7rem;
}
.sc-alt a { color: #9db9ff; text-decoration: none; }
.sc-alt a:hover { text-decoration: underline; }

/* ---------- SVG icon tinting ---------- */
.big-icon { color: #9db9ff; display: inline-flex; }
.fw-dot svg { width: 22px; height: 22px; color: #9db9ff; }
.fw-node:nth-child(even) .fw-dot svg { color: var(--secondary); }
.gate-lock { color: var(--text-dim); }
.gate-lock svg { filter: drop-shadow(0 4px 14px rgba(0,0,0,0.8)); }

/* ---------- Chart loading shimmer ---------- */
.chart-loading {
  background: linear-gradient(100deg, transparent 30%, rgba(120, 145, 220, 0.07) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 12px;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .chart-loading { animation: none; } }


/* ---------- Marketplace (dedicated meme/NFT page) ---------- */
.mkt-head { text-align: center; padding: 3.2rem 1.5rem 0.5rem; }
.mkt-search-wrap {
  max-width: 560px;
  margin: 1.6rem auto 0;
  position: relative;
}
.mkt-search-wrap svg {
  position: absolute;
  left: 1.1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}
#mkt-search {
  width: 100%;
  background: #100d1d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  color: var(--text);
  font: 500 1rem var(--font);
  padding: 0.95rem 1.3rem 0.95rem 3rem;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}
#mkt-search:focus { border-color: rgba(153, 69, 255, 0.5); background: #131028; }
#mkt-search::placeholder { color: #5b5575; }
.mkt-empty {
  display: none;
  text-align: center;
  color: var(--text-dim);
  padding: 3rem 1rem;
  font-size: 0.95rem;
}
.mkt-count {
  text-align: center;
  font: 500 0.72rem var(--mono);
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin: 0.9rem 0 0;
  text-transform: uppercase;
}
.see-more-wrap { text-align: center; margin-top: 2.4rem; }

/* ---------- Fee architecture rows (flywheel, dossier-accurate) ---------- */
.fee-rows { display: grid; gap: 1.1rem; }
.fee-row {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 1.1rem;
  align-items: center;
}
.fee-row b {
  font: 800 1.05rem var(--mono);
  color: var(--vapor-teal);
  font-variant-numeric: tabular-nums;
}
.fee-row:nth-child(even) b { color: var(--vapor-magenta); }
.fee-row span { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Members forum (forum.html) ---------- */
.forum-panel { margin-top: 1.5rem; min-height: 420px; }
.field textarea {
  background: #0f1118;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: var(--text);
  font: 0.95rem var(--font);
  padding: 0.8rem 1rem;
  outline: none;
  resize: vertical;
  min-height: 70px;
  transition: border-color 0.2s;
}
.field textarea:focus { border-color: var(--primary); }
.field textarea::placeholder { color: #55556e; }

.forum-composer {
  display: grid;
  gap: 0.8rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--panel-edge);
}
.forum-composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.forum-hint { color: var(--text-dim); font-size: 0.8rem; }

.forum-rows { display: grid; gap: 0.7rem; }
.forum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 0.95rem 1.2rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.forum-row:hover {
  border-color: rgba(153, 69, 255, 0.45);
  background: rgba(153, 69, 255, 0.07);
  transform: translateY(-1px);
}
.forum-row-main { display: grid; gap: 0.25rem; min-width: 0; }
.forum-row-main h4 {
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.forum-pin {
  font: 700 0.62rem var(--mono);
  letter-spacing: 0.12em;
  color: var(--vapor-teal);
}
.forum-meta { font: 0.74rem var(--mono); color: var(--text-dim); }
.forum-replies {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
  font: 0.68rem var(--mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.forum-replies b { font-size: 1.05rem; color: var(--vapor-teal); }
.forum-empty { color: var(--text-dim); text-align: center; padding: 2.2rem 1rem; }

.post {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  margin-top: 0.9rem;
}
.post-op { border-color: rgba(153, 69, 255, 0.35); margin-top: 1.1rem; }
.post-title { margin-bottom: 0.6rem; font-size: 1.25rem; }
.post-head {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.post-author { font: 600 0.78rem var(--mono); color: var(--vapor-teal); }
.post-time { font: 0.72rem var(--mono); color: var(--text-dim); }
.post-body { color: var(--text); font-size: 0.95rem; white-space: pre-wrap; overflow-wrap: anywhere; }
#forum-thread .forum-composer { border-bottom: 0; margin: 1.2rem 0 0; padding-bottom: 0; }
/* ---------- The Studio (studio.html) ---------- */
/* Append-block for css/cosmic.css — reuses the panel/field/btn
   system and the vapor palette; new class names only.          */

/* Pre-launch banner — gold launch-chip energy at section width */
.studio-banner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(255, 207, 107, 0.28);
  border-radius: 13px;
  background: rgba(20, 14, 4, 0.55);
  color: var(--gold);
  font: 600 0.85rem var(--mono);
  letter-spacing: 0.06em;
}
.studio-banner-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: ad-live 1.8s ease-in-out infinite;
}

/* Mode cards — two-up, the cards are the toggle */
.mode-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.mode-card {
  position: relative;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.mode-card .mode-kicker {
  font: 600 0.66rem var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.mode-card h3 { margin: 0; }
.mode-card p { flex: 1; }
.mode-card .mode-price {
  align-self: flex-start;
  font: 600 0.72rem var(--mono);
  letter-spacing: 0.1em;
  color: var(--vapor-teal);
  border: 1px solid rgba(31, 217, 164, 0.35);
  border-radius: 6px;
  padding: 0.18rem 0.55rem;
  font-variant-numeric: tabular-nums;
}
.mode-card.sel {
  border-color: rgba(233, 53, 193, 0.55);
  box-shadow:
    0 0 0 1px rgba(233, 53, 193, 0.45),
    0 0 34px -8px rgba(153, 69, 255, 0.5),
    0 18px 45px -12px rgba(0, 0, 0, 0.7);
}
.mode-card.sel .mode-kicker { color: var(--vapor-pink); }

/* Composer */
.studio-composer form { display: grid; gap: 0.9rem; }
.composer-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--panel-edge);
}
.composer-mode-label {
  font: 600 0.66rem var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
#composer-mode { font-size: 1.02rem; }
.composer-head .btn { padding: 0.5rem 1.1rem; font-size: 0.84rem; }
.credits-chip {
  margin-left: auto;
  font: 600 0.8rem var(--mono);
  letter-spacing: 0.05em;
  color: var(--vapor-teal);
  border: 1px solid rgba(31, 217, 164, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-variant-numeric: tabular-nums;
}
.credits-chip b { color: #fff; font-weight: 700; }
.composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.studio-hint { color: var(--text-dim); font-size: 0.8rem; }
#gen-btn.working { opacity: 0.6; pointer-events: none; }
#gen-cost { font-variant-numeric: tabular-nums; }

/* My Creations grid — meme-grid feel, wallet-scoped */
.creations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.2rem;
}
.creation-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.creation-thumb {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(153, 69, 255, 0.14), transparent 60%),
    radial-gradient(circle at 70% 75%, rgba(233, 53, 193, 0.1), transparent 60%),
    #0b0b16;
  overflow: hidden;
}
.creation-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.creation-status {
  font: 700 0.66rem var(--mono);
  letter-spacing: 0.16em;
  color: var(--gold);
  border: 1px solid rgba(255, 207, 107, 0.4);
  border-radius: 6px;
  padding: 0.25rem 0.7rem;
}
.creation-status.st-failed, .creation-status.st-rejected {
  color: var(--danger);
  border-color: rgba(255, 93, 122, 0.4);
}
.creation-flag {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  font: 700 0.58rem var(--mono);
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(2, 2, 8, 0.72);
  border: 1px solid rgba(255, 207, 107, 0.4);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}
.creation-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.creation-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
}
.creation-mode { font: 600 0.72rem var(--mono); color: var(--vapor-teal); }
.creation-time { font: 0.7rem var(--mono); color: var(--text-dim); }
.creation-prompt {
  color: var(--text-dim);
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.creation-actions { display: flex; gap: 0.5rem; margin-top: auto; flex-wrap: wrap; }
.creation-actions .btn { padding: 0.4rem 0.9rem; font-size: 0.78rem; }
.creation-note { color: var(--text-dim); font-size: 0.78rem; }
.studio-empty { color: var(--text-dim); text-align: center; padding: 2.2rem 1rem; grid-column: 1 / -1; }

/* Studio modals — lightbox pattern, new names (buy credits + mint) */
.studio-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(1, 1, 4, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.studio-modal.open { opacity: 1; pointer-events: auto; }
.studio-modal-panel {
  position: relative;
  max-width: min(560px, 94vw);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--panel-solid);
  border: 1px solid rgba(130, 140, 190, 0.2);
  border-radius: 15px;
  padding: 1.6rem;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.95);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.studio-modal.open .studio-modal-panel { transform: none; }
.studio-modal-panel h4 { font-size: 1.15rem; padding-right: 2.4rem; }
.studio-modal-sub { color: var(--text-dim); font-size: 0.88rem; margin: 0.5rem 0 1.1rem; }
.studio-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 4, 10, 0.7);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}
.studio-modal-close:hover { border-color: var(--primary); color: var(--primary); }
.studio-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.studio-modal form { display: grid; gap: 0.9rem; }

/* Buy-credits internals */
.buy-presets { justify-content: flex-start; margin: 0 0 0.8rem; }
.buy-summary {
  font: 600 0.8rem var(--mono);
  color: var(--gold);
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.treasury-row { display: flex; gap: 0.6rem; }
.treasury-row input {
  flex: 1;
  min-width: 0;
  background: #0b0b16;
  border: 1px solid var(--panel-edge);
  border-radius: 11px;
  color: var(--primary);
  font: 0.82rem var(--mono);
  padding: 0.7rem 1rem;
}
.treasury-row .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* Mint reserve internals */
.mint-rows { display: grid; gap: 0.55rem; margin: 1rem 0 0.9rem; }
.mint-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.mint-row span {
  font: 600 0.7rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.mint-row b { font: 700 0.92rem var(--mono); font-variant-numeric: tabular-nums; }
.mint-row-due b { color: var(--gold); font-size: 1.1rem; }
.mintbar {
  height: 8px;
  border-radius: 4px;
  background: rgba(130, 140, 190, 0.12);
  overflow: hidden;
}
.mintbar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--vapor-teal), var(--vapor-pink));
  transition: width 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mint-result { color: var(--vapor-teal); font-size: 0.85rem; min-height: 1.3em; margin-top: 0.8rem; }

@media (prefers-reduced-motion: reduce) {
  .studio-banner-dot { animation: none; }
  .mintbar i { transition: none; }
}

@media (max-width: 640px) {
  .composer-head { gap: 0.6rem; }
  .credits-chip { margin-left: 0; }
  .studio-modal-panel { padding: 1.2rem; }
}

/* ---------- Studio branch-preview ribbon (never renders on production) ---------- */
.preview-ribbon {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: repeating-linear-gradient(135deg, #e935c1 0 14px, #9945ff 14px 28px);
  color: #fff;
  font: 700 0.72rem/1 var(--mono, monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.42rem 1rem;
  box-shadow: 0 4px 18px -6px rgba(0,0,0,0.8);
  pointer-events: none;
}
body:has(.preview-ribbon) .nav { top: 1.9rem; }

/* Studio pre-launch: primary action reads as "coming soon", not broken */
.btn.is-soon {
  opacity: 0.75;
  background: linear-gradient(90deg, rgba(153,69,255,0.25), rgba(233,53,193,0.25));
  border: 1px solid rgba(153,69,255,0.4);
  color: var(--text-dim, #b9b6c8);
  cursor: default;
}

/* ================= STUDIO INTENSITY (studio.html only) =================
   The flagship page: duality-gradient headline, brighter copy, breathing
   banner, glowing cards. Everything scoped to body.studio-page so no
   other page inherits the heat. */

.studio-page .section-head .kicker {
  font-size: 0.85rem;
  letter-spacing: 0.42em;
  text-shadow: 0 0 18px rgba(233, 53, 193, 0.65);
}
.studio-page .section-head h2 {
  font-size: clamp(2.6rem, 6.5vw, 4.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  /* the wordmark gradient — same recipe as the homepage hero .grad */
  background: linear-gradient(105deg, var(--vapor-yellow) 0%, var(--vapor-orange) 30%, var(--vapor-pink) 62%, var(--vapor-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(233, 53, 193, 0.38));
}
.studio-page .section-head p {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  max-width: 700px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}
/* hero aura behind the title — one cheap radial, no extra layers over the canvas */
.studio-page main .section:first-of-type .section-head { position: relative; }
.studio-page main .section:first-of-type .section-head::before {
  content: '';
  position: absolute;
  inset: -28% -8%;
  background:
    radial-gradient(36% 46% at 50% 26%, rgba(153, 69, 255, 0.11), transparent 66%),
    radial-gradient(22% 32% at 63% 15%, rgba(255, 207, 107, 0.06), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

/* launch banner — hotter, breathing */
.studio-page .studio-banner {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #ffdf9a;
  border-color: rgba(255, 207, 107, 0.55);
  background: linear-gradient(90deg, rgba(46, 30, 6, 0.85), rgba(24, 15, 4, 0.65));
  animation: studio-banner-breathe 3.2s ease-in-out infinite;
}
@keyframes studio-banner-breathe {
  0%, 100% { box-shadow: 0 0 28px -8px rgba(255, 207, 107, 0.35), inset 0 0 20px rgba(255, 207, 107, 0.06); }
  50% { box-shadow: 0 0 46px -4px rgba(255, 207, 107, 0.6), inset 0 0 30px rgba(255, 207, 107, 0.12); }
}

/* mode cards — readable copy, alive borders */
.studio-page .mode-card {
  border-color: rgba(255, 255, 255, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.studio-page .mode-card:hover {
  transform: translateY(-3px);
  border-color: rgba(177, 140, 255, 0.5);
  box-shadow: 0 16px 44px -14px rgba(153, 69, 255, 0.5);
}
.studio-page .mode-card h3 { font-size: 1.4rem; font-weight: 800; }
.studio-page .mode-card p { color: var(--text); font-size: 1rem; line-height: 1.58; }
.studio-page .mode-card .mode-kicker { font-size: 0.72rem; color: #c9a8ff; }
.studio-page .mode-card .mode-price {
  font-size: 0.8rem;
  color: #4dffc9;
  border-color: rgba(31, 217, 164, 0.6);
  box-shadow: 0 0 16px -5px rgba(31, 217, 164, 0.5);
}
.studio-page .mode-card.sel {
  box-shadow:
    0 0 0 1px rgba(233, 53, 193, 0.65),
    0 0 52px -6px rgba(153, 69, 255, 0.8),
    0 18px 45px -12px rgba(0, 0, 0, 0.7);
}

/* composer — the action centre glows */
.studio-page .studio-composer {
  border-color: rgba(177, 140, 255, 0.24);
  box-shadow: 0 0 64px -20px rgba(153, 69, 255, 0.4);
}
.studio-page .studio-composer textarea {
  font-size: 1.05rem;
  color: var(--text);
}
.studio-page .studio-composer textarea::placeholder { color: #b9b9d6; }
.studio-page .studio-composer textarea:focus {
  border-color: rgba(233, 53, 193, 0.5);
  box-shadow: 0 0 0 3px rgba(233, 53, 193, 0.14);
}
.studio-page .composer-mode-label { color: #c9a8ff; }
.studio-page .credits-chip { color: #4dffc9; font-weight: 700; }
.studio-page .studio-hint { color: #b9b9d6; font-size: 0.85rem; }
.studio-page .studio-modal-sub { color: #cfcfe6; font-size: 0.95rem; }
.studio-page .buy-summary { color: var(--text); font-weight: 500; }

/* "Opening shortly" stays visibly disabled but never washed out */
.studio-page .btn.is-soon { opacity: 0.92; color: #e6ddff; }

@media (prefers-reduced-motion: reduce) {
  .studio-page .studio-banner { animation: none; }
  .studio-page .mode-card, .studio-page .mode-card:hover { transform: none; transition: none; }
}

/* ---- The Conversion moment: full-screen logo-morph takeover ---- */
#mint-moment {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  background: rgba(3, 2, 10, 0.96);
}
#mint-moment[hidden] { display: none; }
#mint-moment video {
  width: min(92vw, 960px);
  max-height: 70vh;
  border-radius: 18px;
  box-shadow: 0 0 90px -8px rgba(153, 69, 255, 0.6);
}
.mint-moment-caption {
  font: 600 0.95rem var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(105deg, var(--vapor-yellow) 0%, var(--vapor-orange) 30%, var(--vapor-pink) 62%, var(--vapor-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.mint-moment-skip { position: absolute; top: 1.2rem; right: 1.4rem; }

/* ---- compliance notes (buy surfaces) ---- */
.risk-note {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--text-dim);
}
.swap-console .risk-note { margin-top: 0.8rem; font-size: 0.68rem; }
.risk-note.buy-risk {
  max-width: 640px;
  margin: 1.6rem auto 0;
  text-align: center;
}
.card-checkout-note {
  font: 600 0.72rem var(--mono);
  letter-spacing: 0.05em;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

/* ---- Network Pulse strip (homepage) ---- */
.pulse-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  margin: 1.4rem auto 0;
  padding: 0.5rem 1rem;
  max-width: 640px;
  border: 1px solid rgba(31, 217, 164, 0.25);
  border-radius: 999px;
  background: rgba(8, 20, 16, 0.55);
  font: 500 0.78rem var(--mono);
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.pulse-strip[hidden] { display: none; }
.pulse-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vapor-teal, #1fd9a4);
  animation: ad-live 1.8s ease-in-out infinite;
}
.pulse-label { color: var(--vapor-teal, #1fd9a4); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.pulse-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
