/* SATANA SATANA Electronic Press Kit - Main Stylesheet */

/* Barra de exportación específica para Info */
.info-export-btn:hover {
    background: rgba(255, 51, 102, 0.4) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3);
}

/* Mostrar barra original en desktop normal */

/* Background Animations - Optimized */
@keyframes subtleBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

@keyframes rhythmicPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.025) rotate(0.5deg); }
    50% { transform: scale(1.04) rotate(0deg); }
    75% { transform: scale(1.025) rotate(-0.5deg); }
}

@keyframes lightningFlash {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 1.15; }
}

@keyframes strobeFlash {
    0%, 80%, 100% { opacity: 1; filter: brightness(1); }
    85% { opacity: 1.4; filter: brightness(1.6); }
    87% { opacity: 0.7; filter: brightness(0.8); }
    90% { opacity: 1.3; filter: brightness(1.5); }
}

@keyframes intenseLightning {
    0%, 85%, 100% { opacity: 1; filter: brightness(1) contrast(1); }
    90% { opacity: 1.3; filter: brightness(1.4) contrast(1.2); }
    92% { opacity: 0.9; filter: brightness(0.8) contrast(1.1); }
    95% { opacity: 1.25; filter: brightness(1.3) contrast(1.15); }
}

@keyframes dramaticBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes colorShift {
    0%, 100% { filter: hue-rotate(0deg) brightness(1); }
    50% { filter: hue-rotate(10deg) brightness(1.05); }
}


/* Apply animations to slide backgrounds */
.slide-background {
    animation: subtleBreath 12s ease-in-out infinite, lightningFlash 8s ease-in-out infinite;
    will-change: transform, opacity;
    transition: opacity 0.3s ease-in-out;
}

/* Lazy loading background images */
[data-bg-src] {
    transition: opacity 0.3s ease-in-out;
}

[data-bg-src].bg-loaded {
    /* Enhanced version loaded */
}

/* Specific animations per slide */
#slide-1 .slide-background {
    animation: dramaticBreath 8s ease-in-out infinite, intenseLightning 5s ease-in-out infinite;
}

#slide-2 .slide-background {
    animation: rhythmicPulse 6s ease-in-out infinite, strobeFlash 4s ease-in-out infinite;
}

#slide-3 .slide-background {
    animation: rhythmicPulse 8s ease-in-out infinite, strobeFlash 5s ease-in-out infinite;
}

#slide-4 .slide-background {
    animation: dramaticBreath 7s ease-in-out infinite, intenseLightning 4s ease-in-out infinite;
}

#slide-5 .slide-background {
    animation: subtleBreath 10s ease-in-out infinite, lightningFlash 6s ease-in-out infinite;
}

/* Pause animations when slide is not active for performance */
.slide:not(.active) .slide-background {
    animation-play-state: paused;
}

/* Next Show Notification */
.next-show-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1500;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(139, 0, 0, 0.7));
    border: 1px solid #ff3366;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.3);
    backdrop-filter: blur(8px);
    transform: translateX(110%);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    max-width: 220px;
    opacity: 0;
    visibility: hidden;
}

.next-show-notification.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.next-show-notification:hover {
    border-color: #fff;
    box-shadow: 0 6px 25px rgba(255, 51, 102, 0.5);
    transform: translateX(0) scale(1.02);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.notification-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: rgba(255, 51, 102, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.next-show-notification:hover .notification-close {
    opacity: 1;
}

.notification-close:hover {
    background: #ff3366;
    transform: scale(1.1);
}

.notification-icon {
    font-size: 20px;
    animation: rockIcon 2s ease-in-out infinite;
}

@keyframes rockIcon {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ff3366;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.notification-date {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1px;
}

.notification-venue {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #b0b0b0;
    text-transform: uppercase;
}

/* Mobile adjustments for notification */
@media (max-width: 768px) {
    .next-show-notification {
        top: 15px;
        right: 15px;
        max-width: 180px;
        padding: 10px 12px;
    }
    
    .notification-content {
        gap: 8px;
    }
    
    .notification-icon {
        font-size: 18px;
    }
    
    .notification-title {
        font-size: 10px;
    }
    
    .notification-date {
        font-size: 11px;
    }
    
    .notification-venue {
        font-size: 9px;
    }
}

/* Next Show Popup */
.next-show-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(139, 0, 0, 0.8));
    border: 2px solid #ff3366;
    border-radius: 15px;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 51, 102, 0.5), 0 0 60px rgba(255, 51, 102, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.next-show-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content .popup-date {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    font-weight: 700;
    color: #ff3366;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.8);
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.popup-content .popup-time {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    letter-spacing: 3px;
}

.popup-content .popup-venue {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.popup-content .popup-address {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #b0b0b0;
    margin-bottom: 8px;
}

.popup-content .popup-lineup {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #a0a0a0;
    margin-bottom: 10px;
    font-style: italic;
}

.popup-content .popup-link {
    margin-top: 10px;
}

.popup-content .popup-link a:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 51, 102, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
}

.epk-container {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 51, 102, 0.3);
}

.nav-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    gap: 5px;
    position: relative;
}

.nav-tabs-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.nav-tab {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-tab:hover, .nav-tab.active {
    background: rgba(255, 51, 102, 0.2);
    border-color: #ff3366;
    transform: translateY(-2px);
}

/* Slide System */
.slides-container {
    flex: 1;
    position: relative;
    margin-top: 50px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: -50px;
    width: calc(100% + 50px);
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 20px 70px;
    pointer-events: none;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 5;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px; /* Espacio para los botones */
    box-sizing: border-box;
}

/* Export Buttons */
.export-container {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 30px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.export-btn {
    padding: 8px 12px;
    background: rgba(255, 51, 102, 0.15);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.export-btn:hover {
    background: rgba(255, 51, 102, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }
    
    .nav-tabs-center {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .nav-tab {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .slides-container {
        margin-top: 80px;
    }
    
    .slide {
        padding: 15px;
    }
    
    .slide-content {
        padding-bottom: 100px; /* Más espacio en móvil */
    }
    
    .export-container {
        bottom: 8px;
        right: 8px;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: calc(100vw - 20px);
        padding: 6px;
    }
    
    .export-btn {
        font-size: 9px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .nav-tabs {
        flex-direction: column;
        padding: 8px 10px;
        gap: 6px;
    }
    
    .nav-tabs-center {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-tabs-center::-webkit-scrollbar {
        display: none;
    }
    
    .nav-tab {
        flex-shrink: 0;
        font-size: 9px;
        padding: 5px 12px;
        margin-right: 4px;
        white-space: nowrap;
        min-width: auto;
    }
}

/* Content Styles for Each Slide */
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: clamp(15px, 3vh, 30px);
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

/* Removed red line decoration */

/* Animations */
.music-note {
    position: absolute;
    color: rgba(255, 51, 102, 0.1);
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* Scroll personalizado elegante para highlights */
.custom-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 51, 102, 0.3) transparent;
    scroll-behavior: smooth;
}

.custom-scroll::-webkit-scrollbar {
    width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.4), rgba(255, 51, 102, 0.6));
    border-radius: 10px;
    transition: all 0.3s ease;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.6), rgba(255, 51, 102, 0.8));
}

/* Subtle Smoke Effect for Biography */
.smoke-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.smoke-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.02) 70%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
    animation: smokeFloat linear infinite;
    filter: blur(1px);
}

.smoke-particle:nth-child(1) {
    width: 60px;
    height: 60px;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.smoke-particle:nth-child(2) {
    width: 40px;
    height: 40px;
    left: 30%;
    animation-duration: 30s;
    animation-delay: 8s;
}

.smoke-particle:nth-child(3) {
    width: 80px;
    height: 80px;
    left: 60%;
    animation-duration: 28s;
    animation-delay: 15s;
}

.smoke-particle:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 80%;
    animation-duration: 32s;
    animation-delay: 22s;
}

.smoke-particle:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 45%;
    animation-duration: 27s;
    animation-delay: 12s;
}

.smoke-particle:nth-child(6) {
    width: 35px;
    height: 35px;
    left: 75%;
    animation-duration: 29s;
    animation-delay: 18s;
}

@keyframes smokeFloat {
    0% {
        transform: translateY(100vh) scale(0.3);
        opacity: 0;
    }
    15% {
        opacity: 0.6;
        transform: translateY(85vh) scale(0.5);
    }
    50% {
        opacity: 0.8;
        transform: translateY(50vh) scale(0.8) translateX(30px);
    }
    85% {
        opacity: 0.5;
        transform: translateY(15vh) scale(1.1) translateX(-20px);
    }
    100% {
        transform: translateY(-10vh) scale(1.3);
        opacity: 0;
    }
}

/* Glitch Effects */
.glitch {
    position: relative;
    font-size: clamp(48px, 12vw, 120px);
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    letter-spacing: 5px;
}
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff3366;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9, 1px 0 #ff3366;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
    0% { clip: rect(65px, 9999px, 119px, 0); }
    5% { clip: rect(29px, 9999px, 16px, 0); }
    10% { clip: rect(86px, 9999px, 73px, 0); }
    15% { clip: rect(54px, 9999px, 47px, 0); }
    20% { clip: rect(14px, 9999px, 100px, 0); }
    25% { clip: rect(33px, 9999px, 24px, 0); }
    30% { clip: rect(74px, 9999px, 63px, 0); }
    35% { clip: rect(86px, 9999px, 73px, 0); }
    40% { clip: rect(20px, 9999px, 89px, 0); }
    45% { clip: rect(59px, 9999px, 23px, 0); }
    50% { clip: rect(41px, 9999px, 62px, 0); }
    55% { clip: rect(49px, 9999px, 41px, 0); }
    60% { clip: rect(57px, 9999px, 98px, 0); }
    65% { clip: rect(23px, 9999px, 14px, 0); }
    70% { clip: rect(53px, 9999px, 67px, 0); }
    75% { clip: rect(65px, 9999px, 70px, 0); }
    80% { clip: rect(54px, 9999px, 62px, 0); }
    85% { clip: rect(45px, 9999px, 63px, 0); }
    90% { clip: rect(35px, 9999px, 51px, 0); }
    95% { clip: rect(38px, 9999px, 40px, 0); }
    100% { clip: rect(36px, 9999px, 63px, 0); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(92px, 9999px, 14px, 0); }
    15% { clip: rect(44px, 9999px, 46px, 0); }
    30% { clip: rect(53px, 9999px, 97px, 0); }
    45% { clip: rect(22px, 9999px, 100px, 0); }
    60% { clip: rect(96px, 9999px, 29px, 0); }
    75% { clip: rect(5px, 9999px, 80px, 0); }
    90% { clip: rect(32px, 9999px, 86px, 0); }
    100% { clip: rect(31px, 9999px, 96px, 0); }
}

/* Energy Effects */
.energy-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 51, 102, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse 4s infinite alternate;
    z-index: 1;
}
@keyframes pulse {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(1.1); }
}

.energy-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
}
.energy-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 102, 0.7), transparent);
    height: 1px;
    width: 100%;
}

/* Album Cover Hover Effect */
a[href*="spotify.com/album"]:hover {
    transform: scale(1.02);
    border-color: #1DB954 !important;
}

/* Biography Cards Effects */
.slide-content > div > div[style*="background:"] {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slide-content > div > div[style*="background:"]:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 51, 102, 0.3);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.15);
    backdrop-filter: blur(12px);
}

/* Biography Tags Effects */
span[style*="background-color: rgba(255, 51, 102, 0.2)"] {
    transition: all 0.3s ease;
    cursor: pointer;
}

span[style*="background-color: rgba(255, 51, 102, 0.2)"]:hover {
    background-color: rgba(255, 51, 102, 0.3) !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.2);
}

/* Member Cards Effects */
div[style*="background: rgba(255,255,255,.05)"] {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

div[style*="background: rgba(255,255,255,.05)"]:hover {
    transform: translateY(-3px);
    background: rgba(255, 51, 102, 0.08) !important;
    border-color: rgba(255, 51, 102, 0.4) !important;
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.12);
    backdrop-filter: blur(10px);
}

/* Button-like elements Effects */
a[href*="instagram.com"]:not([style*="font-size: clamp(9px"]) {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

a[href*="instagram.com"]:not([style*="font-size: clamp(9px"]):before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

a[href*="instagram.com"]:not([style*="font-size: clamp(9px"]):hover:before {
    left: 100%;
}

a[href*="instagram.com"]:not([style*="font-size: clamp(9px"]):hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

/* Discography Singles Effects */
div[style*="flex: 1; border: 1px solid rgba(255, 51, 102, 0.4)"] {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

div[style*="flex: 1; border: 1px solid rgba(255, 51, 102, 0.4)"]:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 51, 102, 0.7);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.25);
    backdrop-filter: blur(10px);
}

/* Highlights Cards Effects */
div[style*="background-color: rgba(255, 255, 255, 0.05)"] {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

div[style*="background-color: rgba(255, 255, 255, 0.05)"]:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 51, 102, 0.08) !important;
    border-color: rgba(255, 51, 102, 0.4) !important;
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.15);
    backdrop-filter: blur(12px);
}

/* Festival Tags Effects */
div[style*="background-color: rgba(255, 51, 102, 0.15)"] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

div[style*="background-color: rgba(255, 51, 102, 0.15)"]:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

div[style*="background-color: rgba(255, 51, 102, 0.15)"]:hover:before {
    left: 100%;
}

div[style*="background-color: rgba(255, 51, 102, 0.15)"]:hover {
    transform: translateY(-2px) scale(1.05);
    background-color: rgba(255, 51, 102, 0.25) !important;
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.2);
}

/* Material Visual Cards Effects */
div[style*="border: 1px solid rgba(255, 255, 255, 0.1)"] {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

div[style*="border: 1px solid rgba(255, 255, 255, 0.1)"]:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 51, 102, 0.4) !important;
    background-color: rgba(255, 51, 102, 0.05) !important;
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.15);
    backdrop-filter: blur(10px);
}

/* Contact Cards Effects */
div[style*="border: 1px solid rgba(255, 51, 102, 0.3)"] {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* VISUALIZERS NAVIGATION - MISSING STYLES */
.visualizers-nav {
    position: relative;
    display: block;
}

.visualizers-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 51, 102, 0.4);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.visualizers-nav-btn:hover {
    background: rgba(255, 51, 102, 0.8);
    border-color: rgba(255, 51, 102, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.visualizers-nav-btn.prev { 
    left: 10px; 
}

.visualizers-nav-btn.next { 
    right: 10px; 
}

.visualizers-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.visualizers-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.visualizers-dot.active {
    background: #ff3366;
    transform: scale(1.2);
}

.visualizers-dot:hover {
    background: rgba(255, 51, 102, 0.7);
}


/* Videos Destacados - Equal hover effects */
a[href*="instagram.com/reel"]:hover,
a[href*="youtube.com/watch"]:hover {
    transform: scale(1.05) !important;
    border-color: rgba(255, 51, 102, 0.8) !important;
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4) !important;
}

/* Navigation Tabs Effects */
.nav-tab {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-tab:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff3366, transparent);
    transition: left 0.4s;
}

.nav-tab:hover:before {
    left: 100%;
}

.nav-tab:hover {
    transform: translateY(-2px);
    color: #ff3366;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
}

/* All Links General Shimmer Effect */
a:not([style*="font-size: clamp(9px"]):not(.nav-tab) {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

a:not([style*="font-size: clamp(9px"]):not(.nav-tab):before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

a:not([style*="font-size: clamp(9px"]):not(.nav-tab):hover:before {
    left: 100%;
}

/* Subtle glow for interactive elements */
div:hover[style*="background"] {
    filter: brightness(1.1);
}

/* Accessibility Improvements */
/* Improve contrast for better readability */
*[style*="color: #a0a0a0"] {
    color: #c0c0c0 !important; /* Better contrast than #a0a0a0 */
}

/* Focus states for keyboard navigation */
.nav-tab:focus,
.export-btn:focus,
.audio-speaker:focus,
button:focus,
a:focus {
    outline: 3px solid #ff3366;
    outline-offset: 3px;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
}

/* Focus visible only on keyboard navigation */
.nav-tab:focus-visible,
.export-btn:focus-visible,
.audio-speaker:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid #ff3366;
    outline-offset: 3px;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.7);
}

/* Remove focus outline on mouse click */
.nav-tab:focus:not(:focus-visible),
.export-btn:focus:not(:focus-visible),
.audio-speaker:focus:not(:focus-visible),
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}


/* High contrast mode support */
@media (prefers-contrast: high) {
    * {
        filter: contrast(1.2);
    }
    
    /* Red line removed */
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* MOBILE OPTIMIZATION - COMPREHENSIVE */
@media (max-width: 768px) {
    /* Base mobile optimizations */
    body {
        font-size: 16px !important; /* Prevent zoom on iOS */
        line-height: 1.5;
    }
    
    /* Ensure all interactive elements are touch-friendly */
    button, a, .interactive-element, .nav-tab, .export-btn {
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 12px !important;
        touch-action: manipulation;
    }
    
    /* Optimize slide content for mobile */
    .slide-content {
        padding: 20px 15px !important;
        max-width: 100% !important;
    }
    
    /* Typography mobile adjustments */
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .section-content {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
        line-height: 1.6 !important;
    }
    
    /* Disable intensive animations on mobile for performance */
    .slide-background {
        animation: none !important;
        will-change: auto !important;
    }
    
    /* Mobile-specific layout fixes */
    .slides-container {
        overflow-x: hidden !important;
    }
    
    /* Image optimizations for mobile */
    img, video {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Videos habilitados en móvil - se muestran covers por defecto y videos al tocar */
}

/* Small phones specific optimizations */
@media (max-width: 480px) {
    /* Even more conservative sizing for small screens */
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        margin-bottom: 12px !important;
    }
    
    .section-content {
        font-size: clamp(0.85rem, 3vw, 1rem) !important;
    }
    
    .slide-content {
        padding: 15px 10px !important;
    }
    
    /* Ensure navigation is usable on very small screens */
    .nav-tabs {
        padding: 8px 5px !important;
    }
}

/* Audio Speaker y Language Selector - Boxes iguales */
.audio-speaker,
#language-selector {
    padding: 10px 15px !important;
    margin: 0 2px !important;
    background-color: rgba(255, 51, 102, 0.1) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 51, 102, 0.3) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    position: static !important;
    transform: none !important;
}

.audio-speaker:hover,
#language-selector:hover {
    background-color: rgba(255, 51, 102, 0.2) !important;
    border-color: rgba(255, 51, 102, 0.6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3) !important;
}

.audio-speaker.playing {
    background-color: rgba(255, 51, 102, 0.3) !important;
    border-color: rgba(255, 51, 102, 0.8) !important;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.4) !important;
}

#lang-select {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

#language-selector .fas.fa-globe,
.audio-speaker i {
    pointer-events: none !important;
    font-size: 16px !important;
    color: #ff3366 !important;
    transition: all 0.3s ease !important;
}

.audio-speaker.playing i {
    color: #fff !important;
    animation: speakerPulse 1.5s ease-in-out infinite !important;
}

/* Responsive para Audio Speaker y Language Selector */
@media (max-width: 768px) {
    .audio-speaker,
    #language-selector {
        padding: 8px 12px !important;
        font-size: 12px !important;
        gap: 4px !important;
    }
    
    .audio-speaker i,
    #language-selector .fas.fa-globe {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .audio-speaker,
    #language-selector {
        padding: 6px 8px !important;
        font-size: 10px !important;
    }
    
    .audio-speaker i,
    #language-selector .fas.fa-globe {
        font-size: 12px !important;
    }
}

/* Audio Preview System */
.track-preview, .video-preview {
    position: relative;
    transition: all 0.3s ease;
}

.track-preview:hover, .video-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3);
}

.track-preview.playing::before {
    content: "♪";
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: rgba(255, 51, 102, 0.7);
    animation: musicNote 1s ease-in-out infinite;
    filter: drop-shadow(0 0 3px rgba(255, 51, 102, 0.3));
}

.video-preview.playing::after {
    content: "🔊";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    animation: soundWave 1s ease-in-out infinite;
    z-index: 2;
}

@keyframes musicNote {
    0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

@keyframes soundWave {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Video hover unmute effects */
.video-hover-unmute {
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-hover-unmute:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
}

.video-hover-unmute::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 51, 102, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.video-hover-unmute:hover::after {
    opacity: 0.8;
    content: "♪";
    color: rgba(255, 51, 102, 0.9);
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

/* Preview audio elements (hidden) */
.preview-audio {
    display: none;
}

/* Hover states for previews */
.track-preview:hover {
    background-color: rgba(255, 51, 102, 0.1);
    border-radius: 4px;
}

.video-preview:hover {
    filter: brightness(1.1);
}

/* Loading indicator for previews */
.preview-loading::before {
    content: "⏳";
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}


/* Mobile Touch States */
@media (hover: none) and (pointer: coarse) {
    /* Mobile-specific touch states */
    .nav-tab:active {
        background: rgba(255, 51, 102, 0.3) !important;
        transform: scale(0.95);
    }
    
    .export-btn:active {
        background: rgba(255, 51, 102, 0.5) !important;
        transform: scale(0.95);
    }
    
    .audio-speaker:active,
    #language-selector:active {
        background-color: rgba(255, 51, 102, 0.4) !important;
        transform: translateY(-2px) scale(0.95) !important;
    }
    
    /* Remove hover effects that don't work on mobile */
    *:hover {
        transform: none !important;
        box-shadow: none !important;
        border-color: initial !important;
        background-color: initial !important;
    }
    
    /* Keep only the important interactive states */
    .nav-tab.active,
    .audio-speaker.playing {
        transform: none !important;
    }
    
    /* Touch-friendly sizing */
    .nav-tab {
        min-height: 44px;
        min-width: 44px;
    }
    
    .export-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .audio-speaker,
    #language-selector {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Mobile tap highlight */
    * {
        -webkit-tap-highlight-color: rgba(255, 51, 102, 0.3);
    }
}

/* Photo Gallery Carousel Styles */
.photo-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: clamp(200px, 35vh, 300px);
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 51, 102, 0.3);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
    padding: clamp(8px, 2vw, 12px);
    color: #fff;
    font-size: clamp(10px, 2vw, 14px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 51, 102, 0.4);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 51, 102, 0.3);
    border-color: #ff3366;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-nav i {
    color: #fff;
    font-size: 16px;
}

.carousel-indicators {
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #ff3366;
    transform: scale(1.2);
}

/* Festival Images Popup */
.festival-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.festival-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
}

.festival-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.festival-popup.active {
    display: flex;
}

.festival-popup-content {
    position: relative;
    max-width: 35%;
    max-height: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popupFadeIn 0.3s ease-out;
}

.festival-popup-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: 12px;
    border: 2px solid #ff3366;
    box-shadow: 0 20px 60px rgba(255, 51, 102, 0.3);
}

.festival-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 51, 102, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.festival-popup-close:hover {
    background: #ff3366;
    transform: scale(1.1);
}

/* Member Profile Popup */
.member-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    z-index: 1500;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}


.member-popup.active {
    display: block;
    animation: memberPopupFadeIn 0.3s ease-out;
}

.member-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    pointer-events: auto;
}

.member-popup-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    border: 3px solid #ff3366;
    box-shadow: 0 15px 40px rgba(255, 51, 102, 0.4);
}

@keyframes memberPopupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* MATERIAL SECTION - REMOVE CONFLICTING VISUALIZER RULES */
/* All visualizer rules consolidated in material.css */

/* YouTube Visualizers Grid */
.visualizers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(8px, 1.5vw, 12px);
    margin-top: clamp(10px, 2vh, 15px);
    margin-bottom: 0 !important; /* Sin margin bottom para no pisarse */
    flex: 1 !important; /* Ocupar espacio restante */
    align-content: start !important;
}

.visualizer-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: clamp(85px, 15vh, 100px) !important; /* Más pequeño para que encajen los 8 */
    position: relative;
    text-decoration: none;
    color: inherit;
}

.visualizer-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 51, 102, 0.6);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.3);
}

.visualizer-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    pointer-events: none; /* Permite que el click pase al enlace padre */
}

/* Asegurar que todos los elementos dentro del visualizer permitan el click */
.visualizer-overlay,
.visualizer-play-icon {
    pointer-events: none; /* Permitir que el click pase al enlace padre */
}

/* ===================================================
   MOBILE FRAMEWORK PROFESIONAL - OVERRIDE COMPLETE
   =================================================== */
@media (max-width: 768px) {
    /* RESET COMPLETO - NIVEL ENTERPRISE */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow-x: hidden !important;
        font-size: 16px !important;
        -webkit-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
        box-sizing: border-box !important;
    }
    
    *, *::before, *::after {
        box-sizing: border-box !important;
    }
    
    /* ESTRUCTURA MÓVIL PROFESIONAL */
    .slides-container {
        position: relative !important;
        width: 100vw !important;
        height: 100vh !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 80px 20px 100px 20px !important;
        margin: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .slide:not(.active) {
        transform: translateX(100%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .slide.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* CONTENIDO MÓVIL OPTIMIZADO */
    .slide-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-bottom: 200px !important; /* Maximum space at bottom for mobile */
        min-height: 120vh !important; /* Force content to be taller than viewport */
        padding: 0 !important;
        text-align: center !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    /* TYPOGRAPHY MÓVIL - ENTERPRISE GRADE */
    .section-title {
        font-size: clamp(26px, 7vw, 36px) !important;
        line-height: 1.2 !important;
        margin: 0 0 24px 0 !important;
        padding: 0 !important;
        color: #ffffff !important;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.9) !important;
        font-weight: 700 !important;
        text-align: center !important;
        letter-spacing: 1px !important;
    }
    
    .section-content {
        font-size: clamp(15px, 4vw, 18px) !important;
        line-height: 1.7 !important;
        color: rgba(255,255,255,0.95) !important;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.8) !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    /* NAVEGACIÓN MÓVIL - SOLO TABS */
    .nav-container {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 80px !important;
        background: linear-gradient(0deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.85) 100%) !important;
        backdrop-filter: blur(20px) !important;
        z-index: 10000 !important;
        border-top: 2px solid rgba(255, 51, 102, 0.4) !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.5) !important;
        padding: 8px !important;
        margin: 0 !important;
    }
    
    .nav-tabs {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 4px !important;
        height: 100% !important;
        width: 100% !important;
        align-items: center !important;
    }
    
    .nav-tab {
        height: 56px !important;
        min-height: 56px !important;
        background: rgba(255, 51, 102, 0.15) !important;
        border: 2px solid rgba(255, 51, 102, 0.3) !important;
        border-radius: 8px !important;
        color: #ffffff !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 4px 2px !important;
        line-height: 1.1 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        transition: all 0.2s ease !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        position: relative !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    .nav-tab.active {
        background: linear-gradient(135deg, rgba(255, 51, 102, 0.9) 0%, rgba(255, 51, 102, 0.7) 100%) !important;
        border-color: rgba(255, 51, 102, 1) !important;
        color: #000000 !important;
        font-weight: 700 !important;
        transform: scale(1.02) !important;
        box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4) !important;
    }
    
    .nav-tab:active {
        transform: scale(0.95) !important;
    }
    
    /* CONTROLES SEPARADOS - TOP */
    .audio-speaker,
    #language-selector {
        position: fixed !important;
        top: 20px !important;
        z-index: 9999 !important;
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border: 2px solid rgba(255, 51, 102, 0.5) !important;
        border-radius: 8px !important;
        color: #ffffff !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .audio-speaker {
        left: 20px !important;
    }
    
    #language-selector {
        right: 20px !important;
    }
    
    /* OCULTAR EXPORT EN MÓVIL */
    .export-container {
        display: none !important;
    }
    
    /* GRIDS MÓVIL OPTIMIZADOS */
    .visualizers-grid,
    .singles-grid,
    .festivals-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        margin: 24px 0 120px 0 !important; /* Maximum bottom margin to prevent cutoff */
        width: 100% !important;
        max-width: 100% !important;
        /* Fix container overflow issue */
        contain: layout style !important;
        overflow: hidden !important;
        /* iOS hardware acceleration */
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
    }
    
    .visualizer-card,
    .single-card,
    .festival-card {
        height: 120px !important; /* Fixed height to prevent overflow */
        min-height: 120px !important;
        max-height: 120px !important; /* Prevent expansion */
        border-radius: 12px !important;
        overflow: hidden !important;
        border: 2px solid rgba(255, 51, 102, 0.3) !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(5px) !important;
        position: relative !important; /* Ensure proper positioning context */
        display: block !important; /* Ensure proper display */
        /* iOS hardware acceleration for cards */
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        -webkit-perspective: 1000px !important;
        perspective: 1000px !important;
    }
    
    /* Extra space after visualizers section specifically */
    .visualizers-grid::after {
        content: '';
        display: block;
        height: 100px;
        width: 100%;
    }
    
    /* iOS Safari specific fix for bottom cutoff */
    @supports (-webkit-touch-callout: none) {
        .slide-content {
            padding-bottom: 300px !important; /* Extra padding for iOS */
            min-height: 130vh !important; /* Even taller for iOS */
        }
        
        .visualizers-grid,
        .singles-grid,
        .festivals-grid {
            margin-bottom: 150px !important; /* Extra margin for iOS */
        }
        
        /* Add extra safe area padding for iOS */
        body {
            padding-bottom: env(safe-area-inset-bottom, 20px) !important;
        }
    }
    
    /* === PATCH: Singles cuadrados en mobile (Slide 2) === */
    @media (max-width: 768px) {
        /* Contenedor del single: cuadrado y tamaño fluido */
        #slide-2 .video-hover-unmute {
            width: clamp(110px, 40vw, 180px) !important;
            aspect-ratio: 1 / 1 !important;
            height: auto !important;
            min-height: 0 !important;   /* anula el clamp previo */
            max-width: 100% !important;
            position: relative !important;
            overflow: hidden !important;
            border-radius: 12px !important;
        }

        /* Medios internos ya están absolute + cover, lo reforzamos */
        #slide-2 .video-hover-unmute img,
        #slide-2 .video-hover-unmute video {
            position: absolute !important;
            inset: 0 !important;
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
        }
    }
    
    /* Específico fix para visualizer videos en móvil */
    .visualizer-card video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        display: block !important; /* Force video to show */
        /* iOS Safari video rendering fixes */
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        border-radius: 12px !important;
        background-color: #000 !important; /* Fallback background */
    }
    
    /* iOS Safari video rendering fix - SOLO para visualizers */
    @supports (-webkit-touch-callout: none) {
        .visualizer-card {
            -webkit-transform: translateZ(0) !important;
            transform: translateZ(0) !important;
        }
        
        .visualizer-card video {
            -webkit-transform: translateZ(0) !important;
            transform: translateZ(0) !important;
            will-change: transform !important;
        }
    }
    
    /* PERFORMANCE Y OPTIMIZACIÓN */
    .slide-background {
        animation: none !important;
        will-change: auto !important;
        transform: none !important;
    }
    
    video[autoplay] {
        display: none !important;
    }
    
    video[autoplay] + img {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        z-index: 0 !important;
    }
    
    /* TOUCH OPTIMIZATION */
    button, a, .interactive-element, .clickable {
        min-height: 48px !important;
        min-width: 48px !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(255, 51, 102, 0.2) !important;
    }
    
    /* SCROLLING OPTIMIZATION */
    .slide-content {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        min-height: calc(100vh - 60px) !important; /* Ensure full viewport minus navbar */
        padding-bottom: 150px !important; /* Generous bottom padding */
    }
    
    /* LANDSCAPE MOBILE OPTIMIZATION */
    @media (orientation: landscape) and (max-height: 500px) {
        .slide {
            padding: 60px 20px 80px 20px !important;
        }
        
        .nav-container {
            height: 70px !important;
        }
        
        .nav-tab {
            height: 46px !important;
            font-size: 10px !important;
        }
        
        .section-title {
            font-size: clamp(22px, 6vw, 28px) !important;
            margin: 0 0 16px 0 !important;
        }
        
        .section-content {
            font-size: clamp(13px, 3.5vw, 16px) !important;
        }
    }
}

.visualizer-card:hover video {
    transform: scale(1.05);
}

.visualizer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
    padding: clamp(4px, 1vw, 6px);
    color: #fff;
    font-size: clamp(7px, 1.5vw, 9px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.1;
}

.visualizer-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(20px, 4vw, 28px);
    height: clamp(20px, 4vw, 28px);
    background: rgba(255, 51, 102, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.visualizer-card:hover .visualizer-play-icon {
    opacity: 1;
}

.visualizer-play-icon i {
    color: #fff;
    font-size: clamp(10px, 2.5vw, 14px);
}

/* Hover effect for YouTube icon */
.visualizer-card:hover .visualizer-play-icon {
    opacity: 1;
    background: rgba(255, 0, 0, 0.9); /* YouTube red */
}

.visualizer-card:hover .visualizer-play-icon i {
    color: #fff;
}

/* Print Styles */
@media print {
    body { overflow: visible !important; }
    .nav-container, .export-container, .audio-speaker { display: none !important; }
    .slides-container { margin-top: 0 !important; }
    .slide { position: static !important; opacity: 1 !important; transform: none !important; page-break-after: always; }
    .slide:last-child { page-break-after: avoid; }
}

/* Developer Credits - Solo en Contacto */
.dev-credits-contact {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 8px;
    z-index: 45;
    padding: 6px 10px;
    font-size: 9px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    max-width: 90%;
}

.dev-credits-contact:hover {
    opacity: 1;
}

.credits-content-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.credits-dev a {
    color: #ff3366;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.credits-dev a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 51, 102, 0.8);
}

.credits-separator {
    color: rgba(255, 51, 102, 0.5);
    font-weight: 300;
}

.credits-media {
    font-style: italic;
}

.credits-more {
    color: #ff3366;
    cursor: pointer;
    font-weight: bold;
    margin-left: 10px;
    transition: all 0.3s ease;
    padding: 2px 6px;
    border-radius: 50%;
    background: rgba(255, 51, 102, 0.1);
}

.credits-more:hover {
    background: rgba(255, 51, 102, 0.3);
    transform: scale(1.1);
}

/* Responsive credits */
@media (max-width: 768px) {
    .dev-credits-contact {
        bottom: 70px;
        font-size: 8px;
        padding: 5px 8px;
        max-width: 95%;
    }
    
    .credits-content-contact {
        flex-direction: column;
        gap: 3px;
        text-align: center;
    }
    
    .credits-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .dev-credits-contact {
        bottom: 60px;
        font-size: 7px;
        padding: 4px 6px;
        max-width: 98%;
    }
    
    .credits-content-contact {
        gap: 2px;
    }
}

/* Credits Modal */
.credits-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.credits-modal.show {
    display: flex;
}

.credits-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(255, 51, 102, 0.3);
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(255, 51, 102, 0.2);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 51, 102, 0.3) transparent;
}

.credits-modal-content::-webkit-scrollbar {
    width: 6px;
}

.credits-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.credits-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.4), rgba(255, 51, 102, 0.6));
    border-radius: 10px;
    transition: all 0.3s ease;
}

.credits-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.6), rgba(255, 51, 102, 0.8));
}

.credits-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 51, 102, 0.1);
}

.credits-modal-header h3 {
    color: #ff3366;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    margin: 0;
    letter-spacing: 1px;
}

.credits-modal-close {
    background: rgba(255, 51, 102, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.credits-modal-close:hover {
    background: #ff3366;
    transform: scale(1.1);
}

.credits-modal-body {
    padding: 25px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

.credit-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 51, 102, 0.05);
}

.credit-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.credit-section h4 {
    color: #ff3366;
    font-size: 16px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.credit-section p {
    margin: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.credit-section strong {
    color: #fff;
    font-weight: 600;
}

.credit-tech {
    background: rgba(255, 51, 102, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #ff3366;
    margin-top: 20px;
}

.credit-tech p {
    margin: 5px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Credits Modal */
@media (max-width: 768px) {
    .credits-modal-content {
        margin: 20px;
        max-height: 90vh;
    }
    
    .credits-modal-header {
        padding: 15px 20px;
    }
    
    .credits-modal-header h3 {
        font-size: 20px;
    }
    
    .credits-modal-body {
        padding: 20px;
    }
}

/* Newsletter Subscription Modal */
.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.newsletter-modal.show {
    display: flex;
    opacity: 1;
}

.newsletter-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.95));
    border: 2px solid #ff3366;
    border-radius: 15px;
    padding: clamp(20px, 4vw, 40px);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(255, 51, 102, 0.3);
    animation: modalSlideIn 0.5s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.newsletter-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ff3366;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.newsletter-close:hover {
    color: #fff;
}

.newsletter-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(20px, 4vw, 28px);
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.newsletter-subtitle {
    color: #ff3366;
    font-size: clamp(14px, 2.5vw, 18px);
    margin-bottom: 20px;
    font-weight: 600;
}

.newsletter-description {
    color: #ccc;
    font-size: clamp(12px, 2vw, 14px);
    margin-bottom: 25px;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #ff3366;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input::placeholder {
    color: #aaa;
}

.newsletter-submit {
    background: linear-gradient(135deg, #ff3366, #cc1a4d);
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-submit:hover {
    background: linear-gradient(135deg, #cc1a4d, #ff3366);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4);
}

.newsletter-submit:active {
    transform: translateY(0);
}

.newsletter-submit:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.newsletter-benefits {
    text-align: left;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 51, 102, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ff3366;
}

.newsletter-benefits h4 {
    color: #ff3366;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.newsletter-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #ddd;
}

.newsletter-benefits li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.newsletter-benefits li::before {
    content: "🎸";
    position: absolute;
    left: 0;
    font-size: 10px;
}

.newsletter-success {
    display: none;
    color: #4CAF50;
    font-size: 14px;
    margin-top: 15px;
    font-weight: 600;
}

.newsletter-error {
    display: none;
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 15px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .newsletter-content {
        margin: 20px;
        padding: 25px;
    }
    
    .newsletter-form {
        gap: 12px;
    }
}

/* Newsletter Navigation Button */
.newsletter-nav-btn {
    padding: 10px 15px;
    margin: 0 2px;
    background-color: rgba(255, 51, 102, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 51, 102, 0.4);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.newsletter-nav-btn:hover {
    background-color: rgba(255, 51, 102, 0.3);
    border-color: rgba(255, 51, 102, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3);
}

.newsletter-nav-btn:active {
    transform: translateY(0);
}

.newsletter-nav-btn i {
    font-size: 14px;
    color: #ff3366;
    transition: all 0.3s ease;
}

.newsletter-nav-btn:hover i {
    color: #fff;
    animation: envelopePulse 0.6s ease-in-out;
}

@keyframes envelopePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Shimmer effect on hover */
.newsletter-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.newsletter-nav-btn:hover::before {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter-nav-btn {
        padding: 8px 12px;
        font-size: 10px;
        gap: 4px;
    }
    
    .newsletter-nav-btn i {
        font-size: 12px;
    }
    
    .newsletter-nav-btn span {
        display: none; /* Hide text on small screens, keep icon */
    }
}

@media (max-width: 480px) {
    .newsletter-nav-btn {
        padding: 6px 8px;
        min-width: 44px; /* Touch-friendly minimum */
        justify-content: center;
    }
    
    .newsletter-nav-btn i {
        font-size: 14px;
    }
}

/* Focus states for newsletter button */
.newsletter-nav-btn:focus,
.newsletter-nav-btn:focus-visible {
    outline: 3px solid #ff3366;
    outline-offset: 3px;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.7);
}

.newsletter-nav-btn:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Subtle animation when newsletter is available */
.newsletter-nav-btn {
    animation: subtleGlow 4s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 51, 102, 0.1);
    }
    50% { 
        box-shadow: 0 0 10px rgba(255, 51, 102, 0.2);
    }
}

/* Stop animation on hover */
.newsletter-nav-btn:hover {
    animation: none;
}

/* ========================================
   VISUALIZER MOBILE - SHOW TRACK IMAGES INSTEAD OF VIDEOS
   ======================================== */
@media (max-width: 768px) {
    #slide-4 .visualizer-card {
        position: relative !important;
        overflow: hidden !important;
        background: #000 !important;
        width: 100% !important;
        aspect-ratio: 16/9 !important;
        display: block !important;
    }
    
    /* Hide videos on mobile */
    #slide-4 .visualizer-card video {
        display: none !important;
    }
    
    /* Show track images as backgrounds - cada visualizer con su imagen correcta */
    #slide-4 .visualizers-grid .visualizer-card:nth-child(1) {
        background: url("../img/singles/dorothy.webp") center/cover !important;
    }
    
    #slide-4 .visualizers-grid .visualizer-card:nth-child(2) {
        background: url("../img/singles/metal.webp") center/cover !important;
    }
    
    #slide-4 .visualizers-grid .visualizer-card:nth-child(3) {
        background: url("../img/singles/ya-no-hay-tiempo.webp") center/cover !important;
    }
    
    #slide-4 .visualizers-grid .visualizer-card:nth-child(4) {
        background: url("../img/singles/la-cumbia-del-infierno.webp") center/cover !important;
    }
    
    #slide-4 .visualizers-grid .visualizer-card:nth-child(5) {
        background: url("../img/singles/sputnik-vida.webp") center/cover !important;
    }
    
    #slide-4 .visualizers-grid .visualizer-card:nth-child(6) {
        background: url("../img/singles/los-polvorines.webp") center/cover !important;
    }
    
    #slide-4 .visualizers-grid .visualizer-card:nth-child(7) {
        background: url("../img/singles/satana-anton-rafael-benitez.webp") center/cover !important;
    }
    
    #slide-4 .visualizers-grid .visualizer-card:nth-child(8) {
        background: url("../img/singles/proteccion-uv.webp") center/cover !important;
    }
    
    /* Específico para iPhone - fuerza los backgrounds correctos */
    @media (min-width: 375px) and (max-width: 414px) {
        #slide-4 .visualizers-grid .visualizer-card:nth-child(1) {
            background: url("../img/singles/dorothy.webp") center/cover !important;
        }
        
        #slide-4 .visualizers-grid .visualizer-card:nth-child(2) {
            background: url("../img/singles/metal.webp") center/cover !important;
        }
        
        #slide-4 .visualizers-grid .visualizer-card:nth-child(3) {
            background: url("../img/singles/ya-no-hay-tiempo.webp") center/cover !important;
        }
        
        #slide-4 .visualizers-grid .visualizer-card:nth-child(4) {
            background: url("../img/singles/la-cumbia-del-infierno.webp") center/cover !important;
        }
        
        #slide-4 .visualizers-grid .visualizer-card:nth-child(5) {
            background: url("../img/singles/sputnik-vida.webp") center/cover !important;
        }
        
        #slide-4 .visualizers-grid .visualizer-card:nth-child(6) {
            background: url("../img/singles/los-polvorines.webp") center/cover !important;
        }
        
        #slide-4 .visualizers-grid .visualizer-card:nth-child(7) {
            background: url("../img/singles/satana-anton-rafael-benitez.webp") center/cover !important;
        }
        
        #slide-4 .visualizers-grid .visualizer-card:nth-child(8) {
            background: url("../img/singles/proteccion-uv.webp") center/cover !important;
        }
    }
    
    #slide-4 .visualizer-overlay {
        z-index: 2 !important;
        pointer-events: none !important;
        background: linear-gradient(transparent, rgba(0,0,0,0.8)) !important;
    }
    
    #slide-4 .visualizer-play-icon {
        z-index: 3 !important;
        pointer-events: none !important;
        color: #ff3366 !important;
        font-size: clamp(20px, 5vw, 24px) !important;
    }
}

/* ========================================
   VISUALIZERS TITLE - ADD SPACING
   ======================================== */
.material-right-section .material-section-title[data-i18n="material_visual.visualizers_title"] {
    margin-top: clamp(24px, 5vh, 40px) !important;
}

/* ========================================
   TRACK TITLES BELOW BOXES
   ======================================== */
.track-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(10px, 2vw, 12px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-top: 5px;
    line-height: 1.2;
    text-transform: none;
}

/* ========================================
   VISUALIZER TITLES BELOW BOXES
   ======================================== */
.visualizer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visualizer-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(10px, 2vw, 12px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-top: 5px;
    line-height: 1.2;
    text-transform: none;
}
