.hp-scroll-orb {
  position: fixed;
  top: 18vh;
  left: 0;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(circle at 35% 35%,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(117, 93, 255, 0.32) 28%,
      rgba(52, 211, 153, 0.22) 52%,
      rgba(255, 255, 255, 0) 72%
    );

  filter: blur(6px);
  opacity: 0.75;

  transform:
    translate3d(
      calc(-220px + var(--hp-scroll-progress, 0) * 82vw),
      calc(var(--hp-scroll-progress, 0) * 120px),
      0
    )
    scale(calc(0.85 + var(--hp-scroll-progress, 0) * 0.35));

  transition: opacity 0.2s ease;
}

.hp-scroll-orb ~ .hp-scroll-orb {
  display: none;
}

.hp-scroll-progress {
  display: none !important;
}

.hp-scroll-orb::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: inherit;
  background: conic-gradient(
    from calc(var(--hp-scroll-progress, 0) * 360deg),
    rgba(52, 211, 153, 0),
    rgba(52, 211, 153, 0.32),
    rgba(117, 93, 255, 0),
    rgba(52, 211, 153, 0)
  );
  mask: radial-gradient(circle, transparent 42%, black 44%, black 62%, transparent 64%);
  opacity: 0.8;
}

.hp-scroll-orb::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: inherit;
  border: 1px solid rgba(117, 93, 255, 0.22);
  box-shadow:
    0 0 60px rgba(117, 93, 255, 0.24),
    0 0 90px rgba(52, 211, 153, 0.16);
}

.hero-section,
.hp-section {
  position: relative;
}

body.hp-has-scroll-orb .hp-section:not(.hp-section--solid),
body.hp-has-scroll-orb .hero-section:not(.hp-section--solid) {
  background-color: transparent !important;
  background-image: none !important;
}

body.hp-has-scroll-orb .hp-section:not(.hp-section--solid) > .elementor-background-overlay,
body.hp-has-scroll-orb .hero-section:not(.hp-section--solid) > .elementor-background-overlay {
  display: none;
}

body.hp-has-scroll-orb .hp-section:not(.hp-section--solid) > .elementor-container,
body.hp-has-scroll-orb .hero-section:not(.hp-section--solid) > .elementor-container,
body.hp-has-scroll-orb .hp-section:not(.hp-section--solid) > :not(.elementor-background-overlay),
body.hp-has-scroll-orb .hero-section:not(.hp-section--solid) > :not(.elementor-background-overlay) {
  position: relative;
  z-index: 1;
}

body.hp-has-scroll-orb .hp-section--solid,
body.hp-has-scroll-orb .hero-section.hp-section--solid {
  position: relative;
  z-index: 1;
}

.hp-scroll-hint {
  position: relative;
  z-index: 1;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  color: rgba(15, 23, 42, 0.55);
}

.hp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.hp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hp-scroll-orb {
    width: 300px;
    height: 300px;
    top: 24vh;
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-scroll-orb,
  .hp-reveal {
    transition: none;
    transform: none;
  }

  .hp-reveal {
    opacity: 1;
  }
}
