/* =========================================
   TROIS DESIGN SYSTEM - FINAL PRODUCTION
   Philosophy: Athletic Minimalism
   Tech: CSS Variables + Bootstrap Overrides
   ========================================= */

:root {
    /* === 1. FUENTES (DM Sans para todo = Tech Look) === */
    --font-primary: 'DM Sans', sans-serif; 
    --font-serif: 'DM Sans', sans-serif; 

    /* === 2. COLORES === */
    --color-accent: #E31C25;     /* Rojo TROIS */
    --color-text: #111111;       /* Negro casi puro */
    --color-bg: #ffffff;         /* Blanco base */
    --color-offwhite: #f4f4f4;   /* Gris muy claro */
    
    /* === 3. ESPACIADO & DIMENSIONES === */
    --section-pad: 140px; 
    --nav-height: 90px;   
}

/* === RESET & BASE === */
body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    font-size: 1.125rem; /* ~18px base */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 0 !important; /* Fix para Sticky Nav */
}

/* === TIPOGRAFÍA GLOBAL (Estilo Tech - Tracking Negativo) === */
h1, h2, h3, h4, h5, .display-1, .display-3, .section-title-uniform {
    letter-spacing: -0.04em !important; 
    font-weight: 800;
}

p, .section-desc-uniform {
    max-width: 65ch; /* Lectura óptima */
}

/* Utilidades de Texto */
.serif-font { font-family: var(--font-serif); }
.ls-2 { letter-spacing: 2px; }
.ls-3 { letter-spacing: 3px; }
.fw-extra-bold { font-weight: 800; }
.text-xs { font-size: 0.85rem!important; } 

/* Títulos Responsive */
@media (max-width: 768px) {
    .display-1 { font-size: 3.5rem!important; } 
    .display-3 { font-size: 2.5rem!important; } 
}

/* === TITULOS UNIFICADOS DE SECCIÓN === */
.section-title-uniform {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.section-desc-uniform {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.6;
    color: #666; 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .section-title-uniform { font-size: 2.8rem; }
    .section-desc-uniform { font-size: 1.15rem; }
}

/* === NAVBAR (Glassmorphism & Sticky) === */
.glass-nav {
    background: #000000; /* Negro sólido inicial */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: auto;
    min-height: 90px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(0, 0, 0, 0.85); /* Transparencia al bajar */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-brand img {
    height: 30px;
    width: auto;
    transition: transform 0.3s ease;
}
.navbar-brand:hover img { transform: scale(1.05); }

.nav-link {
    color: #ffffff !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.navbar-toggler { border-color: rgba(255,255,255,0.5); }
.navbar-toggler-icon-custom i { color: #fff; }

/* === HERO SECTION === */
#hero {
    height: calc(100vh - 90px) !important;
    min-height: 500px;
}
.opacity-60 { opacity: 0.6; }

/* === SISTEMA DE BOTONES TROIS (Minimal & Sharp) === */
/* Base */
.btn-trois {
    border-radius: 0px !important;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Primary (Rojo -> Blanco) */
.btn-trois-primary {
    background-color: #E31C25;
    border: 1px solid #E31C25;
    color: #ffffff;
}
.btn-trois-primary:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #E31C25;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Outline (Transparente -> Blanco) */
.btn-trois-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}
.btn-trois-outline:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}
.btn-trois:hover i { transform: scale(1.2); transition: transform 0.3s ease; }

/* === TARJETAS DE SERVICIOS (AI LAB & AGENCY) === */
.bg-offwhite { background-color: var(--color-offwhite); }
.section-padding { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

.service-card { padding: 3rem!important; }
.service-card h4, .service-card h5 {
    font-size: 1.75rem !important;
    margin-bottom: 1.2rem !important;
    letter-spacing: -0.5px;
}
.service-card p, .service-card .small {
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    font-weight: 300;
    opacity: 0.85;
}
.service-card i { font-size: 3.5rem !important; }

.hover-lift { transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }

/* === PORTAFOLIO & GRID === */
.masonry-grid { column-count: 3; column-gap: 1.5rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1.5rem; }

@media (max-width: 991px) {.masonry-grid { column-count: 2; } }
@media (max-width: 767px) {.masonry-grid { column-count: 1; } }

/* Efectos Imagen */
.portfolio-item img, .service-card img { will-change: transform; }
.portfolio-item:hover img {
    transform: scale(1.03);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.group-hover-reset { transform: translateY(20px); }
.group:hover.overlay { opacity: 1!important; }
.group:hover.group-hover-reset { transform: translateY(0); }
.bg-gradient-dark { background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); }

/* Filtros Portafolio (Texto) */
.filters-container {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    margin-bottom: 2rem;
}
.filter-btn {
    background: transparent;
    border: none;
    color: #999999;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active { color: var(--color-text); }

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #E31C25;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.filter-btn.active::after { width: 100%; }

@media (max-width: 768px) {
    .filters-container { justify-content: center; flex-wrap: wrap; gap: 15px; }
}

/* === FORMULARIO MINIMALISTA (Footer) === */
.form-control-minimal {
    background-color: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    color: #ffffff !important;
    padding: 10px 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.form-control-minimal:focus {
    background-color: transparent !important;
    border-bottom-color: #ffffff;
    box-shadow: none;
    color: #ffffff !important;
    outline: none;
}
.form-control-minimal::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 300;
}
@media (min-width: 992px) { #contactForm { margin-left: auto; } }

/* === FOOTER LINKS & SOCIAL === */
footer#contact { padding-top: 6rem!important; }

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.footer-link:hover { color: var(--color-accent); padding-left: 5px; }

.social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}
.social-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    transform: translateY(-3px);
}

/* === ANIMACIONES (Marquee & Fade) === */
.marquee-container { white-space: nowrap; }
.marquee-content {
    animation: marquee 20s linear infinite;
    display: inline-block;
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Corrección Pixel-Perfect para Galería */
.masonry-item img, 
.masonry-item video {
    display: block; /* Elimina el espacsio fantasma debajo de la imagen */
    width: 100%;
}
/* === AUDIO PLAYER STYLES === */
.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

/* El "Thumb" (la bolita que arrastras) */
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}
.custom-range::-webkit-slider-thumb:hover { transform: scale(1.5); }

/* Item de Playlist Activo */
.playlist-item.active.is-playing .icon-state:before { 
    content: "\f4c4"; /* Icono Pausa Bootstrap */ 
    color: var(--color-accent); 
    opacity: 1; 
}

/* === CORRECCIÓN FINAL ICONOS PLAYLIST === */

/* 1. Cuando está SONANDO (Muestra Pausa) */
.playlist-item.active.is-playing .icon-state:before { 
    content: "\f4c4"; /* Icono Pause Fill */ 
    color: var(--color-accent); 
    opacity: 1; 
}

/* 2. Cuando está SELECCIONADO pero PAUSADO (Muestra Play con Círculo) */
.playlist-item.active:not(.is-playing) .icon-state:before {
    /* CAMBIO AQUÍ: */
    content: "\f4f5";  /* \f4f5 es el código para 'bi-play-circle-fill' */
    
    color: #fff;       /* Blanco puro para destacar sobre el fondo gris */
    opacity: 1;
}

/* === NUEVO FOOTER "BRUTALIST" === */
.footer-cols-header {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.footer-link-list li { margin-bottom: 0.5rem; }
.footer-link-list a { color: #fff; text-decoration: none; font-size: 1.1rem; }
.footer-link-list a:hover { color: var(--color-accent); text-decoration: underline; }

/* La Magia del Texto Gigante Mixto */
.footer-big-text {
    font-size: clamp(1.8rem, 4vw, 4rem); /* Responsive gigante */
    line-height: 0.9;
    font-weight: 300;
    color: #fff;
    margin-top: 4rem;
    margin-bottom: 4rem;
    word-spacing: 10px;
}

.footer-big-text .serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.footer-big-text i {
    font-size: 0.7em; /* Iconos un poco más chicos para alinear */
    vertical-align: middle;
    opacity: 0.7;
    margin: 0 5px;
}

.footer-box {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0 10px;
    display: inline-block;
    font-family: monospace;
    font-size: 0.6em;
    vertical-align: middle;
    margin: 0 10px;
}

.copyright-text { font-size: 0.85rem; color: #666; }

/* === HERO UPDATE: ESTILO "HIGH IMPACT" === */

/* 1. Degradado Cinemático (Mejor que solo opacidad) */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.6) 50%, 
        rgba(0,0,0,0.9) 100%
    );
    z-index: 1;
}

/* 2. Efecto de Texto "Hollow" (Tech Vibe) */
.text-outline-white {
    -webkit-text-stroke: 2px #ffffff;
    color: transparent;
    transition: all 0.5s ease;
}

/* Al pasar el mouse por la sección, el texto se llena (Interacción sutil) */
#hero:hover .text-outline-white {
    -webkit-text-stroke: 0px;
    color: #ffffff;
}

/* 3. Ajuste de Título Gigante */
.hero-title-giant {
    font-size: clamp(3.5rem, 8vw, 7.5rem); /* Se adapta a cualquier pantalla */
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 800;
}

/* Forzar que la línea del título del footer se ajuste al texto */
.footer-cols-header {
    width: auto !important;     /* Anula el 100% anterior */
    min-width: 50px;           /* Mínimo elegante */
    margin-bottom: 1rem;       /* Espacio antes de los items */
}

/* En desktop, alinear links horizontalmente limpia el diseño */
@media (min-width: 768px) {
    .footer-link-list li {
        margin-bottom: 0; /* Quitamos margen inferior porque ahora es horizontal */
    }
}

/* Efecto sutil para el teléfono en el footer */
.hover-scale {
    transition: transform 0.3s ease, color 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
    color: var(--color-accent) !important;
}

/* Indicador visual de que el elemento es interactivo */
.masonry-item .smart-video {
    transition: filter 0.3s ease;
    /* Opcional: Un ligero filtro gris cuando está pausado para resaltar más al activarse */
    filter: brightness(0.9); 
}

/* Al hacer hover, brillo total */
.masonry-item:hover .smart-video {
    filter: brightness(1.05);
}

/* =========================================
   INFINITE GALLERY STREAM (FINAL TWEAK)
   ========================================= */

.infinite-gallery-wrapper {
    width: 100%;
    overflow: hidden; 
    position: relative;
    padding: 20px 0 40px 0;
    cursor: e-resize; 
    touch-action: pan-y; 
}

.infinite-gallery-track {
    display: flex;
    gap: 20px;
    width: max-content; 
    
    /* ANIMACIÓN BASE - VELOCIDAD REDUCIDA */
    /* Antes 40s, ahora 80s para ir más lento (mitad de velocidad) */
    animation: scrollGallery 80s linear infinite;
    
    /* Estado inicial */
    animation-play-state: paused; 
    
    will-change: transform; 
    transform: translateZ(0); 
}

/* --- LÓGICA DESKTOP (HOVER) --- */
@media (min-width: 992px) {
    .infinite-gallery-wrapper:hover .infinite-gallery-track {
        animation-play-state: running;
    }
}

/* --- LÓGICA MÓVIL (SCROLL) --- */
.infinite-gallery-track.is-scroll-active {
    animation-play-state: running !important;
}

.gallery-item {
    position: relative;
    height: 400px; 
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
    
    /* ESTADO INICIAL (GLOBAL): GRIS */
    filter: grayscale(100%);
    
    border-radius: 4px;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.gallery-item img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: cover;
}

/* Hover Effect (Color al pasar el mouse o tocar en móvil) */
.gallery-item:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive Ajustes */
@media (max-width: 768px) {
    .gallery-item { height: 250px; }
    
    .infinite-gallery-track { 
        gap: 15px; 
        /* VELOCIDAD MÓVIL REDUCIDA */
        /* Antes 30s, ahora 60s */
        animation-duration: 60s; 
    }
    
    /* NOTA: Hemos eliminado la regla que forzaba el color (grayscale 0%) 
       para que ahora se vean grises al cargar, tal como pediste. */
}


/* AI Studio */
.upload-area {
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.03);
}
.upload-area:hover {
    background: rgba(255,255,255,0.08);
    border-color: #fff !important;
}
.preset-btn.active {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}
.blink-text {
    animation: blinker 1.5s linear infinite;
}
@keyframes blinker {
    50% { opacity: 0.5; }
}

/* Añadir al final de style.css */

/* Animación de escaneo para el contenedor de IA */
.scanning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(227, 28, 37, 0.2) 50%, transparent 100%);
    background-size: 100% 50%;
    animation: scanLine 2s linear infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes scanLine {
    0% { top: -50%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Loader de Texto */
.blink-text {
    font-family: monospace;
    letter-spacing: 3px;
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* FALLBACK: Si JS falla, mostramos el contenido igual */
@media (scripting: none) {
    .fade-in-up {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Opcional: Asegurar visibilidad inicial si el JS tarda mucho */
.fade-in-up {
    will-change: opacity, transform;
}
/* Ajuste para el contenedor de resultado IA */
#generated-image {
    object-fit: contain; /* Asegura que se vea la foto entera sin recortes */
    background-color: #000; /* Fondo negro para rellenar espacios si el ratio es distinto */
}

/* Efecto Scanning que usamos en JS */
.scanning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(227, 28, 37, 0.2) 50%, transparent 100%);
    background-size: 100% 50%;
    animation: scanLine 2s linear infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes scanLine {
    0% { top: -50%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
/* === ESTADOS DE LOS ICONOS === */

/* CASO 1: Está sonando activamente */
/* Queremos icono de PAUSA */
.playlist-item.active.is-playing .icon-state:before { 
    content: "\f4c4"; /* Icono Pause Fill */ 
    color: var(--color-accent); 
    opacity: 1; 
}

/* CASO 2: Está seleccionado pero en PAUSA (Tu problema actual) */
/* Queremos que se vea el círculo, igual que los demás */
.playlist-item.active:not(.is-playing) .icon-state:before {
    content: "\f4f2";  /* \f4f2 es el código para 'bi-play-circle' (Outline) */
    color: #fff;       /* Blanco para indicar que está listo */
    opacity: 1;
    font-weight: bold; /* Opcional: un poco más grueso para notar la selección */
}

/* Ajuste para que el texto se ilumine al estar activo */
.playlist-item.active h6 {
    color: #ffffff !important;
    font-weight: 600; /* Semi-bold sutil, no tan fuerte como antes */
    transition: color 0.3s ease;
}

/* === ESTADO NEUTRO (Por defecto) === */
/* Esto asegura que TODOS los tracks tengan el círculo vacío al inicio */
.playlist-item .icon-state:before {
    content: "\f4f2"; /* Código para bi-play-circle (Outline) */
    color: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

/* === INTERACCIÓN (Hover) === */
/* Al pasar el mouse, iluminamos un poco el icono */
.playlist-item:hover .icon-state:before {
    opacity: 1;
    transform: scale(1.1);
}

/* === ESTADO ACTIVO (Cuando JS añade la clase) === */
/* 1. Seleccionado pero Pausado (Ready) -> Círculo relleno blanco */
.playlist-item.active:not(.is-playing) .icon-state:before {
    content: "\f4f5"; /* bi-play-circle-fill */
    color: #fff;
    opacity: 1;
}

/* 2. Reproduciendo (Playing) -> Pausa Roja */
.playlist-item.active.is-playing .icon-state:before { 
    content: "\f4c4"; /* bi-pause-fill */
    color: var(--color-accent); 
    opacity: 1;
}

/* === CORRECCIÓN CRÍTICA DE OVERFLOW (MÓVIL) === */
html, body {
    max-width: 100vw;
    overflow-x: hidden !important; /* Fuerza el corte de lo que sobresalga */
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Asegura que las filas de bootstrap no rompan el layout en móvil */
.row {
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Contenedor fluido seguro */
.container-fluid {
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    overflow: hidden; /* Seguridad extra */
}

/* Corrección para que el poster se vea siempre bien */
.smart-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* FIX: ELIMINADO EL BACKGROUND BLACK PARA VER EL POSTER */
    display: block;
}

.masonry-item {
    background-color: #111; /* Fondo oscuro para el contenedor */
    overflow: hidden;
}

/* =========================================================
   FIX VISUAL PLAYLIST - UNIFORMIDAD TOTAL
   ========================================================= */

/* 1. TEXTO: Quitar la negrita excesiva del item seleccionado si no suena */
.playlist-item.active h6 {
    font-weight: 400 !important; /* Peso normal, igual que los demás */
    color: rgba(255, 255, 255, 0.8) !important; /* Un blanco un poco más suave */
}

/* 2. ICONO: Forzar que el item activo (pero pausado) use el CÍRCULO igual que los demás */
.playlist-item.active:not(.is-playing) .icon-state:before {
    content: "\f4f2" !important; /* Código para bi-play-circle (Círculo vacío) */
    color: #fff;       
    opacity: 0.5;      /* Opacidad media, para que se vea idéntico a los inactivos */
    transform: none;   /* Evita escalas raras */
}

/* 3. HOVER: Solo al pasar el mouse resaltamos un poco (opcional, para feedback) */
.playlist-item.active:not(.is-playing):hover .icon-state:before,
.playlist-item:hover .icon-state:before {
    opacity: 1 !important;
    transform: scale(1.1);
}

/* 4. ESTADO SONANDO (Solo aquí cambia el diseño) */
/* Aquí sí queremos negrita y el icono de pausa rojo */
.playlist-item.active.is-playing h6 {
    font-weight: 700 !important;
    color: #ffffff !important;
}

.playlist-item.active.is-playing .icon-state:before {
    content: "\f4c4" !important; /* Icono Pause Fill */
    color: var(--color-accent) !important;
    opacity: 1 !important;
}