/* ════════════════════════════════════════════════════════════════════
   ZukuNFT — Design System
   ──────────────────────────────────────────────────────────────────── */

/* ── 1. Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; background: none; border: 0; outline: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, li { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }
/* CRITICAL: enforce [hidden] over flex/grid component styles. Without this,
   .nft-grid { display: grid } overrides element.hidden = true. */
[hidden] { display: none !important; }

/* ── 2. Tokens ───────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg:           #06060c;
  --bg-elev:      #0c0c18;
  --surface:      rgba(255, 255, 255, 0.04);
  --surface-2:    rgba(255, 255, 255, 0.06);
  --surface-3:    rgba(255, 255, 255, 0.09);
  --border:       rgba(255, 255, 255, 0.08);
  --border-strong:rgba(255, 255, 255, 0.14);

  /* Text */
  --text:         #f0f0f5;
  --text-mute:    #b0b0c0;
  --text-dim:     #6e6e80;

  /* Accents */
  --neon-violet:  #B026FF;
  --neon-cyan:    #00F0FF;
  --neon-magenta: #FF2D95;
  --neon-amber:   #FFB020;

  /* Gradients */
  --grad-brand:   linear-gradient(135deg, #B026FF 0%, #FF2D95 50%, #00F0FF 100%);
  --grad-soft:    linear-gradient(135deg, rgba(176,38,255,0.18), rgba(0,240,255,0.12));
  --grad-text:    linear-gradient(120deg, #FFFFFF 0%, #C8B6FF 30%, #00F0FF 70%, #FF2D95 100%);

  /* Typography */
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body:    'Geist', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Shadows */
  --shadow-card:   0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 80px -20px rgba(0,0,0,0.6);
  --shadow-glow:   0 0 0 1px rgba(176,38,255,0.4), 0 20px 60px -10px rgba(176,38,255,0.45);
  --shadow-cyan:   0 0 0 1px rgba(0,240,255,0.35), 0 18px 50px -12px rgba(0,240,255,0.35);

  /* Layout */
  --maxw: 1280px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── 3. Body & background atmosphere ─────────────────────────────── */
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Animated gradient blobs — slow drifting movement + breathing pulse.
   Each blob travels along a slow looping path AND pulses on a separate
   rhythm. Combined, they feel alive: floating, breathing color clouds. */
.bg-mesh {
  position: fixed; inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}
.bg-mesh .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform, opacity;
  transform-origin: center;
}
/* Two animations per blob: outer drift (long, slow, position) +
   inner breathe (short, rhythmic, scale/opacity). Multiple animations
   on one element compose cleanly when they target different properties. */
.blob-1 { width: 620px; height: 620px; background: #B026FF; top: -180px; left: -120px;
          animation: drift1 26s ease-in-out infinite, breathe1 7.5s ease-in-out infinite; }
.blob-2 { width: 540px; height: 540px; background: #FF2D95; top: 30%;     right: -160px;
          animation: drift2 32s ease-in-out infinite, breathe2 8.5s ease-in-out infinite -1.4s; }
.blob-3 { width: 480px; height: 480px; background: #00F0FF; bottom: -100px; left: 30%;
          animation: drift3 38s ease-in-out infinite, breathe3 9s ease-in-out infinite -2.8s;
          opacity: 0.40; }
.blob-4 { width: 380px; height: 380px; background: #7B2BFF; top: 60%; left: -120px;
          animation: drift4 30s ease-in-out infinite, breathe1 8s ease-in-out infinite -3.6s;
          opacity: 0.45; }

/* Drift paths — circular/elliptical loops, slow and never returning to
   exactly the same position so it never feels repetitive. */
@keyframes drift1 {
  0%   { translate:    0px    0px; }
  25%  { translate:  140px   60px; }
  50%  { translate:  100px  140px; }
  75%  { translate:  -40px   80px; }
  100% { translate:    0px    0px; }
}
@keyframes drift2 {
  0%   { translate:    0px    0px; }
  25%  { translate: -100px   80px; }
  50%  { translate: -160px  -40px; }
  75%  { translate:  -60px  -90px; }
  100% { translate:    0px    0px; }
}
@keyframes drift3 {
  0%   { translate:    0px    0px; }
  25%  { translate:   90px  -70px; }
  50%  { translate:  150px  -120px; }
  75%  { translate:   60px  -50px; }
  100% { translate:    0px    0px; }
}
@keyframes drift4 {
  0%   { translate:    0px    0px; }
  25%  { translate:  120px  -50px; }
  50%  { translate:  180px   60px; }
  75%  { translate:   80px  100px; }
  100% { translate:    0px    0px; }
}

/* Breathing — scale + opacity oscillation, in place. */
@keyframes breathe1 {
  0%, 100% { scale: 1;    opacity: 0.50; }
  50%      { scale: 1.12; opacity: 0.62; }
}
@keyframes breathe2 {
  0%, 100% { scale: 1.05; opacity: 0.48; }
  50%      { scale: 0.94; opacity: 0.60; }
}
@keyframes breathe3 {
  0%, 100% { scale: 0.97; opacity: 0.36; }
  50%      { scale: 1.10; opacity: 0.46; }
}

/* Subtle grid */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 50%, transparent 100%);
}

/* Film grain */
.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ── 4. Typography ───────────────────────────────────────────────── */
.display, .display-sm, .section-title, .page-title, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.display     { font-size: clamp(2.6rem, 6vw, 5.6rem); font-weight: 700; }
.display-sm  { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.page-title  { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.grad-text {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.lede { color: var(--text-mute); font-size: 1.06rem; line-height: 1.65; max-width: 56ch; }
.mono { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-dim); letter-spacing: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-mute);
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── 5. Header ───────────────────────────────────────────────────── */
.app-header {
  position: sticky; top: 0; z-index: 50;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(6,6,12,0.85) 0%, rgba(6,6,12,0.55) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
}

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-mark { width: 28px; height: 28px; display: grid; place-items: center; }
.logo-mark-sm { width: 22px; height: 22px; }

/* Logo as image */
.logo-img {
  width: 32px; height: 32px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(255, 45, 149, 0.35));
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 18px rgba(255, 45, 149, 0.6));
  transform: scale(1.05);
}
.logo-img-sm {
  width: 22px; height: 22px;
  filter: drop-shadow(0 0 8px rgba(255, 45, 149, 0.3));
}

/* Room icons (procedural backgrounds) */
.room-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #1a1a28 center/cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.primary-nav {
  justify-self: center;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-link {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mute);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active {
  background: var(--surface-3);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--border-strong) inset;
}

.header-actions { display: inline-flex; gap: 10px; align-items: center; }

/* ── 6. Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 14px 26px; font-size: 0.98rem; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-tiny { padding: 5px 12px; font-size: 0.75rem; }
.btn-icon { padding: 10px; }

.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  background-size: 180% 180%;
  background-position: 0% 50%;
  box-shadow: 0 10px 30px -10px rgba(176,38,255,0.55), inset 0 0 0 1px rgba(255,255,255,0.18);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -8px rgba(176,38,255,0.7), inset 0 0 0 1px rgba(255,255,255,0.28);
}
.btn-primary .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px #fff;
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* Connected state */
.btn-primary.is-connected {
  background: var(--surface-2);
  background-size: 100% 100%;
  border: 1px solid var(--border-strong);
  box-shadow: none;
  color: var(--text);
}
.btn-primary.is-connected .dot { background: #2ee59d; box-shadow: 0 0 8px #2ee59d; }
.btn-primary.is-connected:hover { background: var(--surface-3); transform: none; }

/* ── 7. Hero ─────────────────────────────────────────────────────── */
.page { display: none; padding: 40px 28px 100px; max-width: var(--maxw); margin: 0 auto; }
.page-active { display: block; animation: pageIn .6s var(--ease-out) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero {
  position: relative;
  padding: 60px 0 80px;
  min-height: calc(100vh - var(--header-h));
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy > * + * { margin-top: 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stats li strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats li span { font-size: 0.82rem; color: var(--text-dim); letter-spacing: 0.02em; text-transform: uppercase; font-family: var(--font-mono); }

/* Hero floating cards */
.hero-art {
  position: relative;
  height: 540px;
  perspective: 1000px;
}
.orbit {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(176,38,255,0.18) 0%, transparent 50%),
    conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0,240,255,0.18) 90deg, transparent 180deg, rgba(255,45,149,0.18) 270deg, transparent 360deg);
  border-radius: 50%;
  filter: blur(40px);
  animation: orbitSpin 30s linear infinite;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.card-float {
  position: absolute;
  width: 230px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  will-change: transform;
}
.card-float-1 { top: 6%;  left: 8%;  animation: float 7s ease-in-out infinite; transform: rotate(-6deg); z-index: 3; }
.card-float-2 { top: 28%; right: 4%; animation: float 9s ease-in-out infinite reverse; transform: rotate(4deg); z-index: 2; }
.card-float-3 { bottom: 8%; left: 28%; animation: float 8s ease-in-out infinite; transform: rotate(-2deg); z-index: 1; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(var(--r,0)); }
  50%     { transform: translateY(-14px) rotate(var(--r,0)); }
}
.card-float-1 { --r: -6deg; }
.card-float-2 { --r: 4deg; }
.card-float-3 { --r: -2deg; }

.cf-image {
  width: 100%; aspect-ratio: 1;
  border-radius: var(--r-md);
  background: #1a1a28 center/cover;
  margin-bottom: 12px;
}
.cf-meta { display: flex; flex-direction: column; padding: 4px 6px 6px; }
.cf-name { font-weight: 600; font-size: 0.88rem; }
.cf-price { font-family: var(--font-mono); font-size: 0.78rem; color: var(--neon-cyan); margin-top: 2px; }

.scroll-hint {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-hint span {
  display: block; width: 1px; height: 32px;
  background: linear-gradient(180deg, transparent, var(--text-dim), transparent);
  animation: scrollHint 2.5s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── 8. Sections (landing) ───────────────────────────────────────── */
.section { padding: 80px 0; }
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--neon-cyan); margin-bottom: 14px;
}
.section-title em {
  font-style: italic;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.feature-card:hover .feature-glow { opacity: 1; }
.feature-num {
  font-family: var(--font-mono); font-size: 0.74rem;
  color: var(--neon-violet); margin-bottom: 24px;
  letter-spacing: 0.1em;
}
.feature-card h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.feature-card p { color: var(--text-mute); font-size: 0.92rem; line-height: 1.6; }
.feature-glow {
  position: absolute; inset: -1px; pointer-events: none; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,0%), rgba(176,38,255,0.18), transparent 70%);
  opacity: 0; transition: opacity .35s var(--ease);
}

/* Logo strip */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.logo-strip span {
  padding: 22px 16px;
  background: var(--bg);
  text-align: center;
  font-family: var(--font-display); font-weight: 500; font-size: 0.9rem;
  color: var(--text-mute);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.logo-strip span:hover { background: var(--surface-2); color: var(--text); }

/* CTA card */
.cta-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  padding: 48px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(176,38,255,0.25), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(0,240,255,0.18), transparent 50%),
    var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}
.cta-card p { color: var(--text-mute); margin-top: 12px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 9. Glass card primitive ─────────────────────────────────────── */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

/* ── 10. Page header ─────────────────────────────────────────────── */
.page-head { margin-bottom: 28px; padding-top: 16px; }
.page-sub { color: var(--text-mute); margin-top: 6px; }

/* ── 11. Feed ────────────────────────────────────────────────────── */
.feed-layout {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 24px;
  align-items: start;
}
.rail { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.rail-card { padding: 18px; }
.rail-card h4 {
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 14px;
}
.rail-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  color: var(--text-mute);
  transition: background .2s var(--ease), color .2s var(--ease);
  cursor: pointer;
}
.rail-list li:hover, .rail-list li.active { background: var(--surface-2); color: var(--text); }
.rail-list .dot { width: 8px; height: 8px; border-radius: 50%; }
.d-violet  { background: var(--neon-violet);  box-shadow: 0 0 8px var(--neon-violet); }
.d-cyan    { background: var(--neon-cyan);    box-shadow: 0 0 8px var(--neon-cyan); }
.d-magenta { background: var(--neon-magenta); box-shadow: 0 0 8px var(--neon-magenta); }
.d-soft    { background: var(--text-dim); }

.rail-rooms img { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; }
.rail-people li { gap: 12px; }
.rail-people > li > div { flex: 1; min-width: 0; line-height: 1.2; }
.rail-people strong { display: block; font-size: 0.86rem; color: var(--text); }
.rail-people small { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); }
.rail-trends li { display: flex; justify-content: space-between; }
.rail-trends strong { color: var(--text); font-weight: 500; }
.rail-trends small  { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.74rem; }

/* Composer */
.composer { padding: 18px; }
.composer-top { display: flex; gap: 14px; align-items: flex-start; }
.composer-top textarea {
  flex: 1;
  font-size: 1rem;
  color: var(--text);
  resize: none;
  padding-top: 8px;
}
.composer-top textarea::placeholder { color: var(--text-dim); }
.composer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.composer-tools { display: flex; gap: 4px; }
.tool-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-mute);
  transition: background .2s, color .2s;
}
.tool-btn:hover { background: var(--surface-2); color: var(--neon-cyan); }

/* Posts */
.feed-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.post {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
  animation: postIn .5s var(--ease-out) both;
}
@keyframes postIn { from { opacity:0; transform: translateY(8px);} to { opacity:1; transform: translateY(0);} }
.post:hover { border-color: var(--border-strong); }
.post-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.post-head .avatar { flex-shrink: 0; }
.post-id { flex: 1; min-width: 0; line-height: 1.25; }
.post-id strong { font-size: 0.96rem; }
.post-id .nft-badge {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 6px;
  padding: 2px 8px; border-radius: 999px;
  font-size: 0.66rem; font-family: var(--font-mono);
  background: var(--grad-soft); color: var(--text);
  border: 1px solid var(--border);
}
.post-id small { display: block; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-dim); margin-top: 2px; }
.post-time { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-dim); }
.post-body { font-size: 1rem; line-height: 1.55; margin-bottom: 12px; color: var(--text); white-space: pre-wrap; }
.post-image {
  width: 100%; aspect-ratio: 16/10;
  background: #1a1a28 center/cover;
  border-radius: var(--r-md); border: 1px solid var(--border);
  margin-bottom: 12px;
}
.post-actions { display: flex; gap: 6px; padding-top: 8px; border-top: 1px solid var(--border); }
.post-action {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.82rem; color: var(--text-mute);
  transition: color .2s, background .2s;
}
.post-action:hover { color: var(--text); background: var(--surface-2); }
.post-action.is-liked { color: var(--neon-magenta); }

/* Avatars */
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-brand) center/cover;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
}
.avatar-sm { width: 36px; height: 36px; }
.avatar-xs { width: 32px; height: 32px; }

/* ── 12. Browse ──────────────────────────────────────────────────── */
.block { padding: 12px 0 40px; }
.block-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.block-head h2 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
}
.seg {
  display: inline-flex; padding: 3px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}
.seg-btn {
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.8rem; color: var(--text-mute);
  transition: background .2s, color .2s;
}
.seg-btn.is-active { background: var(--surface-3); color: var(--text); }

.live-pulse {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--neon-cyan);
}
.live-pulse > span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse 1.6s ease-in-out infinite;
}

/* Collections grid */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.collection-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.collection-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.cc-banner { width: 100%; aspect-ratio: 16/9; background: #1a1a28 center/cover; }
.cc-body { padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.cc-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #1a1a28 center/cover;
  border: 2px solid var(--bg); margin-top: -36px;
  flex-shrink: 0;
}
.cc-info { flex: 1; min-width: 0; line-height: 1.25; }
.cc-info strong { display: block; font-size: 0.95rem; }
.cc-info small  { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.74rem; }
.cc-stats { display: flex; gap: 16px; padding: 0 16px 16px; }
.cc-stats > div { flex: 1; }
.cc-stats span { display: block; font-size: 0.72rem; color: var(--text-dim); font-family: var(--font-mono); }
.cc-stats strong { font-family: var(--font-display); font-size: 0.95rem; }
.cc-stats .delta-up    { color: #2ee59d; }
.cc-stats .delta-down  { color: #ff5577; }

/* Top NFTs grid */
.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.nft-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  cursor: pointer;
  animation: postIn .4s var(--ease-out) both;
}
.nft-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176,38,255,0.5);
  box-shadow: 0 20px 40px -10px rgba(176,38,255,0.25);
}
.nc-image { width: 100%; aspect-ratio: 1; background: #1a1a28 center/cover; }
.nc-body { padding: 12px 14px 14px; }
.nc-name { font-size: 0.92rem; font-weight: 500; }
.nc-coll { font-size: 0.78rem; color: var(--text-dim); margin-top: 2px; }
.nc-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border);
}
.nc-price { font-family: var(--font-mono); font-size: 0.82rem; color: var(--neon-cyan); }
.nc-chain {
  font-family: var(--font-mono); font-size: 0.7rem;
  padding: 2px 8px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-mute);
}

/* Activity */
.activity { display: flex; flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.activity-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 16px; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .2s var(--ease);
  animation: postIn .35s var(--ease-out) both;
}
.activity-row:last-child { border-bottom: 0; }
.activity-row:hover { background: var(--surface-2); }
.act-thumb { width: 40px; height: 40px; border-radius: 10px; background: #1a1a28 center/cover; }
.act-main strong { font-size: 0.9rem; }
.act-main small { display: block; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-dim); margin-top: 2px; }
.act-tag {
  font-family: var(--font-mono); font-size: 0.7rem;
  padding: 3px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.tag-sale     { background: rgba(46,229,157,0.12); color: #2ee59d; }
.tag-list     { background: rgba(0,240,255,0.12); color: var(--neon-cyan); }
.tag-mint     { background: rgba(176,38,255,0.14); color: #c97aff; }
.tag-transfer { background: rgba(255,176,32,0.12); color: var(--neon-amber); }
.act-price { font-family: var(--font-mono); font-size: 0.86rem; }
.act-time { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-dim); }

/* ── 13. Profile ─────────────────────────────────────────────────── */
.connect-prompt { display: grid; place-items: center; min-height: 60vh; padding: 40px 0; }
.connect-card { padding: 48px; max-width: 480px; text-align: center; }
.connect-icon {
  width: 80px; height: 80px; margin: 0 auto 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--neon-cyan);
}
.connect-card h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 10px; }
.connect-card p  { color: var(--text-mute); margin-bottom: 28px; }
.connect-actions { display: flex; gap: 10px; flex-direction: column; }
.connect-fineprint { display: block; margin-top: 20px; color: var(--text-dim); font-family: var(--font-mono); font-size: 0.74rem; }

/* Banner */
.profile-banner {
  position: relative;
  width: 100%; height: 240px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.banner-bg {
  position: absolute; inset: 0;
  background: var(--grad-brand) center/cover;
  filter: saturate(1.1);
  transform: scale(1.05);
}
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6,6,12,0.8) 100%);
}
.banner-tag {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--text);
  background: rgba(6,6,12,0.6);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* Profile header */
.profile-header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px; align-items: center;
  padding: 0 24px 24px;
  margin-top: -56px;
  position: relative;
}
.profile-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--grad-brand) center/cover;
  border: 4px solid var(--bg);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
}
.profile-id { padding-top: 60px; min-width: 0; }
.profile-id h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; letter-spacing: -0.02em; }
.profile-id .mono { margin-top: 4px; }
.profile-bio { color: var(--text-mute); margin-top: 12px; max-width: 56ch; font-size: 0.94rem; }

.profile-stats {
  display: flex; gap: 28px; padding-top: 60px;
}
.profile-stats > div { text-align: center; }
.profile-stats strong { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.profile-stats span   { font-size: 0.76rem; color: var(--text-dim); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }

.profile-actions { display: flex; gap: 8px; padding-top: 60px; flex-wrap: wrap; }

/* Tabs */
.profile-tabs {
  display: flex; gap: 2px;
  padding: 0 4px;
  margin: 32px 0 24px;
  border-bottom: 1px solid var(--border);
}
.tab {
  position: relative;
  padding: 14px 22px;
  font-size: 0.92rem;
  color: var(--text-mute);
  transition: color .2s var(--ease);
}
.tab.is-active { color: var(--text); }
.tab.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; border-radius: 2px;
  background: var(--grad-brand);
}
.tab:hover { color: var(--text); }

.empty-state {
  padding: 60px 24px; text-align: center;
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--r-lg);
}
.empty-state p { color: var(--text-mute); margin-bottom: 18px; }

/* ── 14. Toast ───────────────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 0.88rem;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.6);
  animation: toastIn .35s var(--ease-out);
  min-width: 260px;
}
.toast.is-leaving { animation: toastOut .25s var(--ease) forwards; }
@keyframes toastIn  { from { opacity:0; transform: translateX(20px) translateY(10px); } to { opacity:1; transform: translateX(0) translateY(0);} }
@keyframes toastOut { to { opacity:0; transform: translateX(20px); } }
.toast.t-ok    { border-left: 3px solid #2ee59d; }
.toast.t-err   { border-left: 3px solid #ff5577; }
.toast.t-info  { border-left: 3px solid var(--neon-cyan); }

/* ── 15. Footer ──────────────────────────────────────────────────── */
.app-footer {
  border-top: 1px solid var(--border);
  padding: 60px 28px 40px;
  margin-top: 80px;
  background: linear-gradient(180deg, transparent, rgba(6,6,12,0.6));
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
}
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.footer-cols h5 {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--text-dim); margin-bottom: 14px;
}
.footer-cols a {
  display: block; padding: 4px 0; font-size: 0.88rem; color: var(--text-mute);
  transition: color .2s;
}
.footer-cols a:hover { color: var(--text); }
.footer-fine {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; margin-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-dim);
}

/* ── 16. Loading / skeleton ──────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
  background-size: 200% 100%;
  animation: shimmerLoad 1.4s infinite linear;
  border-radius: var(--r-md);
}
@keyframes shimmerLoad { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── 14a. RWA Shop ───────────────────────────────────────────────── */
.rwa-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px;
  margin: 8px 0 36px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse at 0% 100%, rgba(176,38,255,0.20), transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(0,240,255,0.14), transparent 55%),
    var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}
.rwa-hero-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #15151f;
  border: 1px solid var(--border);
}
.rwa-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.rwa-hero:hover .rwa-hero-image img { transform: scale(1.04); }
.rwa-hero-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.72rem;
  background: rgba(46,229,157,0.18);
  border: 1px solid rgba(46,229,157,0.5);
  color: #2EE59D;
  backdrop-filter: blur(8px);
}
.rwa-hero-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.rwa-hero-copy p {
  color: var(--text-mute);
  margin-bottom: 22px;
  font-size: 0.96rem;
  line-height: 1.6;
}
.rwa-hero-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.rwa-hero-price strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--neon-cyan);
}
.rwa-hero-price small {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.rwa-hero-perks {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.rwa-hero-perks li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem;
  color: var(--text-mute);
}
.rwa-hero-perks svg { color: var(--neon-cyan); }

/* Filter chips */
.rwa-filters {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.chip {
  padding: 8px 16px;
  font-size: 0.84rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mute);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { background: var(--surface-2); color: var(--text); }
.chip.is-active {
  background: var(--surface-3);
  border-color: var(--border-strong);
  color: var(--text);
}

/* Product grid */
.rwa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  animation: postIn .45s var(--ease-out) both;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -14px rgba(176,38,255,0.25);
}
.product-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #15151f;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.08);
  transition: transform .6s var(--ease-out), filter .4s var(--ease);
}
.product-card:hover .product-image img { transform: scale(1.06); filter: contrast(1.1) saturate(1.15); }
.product-cat {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px;
  background: rgba(6,6,12,0.65);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text);
  backdrop-filter: blur(8px);
}
.product-auth {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px;
  background: rgba(46,229,157,0.18);
  border: 1px solid rgba(46,229,157,0.45);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.66rem;
  color: #2EE59D;
  backdrop-filter: blur(8px);
}
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.product-brand {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 3px;
}
.product-prices {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-eth {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--neon-cyan);
  font-size: 0.96rem;
}
.product-usd {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
}
.product-actions {
  display: flex; gap: 6px;
  margin-top: 12px;
}
.product-actions .btn {
  flex: 1;
  padding: 9px 10px;
  font-size: 0.82rem;
}

/* ── 14b. Cart drawer ────────────────────────────────────────────── */
.cart-btn {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: inline-grid; place-items: center;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  border: 2px solid var(--bg);
  animation: cartPop .3s var(--ease-out);
}
@keyframes cartPop { from { transform: scale(0); } to { transform: scale(1); } }

.cart-drawer { position: fixed; inset: 0; z-index: 200; }
.cart-drawer[hidden] { display: none; }
.cart-backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 2, 6, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .25s var(--ease);
}
.cart-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border-left: 1px solid var(--border-strong);
  box-shadow: -30px 0 80px -20px rgba(0,0,0,0.7);
  animation: cartSlide .35s var(--ease-out);
}
@keyframes cartSlide { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-head h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.cart-empty {
  text-align: center; padding: 60px 20px;
  color: var(--text-dim); font-size: 0.9rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px; align-items: center;
}
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: #15151f center/cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { line-height: 1.3; min-width: 0; }
.cart-item-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-info small {
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--neon-cyan);
}
.cart-item-remove {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-dim);
  transition: background .2s, color .2s;
}
.cart-item-remove:hover { background: var(--surface-2); color: #ff5577; }

.cart-foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.94rem;
}
.cart-total strong {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--neon-cyan);
}
.cart-checkout { justify-content: center; }
.cart-fineprint {
  text-align: center;
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-dim);
}

/* ── 14c. Chat / Messages ────────────────────────────────────────── */
.chat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: calc(100vh - var(--header-h) - 80px);
  min-height: 560px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

/* Sidebar (conversations list) */
.chat-sidebar {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.chat-sidebar-head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
}
.chat-sidebar-head h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 12px;
}
.chat-search {
  position: relative;
  display: block;
}
.chat-search input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.86rem;
  transition: border-color .2s var(--ease);
}
.chat-search input:focus { border-color: var(--border-strong); }
.chat-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-dim);
}
.chat-new-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%;
  margin-top: 10px;
  padding: 9px 14px;
  font-size: 0.84rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text-mute);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.chat-new-btn:hover { background: var(--surface-2); color: var(--text); }

.chat-conv-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}
.chat-conv {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background .2s var(--ease);
  align-items: center;
}
.chat-conv:hover { background: var(--surface-2); }
.chat-conv.is-active { background: var(--surface-3); }
.chat-conv-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  position: relative;
  flex-shrink: 0;
}
.chat-conv-avatar.is-online::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #2EE59D;
  border: 2px solid var(--bg);
  box-shadow: 0 0 6px #2EE59D;
}
.chat-conv-info { min-width: 0; line-height: 1.25; }
.chat-conv-info strong {
  display: block; font-size: 0.92rem; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-conv-info small {
  display: block;
  color: var(--text-dim);
  font-size: 0.78rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 2px;
}
.chat-conv-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.chat-conv-time {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-dim);
}
.chat-conv-unread {
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: inline-grid; place-items: center;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
}

/* Main chat thread */
.chat-main {
  display: flex; flex-direction: column;
  overflow: hidden;
}
.chat-main-head {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.chat-main-head .chat-conv-avatar { width: 38px; height: 38px; }
.chat-main-id { flex: 1; min-width: 0; line-height: 1.2; }
.chat-main-id strong { font-size: 0.96rem; font-weight: 500; }
.chat-main-id small {
  display: block; font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--text-dim); margin-top: 2px;
}
.chat-status { font-family: var(--font-mono); font-size: 0.74rem; color: #2EE59D; }
.chat-status.offline { color: var(--text-dim); }
.chat-actions { display: flex; gap: 4px; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.chat-day-divider {
  text-align: center;
  margin: 14px 0 6px;
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}
.chat-day-divider::before,
.chat-day-divider::after {
  content: ''; display: inline-block; height: 1px; width: 60px;
  background: var(--border);
  vertical-align: middle; margin: 0 12px;
}
.message {
  max-width: 70%;
  padding: 9px 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-wrap: break-word;
  border-radius: 18px;
  animation: msgIn .25s var(--ease-out);
}
@keyframes msgIn { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform: translateY(0); } }
.message.from-me {
  align-self: flex-end;
  background: var(--grad-brand);
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 6px 20px -8px rgba(176,38,255,0.6);
}
.message.from-them {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
}
.message-time {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-dim);
  margin-top: 2px;
  align-self: flex-end;
}
.message.from-them .message-time { align-self: flex-start; }
.chat-typing {
  align-self: flex-start;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  display: flex; gap: 4px;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-mute);
  animation: typing 1.4s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-empty {
  flex: 1;
  display: grid; place-items: center; text-align: center;
  padding: 40px;
  color: var(--text-dim);
}
.chat-empty svg { margin: 0 auto 16px; opacity: 0.4; }
.chat-empty h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }

.chat-input-bar {
  display: flex; gap: 10px; align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.chat-input-bar input {
  flex: 1;
  padding: 11px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.92rem;
  transition: border-color .2s var(--ease);
}
.chat-input-bar input:focus { border-color: var(--border-strong); }
.chat-send {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--grad-brand);
  border-radius: 50%;
  color: #fff;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
  flex-shrink: 0;
  box-shadow: 0 6px 20px -6px rgba(176,38,255,0.5);
}
.chat-send:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -6px rgba(176,38,255,0.7); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* New conversation modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2,2,6,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  animation: fadeIn .25s var(--ease);
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  width: 100%; max-width: 460px;
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.6);
  animation: modalIn .35s var(--ease-out);
}
@keyframes modalIn { from { opacity:0; transform: translateY(12px) scale(.98); } to { opacity:1; transform: translateY(0) scale(1); } }
.modal h3 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  margin-bottom: 6px;
}
.modal p {
  color: var(--text-mute); font-size: 0.9rem;
  margin-bottom: 18px;
}
.modal-input {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}
.modal-input:focus { border-color: var(--border-strong); }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ── 14d. Cross-cutting (wallet links, follow state, product modal) ── */
.wallet-link {
  cursor: pointer;
  flex: 1; min-width: 0; line-height: 1.2;
  transition: color .2s var(--ease);
}
.wallet-link:hover strong { color: var(--neon-cyan); }
.rail-people .wallet-link strong { display: block; font-size: 0.86rem; color: var(--text); }
.rail-people .wallet-link small  { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); }

[data-wallet] strong, [data-wallet] small { transition: color .2s var(--ease); }
.post-id strong[data-wallet],
.post-id [data-wallet] strong { cursor: pointer; }
.post-id [data-wallet]:hover strong { color: var(--neon-cyan); }

/* Follow button states */
.btn[data-follow].is-following {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  background-image: none;
}
.btn[data-follow].is-following:hover { background: rgba(255, 87, 119, 0.12); color: #ff5577; }
.btn[data-follow].is-following:hover::after { content: ' · Unfollow'; }

/* Product detail modal */
.product-modal-backdrop {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(2, 2, 6, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: 32px;
  animation: fadeIn .3s var(--ease);
  overflow-y: auto;
}
.product-modal-backdrop[hidden] { display: none; }
.product-modal {
  width: 100%; max-width: 1080px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 60px 140px -30px rgba(0, 0, 0, 0.7);
  animation: modalIn .4s var(--ease-out);
  position: relative;
}
.product-modal-close {
  position: absolute; top: 16px; right: 16px;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(6,6,12,0.7);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
  transition: background .2s var(--ease);
}
.product-modal-close:hover { background: rgba(255, 87, 119, 0.2); color: #ff5577; }

.product-modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  min-height: 540px;
}
.product-modal-image {
  position: relative;
  background: #0a0a14 center/cover;
  overflow: hidden;
}
.product-modal-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
}
.product-modal-image-tag {
  position: absolute; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.74rem;
  background: rgba(46,229,157,0.18);
  border: 1px solid rgba(46,229,157,0.5);
  color: #2EE59D;
  backdrop-filter: blur(10px);
}

.product-modal-info {
  padding: 36px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.product-modal-cat {
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--neon-cyan);
}
.product-modal-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  margin: 10px 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.product-modal-brand {
  color: var(--text-mute);
  font-size: 0.92rem;
}
.product-modal-desc {
  margin: 18px 0 22px;
  color: var(--text-mute);
  line-height: 1.6;
  font-size: 0.94rem;
}
.product-specs {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-bottom: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.product-specs > div { font-size: 0.84rem; }
.product-specs span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.product-specs strong { color: var(--text); font-weight: 500; }

.product-modal-price {
  margin-top: auto;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: baseline;
}
.product-modal-price strong {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--neon-cyan);
}
.product-modal-price small {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--text-dim);
}

.product-modal-actions {
  display: flex; gap: 10px;
  margin-top: 16px;
}
.product-modal-actions .btn { flex: 1; padding: 13px 20px; font-size: 0.92rem; }

.product-provenance {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.product-provenance h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.product-provenance ol {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.product-provenance li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-mute);
  align-items: baseline;
  position: relative;
}
.product-provenance li::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  margin-top: 7px;
}
.product-provenance li.is-current::before {
  background: var(--neon-magenta);
  box-shadow: 0 0 8px var(--neon-magenta);
}
.product-provenance li small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Profile RWA tab */
.profile-rwa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.profile-rwa-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
  animation: postIn .4s var(--ease-out) both;
}
.profile-rwa-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.profile-rwa-card .nc-image { aspect-ratio: 4/5; }
.profile-rwa-card .nc-image img { width:100%; height:100%; object-fit: cover; filter: contrast(1.04) saturate(1.08); }

/* ── 14e. Notifications panel ────────────────────────────────────── */
.notif-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: inline-grid; place-items: center;
  background: var(--neon-magenta);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  border: 2px solid var(--bg);
  animation: cartPop .3s var(--ease-out);
}
.notif-panel {
  position: fixed;
  top: calc(var(--header-h) + 8px);
  right: 24px;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100vh - var(--header-h) - 32px);
  z-index: 180;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: notifIn .25s var(--ease-out);
}
.notif-panel[hidden] { display: none; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.notif-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.notif-head h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.notif-mark-read {
  font-family: var(--font-mono); font-size: 0.74rem;
  color: var(--neon-cyan);
  transition: color .2s var(--ease);
}
.notif-mark-read:hover { color: var(--text); }

.notif-list {
  overflow-y: auto;
  flex: 1;
  display: flex; flex-direction: column;
}
.notif-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  cursor: pointer;
  transition: background .2s var(--ease);
  position: relative;
}
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: var(--surface-2); }
.notif-item.unread::before {
  content: '';
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--neon-magenta);
  box-shadow: 0 0 6px var(--neon-magenta);
}
.notif-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.notif-body {
  min-width: 0;
  line-height: 1.35;
}
.notif-body strong {
  display: inline;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text);
}
.notif-body span {
  color: var(--text-mute);
  font-size: 0.86rem;
}
.notif-body small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 3px;
}
.notif-kind {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.notif-kind.k-follow   { background: rgba(176,38,255,0.18); color: #c97aff; }
.notif-kind.k-collect  { background: rgba(0,240,255,0.16);  color: var(--neon-cyan); }
.notif-kind.k-sale     { background: rgba(46,229,157,0.16); color: #2ee59d; }
.notif-kind.k-bid      { background: rgba(255,176,32,0.16); color: var(--neon-amber); }
.notif-kind.k-drop     { background: rgba(255,45,149,0.16); color: var(--neon-magenta); }
.notif-empty {
  text-align: center; padding: 60px 20px;
  color: var(--text-dim); font-size: 0.9rem;
}

/* ── 14f. Scroll reveal + marquee + presale + steps + testimonial ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee */
.marquee-strip {
  margin: 40px 0 20px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-mute);
  letter-spacing: -0.01em;
}
.marquee-track span:nth-child(odd) { color: var(--text); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Presale */
.presale-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(176,38,255,0.30), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(0,240,255,0.18), transparent 55%),
    var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.presale-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(176,38,255,0.4), transparent 40%, rgba(0,240,255,0.3));
  z-index: -1;
  opacity: 0.6;
}

.presale-orb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.presale-logo {
  width: 60%;
  height: 60%;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(255,45,149,0.6))
          drop-shadow(0 0 60px rgba(176,38,255,0.5));
  animation: presalePulse 3s ease-in-out infinite;
}
@keyframes presalePulse {
  0%,100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 30px rgba(255,45,149,0.6)) drop-shadow(0 0 60px rgba(176,38,255,0.5)); }
  50%     { transform: scale(1.05) rotate(2deg); filter: drop-shadow(0 0 50px rgba(255,45,149,0.85)) drop-shadow(0 0 90px rgba(176,38,255,0.7)); }
}
.presale-rings {
  position: absolute; inset: 0;
  pointer-events: none;
}
.presale-rings span {
  position: absolute; inset: 50% 50%;
  width: 100%; height: 100%;
  border: 1px solid rgba(255, 45, 149, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: presaleRing 4s ease-out infinite;
}
.presale-rings span:nth-child(2) { animation-delay: 1.3s; border-color: rgba(176, 38, 255, 0.3); }
.presale-rings span:nth-child(3) { animation-delay: 2.6s; border-color: rgba(0, 240, 255, 0.3); }
@keyframes presaleRing {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

.presale-info { min-width: 0; }
.presale-info .section-title { margin-top: 14px; margin-bottom: 16px; }
.presale-lede {
  color: var(--text-mute);
  font-size: 1rem; line-height: 1.6;
  margin-bottom: 28px;
  max-width: 56ch;
}
.presale-lede strong { color: var(--neon-cyan); font-family: var(--font-mono); font-weight: 500; }

.presale-progress {
  margin-bottom: 28px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.presale-progress-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: var(--text-mute);
}
.presale-progress-head strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.presale-progress-target { font-family: var(--font-mono); font-size: 0.84rem; }
.presale-progress-target strong {
  font-family: var(--font-mono); background: none; color: var(--text); font-size: 0.84rem;
}
.presale-bar {
  position: relative;
  height: 8px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.presale-bar-fill {
  position: absolute; inset: 0;
  background: var(--grad-brand);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  transition: width 1.2s var(--ease-out);
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(255, 45, 149, 0.6);
}
.presale-progress-foot {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim);
}
.presale-progress-foot strong { color: var(--text); font-family: var(--font-mono); }

.presale-calc {
  padding: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.presale-calc-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
}
.presale-input { display: flex; flex-direction: column; min-width: 0; }
.presale-input > span {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.presale-input-row {
  display: flex; align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  transition: border-color .2s var(--ease);
}
.presale-input-row:focus-within { border-color: var(--neon-magenta); }
.presale-input input {
  flex: 1; min-width: 0;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  background: none; border: 0; outline: 0;
}
.presale-input input[readonly] { color: var(--neon-cyan); cursor: default; }
.presale-input-suffix {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-left: 8px;
}
.presale-input-suffix-token {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600;
}
.presale-arrow {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--neon-cyan);
  margin-bottom: 6px;
}

.presale-quick-buttons {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 18px;
}

.presale-buy {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 1rem;
  margin-bottom: 18px;
}
.presale-buy svg { color: #fff; }

.presale-perks {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.presale-perks li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.84rem;
  color: var(--text-mute);
}
.presale-perks svg { color: var(--neon-cyan); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-card {
  position: relative;
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.step-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
  display: inline-block;
}
.step-card h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step-card p {
  color: var(--text-mute); font-size: 0.94rem; line-height: 1.6;
}

/* Testimonial */
.testimonial {
  margin: 0;
  padding: 40px 48px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(0,240,255,0.18), transparent 55%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
}
.testimonial p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  position: relative;
}
.testimonial p::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  position: absolute;
  left: -28px; top: -20px;
  color: var(--neon-magenta);
  opacity: 0.6;
  line-height: 1;
}
.testimonial footer {
  display: flex; align-items: center; gap: 14px;
}
.testimonial footer strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
}
.testimonial footer small {
  display: block;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-top: 2px;
}

/* RWA Showroom mode */
.rwa-toggle {
  display: inline-flex; gap: 4px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-left: auto;
}
.rwa-toggle-btn {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.rwa-toggle-btn.is-active { background: var(--surface-3); color: var(--text); }
.rwa-toggle-btn:hover { color: var(--text); }

.rwa-filter-row {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.rwa-filter-row .rwa-filters {
  flex: 1;
  margin: 0;
  padding: 0;
  border: 0;
}

.showroom {
  display: none;
  position: relative;
  margin-bottom: 56px;
}
.showroom.is-active { display: block; }

.showroom-stage {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  min-height: 580px;
  box-shadow: var(--shadow-card);
}
.showroom-image {
  position: relative;
  background: #0a0a14;
  overflow: hidden;
}
.showroom-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
  animation: showroomFade .6s var(--ease-out);
}
@keyframes showroomFade {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}
.showroom-image-tag {
  position: absolute; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.74rem;
  background: rgba(46,229,157,0.18);
  border: 1px solid rgba(46,229,157,0.5);
  color: #2EE59D;
  backdrop-filter: blur(10px);
}

.showroom-info {
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center;
  animation: showroomFade .6s var(--ease-out) .1s backwards;
}
.showroom-cat {
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--neon-cyan); margin-bottom: 12px;
}
.showroom-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.showroom-brand {
  color: var(--text-mute);
  font-size: 0.96rem; margin-bottom: 22px;
}
.showroom-desc {
  color: var(--text-mute);
  font-size: 0.94rem; line-height: 1.6;
  margin-bottom: 26px;
}
.showroom-price {
  padding: 20px 0;
  margin-bottom: 22px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: baseline;
}
.showroom-price strong {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--neon-cyan);
}
.showroom-price small {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-dim);
}
.showroom-actions {
  display: flex; gap: 10px;
}
.showroom-actions .btn { flex: 1; padding: 14px 20px; }

.showroom-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0 0;
}
.showroom-counter {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-mute);
}
.showroom-counter strong { color: var(--text); }
.showroom-nav-btns { display: flex; gap: 8px; }
.showroom-arrow {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.showroom-arrow:hover { background: var(--surface-3); transform: scale(1.05); }
.showroom-dots {
  display: flex; gap: 6px; align-items: center;
}
.showroom-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background .2s var(--ease), transform .2s var(--ease);
  cursor: pointer;
}
.showroom-dot.is-active {
  background: var(--neon-magenta);
  transform: scale(1.5);
  box-shadow: 0 0 8px var(--neon-magenta);
}

/* Avatar dress-up tab */
.avatar-builder {
  display: grid;
  grid-template-columns: 1.2fr 380px;
  gap: 24px;
  margin-top: 8px;
}

/* Avatar item picker modal */
.avatar-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  margin: 16px 0;
}
.avatar-pick-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
  background: var(--bg-elev);
}
.avatar-pick-card:hover { transform: scale(1.04); border-color: var(--neon-magenta); }
.avatar-pick-card img { width: 100%; height: 100%; object-fit: cover; }
.avatar-pick-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  font-size: 0.7rem; font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── 14g. Subtle micro-animations & polish ──────────────────────── */

/* Card tilt on hover (used in product cards, RWA cards, NFT cards) */
.product-card,
.nft-card,
.collection-card,
.feature-card,
.step-card {
  will-change: transform;
}

/* Stat counter glow on hero */
.hero-stats li strong {
  position: relative;
  display: inline-block;
}
.hero-stats li:hover strong {
  filter: brightness(1.2);
  transition: filter .3s var(--ease);
}

/* Button shimmer on primary buttons */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left .8s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::before { left: 130%; }

/* Floating-label vibe on chips */
.chip { transition: all .25s var(--ease); }
.chip:active { transform: scale(0.96); }

/* Section tag underline animation on hover within section heads */
.section-tag {
  position: relative;
  padding-bottom: 4px;
}
.section-tag::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 24px; height: 1px;
  background: var(--neon-cyan);
  transition: width .4s var(--ease-out);
}
.section-head:hover .section-tag::after { width: 56px; }

/* Smoother feed post entry — staggered already, but add gentle hover lift */
.post {
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -16px rgba(176,38,255,0.2);
}

/* Hero CTA buttons — gentle pulse on the primary one */
.hero-cta .btn-primary {
  animation: heroBtnGlow 4s ease-in-out infinite;
}
@keyframes heroBtnGlow {
  0%, 100% { box-shadow: 0 10px 30px -10px rgba(176,38,255,0.55), inset 0 0 0 1px rgba(255,255,255,0.18); }
  50%      { box-shadow: 0 14px 40px -8px rgba(255,45,149,0.7), inset 0 0 0 1px rgba(255,255,255,0.28); }
}

/* Eyebrow tag pulse intensifier */
.eyebrow .pulse { box-shadow: 0 0 12px var(--neon-cyan); }

/* Hover scale on logo strip cells */
.logo-strip span:hover { transform: scale(1.05); transition: transform .25s var(--ease); }

/* Glassy hover on rail items */
.rail-list li { transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.rail-list li:hover { transform: translateX(2px); }

/* X / Community card */
.x-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px; align-items: center;
  padding: 40px 48px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse at 0% 100%, rgba(0,240,255,0.18), transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(176,38,255,0.18), transparent 55%),
    var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.x-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.04), transparent 40%);
  pointer-events: none;
  transition: opacity .4s var(--ease);
  opacity: 0;
}
.x-card:hover::before { opacity: 1; }

.x-icon {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  color: var(--text);
  flex-shrink: 0;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.x-card:hover .x-icon {
  transform: scale(1.05) rotate(-4deg);
  border-color: var(--neon-cyan);
}
.x-copy h2 { margin: 12px 0 8px; }
.x-copy p {
  color: var(--text-mute);
  font-size: 0.96rem;
  max-width: 56ch;
  line-height: 1.6;
}
.x-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.x-handle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.footer-socials { display: inline-flex; gap: 8px; }
.footer-socials a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-mute);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.footer-socials a:hover {
  color: var(--text);
  border-color: var(--neon-cyan);
  transform: translateY(-1px);
}

/* RWA section visual polish */
.rwa-hero {
  position: relative;
  overflow: hidden;
}
.rwa-hero::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(176,38,255,0.5), transparent 35%, rgba(0,240,255,0.4));
  border-radius: inherit;
  z-index: -1;
  opacity: 0.5;
  filter: blur(24px);
}

/* Showroom — smaller, more elegant */
.showroom-stage {
  min-height: auto;
  max-height: 460px;
}
.showroom-image { aspect-ratio: 4/3; }
.showroom-image img { transition: transform 1.2s var(--ease-out); }
.showroom:hover .showroom-image img { transform: scale(1.04); }
.showroom-info { padding: 36px 36px; }
.showroom-info h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 6px; }
.showroom-price { padding: 16px 0; margin-bottom: 18px; }
.showroom-price strong { font-size: 1.5rem; }

/* Showroom slide-in animation */
.showroom-stage.is-sliding-left  { animation: slideLeft  .45s var(--ease-out); }
.showroom-stage.is-sliding-right { animation: slideRight .45s var(--ease-out); }
@keyframes slideLeft  { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX( 30px); } to { opacity: 1; transform: translateX(0); } }

/* RWA grid card — subtle 3D tilt and glow */
.product-card {
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow:
    0 30px 60px -20px rgba(176,38,255,0.35),
    0 0 0 1px rgba(255,255,255,0.06);
}

/* Animated grid placeholder while images load (nft-card, collection-card) */
.nc-image,
.cc-banner {
  background:
    linear-gradient(135deg,
      rgba(176, 38, 255, 0.15) 0%,
      rgba(255, 45, 149, 0.12) 50%,
      rgba(0, 240, 255, 0.12) 100%);
}

/* RWA toggle subtle press */
.rwa-toggle-btn:active { transform: scale(0.96); }
.showroom-arrow:active { transform: scale(0.92); }

/* Logo bigger on landing — subtle floating animation in hero */
.app-header .logo-img {
  animation: logoBob 6s ease-in-out infinite;
}
@keyframes logoBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-2px) rotate(-2deg); }
}

/* ── 14h. RWA Category landing (Real World Store) ────────────────── */
.rwa-landing-head {
  margin: 36px 0 24px;
}
.rwa-landing-head h2 {
  margin-bottom: 8px;
}
.rwa-landing-head p {
  color: var(--text-mute);
  font-size: 0.96rem;
  max-width: 56ch;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}
.category-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  animation: postIn .5s var(--ease-out) both;
}
.category-tile:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -16px rgba(176,38,255,0.35);
}
.category-tile-image {
  position: absolute; inset: 0;
}
.category-tile-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
  transition: transform .9s var(--ease-out), filter .4s var(--ease);
}
.category-tile:hover .category-tile-image img {
  transform: scale(1.08);
  filter: saturate(1.25) contrast(1.1);
}
.category-tile-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,6,12,0.85) 100%);
}
.category-tile-label {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 12px;
}
.category-tile-label h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  line-height: 1.1;
  margin-bottom: 4px;
}
.category-tile-label small {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
.category-tile-arrow {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.category-tile:hover .category-tile-arrow {
  transform: translateX(4px);
  background: var(--neon-magenta);
  border-color: var(--neon-magenta);
}
/* Distinct gradient accent on hover, per-tile colorful */
.category-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(176,38,255,0) 0%, rgba(255,45,149,0.25) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: 1;
  pointer-events: none;
}
.category-tile:hover::before { opacity: 1; }

/* Drilldown header */
.drilldown-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 8px 0 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.drilldown-head h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.drilldown-head .page-sub {
  margin-top: 2px;
  font-size: 0.86rem;
}

/* ── 14i. Avatar Builder v2 — anatomical callouts ─────────────────── */
.avatar-builder {
  display: grid;
  grid-template-columns: 1.2fr 380px;
  gap: 24px;
  margin-top: 8px;
}

.avatar-stage-v2 {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(176,38,255,0.22), transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(0,240,255,0.14), transparent 50%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex; align-items: center; justify-content: center;
  min-height: 580px;
  overflow: hidden;
}
.avatar-stage-halo {
  position: absolute;
  bottom: 8%; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 30px;
  background: radial-gradient(ellipse at center, rgba(176,38,255,0.45), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: avatarHalo 4s ease-in-out infinite;
}
@keyframes avatarHalo {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

.avatar-figure-v2 {
  position: relative;
  width: 320px;
  height: 100%;
  z-index: 2;
  animation: avatarFloat 6s ease-in-out infinite;
}
@keyframes avatarFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.avatar-figure-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(176,38,255,0.4));
}

.avatar-fig-equipped {
  position: absolute;
  width: 56px; height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  box-shadow: 0 0 18px rgba(255,45,149,0.6), 0 4px 12px rgba(0,0,0,0.5);
  overflow: hidden;
  background: var(--bg-elev);
  z-index: 3;
  animation: equipPop .4s var(--ease-out);
  transition: transform .25s var(--ease);
}
.avatar-fig-equipped:hover { transform: translate(-50%, -50%) scale(1.12); z-index: 5; }
.avatar-fig-equipped img { width: 100%; height: 100%; object-fit: cover; }

@keyframes equipPop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Connecting-line callouts pointing to figure parts */
.avatar-callout {
  position: absolute;
  display: flex; align-items: center; gap: 0;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 4;
  padding: 0;
  transform: translateY(-50%);
  transition: transform .25s var(--ease);
}
.avatar-callout.side-left {
  left: 8%;
  flex-direction: row-reverse;
}
.avatar-callout.side-right {
  right: 8%;
}
.avatar-callout:hover { transform: translateY(-50%) scale(1.04); }
.avatar-callout.is-disabled { opacity: 0.45; cursor: not-allowed; }

.avatar-callout-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--neon-magenta);
  box-shadow: 0 0 12px var(--neon-magenta), inset 0 0 4px rgba(255,255,255,0.5);
  position: relative;
  z-index: 2;
  animation: dotPulse 2.4s ease-in-out infinite;
}
.avatar-callout.is-equipped .avatar-callout-dot {
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan), inset 0 0 4px rgba(255,255,255,0.5);
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}
.avatar-callout-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--neon-magenta), rgba(176,38,255,0.2));
}
.avatar-callout.side-left .avatar-callout-line {
  background: linear-gradient(270deg, var(--neon-magenta), rgba(176,38,255,0.2));
}
.avatar-callout.is-equipped .avatar-callout-line {
  background: linear-gradient(90deg, var(--neon-cyan), rgba(0,240,255,0.2));
}
.avatar-callout.is-equipped.side-left .avatar-callout-line {
  background: linear-gradient(270deg, var(--neon-cyan), rgba(0,240,255,0.2));
}
.avatar-callout-label {
  display: flex; flex-direction: column;
  padding: 8px 14px;
  background: rgba(15, 15, 28, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
  min-width: 110px;
}
.avatar-callout.side-left .avatar-callout-label { text-align: right; }
.avatar-callout-label strong {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.avatar-callout-label small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-dim);
  margin-top: 2px;
}
.avatar-callout.is-equipped .avatar-callout-label small { color: var(--neon-cyan); }

/* Body style toggle pill */
.avatar-body-toggle {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 4px;
  padding: 4px;
  background: rgba(15, 15, 28, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  z-index: 5;
}
.avatar-body-pill {
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.avatar-body-pill:hover { color: var(--text); }
.avatar-body-pill.is-active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(176,38,255,0.4);
}

/* Right-side controls panel */
.avatar-controls-v2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 18px;
  align-self: start;
}
.avatar-controls-head h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.avatar-controls-head p {
  font-size: 0.86rem;
  color: var(--text-mute);
  line-height: 1.5;
}
.avatar-slot-list {
  display: flex; flex-direction: column;
  gap: 8px;
}
.avatar-slot-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: left;
  transition: all .25s var(--ease);
  font-family: inherit;
}
.avatar-slot-row:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
  transform: translateX(2px);
}
.avatar-slot-row.is-equipped {
  border-color: rgba(0,240,255,0.4);
  background: rgba(0,240,255,0.04);
}
.avatar-slot-row.is-locked {
  opacity: 0.45;
  cursor: not-allowed;
}
.avatar-slot-row.is-locked:hover {
  transform: none;
  background: var(--surface-2);
}

.avatar-slot-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  color: var(--text-dim);
}
.avatar-slot-row.is-equipped .avatar-slot-icon {
  border-color: var(--neon-cyan);
}
.avatar-slot-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.avatar-slot-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}
.avatar-slot-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 200px;
}
.avatar-slot-row.is-equipped .avatar-slot-text small {
  color: var(--neon-cyan);
}
.avatar-slot-action { color: var(--text-dim); flex-shrink: 0; }
.avatar-slot-row.is-equipped .avatar-slot-action { color: var(--neon-cyan); }

.avatar-actions {
  display: flex; gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.avatar-actions .btn { flex: 1; justify-content: center; }

/* ── 14j. Polish: nav underline, scroll progress, cart bounce ────── */

/* Active nav link gets an animated gradient underline */
.app-nav a {
  position: relative;
}
.app-nav a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.app-nav a.is-active::after { width: 60%; }
.app-nav a:hover::after { width: 30%; }

/* Scroll progress indicator at top of viewport */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--grad-brand);
  width: 0;
  z-index: 999;
  transition: width .15s linear;
  box-shadow: 0 0 8px rgba(176,38,255,0.6);
  pointer-events: none;
}

/* Cart icon bounce when item added */
.cart-bounce {
  animation: cartBounce .5s var(--ease-out);
}
@keyframes cartBounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.25) rotate(-8deg); }
  60%  { transform: scale(0.92) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Notification bell ring */
.notif-ring {
  animation: bellRing .8s var(--ease);
}
@keyframes bellRing {
  0%   { transform: rotate(0); }
  20%  { transform: rotate(-15deg); }
  40%  { transform: rotate(12deg); }
  60%  { transform: rotate(-8deg); }
  80%  { transform: rotate(5deg); }
  100% { transform: rotate(0); }
}

/* Smooth page transitions */
.page {
  animation: pageIn .45s var(--ease-out);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero counters get a subtle pulse on first reveal */
.hero-stats li strong {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Glowing whitepaper CTA — shimmering text + animated border halo */
.btn-wp-glow {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--bg-elev);
  border: 1px solid transparent;
  cursor: pointer;
  isolation: isolate;
  transition: transform .25s var(--ease), background .25s var(--ease);
  overflow: hidden;
  text-decoration: none;
}
.btn-wp-glow svg {
  color: var(--neon-magenta);
  filter: drop-shadow(0 0 6px var(--neon-magenta));
  animation: wpGlow 3s ease-in-out infinite;
}
.btn-wp-glow .btn-wp-text {
  background: linear-gradient(90deg, var(--neon-magenta) 0%, var(--neon-cyan) 50%, var(--neon-magenta) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
  font-weight: 600;
}
/* Animated gradient ring border */
.btn-wp-glow::before {
  content: '';
  position: absolute; inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--neon-magenta), var(--neon-violet), var(--neon-cyan), var(--neon-magenta));
  background-size: 300% 100%;
  animation: wpRing 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}
/* Outer glow halo */
.btn-wp-glow::after {
  content: '';
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--neon-magenta), var(--neon-cyan));
  filter: blur(14px);
  opacity: 0.35;
  z-index: -2;
  animation: wpHalo 3s ease-in-out infinite;
}
.btn-wp-glow:hover {
  transform: translateY(-1px);
  background: var(--surface);
}
.btn-wp-glow:hover::after { opacity: 0.6; }
@keyframes wpRing {
  0%   { background-position:   0% 50%; }
  100% { background-position: 300% 50%; }
}
@keyframes wpHalo {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.55; }
}
@keyframes wpGlow {
  0%, 100% { filter: drop-shadow(0 0 6px var(--neon-magenta)); }
  50%      { filter: drop-shadow(0 0 12px var(--neon-cyan)); }
}

/* ── 14k. Activity feed in profile ──────────────────────────────── */
.profile-activity {
  margin-top: 4px;
  animation: pageIn .4s var(--ease-out);
}
.activity-list {
  display: flex; flex-direction: column;
  gap: 6px;
}
.activity-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.activity-row:hover {
  background: var(--surface-2);
  transform: translateX(2px);
}
.activity-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
}
.activity-icon-mint { background: rgba(0,240,255,0.12);  color: var(--neon-cyan);    border-color: rgba(0,240,255,0.35); }
.activity-icon-burn { background: rgba(255,69,69,0.12);  color: #ff8888;             border-color: rgba(255,69,69,0.35); }
.activity-icon-send { background: rgba(255,45,149,0.10); color: var(--neon-magenta); border-color: rgba(255,45,149,0.30); }
.activity-icon-recv { background: rgba(176,38,255,0.10); color: var(--neon-violet);  border-color: rgba(176,38,255,0.30); }
.activity-text strong {
  display: block;
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.92rem; color: var(--text);
}
.activity-text small {
  display: block;
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--text-dim); margin-top: 2px;
}
.activity-tail { display: flex; align-items: center; gap: 8px; }
.activity-link {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  color: var(--text-dim);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.activity-link:hover { color: var(--neon-cyan); background: rgba(0,240,255,0.06); }
.activity-skeleton {
  pointer-events: none;
}
.activity-skeleton .skeleton-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: shimmerSkeleton 1.5s linear infinite;
}
.activity-skeleton .skeleton-block {
  height: 12px; border-radius: 4px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: shimmerSkeleton 1.5s linear infinite;
}
.activity-skeleton .skeleton-block-sm { width: 60px; }
@keyframes shimmerSkeleton { to { background-position: -200% 0; } }

/* ── 14l. Bio editor ────────────────────────────────────────────── */
.profile-bio-wrap {
  position: relative;
  display: flex; align-items: flex-start; gap: 8px;
  padding-right: 28px;
}
.profile-bio { flex: 1; }
.profile-bio[data-editing="1"] {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 4px;
}
.profile-bio textarea {
  width: 100%;
  min-height: 56px;
  padding: 10px 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
  resize: vertical;
}
.profile-bio textarea:focus {
  outline: 0;
  border-color: var(--neon-magenta);
  box-shadow: 0 0 0 3px rgba(255,45,149,0.15);
}
.profile-bio-actions {
  display: flex; align-items: center; gap: 8px;
}
.profile-bio-counter {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}
.profile-bio-edit {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid transparent;
  opacity: 0;
  transition: all .2s var(--ease);
  flex-shrink: 0;
}
.profile-bio-wrap:hover .profile-bio-edit { opacity: 1; }
.profile-bio-edit:hover {
  color: var(--neon-magenta);
  background: rgba(255,45,149,0.08);
  border-color: rgba(255,45,149,0.2);
}

/* ── 14m. Demo voice/video call (FaceTime-style) ────────────────── */
.call-demo {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1100;
  animation: callIn .35s var(--ease-out);
}
@keyframes callIn {
  from { opacity: 0; transform: translateY(20px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.call-demo-window {
  width: 340px;
  height: 480px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #06060c;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 30px 80px -10px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 0 60px rgba(176,38,255,0.25);
}
.call-demo-bg {
  position: absolute; inset: 0;
  filter: blur(40px) saturate(1.2);
  opacity: 0.95;
  animation: callBgPulse 4s ease-in-out infinite;
}
@keyframes callBgPulse {
  0%, 100% { transform: scale(1.05); }
  50%      { transform: scale(1.15); }
}
/* Picture-in-picture self view */
.call-demo-pip {
  position: absolute;
  top: 14px; right: 14px;
  width: 72px; height: 96px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.4);
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  z-index: 3;
}
.call-demo-pip-bg {
  position: absolute; inset: 0;
  filter: blur(8px);
}
.call-demo-pip-label {
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.call-demo-top {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 4px;
}
.call-demo-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.call-demo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ffaa00;
  box-shadow: 0 0 6px #ffaa00;
  animation: callDotPulse 1.2s ease-in-out infinite;
}
.call-demo-dot.is-connected {
  background: #00ff88;
  box-shadow: 0 0 6px #00ff88;
  animation: none;
}
@keyframes callDotPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.call-demo-timer {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.call-demo-id {
  position: absolute;
  bottom: 130px; left: 0; right: 0;
  text-align: center;
  z-index: 2;
}
.call-demo-id h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  margin-bottom: 4px;
}
.call-demo-id p {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.65);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.call-demo-controls {
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 18px;
  z-index: 2;
}
.call-ctl {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.call-ctl:hover { transform: scale(1.08); background: rgba(255,255,255,0.28); }
.call-ctl.is-toggled { background: rgba(255,255,255,0.85); color: #06060c; }
.call-ctl-end {
  background: #ff3b30;
  border-color: rgba(255,255,255,0.2);
  width: 60px; height: 60px;
}
.call-ctl-end:hover { background: #ff5247; }
/* Audio waveform decoration */
.call-demo-waveform {
  position: absolute;
  bottom: 100px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 3px;
  height: 18px;
  z-index: 2;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.call-demo-window.is-connected .call-demo-waveform { opacity: 0.9; }
.call-demo-waveform span {
  width: 2px; height: 6px;
  background: rgba(255,255,255,0.85);
  border-radius: 1px;
  animation: callWave 0.8s ease-in-out infinite;
}
@keyframes callWave {
  0%, 100% { height: 4px; }
  50%      { height: 18px; }
}

/* ── 14n. Empty new-chat thread placeholder ─────────────────────── */
.chat-thread-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px 24px;
  text-align: center;
  gap: 10px;
  height: 100%;
}
.chat-thread-empty-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin-bottom: 8px;
  border: 2px solid var(--border-strong);
}
.chat-thread-empty h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.chat-thread-empty p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  word-break: break-all;
}
.chat-thread-empty small {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-mute);
}

/* ── 14o. Feed sidebar: spaces clickable + bookmark state ───────── */
#feedSpaces li {
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
  padding: 6px 8px;
  border-radius: 6px;
  margin: 0 -6px;
}
#feedSpaces li:hover { background: var(--surface-2); }
#feedSpaces li.active { color: var(--text); }

.post-action.is-bookmarked {
  color: var(--neon-cyan);
}
.post-action.is-bookmarked svg { fill: var(--neon-cyan); }

/* ── 14p. Launch app — animated gradient text glow ───────────────── */
.btn-launch-glow .btn-launch-text {
  background: linear-gradient(90deg, #ffffff 0%, var(--neon-cyan) 25%, var(--neon-magenta) 50%, var(--neon-cyan) 75%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: launchShimmer 4s linear infinite;
  font-weight: 600;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.35));
}
@keyframes launchShimmer { to { background-position: -200% 0; } }
/* Keep the arrow pure white so it doesn't compete with the text */
.btn-launch-glow svg {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.6));
}

/* ── 17. Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .feed-layout { grid-template-columns: 1fr 280px; }
  .rail-left { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .header-inner { grid-template-columns: auto auto; gap: 12px; }
  .primary-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { height: 420px; }
  .feed-layout { grid-template-columns: 1fr; }
  .rail { position: static; }
  .rail-right { display: none; }
  .profile-header { grid-template-columns: auto 1fr; gap: 16px; }
  .profile-stats, .profile-actions { grid-column: 1 / -1; padding-top: 0; }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }
  .cta-card { padding: 28px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .rwa-hero { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .rwa-hero-image { aspect-ratio: 16/10; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-image { aspect-ratio: 4/3; }
  .product-modal-info { padding: 24px; }
  .chat-layout { grid-template-columns: 1fr; height: auto; }
  .chat-sidebar { display: none; }
  .chat-layout.show-sidebar .chat-sidebar { display: flex; }
  .chat-layout.show-sidebar .chat-main { display: none; }
  .presale-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .presale-orb { max-width: 240px; margin: 0 auto; }
  .presale-calc-row { grid-template-columns: 1fr; }
  .presale-arrow { transform: rotate(90deg); justify-self: center; }
  .steps { grid-template-columns: 1fr; }
  .showroom-stage { grid-template-columns: 1fr; }
  .showroom-image { aspect-ratio: 4/3; }
  .showroom-info { padding: 28px 24px; }
  .avatar-builder { grid-template-columns: 1fr; }
  .avatar-stage-v2 { min-height: 480px; padding: 16px; }
  .avatar-figure-v2 { width: 240px; }
  .avatar-callout { display: none; } /* Hide callouts on mobile — controls panel handles equip */
  .avatar-fig-equipped { width: 44px; height: 44px; }
  .testimonial { padding: 28px 28px 28px 36px; }
  .testimonial p::before { left: -12px; font-size: 3rem; }
  .x-card { grid-template-columns: 1fr; padding: 28px; gap: 18px; }
  .x-actions { align-items: flex-start; }
}
@media (max-width: 540px) {
  .page { padding: 20px 16px 60px; }
  .header-inner { padding: 0 16px; }
  .nft-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .features { grid-template-columns: 1fr; }
  .collections-grid { grid-template-columns: 1fr; }
  .activity-row { grid-template-columns: auto 1fr auto; gap: 10px; padding: 12px; }
  .activity-row .act-tag, .activity-row .act-time { display: none; }
  .category-grid { gap: 10px; }
  .category-tile-label h3 { font-size: 1.1rem; }
}

/* ── 18. Reduce motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .blob, .orbit, .card-float { animation: none !important; }
}
