/**
 * Core boot splash — loops IntroFourDotPulse (enter + pulse-out).
 * Timing/colors mirror HubAercastHeroAnimation.tsx (INTRO_* / LOGO_DOT_COLORS / STAGE_DOT_SIZE_PX).
 */
.aercast-boot-dots {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: visible;
}

.aercast-boot-dot {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(6);
  animation-duration: 1.65s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.aercast-boot-dot:nth-child(1) {
  background: #00c664;
  animation-name: aercast-boot-dot-0;
}

.aercast-boot-dot:nth-child(2) {
  background: #00c664;
  animation-name: aercast-boot-dot-1;
}

.aercast-boot-dot:nth-child(3) {
  background: #0090b0;
  animation-name: aercast-boot-dot-2;
}

.aercast-boot-dot:nth-child(4) {
  background: #8c9daa;
  animation-name: aercast-boot-dot-3;
}

/* Full cycle 1650ms (INTRO_ENTER_PHASE_MS + INTRO_PULSE_OUT_PHASE_MS) */
@keyframes aercast-boot-dot-0 {
  0% {
    opacity: 0;
    transform: scale(6);
  }
  29.09% {
    opacity: 1;
    transform: scale(1);
  }
  50.91% {
    opacity: 1;
    transform: scale(1);
  }
  58.55% {
    opacity: 0.35;
    transform: scale(1.32);
  }
  78.18%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes aercast-boot-dot-1 {
  0%,
  7.27% {
    opacity: 0;
    transform: scale(6);
  }
  36.36% {
    opacity: 1;
    transform: scale(1);
  }
  58.18% {
    opacity: 1;
    transform: scale(1);
  }
  65.82% {
    opacity: 0.35;
    transform: scale(1.32);
  }
  85.45%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes aercast-boot-dot-2 {
  0%,
  14.55% {
    opacity: 0;
    transform: scale(6);
  }
  43.64% {
    opacity: 1;
    transform: scale(1);
  }
  65.45% {
    opacity: 1;
    transform: scale(1);
  }
  73.09% {
    opacity: 0.35;
    transform: scale(1.32);
  }
  92.73%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes aercast-boot-dot-3 {
  0%,
  21.82% {
    opacity: 0;
    transform: scale(6);
  }
  50.91% {
    opacity: 1;
    transform: scale(1);
  }
  72.73% {
    opacity: 1;
    transform: scale(1);
  }
  80.36% {
    opacity: 0.35;
    transform: scale(1.32);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aercast-boot-dot {
    animation: none;
    opacity: 1;
    transform: scale(1);
  }
}
