/**
 * OrbitShowcase Hero Animation Styles
 * Ported directly from React reference project for 1:1 visual & functional fidelity.
 */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

/* Scope container */
#visual-ecosystem-panel {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 32px auto 0;
  padding: 0 8px;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #f8fafc;
}

#visual-ecosystem-panel a {
  text-decoration: none !important;
  color: inherit;
}

#visual-ecosystem-panel button {
  font-family: inherit;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel {
    margin-top: 10px;
    padding: 0 16px;
  }
}

@media (min-width: 768px) {
  #visual-ecosystem-panel {
    margin-top: 0;
  }
}

/* Outer multi-tone ambient glow */
#visual-ecosystem-panel .orbit-outer-ambient-glow {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  background: linear-gradient(to right, rgba(6, 182, 212, 0.1), rgba(0, 245, 155, 0.15), rgba(168, 85, 247, 0.1));
  border-radius: 28px;
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-outer-ambient-glow {
    border-radius: 36px;
    filter: blur(32px);
  }
}

/* Main glass ecosystem frame */
#visual-ecosystem-panel .orbit-main-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.5;
  min-height: 460px;
  max-height: 660px;
  border-radius: 16px;
  background: linear-gradient(180deg, #070e17 0%, #04080e 50%, #020509 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-main-frame {
    aspect-ratio: 16 / 10;
    min-height: 520px;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
  }
}

@media (min-width: 768px) {
  #visual-ecosystem-panel .orbit-main-frame {
    aspect-ratio: 16 / 9;
    min-height: 560px;
  }
}

/* Tech grid texture */
#visual-ecosystem-panel .orbit-tech-grid {
  position: absolute;
  inset: 0;
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

/* Controlled atmosphere radial glows */
#visual-ecosystem-panel .orbit-atmosphere-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 240px;
  background: radial-gradient(circle, rgba(0, 245, 155, 0.2) 0%, rgba(20, 184, 166, 0.15) 50%, rgba(0, 245, 155, 0.2) 100%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-atmosphere-center {
    width: 540px;
    height: 360px;
    filter: blur(110px);
  }
}

#visual-ecosystem-panel .orbit-atmosphere-tl {
  position: absolute;
  top: 0;
  left: 8px;
  width: 192px;
  height: 128px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-atmosphere-tl {
    left: 24px;
    width: 320px;
    height: 192px;
    filter: blur(48px);
  }
}

#visual-ecosystem-panel .orbit-atmosphere-tr {
  position: absolute;
  top: 0;
  right: 8px;
  width: 176px;
  height: 128px;
  background: rgba(6, 182, 212, 0.08);
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-atmosphere-tr {
    right: 40px;
    width: 288px;
    height: 176px;
    filter: blur(48px);
  }
}

#visual-ecosystem-panel .orbit-atmosphere-br {
  position: absolute;
  bottom: 0;
  right: 16px;
  width: 192px;
  height: 128px;
  background: rgba(0, 245, 155, 0.1);
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-atmosphere-br {
    right: 64px;
    width: 320px;
    height: 176px;
    filter: blur(48px);
  }
}

#visual-ecosystem-panel .orbit-atmosphere-bl {
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 192px;
  height: 128px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-atmosphere-bl {
    left: 64px;
    width: 320px;
    height: 176px;
    filter: blur(48px);
  }
}

/* Radial Vignette Mask */
#visual-ecosystem-panel .orbit-radial-mask {
  position: absolute;
  inset: 0;
  background-color: rgba(2, 6, 23, 0.25);
  mask-image: radial-gradient(circle at center, black 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 65%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* SVG Energy Lines & Orbits */
#visual-ecosystem-panel .orbit-svg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

@keyframes laser-dash-flow {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

#visual-ecosystem-panel .animate-laser-dash {
  animation: laser-dash-flow 3s linear infinite;
}

/* Pinging and Pulsing animations */
@keyframes orbit-ping {
  75%, 100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

#visual-ecosystem-panel .animate-orbit-ping {
  animation: orbit-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes orbit-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

#visual-ecosystem-panel .animate-orbit-pulse {
  animation: orbit-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Common Node Elements */
#visual-ecosystem-panel .orbit-node {
  position: absolute;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.25s ease;
  text-decoration: none;
}

#visual-ecosystem-panel .orbit-node:hover .orbit-node-icon-box {
  transform: scale(1.1);
}

#visual-ecosystem-panel .orbit-node-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#visual-ecosystem-panel .orbit-node-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#visual-ecosystem-panel .orbit-node-icon-box svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-node-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  #visual-ecosystem-panel .orbit-node-icon-box svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 768px) {
  #visual-ecosystem-panel .orbit-node-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
  #visual-ecosystem-panel .orbit-node-icon-box svg {
    width: 22px;
    height: 22px;
  }
}

#visual-ecosystem-panel .orbit-node-pill {
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-node-pill {
    margin-top: 8px;
    padding: 4px 12px;
    gap: 6px;
  }
}

#visual-ecosystem-panel .orbit-node-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-node-dot {
    width: 7px;
    height: 7px;
  }
}

#visual-ecosystem-panel .orbit-node-text {
  font-size: 9px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-node-text {
    font-size: 11.5px;
  }
}

/* ========================================================= */
/* COLOR THEMES FOR NODES                                    */
/* ========================================================= */

/* Gold (Node 1: One Step Challenge) */
#visual-ecosystem-panel .theme-gold .orbit-node-icon-box {
  background: rgba(34, 23, 3, 0.95);
  border: 2px solid rgba(251, 191, 36, 0.7);
  color: #fcd34d;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.45);
}
#visual-ecosystem-panel .theme-gold .orbit-node-pill {
  border: 1px solid rgba(251, 191, 36, 0.5);
}
#visual-ecosystem-panel .theme-gold:hover .orbit-node-pill {
  border-color: #fde047;
}
#visual-ecosystem-panel .theme-gold .orbit-node-dot {
  background-color: #fbbf24;
  box-shadow: 0 0 8px #fbbf24;
}
#visual-ecosystem-panel .theme-gold .orbit-node-text {
  color: #fef08a;
  font-weight: 800;
}

/* Cyan (Node 2: 100% FREE, Node 5: Trade Top Stocks) */
#visual-ecosystem-panel .theme-cyan .orbit-node-icon-box {
  background: rgba(4, 26, 36, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.5);
  color: #67e8f9;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.35);
}
#visual-ecosystem-panel .theme-cyan .orbit-node-pill {
  border: 1px solid rgba(6, 182, 212, 0.3);
}
#visual-ecosystem-panel .theme-cyan:hover .orbit-node-pill {
  border-color: rgba(34, 211, 238, 0.6);
}
#visual-ecosystem-panel .theme-cyan .orbit-node-dot {
  background-color: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
}

/* Amber (Node 3: No Activation Fee, Node 7: Day Trading) */
#visual-ecosystem-panel .theme-amber .orbit-node-icon-box {
  background: rgba(31, 21, 4, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fcd34d;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}
#visual-ecosystem-panel .theme-amber .orbit-node-pill {
  border: 1px solid rgba(245, 158, 11, 0.3);
}
#visual-ecosystem-panel .theme-amber:hover .orbit-node-pill {
  border-color: rgba(251, 191, 36, 0.6);
}
#visual-ecosystem-panel .theme-amber .orbit-node-dot {
  background-color: #fbbf24;
  box-shadow: 0 0 8px #fbbf24;
}

/* Blue (Node 4: Trade Live U.S. Markets) */
#visual-ecosystem-panel .theme-blue .orbit-node-icon-box {
  background: rgba(8, 21, 44, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: #93c5fd;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.35);
}
#visual-ecosystem-panel .theme-blue .orbit-node-pill {
  border: 1px solid rgba(59, 130, 246, 0.3);
}
#visual-ecosystem-panel .theme-blue:hover .orbit-node-pill {
  border-color: rgba(96, 165, 250, 0.6);
}
#visual-ecosystem-panel .theme-blue .orbit-node-dot {
  background-color: #60a5fa;
  box-shadow: 0 0 8px #60a5fa;
}

/* Emerald (Node 8: Funded After You Pass) */
#visual-ecosystem-panel .theme-emerald .orbit-node-icon-box {
  background: rgba(6, 28, 20, 0.9);
  border: 1px solid rgba(0, 245, 155, 0.5);
  color: #00f59b;
  box-shadow: 0 0 25px rgba(0, 245, 155, 0.4);
}
#visual-ecosystem-panel .theme-emerald .orbit-node-pill {
  border: 1px solid rgba(0, 245, 155, 0.3);
}
#visual-ecosystem-panel .theme-emerald:hover .orbit-node-pill {
  border-color: rgba(0, 245, 155, 0.6);
}
#visual-ecosystem-panel .theme-emerald .orbit-node-dot {
  background-color: #00f59b;
  box-shadow: 0 0 8px #00f59b;
}

/* ========================================================= */
/* NODE POSITIONS                                            */
/* ========================================================= */

/* 1. Top Left: One Step Challenge */
#node-one-step-challenge {
  left: 2%;
  top: 2%;
}
@media (min-width: 640px) {
  #node-one-step-challenge {
    left: 5%;
    top: 4%;
  }
}
@media (min-width: 768px) {
  #node-one-step-challenge {
    left: 7%;
    top: 6%;
  }
}

/* 2. Top Center: 100% FREE */
#node-100-free {
  left: 50%;
  top: 1.5%;
  transform: translateX(-50%);
}
@media (min-width: 640px) {
  #node-100-free {
    top: 3%;
  }
}
@media (min-width: 768px) {
  #node-100-free {
    top: 5%;
  }
}

/* 3. Upper Right: No Activation Fee */
#node-no-activation {
  right: 2%;
  top: 2%;
}
@media (min-width: 640px) {
  #node-no-activation {
    right: 7%;
    top: 6%;
  }
}
@media (min-width: 768px) {
  #node-no-activation {
    right: 9%;
    top: 8%;
  }
}

/* 4. Left Middle: Trade Live U.S. Markets */
#node-live-markets {
  left: 1%;
  top: 38%;
}
@media (min-width: 640px) {
  #node-live-markets {
    left: 3%;
    top: 42%;
  }
}
@media (min-width: 768px) {
  #node-live-markets {
    left: 5%;
    top: 44%;
  }
}

/* 5. Right Middle: Trade Top Stocks */
#node-top-stocks {
  right: 1%;
  top: 38%;
}
@media (min-width: 640px) {
  #node-top-stocks {
    right: 3%;
    top: 42%;
  }
}
@media (min-width: 768px) {
  #node-top-stocks {
    right: 5%;
    top: 44%;
  }
}

/* 6. Satellite Pill: AAPL · META · NVDA */
#node-tickers-satellite {
  display: none;
  position: absolute;
  right: 16%;
  top: 22%;
  z-index: 20;
}
@media (min-width: 1024px) {
  #node-tickers-satellite {
    display: flex;
    right: 18%;
    top: 24%;
  }
}

#node-tickers-satellite .orbit-satellite-pill {
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(23, 10, 36, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  cursor: pointer;
}
#node-tickers-satellite:hover .orbit-satellite-pill {
  border-color: #d8b4fe;
  transform: scale(1.05);
}
#node-tickers-satellite .ticker-symbol-list {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  color: #e9d5ff;
}
#node-tickers-satellite .ticker-active-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  font-family: 'JetBrains Mono', monospace;
}

/* 7. Lower Left: Day Trading */
#node-day-trading {
  left: 3%;
  bottom: 11%;
}
@media (min-width: 640px) {
  #node-day-trading {
    left: 9%;
    bottom: 13%;
  }
}
@media (min-width: 768px) {
  #node-day-trading {
    left: 12%;
    bottom: 15%;
  }
}

/* 8. Lower Right: Funded After You Pass */
#node-funded-account {
  right: 3%;
  bottom: 11%;
}
@media (min-width: 640px) {
  #node-funded-account {
    right: 9%;
    bottom: 13%;
  }
}
@media (min-width: 768px) {
  #node-funded-account {
    right: 12%;
    bottom: 15%;
  }
}

/* 9. Bottom Center/Left: Pass & We Cover Market Data */
#node-market-data {
  left: 2%;
  bottom: 1.5%;
}
@media (min-width: 640px) {
  #node-market-data {
    left: 20%;
    bottom: 3%;
  }
}
@media (min-width: 768px) {
  #node-market-data {
    left: 28%;
  }
}

#node-market-data .orbit-sub-pill {
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(20, 184, 166, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  font-weight: 600;
  color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}
@media (min-width: 640px) {
  #node-market-data .orbit-sub-pill {
    padding: 6px 14px;
    gap: 6px;
    font-size: 11px;
  }
}
#node-market-data:hover .orbit-sub-pill {
  background: rgba(4, 26, 24, 0.6);
  border-color: rgba(45, 212, 191, 0.6);
  color: #99f6e4;
}

/* 10. Bottom Center/Right: Mobile • Web • Desktop */
#node-multi-platform {
  right: 2%;
  bottom: 1.5%;
}
@media (min-width: 640px) {
  #node-multi-platform {
    right: 20%;
    bottom: 3%;
  }
}
@media (min-width: 768px) {
  #node-multi-platform {
    right: 28%;
  }
}

#node-multi-platform .orbit-sub-pill {
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  font-weight: 600;
  color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}
@media (min-width: 640px) {
  #node-multi-platform .orbit-sub-pill {
    padding: 6px 14px;
    gap: 6px;
    font-size: 11px;
  }
}
#node-multi-platform:hover .orbit-sub-pill {
  background: rgba(23, 10, 36, 0.6);
  border-color: rgba(192, 132, 252, 0.6);
  color: #e9d5ff;
}

/* ========================================================= */
/* CENTERPIECE OBJECT: FREE $100K ACCOUNT                    */
/* ========================================================= */
#visual-ecosystem-panel #center-showcase-tile {
  position: relative;
  z-index: 30;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#visual-ecosystem-panel .orbit-center-aura {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(0, 245, 155, 0.35) 0%, rgba(20, 184, 166, 0.25) 50%, transparent 100%);
  filter: blur(20px);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-center-aura {
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 28px;
    filter: blur(28px);
  }
}
#visual-ecosystem-panel #center-showcase-tile:hover .orbit-center-aura {
  opacity: 1;
}

#visual-ecosystem-panel .orbit-center-halo {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 20px;
  border: 1px solid rgba(0, 245, 155, 0.4);
  animation: orbit-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  opacity: 0.7;
  pointer-events: none;
}
@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-center-halo {
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 28px;
  }
}

#visual-ecosystem-panel .orbit-center-card {
  position: relative;
  width: 128px;
  height: 112px;
  border-radius: 16px;
  background: linear-gradient(180deg, #081f18 0%, #04120e 50%, #020a07 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 2px solid #00f59b;
  box-shadow: 0 0 35px rgba(0, 245, 155, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-center-card {
    width: 192px;
    height: 176px;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 0 50px rgba(0, 245, 155, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  }
}

@media (min-width: 768px) {
  #visual-ecosystem-panel .orbit-center-card {
    width: 224px;
    height: 208px;
    border-radius: 28px;
    padding: 24px;
  }
}

#visual-ecosystem-panel #center-showcase-tile:hover .orbit-center-card {
  transform: scale(1.05);
  box-shadow: 0 0 70px rgba(0, 245, 155, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

#visual-ecosystem-panel .orbit-center-badge {
  font-size: 8.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #00f59b;
  margin-bottom: 2px;
  text-shadow: 0 0 12px rgba(0, 245, 155, 0.6);
}
@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-center-badge {
    font-size: 12px;
    letter-spacing: 0.25em;
    margin-bottom: 4px;
  }
}

#visual-ecosystem-panel .orbit-center-amount {
  font-family: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 15px rgba(0, 245, 155, 0.45);
}
@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-center-amount {
    font-size: 38px;
  }
}
@media (min-width: 768px) {
  #visual-ecosystem-panel .orbit-center-amount {
    font-size: 48px;
  }
}

#visual-ecosystem-panel .orbit-center-sub {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(110, 231, 183, 0.9);
  margin-top: 2px;
}
@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-center-sub {
    font-size: 11px;
    letter-spacing: 0.3em;
    margin-top: 4px;
  }
}

#visual-ecosystem-panel .orbit-center-prompt {
  margin-top: 4px;
  font-size: 9px;
  color: #00f59b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-center-prompt {
    margin-top: 8px;
    font-size: 10px;
  }
}
#visual-ecosystem-panel #center-showcase-tile:hover .orbit-center-prompt {
  opacity: 1;
}

/* ========================================================= */
/* DEEP DIVE FLOATING INSPECTOR MODAL                        */
/* ========================================================= */
#visual-ecosystem-panel #orbit-inspector-modal {
  position: absolute;
  z-index: 50;
  bottom: 12px;
  right: 12px;
  width: calc(100% - 24px);
  max-width: 380px;
  background: rgba(2, 6, 23, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  #visual-ecosystem-panel #orbit-inspector-modal {
    bottom: 20px;
    right: 20px;
    width: 384px;
    border-radius: 24px;
    padding: 20px;
  }
}

#visual-ecosystem-panel #orbit-inspector-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

#visual-ecosystem-panel .inspector-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#visual-ecosystem-panel .inspector-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(6, 28, 20, 0.8);
  border: 1px solid rgba(0, 245, 155, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f59b;
  box-shadow: 0 0 15px rgba(0, 245, 155, 0.3);
  flex-shrink: 0;
}

#visual-ecosystem-panel .inspector-title-group {
  flex: 1;
}

#visual-ecosystem-panel .inspector-heading {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

#visual-ecosystem-panel .inspector-subtext {
  font-size: 10px;
  color: #34d399;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 2px;
}

#visual-ecosystem-panel .inspector-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 4px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#visual-ecosystem-panel .inspector-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

#visual-ecosystem-panel .inspector-description {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 12px;
  line-height: 1.6;
}

#visual-ecosystem-panel .inspector-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#visual-ecosystem-panel .inspector-metric-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#visual-ecosystem-panel .inspector-metric-label {
  font-size: 8.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1.2;
}

#visual-ecosystem-panel .inspector-metric-value {
  font-size: 11.5px;
  font-weight: 700;
  color: #00f59b;
  margin-top: 3px;
  line-height: 1.2;
}

#visual-ecosystem-panel .inspector-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #00f59b;
  color: #020617;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 245, 155, 0.4);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

#visual-ecosystem-panel .inspector-cta-btn:hover {
  background: #00df82;
  box-shadow: 0 0 28px rgba(0, 245, 155, 0.65);
}

/* ========================================================= */
/* INTERACTIVE LEGEND BAR                                    */
/* ========================================================= */
#visual-ecosystem-panel .orbit-legend-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 0 8px;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .orbit-legend-bar {
    flex-direction: row;
    margin-top: 16px;
    font-size: 12px;
    text-align: left;
  }
}

#visual-ecosystem-panel .legend-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

#visual-ecosystem-panel .legend-info-icon {
  color: #00f59b;
  flex-shrink: 0;
}

#visual-ecosystem-panel .legend-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
}

@media (min-width: 640px) {
  #visual-ecosystem-panel .legend-right {
    font-size: 11.5px;
  }
}

#visual-ecosystem-panel .legend-live-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #cbd5e1;
}

#visual-ecosystem-panel .legend-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f59b;
  box-shadow: 0 0 6px #00f59b;
}

#visual-ecosystem-panel .legend-liability-tag {
  color: #34d399;
  font-weight: 600;
}
