/* A blue-white flash follows the circular rim; only rotation/opacity animate. */
.hero-metal-button > .hero-metal-button__shine {
  position: absolute;
  inset: -2px;
  z-index: 2;
  display: block;
  margin: 0;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(135, 229, 255, .8);
  box-shadow: 0 0 12px rgba(0, 155, 255, .7), inset 0 0 6px rgba(255, 255, 255, .6);
  opacity: 0;
  animation: haba-cta-radial-flash 5s ease-in-out 4.5s infinite;
}
.hero-metal-button__shine::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg,
    transparent 0deg 145deg,
    rgba(0, 124, 176, .2) 160deg,
    #007cb0 184deg,
    #39caff 201deg,
    #fff 214deg 225deg,
    #8be5ff 237deg,
    #007cb0 254deg,
    transparent 282deg 360deg);
  -webkit-mask-image: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 4px), #000 calc(100% - 1px), transparent 100%);
  mask-image: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 4px), #000 calc(100% - 1px), transparent 100%);
}
.section-video:not(.is-hero-entering) .hero-metal-button__shine { animation-play-state: paused; }
@keyframes haba-cta-radial-flash {
  0% { opacity: 0; transform: rotate(-100deg); }
  8% { opacity: 1; }
  38% { opacity: 1; }
  54% { opacity: 0; transform: rotate(260deg); }
  100% { opacity: 0; transform: rotate(260deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-metal-button > .hero-metal-button__shine { animation: none; opacity: .8; }
}
