/* Hero jumbotron — full-bleed animated line mesh (waves, arcs, diagonals) */

#hero.hero--royal {
  overflow: hidden;
}

#hero .hero__jumbotron-lines {
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
}

#hero .hero__bg {
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}

#hero .hero__inner {
  z-index: 2;
}

#hero .hero__jumbotron-lines__waves path,
#hero .hero__lines path {
  stroke-dasharray: 10 14;
  animation: hero-jumbo-line-flow 22s linear infinite;
}

#hero .hero__jumbotron-lines__waves path:nth-child(2),
#hero .hero__lines path:nth-child(2) {
  animation-duration: 17s;
  animation-direction: reverse;
  opacity: 0.75;
}

#hero .hero__jumbotron-lines__waves path:nth-child(3),
#hero .hero__lines path:nth-child(3) {
  animation-duration: 28s;
  opacity: 0.55;
}

#hero .hero__jumbotron-lines__waves path:nth-child(4) {
  animation-duration: 20s;
  animation-direction: reverse;
}

#hero .hero__jumbotron-lines__waves path:nth-child(5) {
  animation-duration: 26s;
}

#hero .hero__jumbotron-lines__waves path:nth-child(6) {
  animation-duration: 19s;
  animation-direction: reverse;
  opacity: 0.5;
}

#hero .hero__jumbotron-lines__waves path:nth-child(7) {
  animation-duration: 24s;
  opacity: 0.45;
}

#hero .hero__jumbotron-lines__arcs ellipse {
  stroke-dasharray: 6 10;
  animation: hero-jumbo-line-flow 32s linear infinite;
}

#hero .hero__jumbotron-lines__arcs ellipse:nth-child(2) {
  animation-duration: 26s;
  animation-direction: reverse;
}

#hero .hero__jumbotron-lines__arcs ellipse:nth-child(3) {
  animation-duration: 38s;
}

#hero .hero__jumbotron-lines__arcs ellipse:nth-child(4) {
  animation-duration: 20s;
  animation-direction: reverse;
  opacity: 0.8;
}

#hero .hero__jumbotron-lines__diagonals path {
  stroke-dasharray: 4 18;
  animation: hero-jumbo-line-flow 40s linear infinite;
}

#hero .hero__jumbotron-lines__diagonals path:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 34s;
}

#hero .hero__jumbotron-lines__diagonals path:nth-child(3) {
  animation-duration: 48s;
  opacity: 0.5;
}

#hero .hero__jumbotron-lines__diagonals path:nth-child(4) {
  animation-duration: 42s;
  animation-direction: reverse;
}

#hero .hero__aurora {
  opacity: 0.35;
}

#hero .hero__lines {
  opacity: 0.5;
}

#hero .light-orb {
  opacity: 0.85;
}

#hero #particle-grid {
  opacity: 0.18;
  z-index: 1;
}

@keyframes hero-jumbo-line-flow {
  to {
    stroke-dashoffset: -240;
  }
}

.orbit-preview__ring {
  border-width: 1px;
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.12);
  animation: ring-spin 48s linear infinite, hero-orbit-ring-pulse 4s ease-in-out infinite;
}

.orbit-preview__ring--inner {
  border-color: rgba(124, 58, 237, 0.32);
  animation: ring-spin 32s linear infinite reverse, hero-orbit-ring-pulse 4s ease-in-out infinite;
  animation-delay: 0s, -1.2s;
}

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

@media (prefers-reduced-motion: reduce) {
  #hero .hero__jumbotron-lines__waves path,
  #hero .hero__jumbotron-lines__arcs ellipse,
  #hero .hero__jumbotron-lines__diagonals path,
  #hero .hero__lines path,
  .orbit-preview__ring,
  .orbit-preview__ring--inner {
    animation: none;
  }

  #hero .hero__aurora,
  #hero .light-orb {
    animation: none;
  }
}
