/* ===== ESTILOS PARA LA SECCIÓN DE MÚSICA NAVIDEÑA ===== */
        
        /* Importar fuentes necesarias */
        @import url('https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');
        
        /* Importar FontAwesome para los iconos */
        @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

        /* Contenedor principal de la sección */
        #musica {
            background: linear-gradient(135deg, #0d2240 0%, #1a472a 100%);
            padding: 4rem 2rem;
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            margin: 3rem auto;
            max-width: 1200px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        #musica::before {
            content: "🎵";
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 4rem;
            opacity: 0.1;
            z-index: 0;
        }

        #musica::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 20% 80%, rgba(255, 179, 71, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(196, 30, 58, 0.1) 0%, transparent 50%);
            z-index: 0;
        }

        /* Título de la sección */
        #musica .section-title {
            text-align: center;
            color: #ffb347;
            font-family: 'Mountains of Christmas', cursive;
            font-size: 3rem;
            margin-bottom: 3rem;
            position: relative;
            z-index: 1;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        #musica .section-title::after {
            content: "";
            display: block;
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #ffb347, #c41e3a);
            margin: 15px auto;
            border-radius: 2px;
        }

        /* Contenedor de la playlist */
        #music-playlist {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            min-height: 400px; /* Altura mínima para evitar que se colapse */
        }

        /* Elementos individuales de audio */
        #music-playlist audio {
            display: none; /* Ocultamos el reproductor nativo */
        }

        /* Estilos para controles de audio personalizados */
        .audio-player {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 179, 71, 0.3);
            border-radius: 15px;
            padding: 1.5rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 1.5rem;
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: fadeIn 0.5s forwards;
            animation-delay: calc(var(--i, 0) * 0.1s);
        }

        @keyframes fadeIn {
            to { opacity: 1; }
        }

        .audio-player:hover {
            transform: translateY(-5px);
            border-color: #ffb347;
            box-shadow: 0 8px 20px rgba(255, 179, 71, 0.2);
            background: rgba(255, 255, 255, 0.15);
        }

        .audio-player.playing {
            border-color: #c41e3a;
            background: rgba(196, 30, 58, 0.1);
        }

        .audio-player::before {
            content: "🎄";
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 2rem;
            opacity: 0.3;
        }

        /* Botón de play/pause */
        .play-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ffb347, #c41e3a);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .play-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 0 20px rgba(255, 179, 71, 0.5);
        }

        .play-btn.playing {
            background: linear-gradient(135deg, #c41e3a, #ffb347);
        }

        /* Información de la canción */
        .song-info {
            flex: 1;
            min-width: 0;
        }

        .song-title {
            color: white;
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-family: 'Poppins', sans-serif;
        }

        .song-meta {
            display: flex;
            gap: 1rem;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            font-family: 'Poppins', sans-serif;
        }

        /* Barra de progreso */
        .progress-container {
            flex: 2;
            min-width: 200px;
            position: relative;
            height: 30px;
        }

        .progress-bar {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            margin-top: 10px;
        }

        .progress {
            height: 100%;
            background: linear-gradient(90deg, #ffb347, #c41e3a);
            width: 0%;
            border-radius: 3px;
            transition: width 0.1s linear;
        }

        .time-display {
            display: flex;
            justify-content: space-between;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.8rem;
            margin-top: 5px;
        }

        /* Controles de volumen */
        .volume-control {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-shrink: 0;
        }

        .volume-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.2rem;
            cursor: pointer;
            padding: 5px;
        }

        .volume-slider {
            width: 80px;
            height: 4px;
            -webkit-appearance: none;
            appearance: none;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            outline: none;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: #ffb347;
            cursor: pointer;
            transition: background 0.3s;
        }

        .volume-slider::-webkit-slider-thumb:hover {
            background: #c41e3a;
        }

        /* Animación de notas musicales */
        .music-notes {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            z-index: 0;
        }

        .note {
            position: absolute;
            font-size: 1.5rem;
            opacity: 0;
            animation: floatNote 3s linear infinite;
            color: #ffb347;
        }

        .note:nth-child(1) { animation-delay: 0s; left: 10%; }
        .note:nth-child(2) { animation-delay: 0.5s; left: 30%; }
        .note:nth-child(3) { animation-delay: 1s; left: 50%; }
        .note:nth-child(4) { animation-delay: 1.5s; left: 70%; }
        .note:nth-child(5) { animation-delay: 2s; left: 90%; }

        @keyframes floatNote {
            0% {
                transform: translateY(100px) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }

        /* Mensaje de carga */
        .loading-message {
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            padding: 2rem;
            font-style: italic;
        }

        /* Estado cuando no hay archivos de audio */
        .no-audio-message {
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            padding: 3rem;
            font-size: 1.2rem;
            font-style: italic;
        }

        /* Responsive */
        @media (max-width: 768px) {
            #musica {
                padding: 2rem 1rem;
                margin: 2rem 1rem;
            }
            
            #musica .section-title {
                font-size: 2.2rem;
            }
            
            .audio-player {
                flex-direction: column;
                gap: 1rem;
                padding: 1.2rem;
            }
            
            .play-btn {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }
            
            .progress-container {
                min-width: 100%;
            }
            
            .song-info {
                text-align: center;
            }
            
            .song-meta {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            #musica .section-title {
                font-size: 1.8rem;
            }
            
            .song-title {
                font-size: 1.1rem;
            }
        }