/* HAL 2026-02 Header Promos normal */
.promo-header-banner {
  background: #f5b700;
  color: #010101;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  padding: 8px 12px;
  z-index: 9999;
  position: relative;
}
.promo-header-banner a {
  color: #010101;
}

@media (max-width: 849px) {
  .promo-header-banner {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/* HAL 2026-02 Header Promos enhance */
.promo-header-banner.highlight {
  background: #f5b700;
  color: #010101;
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 16px;
  z-index: 9;
  position: sticky;
  top: 0;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.promo-header-banner.highlight a {
  display: inline-block;
  margin-left: 10px;
  background: #010101;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.promo-header-banner.highlight a:hover {
  background: #ffffff;
  color: #010101;
}

@media (max-width: 849px) {
  .promo-header-banner.highlight {
    font-size: 14px;
    padding: 10px 12px;
  }

  .promo-header-banner.highlight a {
    display: block;
    margin: 8px auto 0;
    width: fit-content;
  }
}

.promo-header-banner.highlight a {
  animation: promoPulse 1.8s infinite;
}

@keyframes promoPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}


/* HAL 2026-06 Slide Up Promos */
.ka-event-cta {
  position: fixed;
  left: 20px;
  bottom: 0px;
  z-index: 99999;
  width: min(550px, calc(100vw - 24px));
  transform: translateY(125%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 400ms ease;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

.ka-event-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ka-event-cta.is-hiding {
  transform: translateY(125%);
  opacity: 0;
  pointer-events: none;
}

.ka-event-cta.is-visible.is-attention {
  animation: kaCtaAttention 1600ms ease-in-out 1;
}

.ka-event-cta__link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.ka-event-cta__image {
  display: block;
  width: 100%;
  height: auto;
}

.ka-event-cta__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 100%;

  background: #ffffff;
  color: #222;

  font-size: 18px;
  line-height: 1;
  font-weight: 400;

  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  margin: 0;
  padding: 0;
}

@keyframes kaCtaAttention {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  20% {
    transform: translateY(-8px) scale(1.012);
  }

  40% {
    transform: translateY(0) scale(1);
  }

  60% {
    transform: translateY(-4px) scale(1.008);
  }

  80% {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .ka-event-cta {
    left: 4px;
    bottom: 6px;
    width: min(300px, calc(100vw - 16px));
  }

  .ka-event-cta__close {
    width: 32px;
    height: 32px;
    top: -9px;
    right: -9px;
    font-size: 16px;
  }
}

