.slider-track {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* right slider */
.slider-track-right {
  display: flex;
  width: max-content;
  animation: slideRight 25s linear infinite;
}
@keyframes slideRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* youtube live button */
/* @keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.08);
  }
  50% {
    transform: scale(0.98);
  }
  75% {
    transform: scale(1.05);
  }
}

.animate-youtube-live {
  animation: heartbeat 2.4s infinite;
} */

/* team cards */

.group-box {
  @apply bg-black/60 backdrop-blur-md rounded-xl p-4 
  border border-yellow-400/30 shadow-[0_0_20px_rgba(255,193,7,0.08)];
}

.group-title {
  @apply text-yellow-300 text-center font-semibold mb-4 
  tracking-wider text-sm md:text-lg;
}

.team-card {
  @apply bg-black/70 rounded-lg p-2 border border-yellow-400/30 
  transition duration-300 hover:scale-105 hover:border-yellow-400;
}

.team-img {
  @apply w-full h-20 sm:h-28 md:h-32 object-contain;
}

.feature-card {
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-3px);
  border: 1px solid rgba(255, 193, 7, 0.4);
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.35);
}

.icon-box {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 193, 7, 0.12);
  border-radius: 10px;
  font-size: 20px;
  color: #facc15;
}

@keyframes zoomInOut {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.animate-zoom {
  animation: zoomInOut 2s ease-in-out infinite;
}

.animate-whatsapp-zoom {
  animation: zoomInOut 3s ease-in-out infinite;
}

/* season 1 animation */

.gold-foil {
  position: relative;
  overflow: hidden;
}

.gold-foil::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.6),
    transparent 65%
  );
  transform: rotate(25deg);
  animation: goldShine 3.5s infinite;
}

@keyframes goldShine {
  0% {
    transform: translate(-120%, 120%) rotate(25deg);
  }
  100% {
    transform: translate(120%, -120%) rotate(25deg);
  }
}

/* Participating teams border animation */
.border-shine {
  position: relative;
  overflow: hidden;
}

.border-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  padding: 2px;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 193, 7, 0.8),
    transparent 70%
  );
  background-size: 200% 200%;
  animation: borderShine 3s linear infinite;

  /* mask to show only border */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes borderShine {
  0% {
    background-position: -200% 200%;
  }
  100% {
    background-position: 200% -200%;
  }
}

/* titles */
@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.7);
  }
}

.glow-pulse {
  animation: glowPulse 2.5s ease-in-out infinite;
}

/* live */
@keyframes glowRedPulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
  }
}

.animate-glow {
  animation: glowRedPulse 1.5s infinite;
}

@keyframes liveDotFast {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.animate-live-dot {
  animation: liveDotFast 0.8s linear infinite;
}

/* congrats */
.ticker {
  display: inline-block;
  padding-left: 100%;
  animation: scrollGold 12s linear infinite;
}

@keyframes scrollGold {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.ticker:hover {
  animation-play-state: paused;
}