/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

.custom-swiper-btn {
  @apply w-16 h-16 text-primary bg-gray-200 rounded-full flex items-center justify-center transition-all hover:bg-gray-300;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px !important;
  /* Reduce icon size */
  color: #fff !important;
  /* Change arrow color */
  font-weight: 700;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-content {
  /* Start with invisible state if needed */
  opacity: 0;
}

.animate-popup {
  animation: fadeInScale 0.5s ease forwards;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.moving-gradient {
  background-size: 200% 100%;
  animation: gradientMove 4s linear infinite;
}

.bg-gradient-custom {
  background: linear-gradient(-225deg, #231557 10%, #44107a 50%, #ff1361 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@keyframes glow-animation {
  0% {
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.2);
    transform: scale(1);
  }

  50% {
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
  }

  100% {
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.2);
    transform: scale(1);
  }
}


.glow {
  animation: glow-animation 2s infinite ease-in-out;
}

@media (min-width: 1024px) {
  #carousel img {
    max-height: 100vh;
    width: 100%;
    object-fit: cover;
  }
}

@keyframes sparkle {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.8);
  }

  50% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(10px) scale(0.8);
  }
}

.sparkle-animation {
  animation: sparkle 1.5s infinite alternate ease-in-out;
}

.hover-card:hover .img-animate {
  transform: scale(1.08) rotateZ(1.5deg);
}

.hover-card:hover .text-glow {
  transform: translateY(-6px);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.hover-card:hover {
  transform: perspective(800px) rotateX(1.5deg) rotateY(-1.5deg);
}

/* Scrolling Ticker Styles */
.ticker-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ticker-content {
  display: inline-flex;
  animation: scroll-ticker 30s linear infinite;
  will-change: transform;
}

.ticker-text {
  display: inline-block;
  letter-spacing: 0.5px;
}

.ticker-link {
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.ticker-link:hover {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@keyframes scroll-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%);
  }
}


/* Responsive adjustments */
@media (max-width: 640px) {
  .ticker-content {
    animation-duration: 25s;
  }
}

@media (min-width: 1024px) {
  .ticker-content {
    animation-duration: 35s;
  }
}

