/* UK hero refinement based on the approved spotlight/orbit reference. */
.hero h1 span {
  /* Keep gradient-painted descenders inside the span's paint area. */
  padding-bottom: 0.22em;
  margin-bottom: -0.08em;
}

.spotlight-cone {
  width: 590px;
  height: 780px;
  top: -304px;
  opacity: 0.64;
  filter: blur(14px);
  clip-path: none;
  -webkit-mask-image: conic-gradient(
    from 0deg at 50% 0%,
    transparent 0deg 130deg,
    rgba(0, 0, 0, 0.08) 139deg,
    rgba(0, 0, 0, 0.34) 152deg,
    rgba(0, 0, 0, 0.7) 166deg,
    #000 176deg 184deg,
    rgba(0, 0, 0, 0.7) 194deg,
    rgba(0, 0, 0, 0.34) 208deg,
    rgba(0, 0, 0, 0.08) 221deg,
    transparent 230deg 360deg
  );
  mask-image: conic-gradient(
    from 0deg at 50% 0%,
    transparent 0deg 130deg,
    rgba(0, 0, 0, 0.08) 139deg,
    rgba(0, 0, 0, 0.34) 152deg,
    rgba(0, 0, 0, 0.7) 166deg,
    #000 176deg 184deg,
    rgba(0, 0, 0, 0.7) 194deg,
    rgba(0, 0, 0, 0.34) 208deg,
    rgba(0, 0, 0, 0.08) 221deg,
    transparent 230deg 360deg
  );
  background:
    radial-gradient(ellipse at 50% 96%, rgba(249, 242, 255, 0.92) 0 3%, rgba(202, 157, 255, 0.5) 10%, transparent 25%),
    linear-gradient(180deg, rgba(166, 103, 255, 0.84) 0%, rgba(132, 67, 220, 0.48) 58%, rgba(96, 43, 170, 0.08) 88%, transparent 100%);
  mix-blend-mode: screen;
  animation: refined-spotlight-breathe 6.5s ease-in-out infinite;
}

.spotlight-cone::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  filter: blur(18px);
  clip-path: polygon(47.5% 0, 52.5% 0, 79% 100%, 21% 100%);
  background: linear-gradient(180deg, rgba(224, 197, 255, 0.8), rgba(148, 81, 238, 0.22) 76%, transparent);
}

.signal-stage::before {
  content: "";
  z-index: 2;
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 610px;
  height: 176px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.96) 0 3%, rgba(224, 196, 255, 0.92) 7%, rgba(174, 111, 244, 0.5) 22%, rgba(116, 59, 196, 0.18) 43%, transparent 70%);
  filter: blur(5px);
  mix-blend-mode: screen;
  box-shadow: 0 0 58px rgba(180, 116, 255, 0.38);
}

.signal-stage::after {
  opacity: 0.92;
  bottom: -32px;
  background-image:
    linear-gradient(rgba(182, 120, 247, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 120, 247, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 4%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 4%, transparent 72%);
}

.floor-ring {
  border-color: rgba(207, 171, 255, 0.38);
  box-shadow: 0 0 26px rgba(154, 91, 235, 0.18), inset 0 0 18px rgba(169, 109, 243, 0.08);
}

.floor-ring-one {
  border-color: rgba(235, 218, 255, 0.62);
  box-shadow: 0 0 32px rgba(204, 159, 255, 0.3);
}

.floor-ring-two {
  border-color: rgba(195, 145, 255, 0.42);
}

.floor-ring-three {
  opacity: 0.72;
}

.orbit {
  border-color: rgba(197, 143, 249, 0.38);
  clip-path: inset(-24px -24px -24px 49%);
  transform-origin: 50% 50%;
  animation: refined-orbit-sway 7s ease-in-out infinite alternate;
}

.orbit-two {
  border-color: rgba(161, 104, 222, 0.34);
  animation-duration: 9s;
  animation-direction: alternate-reverse;
}

.orbit-one::before,
.orbit-two::before {
  top: calc(100% - 5px);
  left: 50%;
  z-index: 3;
  animation: refined-half-orbit-dot 6.8s ease-in-out infinite alternate;
}

.orbit-two::before {
  width: 7px;
  height: 7px;
  animation-duration: 8.7s;
  animation-delay: -3.2s;
  box-shadow: 0 0 18px rgba(190, 140, 249, 0.92);
}

.signal-core {
  transform: translateY(48px);
}

@keyframes refined-spotlight-breathe {
  0%, 100% {
    opacity: 0.56;
    filter: blur(14px);
    transform: translateX(-50%) scaleX(0.98);
  }
  50% {
    opacity: 0.72;
    filter: blur(20px);
    transform: translateX(-50%) scaleX(1.06);
  }
}

@keyframes refined-orbit-sway {
  0% { transform: rotate(-15deg); }
  100% { transform: rotate(-8deg); }
}

@keyframes refined-half-orbit-dot {
  0% {
    top: calc(100% - 5px);
    left: 50%;
  }
  22% {
    top: 86%;
    left: 84%;
  }
  50% {
    top: 50%;
    left: calc(100% - 5px);
  }
  78% {
    top: 14%;
    left: 84%;
  }
  100% {
    top: -5px;
    left: 50%;
  }
}

@media (min-width: 1001px) {
  .orbit-one {
    width: 650px;
    height: 410px;
  }

  .orbit-two {
    width: 820px;
    height: 530px;
  }
}

@media (max-width: 720px) {
  .spotlight-cone {
    width: 430px;
    height: 650px;
    top: -220px;
  }

  .signal-stage::before {
    width: 480px;
    height: 146px;
    bottom: 5px;
  }

  .signal-core {
    transform: translateY(34px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight-cone,
  .orbit,
  .orbit-one::before,
  .orbit-two::before {
    animation: none;
  }
}
