/* Adjustments applied after the supplied carousel stylesheet. */
body,
.kalapa {
  background:
    radial-gradient(circle at 50% 18%, rgba(56,146,255,.18) 0%, rgba(56,146,255,.08) 28%, rgba(10,18,34,0) 58%),
    linear-gradient(180deg, #07111d 0%, #0a1422 100%);
}

.kalapa::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78vw, 1100px);
  height: min(48vw, 620px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(82,170,255,.42) 0%,
      rgba(82,170,255,.30) 24%,
      rgba(58,139,235,.17) 46%,
      rgba(37,96,186,.08) 62%,
      rgba(10,18,34,0) 78%);
  filter: blur(30px);
  pointer-events: none;
}

.kalapa header {
  top: calc(7.5% + 90px);
}

.controls {
  display: none;
}

.slide-dots {
  position: absolute;
  top: var(--controls-top, 82%);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  transition: opacity 1.2s ease;
}

.slide-dot {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  transition: width .45s ease, background .45s ease, box-shadow .45s ease, transform .45s ease;
}

.slide-dot.is-active {
  width: 30px;
  background: #55d9ff;
  border-color: #55d9ff;
  box-shadow: 0 0 18px rgba(85, 217, 255, .65);
  animation: slide-dot-pulse 1.2s ease-in-out infinite;
}

.kalapa.is-finale .slide-dots {
  opacity: 0;
}

@keyframes slide-dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.replay {
  display: none;
}

.finale-word {
  color: #fff;
}

.is-finale .finale-word {
  animation: finale-word-color 1.8s ease-in-out infinite;
}

.is-finale .finale-word-grab {
  animation-delay: .6s;
}

.is-finale .finale-word-go {
  animation-delay: 1.2s;
}

@keyframes finale-word-color {
  0%, 22%, 100% {
    color: #fff;
    text-shadow: none;
  }
  42%, 62% {
    color: #55d9ff;
    text-shadow: 0 0 24px rgba(85, 217, 255, .55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide-dot,
  .slide-dots {
    transition: none;
  }

  .slide-dot.is-active {
    animation: none;
  }

  .is-finale .finale-word {
    animation: none;
  }
}
