/* NAEIMI INVEST — cinematic polish v2.
   Presentation-only. No live prices, signals, billing or membership logic. */

:root {
  --ni-gold-bright: #ffe2a2;
  --ni-ice-blue: #79b7d6;
}

/* A discreet reading-progress light is useful on a long analytical landing page. */
.ni-reading-progress {
  position: fixed;
  z-index: 980;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right center;
  background: linear-gradient(270deg, #f2dcae, #ac7539 44%, #5aa4c8);
  box-shadow: 0 0 16px rgba(233, 184, 104, .48);
  will-change: transform;
}

/* Give the first fold the depth of a film title sequence, without adding weighty media. */
.hero { isolation: isolate; }
.ni-hero-aura {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 22% 30% at var(--ni-px, 58%) var(--ni-py, 42%), rgba(229,179,106,.16), transparent 93%),
    radial-gradient(ellipse 17% 24% at 15% 73%, rgba(65,129,172,.13), transparent 96%);
}
.ni-hero-aura::before {
  content: "";
  position: absolute;
  width: min(48vw, 600px);
  height: min(48vw, 600px);
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(229,192,131,.11);
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 74px rgba(204,162,98,.017), 0 0 0 150px rgba(112,158,178,.014);
  animation: ni-breathe 8s ease-in-out infinite;
}
.ni-hero-aura::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent 49.9%, rgba(200,167,115,.12) 50%, transparent 50.1%);
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 66%, transparent);
  opacity: .35;
}
.hero h1 {
  position: relative;
  text-shadow: 0 15px 45px rgba(0,0,0,.5), 0 0 52px rgba(197,143,73,.1);
}
.hero h1 .gold {
  background: linear-gradient(115deg,#a67339 4%,#ffe5aa 29%,#b88949 58%,#f4d69f 75%,#ab7937 100%);
  background-size: 230% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ni-gold-flow 11s ease-in-out infinite alternate;
}
.hero-buttons .btn.golden {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(188,135,62,.24), inset 0 1px 0 rgba(255,255,255,.38);
}
.hero-buttons .btn.golden::after {
  content: "";
  position: absolute;
  width: 40%;
  inset: -60% auto -60% -60%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);
  transform: rotate(24deg);
  animation: ni-button-sweep 9s ease-in-out infinite;
  pointer-events: none;
}

/* A fine instrument-like halo around the existing app mockup. */
.ni-holo-arc {
  position: absolute;
  inset: 6% -4%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  border: 1px solid rgba(240,202,135,.14);
  border-left-color: transparent;
  border-bottom-color: rgba(100,171,191,.14);
  transform: rotateX(63deg) rotateZ(-20deg);
  box-shadow: inset 0 0 40px rgba(219,164,86,.034), 0 0 55px rgba(192,142,73,.07);
  animation: ni-arc-turn 18s linear infinite;
}
.ni-holo-arc::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(239,204,148,.2);
}
.ni-holo-caption {
  position: absolute;
  z-index: 1;
  top: 86%;
  right: 18%;
  direction: ltr;
  white-space: nowrap;
  font: 600 9px/1.5 'Segoe UI', sans-serif;
  letter-spacing: 3px;
  color: rgba(226,198,153,.48);
  pointer-events: none;
}
.ni-holo-caption::before {content: "◈"; margin-right: 9px; color: #e7b971;}

/* Premium framing for important cards, with enough contrast to retain readability. */
.cards .card, .insight, .plan, .marketgrid .card {
  outline: 1px solid transparent;
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease, outline-color .28s ease;
}
.cards .card:hover, .insight:hover, .plan:hover, .marketgrid .card:hover {
  outline-color: rgba(248,214,156,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 21px 62px rgba(1,6,14,.37), 0 0 44px rgba(198,146,73,.075);
}
.cards .card .icon {
  background: radial-gradient(circle at 34% 23%,rgba(231,191,120,.23),rgba(215,179,115,.065) 64%);
  box-shadow: inset 0 1px rgba(255,255,255,.14),0 8px 22px rgba(0,0,0,.1);
}
.section-header h2 .gold, .club h2 .gold, .cta h2 .gold {
  text-shadow: 0 0 38px rgba(231,181,107,.11);
}
.navouter {
  border-bottom-color: rgba(215,179,115,.25);
  box-shadow: 0 12px 45px rgba(2,8,17,.18);
}
.navouter::after {
  content: "";
  position: absolute;
  right: -28%;
  bottom: -1px;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(255,215,147,.8),transparent);
  animation: ni-nav-glint 14s linear infinite;
  pointer-events: none;
}

/* Extend the already-established 5.6s candle-market intro. */
.cinema-intro .cinema-logo-symbol {
  box-shadow: 0 0 65px rgba(236,171,69,.32), inset 0 1px rgba(255,255,255,.25), 0 0 0 9px rgba(211,172,102,.034);
}
.cinema-intro .cinema-logo h2 {
  text-shadow: 0 12px 55px rgba(0,0,0,.92), 0 0 55px rgba(210,153,75,.27);
}
.cinema-intro .cinema-grid {
  filter: drop-shadow(0 0 19px rgba(222,168,91,.18));
}
.cinema-intro .cinema-skip { box-shadow: 0 8px 32px rgba(0,0,0,.32); }

@keyframes ni-breathe {
  50% { opacity:.54; transform:translate(-50%,-50%) scale(1.09); }
}
@keyframes ni-gold-flow { to {background-position:100% 0;} }
@keyframes ni-button-sweep {
  0%,62% {left:-65%;}
  80%,100% {left:150%;}
}
@keyframes ni-arc-turn { to {transform:rotateX(63deg) rotateZ(340deg);} }
@keyframes ni-nav-glint { to {right:110%;} }

@media(max-width:760px) {
  .ni-hero-aura::before {width:440px;height:440px;}
  .ni-holo-arc {inset:5% -12%;}
  .ni-holo-caption {top:87%;right:5%;font-size:8px;letter-spacing:1.6px;}
  .hero .ni-hero-aura {opacity:.78;}
}
@media(prefers-reduced-motion:reduce) {
  .ni-hero-aura::before,.hero h1 .gold,.hero-buttons .btn.golden::after,.ni-holo-arc,.navouter::after {animation:none!important;}
  .ni-reading-progress {transition:none!important;}
}
