/* Smooth fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Custom styles for the playlist progress bar */
.playlist-progress {
  width: 100%;
  height: 10px;
  background-color: #e5e7eb; /* Light gray */
  border-radius: 5px;
  overflow: hidden;
}
.playlist-progress .progress-bar {
  width: 0%;
  height: 100%;
  background-color: var(--amber-500);
  border-radius: 5px;
}
/* Custom styles for the playlist */
.playlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background-color: #f3f4f6; /* Light gray */
  border-radius: 10px;
}
/* Custom styles for the playlist item */
.playlist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #fff; /* White */
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Custom styles for the playlist item title */
.playlist-item-title {
  font-weight: 600;
  color: var(--maroon-800);
}

/* Custom styles for the playlist item artist */
.playlist-item-artist {
  color: var(--amber-600);
}
/* Custom styles for the playlist item duration */
.playlist-item-duration {
  color: var(--amber-800);
}
/* Custom styles for the playlist item button */
.playlist-item-button {
  background-color: var(--amber-500);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}
.playlist-item-button:hover {
  background-color: var(--amber-600);
}
/* Custom styles for the playlist item button disabled state */
.playlist-item-button:disabled {
  background-color: #d1d5db; /* Gray */
  cursor: not-allowed;
}
/* Custom styles for the playlist item button active state */
.playlist-item-button:active {
  background-color: var(--amber-800);
}
/* Custom styles for the playlist item button active state */
.playlist-item-button.active {
  background-color: var(--amber-600);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Custom styles for the playlist item button loading state */
.playlist-item-button.loading {
  background-color: #d1d5db; /* Gray */
  cursor: not-allowed;
  position: relative;
}
.playlist-item-button.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid white;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Custom styles for the playlist item button disabled state */
.playlist-item-button.disabled {
  background-color: #d1d5db; /* Gray */
  cursor: not-allowed;
  opacity: 0.5;
}
/* Custom styles for the playlist item button active state */
.playlist-item-button.active {
  background-color: var(--amber-600);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* DJ image spin effect on hover */
.dj-spin {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.dj-spin:hover {
  transform: rotate(720deg);
}

.animate-sponsor-scroll {
  animation: sponsor-scroll 36s linear infinite;
  will-change: transform;
}
.sponsor-logo-bw {
  filter: grayscale(1) brightness(1.1) contrast(1.2);
  width: 420px;
  height: 180px;
  object-fit: contain;
  transition: filter 0.3s, transform 0.3s;
  display: block;
  margin: 0 auto;
  background: transparent;
}
.sponsor-logo-bw:hover {
  filter: grayscale(0) brightness(1.1) contrast(1.2) drop-shadow(0 0 8px #fff8);
  transform: scale(1.07);
}
@media (max-width: 768px) {
  .animate-sponsor-scroll > div {
    min-width: 180px;
  }
  .sponsor-logo-bw {
    max-width: 240px;
    max-height: 60px;
  }
}
