
/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* brand */
  --purple: #00C805;
  --green:  #5CF97A;
  --teal:   #00E6B8;

  /* surfaces, layered dark */
  --bg:        #050806;
  --bg-raise:  #07110b;
  --row:       #0b1610;
  --row-2:     #101d15;
  --hover:     #14231a;
  --glass:     rgba(11,22,16,0.55);

  /* text */
  --ink:  #f2f9f4;
  --mid:  #a7bcb0;
  --dim:  #6d857a;
  --ghost:#223029;

  /* borders */
  --border:     rgba(0, 200, 5,0.16);
  --border-mid: rgba(0, 200, 5,0.38);

  /* type */
  --mono:    'IBM Plex Mono', 'Menlo', monospace;
  --display: 'Space Grotesk', 'IBM Plex Mono', sans-serif;

  /* radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* shadow */
  --shadow-lift: 0 24px 60px rgba(0,0,0,0.5), 0 0 32px rgba(0, 200, 5,0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html, body { overflow-x: hidden; max-width: 100%; }
::selection { background: rgba(0, 200, 5,0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ghost); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--dim); }

a { color: inherit; }
img, svg { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid rgba(92, 249, 122,0.7);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── BACKGROUND LAYERS ── */
#galaxy-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.7;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1; opacity: 0.35;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.025) 2px, rgba(0,0,0,0.025) 4px);
  pointer-events: none; z-index: 2;
}

nav, section, .stats-strip, footer { position: relative; z-index: 10; }

/* ── GRADIENT LINE ── */
.grad-line {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #00C805 20%, #5CF97A 50%, #00E6B8 70%, #00C805 85%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmerLine 3s linear infinite;
}

/* ── SHARED ANIMATIONS ── */
@keyframes shimmerLine { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes meshPulse { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 1; transform: scale(1.05); } }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  25%      { transform: translateY(-30px) translateX(15px); }
  50%      { transform: translateY(-15px) translateX(-10px); }
  75%      { transform: translateY(-40px) translateX(5px); }
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes dotPulse {
  0%, 55%   { box-shadow: 0 0 0 rgba(92, 249, 122, 0); opacity: 0.5; }
  62%       { box-shadow: 0 0 5px rgba(92, 249, 122, 0.9); opacity: 1; }
  70%, 100% { box-shadow: 0 0 0 rgba(92, 249, 122, 0); opacity: 0.5; }
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(5,8,6,0.92);
  z-index: 200;
}
nav.scrolled { background: rgba(5,8,6,0.96); }

.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { color: var(--purple); filter: drop-shadow(0 0 6px rgba(0, 200, 5,0.6)); }
.nav-logo-img { width: 22px; height: 22px; object-fit: contain; display: block; border-radius: 6px; filter: drop-shadow(0 0 6px rgba(0, 200, 5,0.45)); }
.nav-logo-name {
  font-family: var(--display);
  font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--ink);
  background: linear-gradient(90deg, #eef7f0, #00C805, #5CF97A, #eef7f0);
  background-size: 300% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.8px;
  color: var(--mid); text-decoration: none; position: relative;
  transition: color 0.15s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--green);
  transform: scaleX(0); transition: transform 0.2s ease; transform-origin: left;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-x-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--mid) !important;
  transition: color 0.15s, border-color 0.15s, background 0.15s !important;
}
.nav-x-link::after { display: none !important; }
.nav-x-link:hover {
  color: var(--ink) !important;
  border-color: rgba(255,255,255,0.18) !important;
  background: rgba(255,255,255,0.05) !important;
}
.nav-x-link svg { width: 12px; height: 12px; fill: currentColor; flex-shrink: 0; }

.nav-cta {
  font-size: 10px !important; font-weight: 700 !important; letter-spacing: 1px !important;
  color: var(--green) !important; border: 1px solid rgba(92, 249, 122,0.3) !important;
  padding: 6px 15px !important; border-radius: 6px !important;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s !important;
  position: relative; overflow: hidden; text-decoration: none;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(92, 249, 122,0.12), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.nav-cta:hover::before { opacity: 1; }
.nav-cta:hover {
  background: rgba(92, 249, 122,0.08) !important;
  border-color: rgba(92, 249, 122,0.5) !important;
  box-shadow: 0 0 16px rgba(92, 249, 122,0.22) !important;
}

.nav-cta-profile {
  font-size: 10px !important; font-weight: 700 !important; letter-spacing: 1px !important;
  color: var(--purple) !important; border: 1px solid rgba(0, 200, 5,0.35) !important;
  padding: 6px 15px !important; border-radius: 6px !important;
  transition: background 0.15s, border-color 0.15s !important;
  text-decoration: none !important;
}
.nav-cta-profile:hover { background: rgba(0, 200, 5,0.08) !important; border-color: rgba(0, 200, 5,0.55) !important; }

.nav-cta-muted { color: var(--mid) !important; border-color: var(--border) !important; }

.nav-mobile-actions { display: none; align-items: center; gap: 10px; }

/* ── HERO (signature — kept, refined) ── */
#hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 130px 24px 64px; position: relative; overflow: hidden;
}

.hero-mesh {
  position: absolute; inset: 0; pointer-events: none;
  animation: meshPulse 8s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.hero-inner {
  max-width: 1160px; width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center;
  position: relative; z-index: 1;
}

.hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.3px; color: var(--green);
  margin-bottom: 24px; display: flex; align-items: center; gap: 2px;
  opacity: 0; animation: fadeSlideUp 0.6s ease 0.2s forwards;
}
.hero-eyebrow-2 {
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px; color: var(--green);
  margin-bottom: 24px; display: flex; align-items: center; gap: 2px;
  opacity: 0; animation: fadeSlideUp 0.6s ease 0.2s forwards;
}
h1 {
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 58px); font-weight: 700; line-height: 1.06;
  letter-spacing: -1.6px; margin-bottom: 24px;
  opacity: 0; animation: fadeSlideUp 0.6s ease 0.35s forwards;
}
h1 .accent {
  background: linear-gradient(90deg, #00C805 0%, #5CF97A 55%, #00E6B8 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmerLine 4s linear infinite;
  display: inline-block; position: relative;
}

.hero-sub {
  font-size: 14px; color: var(--mid); line-height: 1.85;
  margin-bottom: 36px; max-width: 440px;
  opacity: 0; animation: fadeSlideUp 0.6s ease 0.5s forwards;
}

.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeSlideUp 0.6s ease 0.65s forwards;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px;
  background: linear-gradient(135deg, #00C805, #5CF97A); color: #07070f;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 1px;
  border: none; border-radius: var(--r-sm); cursor: pointer; text-decoration: none;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.2s;
  position: relative; overflow: hidden; will-change: transform;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%); transition: transform 0.4s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover {
  opacity: 0.94; transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 200, 5,0.45), 0 4px 16px rgba(92, 249, 122,0.24);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  background: rgba(255,255,255,0.02); color: var(--mid); font-family: var(--mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.8px;
  border: 1px solid var(--border-mid); border-radius: var(--r-sm); cursor: pointer;
  text-decoration: none; transition: color 0.15s, border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-secondary:hover {
  color: var(--ink); border-color: rgba(0, 200, 5,0.65); background: rgba(0, 200, 5,0.05);
  box-shadow: 0 0 18px rgba(0, 200, 5,0.16);
}

/* ── ALERT ── */
.alert {
  padding: 12px 4px; border-top: 1px solid transparent; border-bottom: 1px solid transparent;
  font-size: 11px; line-height: 1.65; margin-bottom: 16px; display: none; letter-spacing: 0.2px;
}
.alert.error   { border-color: rgba(255,60,60,0.3);  color: #ff6b6b; }
.alert.success,
.alert.info    { border-color: rgba(92, 249, 122,0.3); color: var(--green); }

/* ── DEMO SCENE ── */
.demo-scene {
  position: relative; display: flex; align-items: flex-start; justify-content: center;
  min-height: 420px; perspective: 1200px;
  opacity: 0; animation: fadeSlideUp 0.8s ease 0.5s forwards;
}

.x-shell {
  width: 100%; max-width: 380px; background: #000;
  border: 1px solid #2f3336; border-radius: 20px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(0, 200, 5,0.12), 0 0 70px rgba(0, 200, 5,0.08);
  font-family: -apple-system, 'TwitterChirp', 'Segoe UI', sans-serif;
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  will-change: transform;
}
.demo-scene:hover .x-shell { transform: rotateY(0deg) rotateX(0deg); box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 100px rgba(0, 200, 5,0.16); }

.x-topbar { background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid #2f3336; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.x-topbar-dot { width: 10px; height: 10px; border-radius: 50%; }
.x-topbar-dot:nth-child(1) { background: #ff5f57; }
.x-topbar-dot:nth-child(2) { background: #febc2e; }
.x-topbar-dot:nth-child(3) { background: #28c840; }
.x-topbar-url { flex: 1; background: #16181c; border-radius: 6px; padding: 4px 10px; font-size: 10px; color: #71767b; font-family: var(--mono); }

.x-tweet { padding: 16px; display: flex; gap: 12px; border-bottom: 1px solid #2f3336; }
.x-avatar-col { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.x-avatar-wrap { position: relative; }
.x-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  display: flex; align-items: center; justify-content: center; font-size: 18px; overflow: hidden;
}

@property --mf-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes mf-border-spin { to { --mf-angle: 360deg; } }
@keyframes mf-gradient-slide { 0% { background-position: 0% 0%; } 100% { background-position: -200% 0%; } }

/* Palette per-chain del tooltip demo — registrate come <color> tipizzato
   così cambiare --mf-c1/c2/c3 su tab-switch NON fa ripartire lo shimmer
   (stesso trucco dell'estensione). Solana è il default. */
@property --mf-c1 { syntax: '<color>'; inherits: true; initial-value: #00C805; }
@property --mf-c2 { syntax: '<color>'; inherits: true; initial-value: #5CF97A; }
@property --mf-c3 { syntax: '<color>'; inherits: true; initial-value: #00E6B8; }

.mf-badge-demo {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 7px 3px 5px; border-radius: 20px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.3px; white-space: nowrap;
  font-family: -apple-system, system-ui, 'Segoe UI', sans-serif;
  cursor: pointer; user-select: none; line-height: 1; color: #5CF97A;
  border: 1.5px solid transparent;
  background-image: linear-gradient(#05120e, #05120e), conic-gradient(from var(--mf-angle), #00C805, #5CF97A, #00E6B8, #00C805);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 2px 12px rgba(92, 249, 122,0.35), inset 0 1px 0 rgba(92, 249, 122,0.08);
  z-index: 10; animation: mf-border-spin 3s linear infinite;
}
.mf-badge-demo-val {
  background-image: linear-gradient(90deg, #00C805, #5CF97A, #00E6B8, #00C805);
  background-size: 200% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  color: transparent; animation: mf-gradient-slide 3s linear infinite;
}

.x-reply-line { width: 2px; background: #2f3336; flex: 1; margin-top: 4px; min-height: 20px; }

.x-tweet-body { flex: 1; min-width: 0; }
.x-tweet-header { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.x-name    { font-size: 15px; font-weight: 700; color: #e7e9ea; }
.x-verified { color: #1d9bf0; font-size: 14px; }
.x-handle  { font-size: 15px; color: #71767b; }
.x-time    { font-size: 15px; color: #71767b; }
.x-dot     { color: #71767b; font-size: 14px; }
.x-tweet-text { font-size: 15px; color: #e7e9ea; line-height: 1.5; margin-bottom: 12px; }
.x-tweet-text .cashtag { color: #1d9bf0; }

.x-actions { display: flex; gap: 28px; }
.x-action { display: flex; align-items: center; gap: 6px; color: #71767b; font-size: 13px; cursor: pointer; transition: color 0.15s; }
.x-action:hover { color: #1d9bf0; }
.x-action svg { width: 18px; height: 18px; fill: currentColor; }

.x-tweet-sm { padding: 12px 16px; display: flex; gap: 12px; border-bottom: 1px solid #2f3336; opacity: 0.55; }
.x-avatar-sm {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #1e1b2e, #2d1f3d);
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; position: relative;
}
.mf-badge-demo-sm {
  position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 2px; padding: 2px 5px; border-radius: 20px;
  font-size: 8px; font-weight: 800; font-family: -apple-system, system-ui, sans-serif;
  white-space: nowrap; line-height: 1; color: #5CF97A; border: 1.5px solid transparent;
  background-image: linear-gradient(#05120e, #05120e), conic-gradient(from var(--mf-angle), #00C805, #5CF97A, #00E6B8, #00C805);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 2px 12px rgba(92, 249, 122,0.35); animation: mf-border-spin 3s linear infinite;
}

.x-tweet-sm-body { flex: 1; }
.x-tweet-sm-header { display: flex; align-items: baseline; gap: 6px; margin-bottom: 3px; }
.x-name-sm   { font-size: 14px; font-weight: 700; color: #e7e9ea; font-family: -apple-system, sans-serif; }
.x-handle-sm { font-size: 14px; color: #71767b; font-family: -apple-system, sans-serif; }
.x-tweet-sm-text { font-size: 14px; color: #e7e9ea; line-height: 1.4; font-family: -apple-system, sans-serif; }
.x-tweet-sm-text .cashtag { color: #1d9bf0; }

/* ── TOOLTIP ── */
.mf-tooltip-demo {
  position: absolute; left: 50px; z-index: 100;
  border-radius: 16px; padding: 0; font-family: -apple-system, system-ui, sans-serif;
  color: #f2f9f4; width: 248px; overflow: hidden; isolation: isolate; background: #050806;
  box-shadow: 0 0 0 1px rgb(from var(--mf-c1) r g b / 0.25), 0 0 0 2px rgb(from var(--mf-c2) r g b / 0.06),
    0 24px 64px rgba(0,0,0,0.85), 0 8px 24px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(10px) scale(0.96);
  transition: opacity 0.25s cubic-bezier(0.34,1.56,0.64,1), transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.mf-tooltip-demo.visible { opacity: 1; transform: translateY(0) scale(1); }

.mf-tt-stars-d { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mf-tt-nebula-d { position: absolute; inset: -20%; animation: mf-nebula-drift-d 10s ease-in-out infinite alternate; }
@keyframes mf-nebula-drift-d { 0% { opacity: 0.7; transform: scale(1) translate(0, 0); } 100% { opacity: 1; transform: scale(1.08) translate(-2%, 2%); } }
.mf-tt-stars-layer-d { position: absolute; top: 0; left: 0; width: 1px; height: 1px; border-radius: 50%; }
.mf-tt-stars-layer-d.l1 { animation: mf-star-twinkle-d 3.2s ease-in-out infinite; }
.mf-tt-stars-layer-d.l2 { animation: mf-star-twinkle-d 4.6s ease-in-out infinite reverse; opacity: 0.8; }
.mf-tt-stars-layer-d.l3 { width: 2px; height: 2px; animation: mf-star-drift-d 14s linear infinite, mf-star-twinkle-d 5.4s ease-in-out infinite; }
@keyframes mf-star-twinkle-d { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes mf-star-drift-d { 0% { transform: translateY(0); } 100% { transform: translateY(-14px); } }

.mf-tt-content-d { position: relative; z-index: 1; }

/* ── body scambiabile per-chain (demo) ── */
.mf-tt-body-d { position: relative; z-index: 1; transition: opacity 0.18s ease; }

/* ── chain tabs (demo) — stessa grafica dell'estensione ── */
.mf-tt-chain-tabs-d { display: flex; gap: 5px; padding: 11px 14px 0; position: relative; z-index: 1; }
.mf-tt-chain-tab-d {
  flex: 1; display: flex; align-items: center; justify-content: center;
  height: 30px; border-radius: 10px; color: #eef7f0;
  border: 1px solid rgb(from var(--mf-c1) r g b / 0.1);
  background: rgba(255,255,255,0.015);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}
.mf-tt-chain-tab-d svg { width: 15px; height: 15px; opacity: 0.45; display: block; transition: opacity 0.2s ease; }
.mf-tt-chain-tab-d.mf-chain-active-d svg { opacity: 1; }
.mf-tt-chain-tab-d.mf-chain-active-d {
  border-color: rgb(from var(--mf-c1) r g b / 0.55);
  background: rgb(from var(--mf-c1) r g b / 0.1);
  box-shadow: 0 0 12px rgb(from var(--mf-c1) r g b / 0.28), inset 0 1px 0 rgba(255,255,255,0.05);
}
.mf-tt-chain-tab-d.mf-pressed-d { transform: scale(0.9); }

/* ── theme toggle (demo, statico — solo fedeltà grafica) ── */
.mf-tt-theme-toggle-d {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgb(from var(--mf-c1) r g b / 0.2);
  background: rgba(255,255,255,0.02); color: var(--mf-c1);
  padding: 0; margin: 0 0 0 8px; pointer-events: none;
}
.mf-tt-theme-toggle-d svg { width: 12px; height: 12px; display: block; }

.mf-tt-shimmer {
  height: 2px; position: relative; z-index: 2;
  background: linear-gradient(90deg, transparent 0%, var(--mf-c1) 20%, var(--mf-c2) 50%, var(--mf-c3) 70%, var(--mf-c1) 85%, transparent 100%);
  background-size: 200% 100%; animation: shimmerLine 3.5s linear infinite;
}
.mf-tt-shimmer-bottom {
  height: 2px; position: relative; z-index: 2;
  background: linear-gradient(90deg, transparent 0%, var(--mf-c1) 20%, var(--mf-c2) 50%, var(--mf-c3) 70%, var(--mf-c1) 85%, transparent 100%);
  background-size: 200% 100%; animation: shimmerLine 3.5s linear infinite reverse;
}

.mf-tt-head-d { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 13px 14px 11px; border-bottom: 1px solid rgb(from var(--mf-c1) r g b / 0.12); }
.mf-tt-info { flex: 1; min-width: 0; }
.mf-tt-name-d   { font-size: 13px; font-weight: 700; color: #eef7f0; line-height: 1.2; letter-spacing: -0.2px; }
.mf-tt-handle-d { font-size: 10px; color: #78907f; margin-top: 2px; }
.mf-tt-solscan-d { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; font-size: 9px; font-weight: 600; color: var(--mf-c1); text-decoration: none; letter-spacing: 0.3px; opacity: 0.85; }

.mf-tt-wallet-d { padding: 10px 14px 0; position: relative; z-index: 1; }
.mf-tt-sec-label { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #6a8074; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.mf-tt-sec-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgb(from var(--mf-c1) r g b / 0.2), transparent); }

.mf-tt-tokens-d { display: flex; flex-direction: column; gap: 1px; }
.mf-tt-token-d { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 9px; transition: background 0.15s; }
.mf-tt-token-d:hover { background: rgb(from var(--mf-c1) r g b / 0.09); }
.mf-tt-token-info-d   { flex: 1; min-width: 0; }
.mf-tt-token-sym-d    { font-size: 11px; font-weight: 700; color: #eef7f0; }
.mf-tt-token-name-d   { font-size: 9px; color: #78907f; margin-top: 1px; }
.mf-tt-token-right-d  { text-align: right; flex-shrink: 0; }
.mf-tt-token-usd-d    { font-size: 11px; font-weight: 700; color: var(--mf-c2); font-variant-numeric: tabular-nums; letter-spacing: -0.2px; }
.mf-tt-token-amt-d    { font-size: 9px; color: #78907f; font-variant-numeric: tabular-nums; margin-top: 1px; }

.mf-tt-total-d {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px 11px; margin: 6px 0 0;
  border-top: 1px solid rgb(from var(--mf-c1) r g b / 0.1); background: rgb(from var(--mf-c1) r g b / 0.04);
  position: relative; z-index: 1;
}
.mf-tt-total-label-d { font-size: 9px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: #6a8074; }
.mf-tt-total-val-d {
  font-size: 14px; font-weight: 800; letter-spacing: -0.4px;
  background: linear-gradient(90deg, var(--mf-c1) 0%, var(--mf-c2) 50%, var(--mf-c3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 6px rgb(from var(--mf-c2) r g b / 0.3));
}

.demo-cursor { position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 200; opacity: 0; transition: opacity 0.3s; }
.demo-cursor svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }

/* ── REVEAL SYSTEM ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
  will-change: transform, opacity; backface-visibility: hidden;
}
.reveal.revealed { opacity: 1; transform: translateY(0); will-change: auto; }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); will-change: transform, opacity; }
.reveal-left.revealed { opacity: 1; transform: translateX(0); will-change: auto; }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); will-change: transform, opacity; }
.reveal-right.revealed { opacity: 1; transform: translateX(0); will-change: auto; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── SHARED SECTION STYLES ── */
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.3px; color: var(--mid); margin-bottom: 16px; display: flex; align-items: center; gap: 2px; }
h2 { font-family: var(--display); font-size: clamp(25px, 3vw, 38px); font-weight: 700; letter-spacing: -0.8px; color: var(--ink); margin-bottom: 16px; }
.section-sub { font-size: 13.5px; margin: 20px auto 0; color: var(--mid); line-height: 1.9; max-width: 540px; }

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS — "BAGWORK ROAD" v5
   ═══════════════════════════════════════════════════════════════ */

#how {
  scroll-margin-top: 70px;
  padding: 84px 24px 96px;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
#how::before {
  content: ''; position: absolute; top: 4%; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 500px;
  pointer-events: none;
}
#how::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  pointer-events: none;
}

.register-top { text-align: center; margin-bottom: 20px; position: relative; z-index: 1; }
.register-top .section-eyebrow { justify-content: center; }
.register-top .section-sub { color: var(--ink); opacity: 0.82; }

.bagwork-tagline {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--green);
  margin: 0 0 60px;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap;
}
.bagwork-tagline span { color: var(--mid); }
.bagwork-tagline b { color: var(--green); font-weight: 700; }
.bagwork-tagline .sep { color: var(--dim); }

/* ── ROAD CONTAINER ── */
.bagwork-road {
  --node-h: 200px;
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  z-index: 1;
}

.bagwork-road-cap-top {
  width: 3px; height: 34px; margin: 0 auto;
  background: linear-gradient(180deg, transparent, rgba(0, 200, 5,0.6));
  border-radius: 3px;
}

.bagwork-segment {
  position: relative;
  min-height: var(--node-h);
  padding: 10px 0;
  opacity: 1 !important;
  transform: none !important;
}
.bagwork-segment:last-of-type { padding-bottom: 0; }

.bagwork-segment-curve {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  overflow: visible;
}
.bagwork-road-path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(0, 200, 5,0.22));
}

.bagwork-track {
  position: relative;
  contain: layout paint;
}
#bagworkCometCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bagwork-segment-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: var(--node-h);
}
.bagwork-segment.bulge-right .bagwork-segment-inner { justify-content: flex-start; }
.bagwork-segment.bulge-left  .bagwork-segment-inner { justify-content: flex-end; }

.bagwork-hex-wrap {
  position: absolute;
  top: 50%;
  z-index: 2;
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
}
.bagwork-segment.bulge-right .bagwork-hex-wrap { left: 78%; }
.bagwork-segment.bulge-left  .bagwork-hex-wrap { left: 22%; }

.bagwork-label {
  width: 46%;
  position: relative;
  padding: 4px 0;
}
.bagwork-segment.bulge-right .bagwork-label { margin-left: 7%; padding-left: 18px; text-align: left; }
.bagwork-segment.bulge-left  .bagwork-label { margin-right: 7%; padding-right: 18px; text-align: right; }

.bagwork-label::before {
  content: '';
  position: absolute; top: 4px; bottom: 4px;
  width: 2px;
  border-radius: 2px;
  opacity: 0.8;
}
.bagwork-segment.bulge-right .bagwork-label::before { left: 0; }
.bagwork-segment.bulge-left  .bagwork-label::before { right: 0; }

.bagwork-segment[data-phase="see"]      .bagwork-label::before { background: linear-gradient(180deg, #1d9bf0, transparent); }
.bagwork-segment[data-phase="flex"]     .bagwork-label::before { background: linear-gradient(180deg, var(--green), transparent); }
.bagwork-segment[data-phase="register"] .bagwork-label::before { background: linear-gradient(180deg, var(--purple), transparent); }

.bagwork-tag {
  display: inline-block; font-family: var(--mono); font-size: 8.5px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px;
  margin-bottom: 10px;
}
.bagwork-segment[data-phase="see"]      .bagwork-tag { color: #1d9bf0; background: rgba(29,155,240,0.1);  border: 1px solid rgba(29,155,240,0.25); }
.bagwork-segment[data-phase="flex"]     .bagwork-tag { color: var(--green);  background: rgba(92, 249, 122,0.08); border: 1px solid rgba(92, 249, 122,0.25); }
.bagwork-segment[data-phase="register"] .bagwork-tag { color: var(--purple); background: rgba(0, 200, 5,0.1); border: 1px solid rgba(0, 200, 5,0.3); }

.bagwork-label h3 { font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -0.2px; color: var(--ink); margin-bottom: 7px; }
.bagwork-label p { font-size: 12px; color: var(--mid); line-height: 1.7; }
.bagwork-label .bagwork-accent { color: var(--green); font-weight: 600; }
.bagwork-label .bagwork-accent-p { color: var(--purple); font-weight: 600; }

.bagwork-hex {
  position: relative; width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  animation: hexFloat 3.6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
@keyframes hexFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.bagwork-hex::before {
  content: ''; position: absolute; inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: conic-gradient(from 0deg, #00C805, #5CF97A, #00E6B8, #00C805);
  animation: ringSpin 7s linear infinite;
}
.bagwork-hex::after {
  content: ''; position: absolute; inset: -6px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1px solid var(--green); opacity: 0;
  animation: hexPulseRing 5s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}
@keyframes hexPulseRing {
  0%, 96%, 100% { transform: scale(1);   opacity: 0; }
  4%            { transform: scale(1.35); opacity: 0.7; }
  10%           { transform: scale(1.6);  opacity: 0; }
}

.bagwork-hex-core {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px 2px rgba(92, 249, 122,0.7);
  animation: coreGlow 2.4s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
@keyframes coreGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

.bagwork-road-cap-bottom {
  width: 3px; height: 40px; margin: 0 auto; position: relative;
  background: linear-gradient(180deg, rgba(0, 230, 184,0.6), var(--green));
  border-radius: 3px;
}
.bagwork-road-cap-bottom::after {
  content: ''; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-top: 11px solid var(--green);
  filter: drop-shadow(0 0 8px rgba(92, 249, 122,0.6));
}

.bagwork-cta { text-align: center; margin-top: 56px; position: relative; z-index: 1; }
.bagwork-cta-note { font-size: 10px; color: var(--mid); margin-top: 14px; letter-spacing: 0.3px; }
#registerCta { position: relative; overflow: hidden; }
#registerCta::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
#registerCta:hover::after { left: 130%; }

@media (max-width: 700px) {
  .bagwork-road { --node-h: 168px; }
  .bagwork-hex { width: 42px; height: 42px; }

  .bagwork-hex-core { width: 7px; height: 7px; }
  .bagwork-label { width: 50%; }
  .bagwork-segment.bulge-right .bagwork-label { padding-left: 12px; }
  .bagwork-segment.bulge-left  .bagwork-label { padding-right: 12px; }
  .bagwork-label h3 { font-size: 14px; }
  .bagwork-label p { font-size: 11px; line-height: 1.6; }
}
@media (max-width: 460px) {
  .bagwork-road { --node-h: 190px; }
  .bagwork-segment.bulge-right .bagwork-hex-wrap { left: 82%; }
  .bagwork-segment.bulge-left  .bagwork-hex-wrap { left: 18%; }
}

@media (prefers-reduced-motion: reduce) {
  .bagwork-hex, .bagwork-hex::before, .bagwork-hex::after, .bagwork-hex-core,
  .bagwork-road-comet { display: none; }
}


/* ── STATS STRIP ── */
.stats-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 24px; position: relative; overflow: hidden; }
.stats-strip::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 200, 5,0.035) 0px, rgba(0, 200, 5,0.035) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(92, 249, 122,0.03) 0px, rgba(92, 249, 122,0.03) 1px, transparent 1px, transparent 64px);
  mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, #000 0%, transparent 85%);
  pointer-events: none;
}
.stats-strip::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple) 30%, var(--green) 50%, var(--teal) 70%, transparent);
  opacity: 0.6;
}
.stats-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.stat-item { position: relative; text-align: center; padding: 14px 24px; transition: transform 0.3s; will-change: transform; }
.stat-item::before, .stat-item::after { content: ''; position: absolute; width: 16px; height: 16px; border: 1.5px solid transparent; opacity: 0.45; transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease; pointer-events: none; }
.stat-item::before { top: 0; left: 14px; border-top-color: var(--purple); border-left-color: var(--purple); }
.stat-item::after  { bottom: 0; right: 14px; border-bottom-color: var(--green); border-right-color: var(--green); }
.stat-item:hover { transform: translateY(-3px); }
.stat-item:hover::before, .stat-item:hover::after { opacity: 0.9; width: 20px; height: 20px; }
.stat-val { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -1.4px; color: var(--ink); text-shadow: 0 0 24px rgba(92, 249, 122,0.18); }
.stat-label { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 9.5px; font-weight: 600; letter-spacing: 1.5px; color: var(--mid); text-transform: uppercase; margin-top: 10px; }
.stat-label::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px rgba(92, 249, 122,0.8); animation: dotPulse 1.6s ease-in-out infinite; flex-shrink: 0; }

/* ── MOUSE GLOW / ORBS ── */
.mouse-glow { position: fixed; top: 0; left: 0; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 200, 5,0.06) 0%, transparent 70%); pointer-events: none; z-index: 5; will-change: transform; transform: translate(-50%, -50%); }
.orb { position: fixed; border-radius: 50%; pointer-events: none; z-index: 1; filter: blur(60px); animation: orbFloat linear infinite; will-change: transform; }
.orb-1 { width: 300px; height: 300px; background: rgba(0, 200, 5,0.04); top: 10%; left: -5%; animation-duration: 20s; }
.orb-2 { width: 200px; height: 200px; background: rgba(92, 249, 122,0.03);  top: 60%; right: -5%; animation-duration: 15s; animation-delay: -7s; }
.orb-3 { width: 150px; height: 150px; background: rgba(0, 230, 184,0.03);   top: 35%; left: 45%; animation-duration: 25s; animation-delay: -12s; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 32px 24px; background: rgba(5,8,6,0.95); position: relative; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-logo      { display: flex; align-items: center; gap: 8px; }
.footer-logo svg  { color: var(--purple); opacity: 0.6; }
.footer-logo-img  { width: 18px; height: 18px; object-fit: contain; display: block; border-radius: 5px; opacity: 0.75; }
.footer-logo-name { font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--mid); }
.footer-links     { display: flex; align-items: center; gap: 24px; list-style: none; }
.footer-links a   { font-size: 10px; color: var(--mid); text-decoration: none; letter-spacing: 0.5px; transition: color 0.15s; }
.footer-links a:hover { color: var(--ink); }
.footer-x-link { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--border); color: var(--mid); transition: color 0.15s, border-color 0.15s, background 0.15s; }
.footer-x-link svg { width: 11px; height: 11px; fill: currentColor; }
.footer-x-link:hover { color: var(--ink); border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }
.footer-copy { font-size: 9px; color: var(--mid); letter-spacing: 0.3px; }

/* ── RESPONSIVE (global) ── */
@media (max-width: 768px) {
  .hero-inner  { grid-template-columns: 1fr; gap: 48px; }
  #hero        { padding-top: 150px; }
  .stats-inner { grid-template-columns: 1fr; gap: 4px; }
  .stat-item   { padding: 20px 16px; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-inner { flex-direction: column; align-items: center; gap: 16px; }
  .nav-links, .mouse-glow, .orb { display: none; }
  .nav-mobile-actions { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}

/* ============ COMMUNITY BELT ============ */
.community-belt {
  position: absolute; top: 72px; left: 0; right: 0; z-index: 2; width: 100%;
  overflow: hidden; padding: 14px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.community-belt::before {
  content: ''; position: absolute; inset: -20px 0;
  background-image: linear-gradient(90deg, rgba(0, 200, 5, 0.07) 1px, transparent 1px), linear-gradient(0deg, rgba(0, 230, 184, 0.07) 1px, transparent 1px);
  background-size: 34px 34px; animation: gridDrift 44s linear infinite; pointer-events: none; z-index: 0;
}
@keyframes gridDrift { to { background-position: -136px 34px; } }

.community-track {
  position: relative; z-index: 1; display: flex; align-items: center;
  --belt-gap: 46px; gap: var(--belt-gap); width: max-content; will-change: transform;
  animation: beltScroll var(--belt-duration, 60s) linear infinite;
}
.community-belt:hover .community-track, .community-belt:focus-within .community-track { animation-play-state: paused; }
@keyframes beltScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.community-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; flex: 0 0 auto; text-decoration: none; cursor: pointer; }
.community-card::after {
  content: ''; position: absolute; top: 25px; left: 100%; width: var(--belt-gap); height: 2px; transform: translateY(-50%);
  background-image: linear-gradient(90deg, transparent 0% 42%, rgba(238, 247, 240, 0.95) 50%, transparent 58% 100%), linear-gradient(90deg, rgba(0, 200, 5, 0.35), rgba(92, 249, 122, 0.35));
  background-size: 260% 100%, 100% 100%; background-repeat: no-repeat, no-repeat; background-position: -160% 0, 0 0;
  animation: packetTravel var(--dur, 8s) linear infinite; animation-delay: var(--delay, 0s); z-index: 0; pointer-events: none;
}
@keyframes packetTravel { 0% { background-position: -160% 0, 0 0; } 60% { background-position: 260% 0, 0 0; } 100% { background-position: 260% 0, 0 0; } }
.community-card:hover::after { animation-play-state: paused; background-position: 100% 0, 0 0; }

.community-avatar-wrap {
  position: relative; z-index: 1; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
  animation: nodePulse var(--dur, 8s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
@keyframes nodePulse { 0%, 55% { box-shadow: 0 0 0 rgba(92, 249, 122, 0); } 62% { box-shadow: 0 0 12px 1px rgba(92, 249, 122, 0.5); } 70%, 100% { box-shadow: 0 0 0 rgba(92, 249, 122, 0); } }
.community-avatar-wrap::before {
  content: ''; position: absolute; inset: -4px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: conic-gradient(from 0deg, #00C805, #5CF97A, #00E6B8, #00C805);
  animation: ringSpin var(--ring-dur, 6s) linear infinite; animation-delay: var(--ring-delay, 0s); will-change: transform; z-index: 0;
}
.community-avatar, .community-avatar-fallback {
  position: relative; z-index: 1; width: 44px; height: 44px; object-fit: cover; display: block; background: #0b0b14;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.community-avatar-fallback { display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: #eef7f0; background: linear-gradient(135deg, #00C805, #00E6B8); text-transform: uppercase; }
.community-card:hover .community-avatar-wrap { animation-play-state: paused; box-shadow: 0 0 14px 2px rgba(92, 249, 122, 0.6); }
.community-card:hover .community-avatar-wrap::before { animation-play-state: paused; }

.community-username { display: inline-flex; align-items: center; gap: 5px; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: rgba(238, 247, 240, 0.55); white-space: nowrap; transition: color 0.25s ease; }
.community-username::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #5CF97A; flex: 0 0 auto; animation: dotPulse var(--dur, 8s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
.community-card:hover .community-username { color: #eef7f0; }

@media (max-width: 768px) { .community-belt { top: 64px; padding: 8px 0 12px; } }
@media (max-width: 640px) {
  .community-track { --belt-gap: 28px; }
  .community-avatar-wrap { width: 40px; height: 40px; }
  .community-avatar, .community-avatar-fallback { width: 35px; height: 35px; }
  .community-card::after { top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .community-belt::before, .community-track, .community-card::after,
  .community-avatar-wrap, .community-avatar-wrap::before, .community-username::before { animation: none; }
  .community-card::after { background-position: 100% 0, 0 0; }
}

/* ── PAGE LOADER ── */
#pageLoader { position: fixed; inset: 0; background: var(--bg); display: flex; align-items: center; justify-content: center; z-index: 9999; flex-direction: column; gap: 20px; transition: opacity 0.5s ease; }
#pageLoader.loader-hidden { opacity: 0; pointer-events: none; }
.loader-logo { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--dim); }
.loader-bar { width: 120px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { height: 100%; background: linear-gradient(90deg, #00C805, #5CF97A); animation: loadFill 1.2s ease-in-out infinite; }
@keyframes loadFill { 0% { width: 0%; margin-left: 0; } 50% { width: 80%; margin-left: 10%; } 100% { width: 0%; margin-left: 100%; } }
@media (prefers-reduced-motion: reduce) { #pageLoader { transition: none; } .loader-bar-fill { animation: none; width: 40%; margin-left: 30%; } }

#lightning-canvas { position: absolute; top: 0; left: 0; width: 100vw; max-width: 100%; height: 100%; pointer-events: none; z-index: 2; }
@media (max-width: 768px) { #lightning-canvas { display: none; } }

/* ══════════════════════ TOAST ══════════════════════ */
#mf-toast-stack { position: fixed; top: 0; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: max(14px, env(safe-area-inset-top)); z-index: 10050; pointer-events: none; }
.mf-toast {
  pointer-events: auto; display: flex; align-items: center; gap: 11px; width: calc(100% - 32px); max-width: 380px; padding: 12px 16px; border-radius: 18px;
  background: rgba(14, 22, 17, 0.86); border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 10px 34px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03) inset;
  transform: translateY(-130%); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.32, 0.9, 0.35, 1.15), opacity 0.35s ease;
}
.mf-toast.mf-toast-in { transform: translateY(0); opacity: 1; }
.mf-toast.mf-toast-out { transform: translateY(-120%); opacity: 0; transition: transform 0.4s cubic-bezier(0.4, 0, 1, 1), opacity 0.3s ease; }
.mf-toast-icon { width: 27px; height: 27px; border-radius: 8px; flex-shrink: 0; background: linear-gradient(135deg, var(--purple), var(--green)); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #0e0b1a; }
.mf-toast-body { min-width: 0; }
.mf-toast-title { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.1px; line-height: 1.3; }
.mf-toast-msg { font-family: var(--mono); font-size: 10.5px; color: var(--mid); margin-top: 2px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 460px) { .mf-toast { width: calc(100% - 20px); padding: 11px 14px; } }

/* ══════════════════════ CONFIRM DIALOG ══════════════════════ */
.mf-modal-overlay { position: fixed; inset: 0; background: rgba(4,3,8,0.72); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 10100; opacity: 0; transition: opacity 0.25s ease; }
.mf-modal-overlay.mf-modal-in { opacity: 1; }
.mf-modal-overlay.mf-modal-out { opacity: 0; }
.mf-modal {
  width: 100%; max-width: 360px; position: relative; background: rgba(11,20,14,0.94); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 26px 24px 22px; box-shadow: 0 24px 70px rgba(0,0,0,0.55); transform: translateY(14px) scale(0.97); opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.mf-modal-overlay.mf-modal-in .mf-modal { transform: translateY(0) scale(1); opacity: 1; }
.mf-modal-title { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; margin-bottom: 10px; }
.mf-modal-msg { font-size: 12px; color: var(--mid); line-height: 1.75; margin-bottom: 24px; }
.mf-modal-actions { display: flex; gap: 10px; }
.mf-modal-btn { flex: 1; padding: 11px 14px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.4px; border-radius: var(--r-sm); cursor: pointer; transition: all 0.15s; }
.mf-modal-cancel { background: transparent; color: var(--mid); border: 1px solid var(--border); }
.mf-modal-cancel:hover { color: var(--ink); border-color: var(--border-mid); }
.mf-modal-danger { background: rgba(255,60,60,0.1); color: #ff6b6b; border: 1px solid rgba(255,60,60,0.4); }
.mf-modal-danger:hover { background: rgba(255,60,60,0.18); border-color: rgba(255,60,60,0.6); }
.mf-modal-confirm { background: linear-gradient(135deg, var(--purple), var(--green)); color: #0e0b1a; border: none; }
.mf-modal-confirm:hover { filter: brightness(1.08); }
@media (max-width: 460px) { .mf-modal { padding: 22px 20px 18px; } }

/* ══════════════════════ LEGAL / STATIC PAGES ══════════════════════ */
.page-wrap { max-width: 760px; margin: 0 auto; padding: 130px 24px 96px; position: relative; z-index: 10; }
.page-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.3px; color: var(--mid); margin-bottom: 16px; display: flex; align-items: center; gap: 2px; opacity: 0; animation: fadeSlideUp 0.6s ease 0.1s forwards; }
.page-title { font-family: var(--display); font-size: clamp(25px, 3.6vw, 42px); font-weight: 700; letter-spacing: -1px; color: var(--ink); margin-bottom: 10px; opacity: 0; animation: fadeSlideUp 0.6s ease 0.2s forwards; }
.page-meta { font-size: 11px; color: var(--dim); margin-bottom: 56px; letter-spacing: 0.3px; opacity: 0; animation: fadeSlideUp 0.6s ease 0.3s forwards; }
.page-meta span { color: var(--mid); }

.intro-box, .consent-box, .privacy-block { opacity: 0; transform: translateY(20px); animation: fadeSlideUp 0.6s cubic-bezier(0.16,1,0.3,1) forwards; }
.intro-box   { animation-delay: 0.05s; }
.consent-box { animation-delay: 0.1s; }
.intro-box { background: var(--row); border: 1px solid var(--border-mid); border-radius: var(--r-md); padding: 24px 28px; margin-bottom: 56px; position: relative; overflow: hidden; }
.intro-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, #00C805 20%, #5CF97A 50%, #00E6B8 70%, #00C805 85%, transparent 100%); background-size: 200% 100%; animation: shimmerLine 3s linear infinite; }
.intro-box p { font-size: 12px; color: var(--mid); line-height: 1.9; }
.intro-box p + p { margin-top: 10px; }
.intro-box strong { color: var(--ink); }

.consent-box { background: rgba(92, 249, 122,0.04); border: 1px solid rgba(92, 249, 122,0.25); border-radius: var(--r-md); padding: 24px 28px; margin-bottom: 56px; position: relative; overflow: hidden; }
.consent-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #5CF97A, #00E6B8, transparent); background-size: 200% 100%; animation: shimmerLine 3s linear infinite; }
.consent-box-title { font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--green); text-transform: uppercase; margin-bottom: 14px; }
.consent-box p { font-size: 11.5px; color: var(--mid); line-height: 1.9; }
.consent-box p + p { margin-top: 10px; }
.consent-box strong { color: var(--ink); }
.consent-box ul { list-style: none; padding: 0; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.consent-box li { font-size: 11.5px; color: var(--mid); line-height: 1.7; padding: 10px 14px; background: rgba(92, 249, 122,0.03); border: 1px solid rgba(92, 249, 122,0.12); border-radius: var(--r-sm); display: flex; align-items: flex-start; gap: 10px; transition: background 0.2s, border-color 0.2s; }
.consent-box li:hover { background: rgba(92, 249, 122,0.06); border-color: rgba(92, 249, 122,0.22); }
.consent-box li::before { content: '✓'; color: var(--green); flex-shrink: 0; font-size: 10px; margin-top: 2px; font-weight: 700; }

.privacy-block { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.privacy-block:nth-of-type(1) { animation-delay: 0.05s; } .privacy-block:nth-of-type(2) { animation-delay: 0.08s; }
.privacy-block:nth-of-type(3) { animation-delay: 0.11s; } .privacy-block:nth-of-type(4) { animation-delay: 0.14s; }
.privacy-block:nth-of-type(5) { animation-delay: 0.17s; } .privacy-block:nth-of-type(6) { animation-delay: 0.2s; }
.privacy-block:nth-of-type(7) { animation-delay: 0.23s; } .privacy-block:nth-of-type(8) { animation-delay: 0.26s; }
.privacy-block:nth-of-type(9) { animation-delay: 0.29s; } .privacy-block:nth-of-type(10) { animation-delay: 0.32s; }
.privacy-block:nth-of-type(11) { animation-delay: 0.35s; } .privacy-block:nth-of-type(12) { animation-delay: 0.38s; }
.privacy-block:nth-of-type(13) { animation-delay: 0.41s; }
.privacy-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.block-num { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; color: var(--dim); margin-bottom: 6px; text-transform: uppercase; }
.block-title { font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -0.2px; color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.block-title .icon { width: 30px; height: 30px; border-radius: 8px; background: rgba(0, 200, 5,0.1); border: 1px solid rgba(0, 200, 5,0.25); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; box-shadow: 0 0 12px rgba(0, 200, 5,0.15); }
.privacy-block p { font-size: 12px; color: var(--mid); line-height: 1.9; }
.privacy-block p + p { margin-top: 10px; }
.privacy-block ul { list-style: none; padding: 0; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.privacy-block li { font-size: 12px; color: var(--mid); line-height: 1.7; padding: 10px 14px; background: var(--row); border: 1px solid var(--border); border-radius: var(--r-sm); display: flex; align-items: flex-start; gap: 10px; transition: background 0.2s, border-color 0.2s; }
.privacy-block li:hover { background: var(--row-2); border-color: var(--border-mid); }
.privacy-block li::before { content: '→'; color: var(--purple); flex-shrink: 0; font-size: 10px; margin-top: 2px; }
.privacy-block strong { color: var(--ink); }
.privacy-block a { color: var(--purple); text-decoration: none; transition: color 0.15s; }
.privacy-block a:hover { color: var(--green); }
.privacy-block code { color: var(--purple); background: rgba(0, 200, 5,0.08); padding: 1px 5px; border-radius: 3px; font-family: var(--mono); font-size: 10.5px; }

@media (max-width: 640px) { .page-wrap { padding-top: 110px; } .intro-box, .consent-box { padding: 20px 20px; } }

/* ═══════════════════════════════════════════════════════════════
   CINEMA CAROUSEL — roadmap teaser filmstrip (index.html)
   ═══════════════════════════════════════════════════════════════ */
.cine-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.cine-tag.live  { color: var(--green);  background: rgba(92, 249, 122,0.08);  border: 1px solid rgba(92, 249, 122,0.28); }
.cine-tag.prog  { color: var(--purple); background: rgba(0, 200, 5,0.09);  border: 1px solid rgba(0, 200, 5,0.3); }
.cine-tag.next  { color: var(--teal);   background: rgba(0, 230, 184,0.08);   border: 1px solid rgba(0, 230, 184,0.28); }
.cine-tag.expl  { color: var(--dim);    background: rgba(255,255,255,0.02); border: 1px solid var(--border); }

.cine-theater {
  position: relative; margin: 8px auto 0; max-width: 980px; border-radius: 16px; overflow: hidden; background: #030106;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(0, 200, 5,0.16), 0 0 90px rgba(0, 200, 5,0.08);
}
.cine-bezel { position: relative; height: 15px; background: #150f22; z-index: 5; }
.cine-bezel::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.05) 0 4px, transparent 4.4px), radial-gradient(circle at center, #000 0 2.6px, transparent 2.8px);
  background-size: 24px 15px, 24px 15px; background-position: 12px 7px, 12px 7px;
}

.cine-viewport { position: relative; height: 520px; overflow: hidden; outline: none; }
.cine-track { display: flex; height: 100%; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; user-select: none; }
.cine-track::-webkit-scrollbar { display: none; }
.cine-track.dragging { cursor: grabbing; scroll-behavior: auto; }

.cine-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }

.cine-stars {
  position: absolute; top: -10%; left: -20%; width: 140%; height: 120%;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent 60%), radial-gradient(1px 1px at 30% 70%, #fff, transparent 60%),
    radial-gradient(1.4px 1.4px at 55% 15%, #fff, transparent 60%), radial-gradient(1px 1px at 70% 55%, #fff, transparent 60%),
    radial-gradient(1.6px 1.6px at 85% 30%, #fff, transparent 60%), radial-gradient(1px 1px at 92% 80%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 18% 88%, #fff, transparent 60%), radial-gradient(1px 1px at 45% 42%, #fff, transparent 60%);
  background-repeat: repeat; background-size: 240px 220px; opacity: 0.5; z-index: 0;
  animation: cineStarDrift 60s linear infinite; will-change: transform;
}
@keyframes cineStarDrift { from { background-position: 0 0; } to { background-position: -480px 220px; } }

.cine-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cine-bg-inner { position: absolute; inset: -6%; transition: transform 0.6s ease; }
.cine-slide.active .cine-bg-inner { animation: cineKenBurns 18s ease-in-out infinite alternate; }
@keyframes cineKenBurns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.07) translate(-1.4%, -1%); } }

.bg-title  .cine-bg-inner { background: radial-gradient(circle at 30% 30%, rgba(0, 200, 5,0.3), transparent 55%), radial-gradient(circle at 75% 70%, rgba(92, 249, 122,0.2), transparent 55%), #050308; }
.bg-live   .cine-bg-inner { background: radial-gradient(circle at 32% 28%, rgba(92, 249, 122,0.32), transparent 55%), radial-gradient(circle at 78% 74%, rgba(0, 230, 184,0.18), transparent 55%), #04140f; }
.bg-prog   .cine-bg-inner { background: radial-gradient(circle at 30% 32%, rgba(0, 200, 5,0.38), transparent 55%), radial-gradient(circle at 76% 70%, rgba(0, 230, 184,0.16), transparent 55%), #120a1e; }
.bg-next   .cine-bg-inner { background: radial-gradient(circle at 34% 30%, rgba(0, 230, 184,0.28), transparent 55%), radial-gradient(circle at 74% 72%, rgba(0, 200, 5,0.14), transparent 55%), #061420; }
.bg-expl   .cine-bg-inner { background: radial-gradient(circle at 40% 35%, rgba(120,116,156,0.2), transparent 55%), #08070d; }
.bg-outro  .cine-bg-inner { background: radial-gradient(circle at 50% 40%, rgba(92, 249, 122,0.26), transparent 55%), radial-gradient(circle at 25% 75%, rgba(0, 200, 5,0.18), transparent 55%), #050308; }

.cine-vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.62) 100%); }
.cine-grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cine-content {
  position: relative; z-index: 4; max-width: 560px; padding: 0 40px; text-align: center;
  opacity: 0.55; transform: translateY(8px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.cine-slide.active .cine-content { opacity: 1; transform: translateY(0) scale(1); }

.cine-kicker { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--mid); margin-bottom: 14px; opacity: 0.8; }
.cine-title { font-family: var(--display); font-weight: 700; letter-spacing: -1.2px; color: var(--ink); font-size: clamp(24px, 3.6vw, 40px); line-height: 1.08; margin-bottom: 12px; }
.cine-tagline { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 14px; color: var(--green); margin-bottom: 16px; letter-spacing: -0.1px; }
.cine-desc { font-size: 12.5px; color: var(--mid); line-height: 1.85; margin-bottom: 18px; }

.cine-title-word {
  font-family: var(--display); font-weight: 700; letter-spacing: 3px; font-size: clamp(28px, 6vw, 52px); text-transform: uppercase;
  background: linear-gradient(90deg, #eef7f0, #00C805, #5CF97A, #eef7f0); background-size: 300% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmerLine 5s linear infinite; margin-bottom: 16px;
}

.cine-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; z-index: 6;
  display: flex; align-items: center; justify-content: center; background: rgba(5,8,6,0.55); border: 1px solid rgba(255,255,255,0.14);
  color: var(--ink); cursor: pointer; backdrop-filter: blur(6px); transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.cine-arrow:hover { background: rgba(0, 200, 5,0.25); border-color: rgba(0, 200, 5,0.5); transform: translateY(-50%) scale(1.08); }
.cine-arrow.prev { left: 16px; }
.cine-arrow.next { right: 16px; }
.cine-arrow svg { width: 15px; height: 15px; fill: currentColor; }

.cine-hud { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent); }
.cine-counter { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--mid); flex-shrink: 0; white-space: nowrap; }
.cine-dots { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; }
.cine-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; padding: 0; cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.cine-dot.active { background: var(--green); transform: scale(1.5); box-shadow: 0 0 8px rgba(92, 249, 122,0.7); }
.cine-scrubber { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,0.08); z-index: 6; }
.cine-scrubber-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--purple), var(--green)); transition: width 0.4s ease; }

.cine-hint { text-align: center; margin-top: 12px; font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: 0.5px; }

.rm-cta-mini { text-align: center; margin-top: 34px; }
.rm-cta-mini p { font-size: 11.5px; color: var(--dim); margin-top: 10px; letter-spacing: 0.3px; }

@media (max-width: 768px) { .cine-viewport { height: 460px; } .cine-content { padding: 0 26px; } .cine-arrow { width: 36px; height: 36px; } }
@media (max-width: 480px) { .cine-viewport { height: 420px; } .cine-title { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .cine-stars, .cine-bg-inner, .cine-title-word { animation: none !important; } }


/* ═══════════════════════════════════════════════════════════════
   ROADMAP · THE CIRCUIT — roadmap.html
   ═══════════════════════════════════════════════════════════════ */

.rm-intro { text-align: center; margin: 6px 0 4px; position: relative; z-index: 3; }
.rm-intro .page-eyebrow { justify-content: center; animation: fadeSlideUp 0.6s ease 0.1s forwards; }
.rm-intro .page-title { animation: fadeSlideUp 0.6s ease 0.2s forwards; }
.rm-sub { font-size: 13.5px; color: var(--mid); line-height: 1.85; max-width: 480px; margin: 16px auto 0; opacity: 0; animation: fadeSlideUp 0.6s ease 0.3s forwards; }
.rm-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.5px; color: var(--dim); margin-top: 16px; opacity: 0; animation: fadeSlideUp 0.6s ease 0.4s forwards; }
.rm-meta span { color: var(--green); }

.rm-board { position: relative; margin-top: 18px; padding: 22px 6px 30px; }

.rm-star { position: absolute; border-radius: 50%; background: #fff; animation-name: mf-star-twinkle-d; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }

.rm-trace-svg { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: visible; }
.rm-trace-base    { fill: none; stroke: rgba(92, 249, 122,0.14); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.rm-trace-glow    { fill: none; stroke: url(#rmTraceGrad); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; opacity: 0.85; filter: drop-shadow(0 0 4px rgba(92, 249, 122,0.35)); }
.rm-via { fill: #08060f; stroke: rgba(0, 230, 184,0.6); stroke-width: 1.5; }
.rm-via-core { fill: rgba(0, 230, 184,0.85); animation: mf-star-twinkle-d 3s ease-in-out infinite; }
.rm-packet { opacity: 0.95; }

.rm-stop {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 34px;
  padding: 34px 14px;
  transform: translateX(var(--rm-shift, 0px));
}
.rm-stop.rm-left  { justify-content: center; }
.rm-stop.rm-right { justify-content: center; flex-direction: row-reverse; }

.rm-chip {
  position: relative; flex-shrink: 0; width: 86px; height: 86px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; outline: none;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.rm-chip.size-lg { width: 104px; height: 104px; }
.rm-chip:hover, .rm-chip:focus-visible { transform: translateY(-3px) scale(1.04); }

.rm-chip::before, .rm-chip::after {
  content: ''; position: absolute; left: 18px; right: 18px; height: 9px; z-index: 1;
  background-image: repeating-linear-gradient(90deg, var(--pin, #4a4560) 0 3px, transparent 3px 8px);
  opacity: 0.9;
}
.rm-chip::before { top: 1px; } .rm-chip::after { bottom: 1px; }

.rm-chip-face {
  position: absolute; inset: 9px; z-index: 2; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #17122b 0%, #0a0814 70%);
  border: 1px solid var(--chip-border, rgba(0, 200, 5,0.5));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07), inset 0 -10px 20px rgba(0,0,0,0.55),
    0 0 24px var(--chip-glow, rgba(0, 200, 5,0.35));
}
.rm-chip-face::before, .rm-chip-face::after {
  content: ''; position: absolute; top: 20px; bottom: 20px; width: 4px;
  background-image: repeating-linear-gradient(180deg, var(--pin, #4a4560) 0 3px, transparent 3px 8px);
  opacity: 0.8;
}
.rm-chip-face::before { left: -6px; } .rm-chip-face::after { right: -6px; }

.rm-chip-num {
  position: relative; z-index: 3; font-family: var(--display); font-weight: 700;
  font-size: 23px; letter-spacing: -0.5px; color: var(--accent, var(--purple));
  text-shadow: 0 0 12px var(--chip-glow, rgba(0, 200, 5,0.5));
}
.rm-chip.size-lg .rm-chip-num { font-size: 28px; }
.rm-chip-led { position: absolute; z-index: 3; top: 15px; right: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent, var(--purple)); box-shadow: 0 0 8px var(--accent, var(--purple)); }
.rm-chip-ref {
  position: absolute; z-index: 3; bottom: -18px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: 1px; color: var(--dim); white-space: nowrap;
}

.rm-chip.status-origin  { --accent: var(--teal);   --chip-glow: rgba(0, 230, 184,0.32);  --chip-border: rgba(0, 230, 184,0.5); }
.rm-chip.status-shipped { --accent: var(--green);  --chip-glow: rgba(92, 249, 122,0.34); --chip-border: rgba(92, 249, 122,0.5); }
.rm-chip.status-now     { --accent: var(--purple); --chip-glow: rgba(0, 200, 5,0.45); --chip-border: rgba(0, 200, 5,0.6); }

.rm-pulse { position: absolute; inset: 4px; z-index: 0; border-radius: 16px; pointer-events: none; }

.rm-chip.status-now .rm-chip-led { animation: rmLedBlink 1.3s steps(1) infinite; }
@keyframes rmLedBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }
.rm-chip.status-now .rm-chip-face { animation: rmChipBreathe 2.8s ease-in-out infinite; }
@keyframes rmChipBreathe {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), inset 0 -10px 20px rgba(0,0,0,0.55), 0 0 20px rgba(0, 200, 5,0.3); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), inset 0 -10px 20px rgba(0,0,0,0.55), 0 0 34px rgba(0, 200, 5,0.6); }
}
.rm-chip.status-now .rm-pulse {
  position: absolute; inset: 4px; z-index: 0; border-radius: 16px; pointer-events: none;
  border: 1.5px solid rgba(0, 200, 5,0.7); animation: rmPulseRing 2.8s ease-out infinite;
}
@keyframes rmPulseRing { 0% { transform: scale(1); opacity: 0.75; } 70%, 100% { transform: scale(1.35); opacity: 0; } }

.rm-chip.pinged .rm-chip-face { animation: rmPing 0.7s ease-out; }
@keyframes rmPing {
  0%   { box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0 0 var(--chip-glow, rgba(0, 200, 5,0.6)); }
  100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0 18px transparent; }
}

.rm-card { position: relative; max-width: 360px; padding: 20px 22px 18px; }
.rm-card::before, .rm-card::after {
  content: ''; position: absolute; width: 15px; height: 15px; border: 1.5px solid transparent;
  opacity: 0.55; pointer-events: none; transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
}
.rm-card::before { top: -7px; left: -7px; border-top-color: var(--purple); border-left-color: var(--purple); }
.rm-card::after  { bottom: -7px; right: -7px; border-bottom-color: var(--green); border-right-color: var(--green); }
.rm-stop:hover .rm-card::before, .rm-stop:hover .rm-card::after { opacity: 1; width: 20px; height: 20px; }

.rm-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px;
}
.rm-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.rm-pill.origin  { color: var(--teal);   background: rgba(0, 230, 184,0.08);  border: 1px solid rgba(0, 230, 184,0.28); }
.rm-pill.origin::before  { background: var(--teal);  box-shadow: 0 0 6px rgba(0, 230, 184,0.8); }
.rm-pill.shipped { color: var(--green);  background: rgba(92, 249, 122,0.08); border: 1px solid rgba(92, 249, 122,0.28); }
.rm-pill.shipped::before { background: var(--green); box-shadow: 0 0 6px rgba(92, 249, 122,0.8); }
.rm-pill.now     { color: var(--purple); background: rgba(0, 200, 5,0.1);  border: 1px solid rgba(0, 200, 5,0.35); }
.rm-pill.now::before { background: var(--purple); box-shadow: 0 0 6px rgba(0, 200, 5,0.9); animation: dotPulse 1.6s ease-in-out infinite; }

.rm-kicker { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.rm-card h3 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink); line-height: 1.2; margin-bottom: 9px; }
.rm-card p  { font-size: 12.5px; color: var(--mid); line-height: 1.8; }
.rm-quote { color: var(--green); font-style: italic; }

.rm-cta { text-align: center; margin-top: 34px; padding-top: 44px; position: relative; z-index: 3; border-top: 1px solid var(--border); }
.rm-cta-line { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); margin-bottom: 20px; }
.rm-cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .rm-stop, .rm-stop.rm-right {
    flex-direction: column; align-items: center; text-align: center;
    gap: 22px; padding: 26px 8px; transform: none !important;
  }
  .rm-card { max-width: 420px; }
  .rm-card::before { left: 50%; transform: translateX(-50%); }
  .rm-card::after  { right: 50%; transform: translateX(50%); }
  .rm-board { padding: 14px 6px 26px; }
  .rm-chip-ref { bottom: -16px; }
}
@media (max-width: 480px) {
  .rm-chip { width: 72px; height: 72px; }
  .rm-chip.size-lg { width: 86px; height: 86px; }
  .rm-chip-num { font-size: 19px; }
  .rm-chip.size-lg .rm-chip-num { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-star, .rm-via-core, .rm-chip.status-now .rm-chip-led,
  .rm-chip.status-now .rm-chip-face, .rm-chip.status-now .rm-pulse { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   COMMUNITY STREAMS  (between hero and "how it works")
   ═══════════════════════════════════════════════════════════════ */

#community { padding: 40px 0 44px; position: relative; z-index: 10; }
.cstream { position: relative; }
.cstream[hidden] { display: none; }
.cstream + .cstream { margin-top: 40px; }

.cstream-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 0 24px; margin-bottom: 16px;
}
.cstream-head .section-eyebrow { margin-bottom: 0; color: var(--mid); }
.cstream-legend {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--dim); white-space: nowrap;
}
.cstream-legend i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px rgba(92, 249, 122,0.9); animation: dotPulse 1.6s ease-in-out infinite; }

.mbelt {
  position: relative; width: 100%; overflow: hidden; padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.mbelt-track {
  display: flex; align-items: flex-start; gap: 42px;
  width: max-content; will-change: transform;
  animation: beltScroll var(--belt-duration, 50s) linear infinite;
}
.mbelt-rev .mbelt-track { animation-name: beltScrollRev; }
@keyframes beltScrollRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.mbelt:hover .mbelt-track, .mbelt:focus-within .mbelt-track { animation-play-state: paused; }

.tk-node, .pt-node { --cx: var(--purple); --cx2: var(--green); }
.tk-node[data-chain="solana"],   .pt-node[data-chain="solana"]   { --cx:#9945FF; --cx2:#14F195; }
.tk-node[data-chain="ethereum"], .pt-node[data-chain="ethereum"] { --cx:#627EEA; --cx2:#8A9EFF; }
.tk-node[data-chain="base"],     .pt-node[data-chain="base"]     { --cx:#0052FF; --cx2:#2C8EFF; }
.tk-node[data-chain="robinhood"],.pt-node[data-chain="robinhood"]{ --cx:#00C805; --cx2:#34D399; }

.tk-node, .pt-node {
  flex: 0 0 auto; width: 124px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-align: center; text-decoration: none; cursor: pointer;
}
.tk-node[href=""], .pt-node[href=""] { cursor: default; }
div.tk-node, div.pt-node { cursor: default; }

.tk-logo, .pt-logo {
  position: relative; width: 54px; height: 54px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #0b0b14;
  border: 1.5px solid color-mix(in srgb, var(--cx) 60%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--cx) 22%, transparent);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.tk-logo { border-radius: 15px; }
.pt-logo { border-radius: 50%; }
.tk-logo img, .pt-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-logo.is-fallback, .pt-logo.is-fallback {
  font-family: var(--display); font-weight: 700; font-size: 21px; color: #0e0b1a;
  background: linear-gradient(135deg, var(--cx), var(--cx2));
}
.tk-node:hover .tk-logo, .pt-node:hover .pt-logo {
  transform: translateY(-2px);
  border-color: var(--cx);
  box-shadow: 0 0 22px 2px color-mix(in srgb, var(--cx) 45%, transparent);
}

.tk-top {
  position: absolute; top: -7px; right: -9px; z-index: 2;
  font-family: var(--mono); font-size: 7.5px; font-weight: 700; letter-spacing: 0.8px;
  color: #07070f; padding: 2px 6px; border-radius: 20px;
  background: linear-gradient(135deg, var(--cx), var(--cx2));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--cx) 40%, transparent);
}

.tk-sym, .pt-name {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.3px; color: var(--ink);
  line-height: 1.15; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.tk-sym  { font-size: 14px; }
.pt-name { font-size: 13.5px; }
.tk-meta {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2px; color: var(--dim);
  white-space: nowrap;
}
.tk-meta b { color: var(--mid); font-weight: 700; }
.pt-handle { font-family: var(--mono); font-size: 10px; color: var(--dim); transition: color 0.2s ease; }
.pt-tick {
  margin-top: 1px; font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--cx); padding: 2px 8px; border-radius: 20px;
  background: color-mix(in srgb, var(--cx) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--cx) 32%, transparent);
}
.tk-node:hover .tk-sym, .pt-node:hover .pt-name { color: #fff; }
.pt-node:hover .pt-handle { color: var(--cx); }

@media (max-width: 768px) {
  #community { padding: 24px 0 32px; }
  .cstream + .cstream { margin-top: 30px; }
  .tk-node, .pt-node { width: 108px; }
  .tk-logo, .pt-logo { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .mbelt-track { animation: none; }
  .cstream-legend i { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   FEATURED COMMUNITIES (floating)  +  MOST-HELD TOKENS (per-chain)
   ═══════════════════════════════════════════════════════════════ */

.pf-card, .tk-lane { --cx: var(--purple); --cx2: var(--green); }
.pf-card[data-chain="solana"],   .tk-lane[data-chain="solana"]   { --cx:#9945FF; --cx2:#14F195; }
.pf-card[data-chain="ethereum"], .tk-lane[data-chain="ethereum"] { --cx:#627EEA; --cx2:#8A9EFF; }
.pf-card[data-chain="base"],     .tk-lane[data-chain="base"]     { --cx:#0052FF; --cx2:#2C8EFF; }
.pf-card[data-chain="robinhood"],.tk-lane[data-chain="robinhood"]{ --cx:#00C805; --cx2:#34D399; }

#partners { padding: 40px 24px 20px; position: relative; z-index: 10; }
.pf-head { text-align: center; margin-bottom: 8px; }

.pf-row {
  display: flex; align-items: flex-start; gap: 34px;
  overflow-x: auto; overflow-y: hidden;
  padding: 34px 24px 46px; scrollbar-width: none;
}
.pf-row::-webkit-scrollbar { display: none; }
.pf-row-fit { justify-content: center; }

.pf-card {
  flex: 0 0 auto; width: 122px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-align: center; text-decoration: none; cursor: pointer;
  animation: pfBob 4.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.63s);
  will-change: transform;
}
.pf-card:nth-child(even) { margin-top: 48px; }
@keyframes pfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
.pf-card:hover { animation-play-state: paused; }

.pf-logo {
  position: relative; width: 60px; height: 60px; flex: 0 0 auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #0b0b14;
  border: 1.5px solid color-mix(in srgb, var(--cx) 60%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--cx) 24%, transparent);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.pf-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-logo.is-fallback { font-family: var(--display); font-weight: 700; font-size: 23px; color: #0e0b1a; background: linear-gradient(135deg, var(--cx), var(--cx2)); }
.pf-card:hover .pf-logo { transform: translateY(-2px); border-color: var(--cx); box-shadow: 0 0 26px 3px color-mix(in srgb, var(--cx) 45%, transparent); }

.pf-name   { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -0.3px; color: var(--ink); line-height: 1.15; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s ease; }
.pf-handle { font-family: var(--mono); font-size: 10px; color: var(--dim); transition: color 0.2s ease; }
.pf-tick   { margin-top: 1px; font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: 0.5px; color: var(--cx); padding: 2px 8px; border-radius: 20px; background: color-mix(in srgb, var(--cx) 10%, transparent); border: 1px solid color-mix(in srgb, var(--cx) 32%, transparent); }
.pf-card:hover .pf-name { color: #fff; }
.pf-card:hover .pf-handle { color: var(--cx); }

#held { padding: 26px 24px 54px; position: relative; z-index: 10; }
.held-head { text-align: center; margin-bottom: 30px; }

.ticker-wall { max-width: 1120px; margin: 0 auto; }

.tk-lane {
  position: relative;
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px 4px;
}
.tk-lane + .tk-lane::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--cx) 55%, transparent) 0%,
    color-mix(in srgb, var(--cx) 12%, transparent) 34%,
    transparent 78%);
}

.tk-id {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding-left: 16px;
}
.tk-id::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 2px; height: 30px; border-radius: 2px;
  background: linear-gradient(180deg, var(--cx), var(--cx2));
  box-shadow: 0 0 10px color-mix(in srgb, var(--cx) 60%, transparent);
}
.tk-icon {
  width: 26px; height: 26px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: var(--cx);
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--cx) 55%, transparent));
}
.tk-icon svg { width: 18px; height: 18px; }
.tk-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tk-chain {
  font-family: var(--display); font-size: 16px; font-weight: 700;
  letter-spacing: -0.3px; color: var(--ink); line-height: 1;
}
.tk-count {
  font-family: var(--mono); font-size: 8.5px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--dim); line-height: 1;
}

.tk-stream {
  position: relative; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 90%, transparent);
}
.tk-stream::-webkit-scrollbar { display: none; }
.tk-track {
  display: inline-flex; align-items: center; gap: 30px;
  width: max-content;
}

.tk-tok {
  display: inline-flex; align-items: baseline; gap: 8px;
  white-space: nowrap; cursor: pointer;
  padding: 4px 2px; border-radius: 6px;
  transition: transform 0.18s ease;
}
.tk-tok:hover { transform: translateY(-2px); }
.tk-tok:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--cx) 70%, transparent);
}
.tk-rank {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: color-mix(in srgb, var(--cx) 60%, var(--dim));
  font-variant-numeric: tabular-nums;
}
.tk-tok:hover .tk-rank { color: var(--cx); }
.tk-tok.is-lead .tk-rank { color: var(--cx); }
.tk-sym {
  font-family: var(--display); font-size: 15px; font-weight: 700;
  letter-spacing: -0.3px; color: var(--mid);
  transition: color 0.18s ease, text-shadow 0.18s ease;
}
.tk-tok:hover .tk-sym,
.tk-tok.is-lead .tk-sym {
  color: var(--ink);
  text-shadow: 0 0 16px color-mix(in srgb, var(--cx) 45%, transparent);
}
.tk-hold {
  font-family: var(--mono); font-size: 9.5px; color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.tk-hold b { color: color-mix(in srgb, var(--cx) 45%, var(--mid)); font-weight: 700; }

.tk-empty {
  font-family: var(--mono); font-size: 11px; color: var(--dim);
  letter-spacing: 0.3px; padding-left: 2px;
}

.tkm-overlay {
  position: fixed; inset: 0; z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 12, 0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.24s ease;
}
.tkm-overlay.tkm-in { opacity: 1; }
.tkm-overlay.tkm-out { opacity: 0; }

.tkm-panel {
  --cx: var(--purple); --cx2: var(--green);
  position: relative; width: 100%; max-width: 400px;
  background:
    radial-gradient(120% 90% at 50% -20%, color-mix(in srgb, var(--cx) 12%, transparent), transparent 60%),
    #0b0b14;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px 24px 22px;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.tkm-overlay.tkm-in .tkm-panel { transform: translateY(0) scale(1); }
.tkm-overlay[data-chain="solana"]    .tkm-panel { --cx:#9945FF; --cx2:#14F195; }
.tkm-overlay[data-chain="ethereum"]  .tkm-panel { --cx:#627EEA; --cx2:#8A9EFF; }
.tkm-overlay[data-chain="base"]      .tkm-panel { --cx:#0052FF; --cx2:#2C8EFF; }
.tkm-overlay[data-chain="robinhood"] .tkm-panel { --cx:#00C805; --cx2:#34D399; }

.tkm-panel::before, .tkm-panel::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  border: 1.5px solid transparent; pointer-events: none; opacity: 0.75;
}
.tkm-panel::before {
  top: -1px; left: -1px;
  border-top-color: var(--cx); border-left-color: var(--cx);
  border-top-left-radius: var(--r-lg);
}
.tkm-panel::after {
  bottom: -1px; right: -1px;
  border-bottom-color: var(--cx2); border-right-color: var(--cx2);
  border-bottom-right-radius: var(--r-lg);
}
.tkm-beam {
  height: 1px; margin: -6px -24px 22px;
  background: linear-gradient(90deg, var(--cx) 0%, transparent 60%);
  opacity: 0.55;
}

.tkm-close {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--mid); font-size: 15px; line-height: 1; cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.tkm-close:hover { color: var(--ink); border-color: color-mix(in srgb, var(--cx) 45%, transparent); background: rgba(255,255,255,0.07); }

.tkm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.tkm-logo {
  width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 19px; color: #0e0b1a;
  background: linear-gradient(135deg, var(--cx), var(--cx2));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--cx) 35%, transparent);
}
.tkm-id { min-width: 0; flex: 1; }
.tkm-sym-row { display: flex; align-items: center; gap: 8px; }
.tkm-sym {
  font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.4px;
  color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tkm-name {
  font-family: var(--mono); font-size: 10.5px; color: var(--dim); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tkm-chain-tag {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  padding: 5px 9px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--cx) 40%, transparent);
  background: color-mix(in srgb, var(--cx) 10%, transparent);
  font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; color: color-mix(in srgb, var(--cx) 70%, var(--ink));
}
.tkm-chain-tag svg { width: 12px; height: 12px; }

.tkm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 18px; }
.tkm-stat {
  padding: 12px 10px; text-align: center;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
}
.tkm-stat:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.tkm-stat:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.tkm-stat + .tkm-stat { border-left: none; }
.tkm-stat-k { font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.tkm-stat-v { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.tkm-stat-v.accent { color: var(--cx); }

.tkm-copy {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 13px; margin-bottom: 10px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer; text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.tkm-copy:hover { border-color: color-mix(in srgb, var(--cx) 45%, transparent); background: color-mix(in srgb, var(--cx) 6%, transparent); }
.tkm-copy-k { font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); flex: 0 0 auto; }
.tkm-copy-v { font-family: var(--mono); font-size: 12px; color: var(--mid); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkm-copy-ic { flex: 0 0 auto; color: var(--dim); display: flex; }
.tkm-copy-ic svg { width: 14px; height: 14px; }
.tkm-copy:hover .tkm-copy-ic { color: var(--cx); }

.tkm-actions { display: flex; gap: 9px; margin-top: 6px; }
.tkm-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 12px; border-radius: var(--r-sm);
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--border); color: var(--mid); background: rgba(255,255,255,0.02);
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s;
}
.tkm-btn svg { width: 13px; height: 13px; }
.tkm-btn:hover { transform: translateY(-2px); color: var(--ink); border-color: color-mix(in srgb, var(--cx) 50%, transparent); }
.tkm-btn.primary {
  color: #0b0b14; border-color: transparent;
  background: linear-gradient(135deg, var(--cx), var(--cx2));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--cx) 30%, transparent);
}
.tkm-btn.primary:hover { color: #0b0b14; box-shadow: 0 10px 26px color-mix(in srgb, var(--cx) 40%, transparent); }

@media (max-width: 480px) {
  .tkm-actions { flex-wrap: wrap; }
  .tkm-btn { flex: 1 1 calc(50% - 5px); }
}

@media (max-width: 760px) {
  #partners { padding: 30px 16px 12px; }
  .pf-row { gap: 24px; padding: 28px 16px 40px; }
  .pf-card { width: 104px; }
  .pf-card:nth-child(even) { margin-top: 38px; }
  .pf-logo { width: 52px; height: 52px; }

  .tk-lane { grid-template-columns: 1fr; gap: 12px; padding: 16px 2px; }
  .tk-track { gap: 24px; }
  .tk-sym { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-card { animation: none; }
  .pf-card:nth-child(even) { margin-top: 24px; }
  .tk-tok { transition: none; }
}
