/* Aregue todo su codigo personalizado aquí */
.station-description {
    color: #fff;
    opacity: .9;
}

.station-img {
    border: 3px solid #ffffff00;
    padding: 0.15rem;
}

.player-artwork {
    padding: 0.75rem;
    border-radius: 1rem;
    background-color: #ffffff00;
}
.player-artwork img {
    border-radius: 0.65rem;
    box-shadow: var(--shadow-xl);
}
.player-cover-image {
            ;
                animation: bga 60s linear infinite;
                
              
            }

            @keyframes bga {
                50% {
                    transform: scale(2)
                }
            }

.items-start {
    align-items: flex-start;
    margin-top: 0px;
}

/* ================== ESTILOS PARA EL REPRODUCTOR DE TV ================== */
.modal-video {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  height: 80%;
  max-height: 600px;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 1rem;
  z-index: 200;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transition: all 0.3s ease;
}

.modal-video:not(.is-active) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.tv-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0.5rem;
}

.tv-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tv-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.tv-close-btn .i {
  width: 20px;
  height: 20px;
  stroke-width: 3;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .modal-video {
    width: 95%;
    height: 70%;
    max-height: 400px;
  }
  
  .tv-close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
  
  .tv-close-btn .i {
    width: 16px;
    height: 16px;
  }
}

/* Asegurar que el overlay esté por encima de todo */
.modal-video.is-active ~ .modal-overlay {
  opacity: 1;
  z-index: 150;
}

/* ================== ESTILOS MEJORADOS PARA EL CONTROL DE VOLUMEN ================== */
.player-range-wrapper {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-range-wrapper:hover {
    background: rgba(255, 255, 255, 0.3);
    height: 8px;
}

.player-range-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent, var(--primary)), #ffffff 100%);
    border-radius: 3px;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.player-range-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 3px solid var(--accent, var(--primary));
    border-radius: 50%;
    cursor: grab;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.player-range-thumb:hover {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.player-range-thumb:active {
    cursor: grabbing;
    transform: translateY(-50%) scale(1.1);
}

.player-volume {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

/* Efecto de pulso cuando cambia el volumen */
@keyframes volumePulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.player-range-thumb.volume-changing {
    animation: volumePulse 0.5s ease;
}

/* Mejoras para el dropdown del volumen */
.dropdown {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown.is-active {
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}