/* EPL Promo Bar - frontend styles */
.epl-promo-bar{
  --epl-bg:#000;
  --epl-text:#fff;
  --epl-accent:#fff;
  --epl-duration: 12s;
  --epl-cycle-width: 600px;

  background: var(--epl-bg);
  color: var(--epl-text);
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  font-family: inherit;
}

.epl-promo-bar.is-fallback{opacity:0; transition: opacity .15s ease;}

.epl-promo-bar.is-sticky{
  position: sticky;
  top: 0;
  z-index: 9999;
}

.epl-promo-viewport{
  overflow: hidden;
  padding: 10px 14px;
  line-height: 1.2;
}

.epl-promo-track{
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  will-change: transform;
  animation: epl-marquee var(--epl-duration) linear infinite;
}

.epl-dir-right .epl-promo-track{
  animation-direction: reverse;
}

.epl-promo-item{
  font-size: clamp(13px, 2.4vw, 16px);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.epl-promo-code{
  color: var(--epl-accent);
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.epl-promo-bar.is-glow .epl-promo-item{
  text-shadow: 0 0 10px rgba(255,255,255,.18);
}
.epl-promo-bar.is-glow .epl-promo-code{
  text-shadow: 0 0 12px rgba(255,255,255,.35);
}

.epl-promo-bar.is-shimmer .epl-promo-code{
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,1), rgba(255,255,255,.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: epl-shimmer 1.8s linear infinite;
}

.epl-promo-bar.pause-on-hover:hover .epl-promo-track{
  animation-play-state: paused;
}

@keyframes epl-marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(calc(-1 * var(--epl-cycle-width))); }
}

@keyframes epl-shimmer{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 200% 50%; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  .epl-promo-track{
    animation: none !important;
    transform: none !important;
  }
  .epl-promo-bar.is-shimmer .epl-promo-code{
    animation: none !important;
  }
  .epl-promo-viewport{
    text-align: center;
  }
  .epl-promo-track{
    display: inline-block;
  }
}
