/* NAEIMI INVEST — smooth cinematic edition.
   Keep the approved moving horse, holograms and market ticker; reduce paint work. */

/* Hero: animate only composite-friendly transforms, never the huge alpha shadow. */
.hero .ni-horse-hero {
  filter:none!important;
  animation:ni-horse-hover 7.5s ease-in-out infinite;
  will-change:transform;
  backface-visibility:hidden;
}
.hero .ni-horse-halo {
  animation:ni-horse-glow 8s ease-in-out infinite;
  will-change:transform,opacity;
}
.ni-horse-art::before {filter:none!important;}
.hero::before,.hero::after {animation:none!important;filter:none!important;}
.hero h1 .gold {animation:none!important;}
.ni-hero-aura::before {animation:ni-breathe 10s ease-in-out infinite;}

/* Sweep across the CTA using transforms rather than repainting its left offset. */
.hero-buttons .btn.golden::after {
  left:-65%!important;
  animation:ni-smooth-sweep 10s ease-in-out infinite!important;
  will-change:transform;
}
@keyframes ni-smooth-sweep {
  0%,65% {transform:translate3d(0,0,0) rotate(24deg);}
  84%,100% {transform:translate3d(500%,0,0) rotate(24deg);}
}
.navouter::after {animation:none!important;}

/* A similar glass look with far fewer full-screen blur compositing passes. */
.card,.plan,.ticker-chip,.ticker,.quickdock,.float,.btn.outline {
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.navouter {
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  background:rgba(8,13,23,.97)!important;
}
.quickdock {background:linear-gradient(150deg,rgba(42,58,78,.96),rgba(11,20,32,.97));}
.cards .card,.analysis-mini,.plan {transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;}
.cards .card.tilt-active {transform:translateY(-4px)!important;}

/* Preserve the premium gold and blue linework, without repeatedly sampling SVG glow filters. */
.ni-visual-card .icon svg,.ni-card-art .ni-art-primary,.ni-mini-art,
.analysis-chart,.analysis-chart .chart-line {filter:none!important;}
.ni-hologram-candles i {box-shadow:none!important;}

/* Market tape stays animated. No backdrop blur on its moving children. */
.ticker-track {
  animation:ticker-loop 64s linear infinite!important;
  will-change:transform;
  backface-visibility:hidden;
}
.ticker-items {overflow:hidden;}

/* The intro remains replayable and cinematic; its transforms no longer animate blur. */
.cinema-intro::before,.cinema-haze,.cinema-beam,.cinema-market,
.cinema-market .cinema-chart,.cinema-candle,.cinema-candle.c4,
.cinema-logo,.cinema-scene,.cinema-intro .cinema-grid {filter:none!important;}

/* Pause only offscreen motion; content and decoration stay fully visible. */
.hero[data-ni-active="false"] .ni-horse-hero,
.hero[data-ni-active="false"] .ni-horse-halo,
.hero[data-ni-active="false"] .ni-hero-aura::before,
.hero[data-ni-active="false"] .btn.golden::after,
.ticker[data-ni-active="false"] .ticker-track,
.insights-spotlight[data-ni-active="false"] .analysis-visual::after,
.insights-spotlight[data-ni-active="false"] .radar-scope::before {
  animation-play-state:paused!important;
}
.ni-tab-hidden .ni-horse-hero,.ni-tab-hidden .ni-horse-halo,
.ni-tab-hidden .ticker-track,.ni-tab-hidden .ni-hero-aura::before {
  animation-play-state:paused!important;
}

@media(max-width:760px) {
  .hero .ni-horse-hero {animation-duration:9s;}
  .ni-hero-aura::before {animation:none!important;}
  .quickdock {background:#182538;}
}
@media(prefers-reduced-motion:reduce) {
  .hero .ni-horse-hero,.hero .ni-horse-halo,
  .hero-buttons .btn.golden::after,.ni-hero-aura::before,
  .ticker-track {animation:none!important;}
}

/* V7: static horse markup reserves the final dimensions before scripts run.
   Scope reduced work to decorative layers, keeping the same premium styling. */
.hero .ni-horse-art {
  height:500px;
}
.analysis-visual .media-stamp,.cinema-skip {
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

/* Short, compositor-only scroll reveals, with no nested section transforms. */
.motion-armed .fx-reveal {
  transform:translate3d(0,18px,0);
  transition:opacity .48s ease,transform .48s cubic-bezier(.22,.68,.29,1);
  transition-delay:var(--ni-reveal-delay,0ms);
}
.motion-armed .fx-reveal.is-visible {
  transform:translate3d(0,0,0);
}

/* The user drives scrolling; purely ornamental loops yield until it settles. */
.ni-is-scrolling .ticker-track,
.ni-is-scrolling .ni-horse-hero,
.ni-is-scrolling .ni-horse-halo,
.ni-is-scrolling .ni-holo-arc,
.ni-is-scrolling .ni-hero-aura::before,
.ni-is-scrolling .hero-buttons .btn.golden::after,
.ni-is-scrolling .radar-scope::before,
.ni-is-scrolling .radar-scope::after,
.ni-is-scrolling .analysis-visual::after {
  animation-play-state:paused!important;
}
.hero[data-ni-active="false"] .ni-holo-arc,
.hero[data-ni-active="false"] .ni-hero-aura::before,
.hero[data-ni-active="false"] .hero-buttons .btn.golden::after,
.cards[data-ni-active="false"] .radar-scope::before,
.cards[data-ni-active="false"] .radar-scope::after,
.insights-spotlight[data-ni-active="false"] .analysis-visual::after {
  animation-play-state:paused!important;
}
.ni-tab-hidden .ni-holo-arc,
.ni-tab-hidden .radar-scope::before,
.ni-tab-hidden .radar-scope::after,
.ni-tab-hidden .analysis-visual::after {
  animation-play-state:paused!important;
}
.hero[data-ni-active="false"] .ni-horse-hero,
.hero[data-ni-active="false"] .ni-horse-halo,
.ticker[data-ni-active="false"] .ticker-track {
  will-change:auto!important;
}

@media(max-width:900px) {
  .hero .ni-horse-art {height:415px;}
}
@media(max-width:760px) {
  .hero .ni-horse-art {height:370px;transform:none;margin:0;}
  .motion-armed .fx-reveal {transform:translate3d(0,14px,0);}
  .motion-armed .fx-reveal.is-visible {transform:translate3d(0,0,0);}
}
@media(max-width:410px) {
  .hero .ni-horse-art {height:300px;margin:0 0 -12px;}
}
@media(prefers-reduced-motion:reduce) {
  .motion-armed .fx-reveal {transition:none!important;transition-delay:0ms!important;}
}
