.whaticket-pill-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: none;
  padding: 18px 0;
}

.whaticket-pill-marquee::before,
.whaticket-pill-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 130px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.whaticket-pill-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--wtk-gradient-start), var(--wtk-gradient-end));
}

.whaticket-pill-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--wtk-gradient-start), var(--wtk-gradient-end));
}

.whaticket-pill-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  will-change: transform;
  animation: whaticketPillLoop 28s linear infinite;
}

.whaticket-pill {
  flex: 0 0 auto;
  min-width: 220px;
  padding: 14px 38px;
  border-radius: 999px;
  background: var(--wtk-pill-background, #3956ff);
  color: var(--wtk-pill-text-color, #fff);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.8px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease;
}

.whaticket-pill:hover,
.whaticket-pill:focus-visible {
  background: var(--wtk-pill-hover-background, #c7f169);
  color: var(--wtk-pill-hover-text-color, #0f2a51);
}

.whaticket-pill:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.whaticket-pill-marquee:hover .whaticket-pill-track {
  animation-play-state: paused;
}

@keyframes whaticketPillLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .whaticket-pill-marquee::before,
  .whaticket-pill-marquee::after {
    width: 90px;
  }

  .whaticket-pill-track {
    gap: 18px;
    animation-duration: 24s;
  }

  .whaticket-pill {
    min-width: 190px;
    padding: 13px 30px;
    font-size: 18px;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 767px) {
  .whaticket-pill-marquee {
    padding: 14px 0;
  }

  .whaticket-pill-marquee::before,
  .whaticket-pill-marquee::after {
    width: 55px;
  }

  .whaticket-pill-track {
    gap: 14px;
    animation-duration: 20s;
  }

  .whaticket-pill {
    min-width: 155px;
    padding: 12px 22px;
    font-size: 16px;
    letter-spacing: 1.1px;
  }
}
