/* --- ESTILOS PARA TRENDING CAROUSEL --- */
.bl-container { font-family: 'Sora', system-ui, sans-serif !important; }

.bl-trending-title { 
    text-align: center; font-size: 28px; font-weight: 700; 
    color: #ffffff; margin: 0 0 40px 0; text-transform: uppercase; 
    letter-spacing: 1.2px; position: relative; 
}

.bl-trending-title::after { 
    content: ''; display: block; width: 90px; height: 4px; 
    background: #D90C0C; margin: 14px auto 0; border-radius: 3px; 
}

/* --- GLASSMORPHISM CARRUSEL --- */
.bl-carousel-item { padding: 0 10px; }

.bl-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bl-image-wrapper img { width: 100%; display: block; transition: transform 0.5s ease; }

/* Capa de Hover / Playback */
.bl-hover-play {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
    z-index: 2;
}

/* Botón Play/Pause Glass */
.bl-play-carousel-btn {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px);
    color: #fff !important; 
    border-radius: 50%; 
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 20px; transition: all 0.3s ease;
}

/* --- COMPORTAMIENTO HOVER NATIVO --- */
.bl-image-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}
.bl-image-wrapper:hover .bl-hover-play { opacity: 1; }
.bl-play-carousel-btn:hover { background: rgba(255, 255, 255, 0.4) !important; transform: scale(1.1); }

/* --- ESTADO REPRODUCIENDO (FIJO AUTOMÁTICO) --- */
.bl-image-wrapper.playing-pulse {
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3) !important;
}

/* Forzar que el botón y el fondo se queden visibles si está sonando */
.bl-image-wrapper.playing-pulse .bl-hover-play { 
    opacity: 1 !important; 
    background: rgba(0, 0, 0, 0.4); 
}

/* Asegurar que si está activo muestre pausa por defecto */
.bl-image-wrapper.playing-pulse .play-icon { display: none !important; }
.bl-image-wrapper.playing-pulse .pause-icon { display: block !important; }