/* ==========================================================================
   HERO VIDEO ADS: LAYOUT A (MULTIMEDIA + PLAYLIST)
   Estilos específicos y aislados para el layout de video y playlist
   ========================================================================== */

#hero-playlist-container {
  cursor: grab;
}

#hero-playlist-container:active {
  cursor: grabbing;
}

#hero-playlist-container::-webkit-scrollbar {
  width: 5px;
  background: rgba(255, 255, 255, 0.05);
}

#hero-playlist-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  transition: background 0.3s;
}

#hero-playlist-container:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1023px) {
  #hero-playlist-container::-webkit-scrollbar {
    display: none;
  }
  #hero-playlist-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

@keyframes equalize {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}

.equalizer-icon {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.equalizer-icon .bar {
  width: 3px;
  background-color: #ef4444;
  border-radius: 2px;
  animation: equalize 1s ease-in-out infinite;
}

.equalizer-icon .bar:nth-child(2) {
  animation-delay: 0.2s;
  height: 10px;
}

.equalizer-icon .bar:nth-child(3) {
  animation-delay: 0.4s;
  height: 6px;
}

.playlist-btn {
  opacity: 0.9;
  transition: all 0.3s ease;
  border-radius: 0.75rem;
  padding: 0.5rem;
}

.playlist-btn:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.05);
}

.playlist-btn.is-playing {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.playlist-btn.is-playing .playlist-thumb-container {
  border: var(--hero-border-width, 2px) solid var(--hero-border-color, #595959);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(89, 89, 89, 0.3);
}
