/* Sistema de fuentes con fallback */
@font-face {
    font-family: 'Roboto Mono', Consolas, Monaco, 'Courier New', monospace;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto Mono'),
         url('https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2') format('woff2');
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Roboto Mono', monospace;
}

.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #29046D;
    /* Color de respaldo */
    animation: zoomInOut 20s ease-in-out infinite;
}

.bg-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/bg-web.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: zoomInOut 20s ease-in-out infinite;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Media Queries para diferentes dispositivos */
@media (max-width: 768px) {
    .bg-animated::before {
        background-size: cover;
        background-position: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .bg-animated::before {
        background-size: cover;
        background-position: center;
    }
}

@media (min-width: 1025px) {
    .bg-animated::before {
        background-size: cover;
        background-position: center;
    }
}

/* LAYOUT DE MAIN */
.main-container {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Menú lateral */
#sideMenu {
    width: 20%;
    min-width: 250px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    border-right: solid 4px #4e851f;
    overflow-y: auto;
}

.player-radio {
    width: 80%;
    margin-left: 20%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.radio {
    position: relative;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.player {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    z-index: 7;
    overflow: hidden;
}

/* Media query para tablets y móviles */
@media screen and (max-width: 860px) {
    .player-radio {
        width: 100% !important;
        margin-left: 0 !important;
        padding-bottom: 60px;
        height: calc(100vh - 60px);
    }

    .radio {
        height: 100%;
        margin: 0;
        padding: 0;
    }

    .player {
        height: 100%;
        margin: 0;
        padding: 0;
    }

    .bottom-menu {
        height: 60px;
    }
}

/* Media query para tablets y móviles */
@media screen and (max-width: 860px) {
    .player-radio {
        width: 100% !important;
        margin-left: 0 !important;
    }


    .radio {
        position: relative;
        height: 95dvh;
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: auto;
    }

    .player {
        position: relative;
        margin: 0 auto;
        width: 100%;
        height: 100%;
    }
}

/* ESTILOS DE MENU Y BANNER*/

.menu-icon,
.close-icon {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 35px;
    color: #ffffff;
    cursor: pointer;
    z-index: 1100;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Opcional: para mejor visibilidad */
}

.menu-icon i,
.close-icon i {
    color: #ffffff;
}


#banner {
    background-color: #4e851f;
    /* Color amarillo */
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
}

#banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 10px 0;
    /* Padding interno arriba y abajo */
}

/* Contenedor de listas */
#sideMenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Ajuste de espaciado en los enlaces */
#sideMenu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    /* Reducido de 16px */
    padding: 8px 15px;
    /* Reducido de 15px */
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

#sideMenu ul li a:hover {
    background-color: #f5f5f5;
}

#sideMenu ul li a i {
    margin-right: 20px;
    width: 20px;
    text-align: center;
    font-size: 20px;
    /* Tamaño de iconos */
}

/* Separadores */
#sideMenu h3 {
    margin-left: 5px;
    background-color: #4e851f;
    border-radius: 8px 0px 0px 8px;
    color: #f5f5f5;
    padding: 8px 0px 8px 10px;
    font-size: 14px;
}

/* Media query para tablets y móviles */
@media screen and (max-width: 860px) {
    #sideMenu {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 280px;
    }

    #sideMenu.active {
        transform: translateX(0);
    }

    /* Mostrar icono de menú */
    .menu-icon {
        display: block;
    }

    /* El icono de cierre se mostrará mediante JavaScript */
    .close-icon.show {
        display: block;
    }
}


/* Estilos para los íconos flotantes */
.floating-icons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    z-index: 1000;
}

.floating-icons a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #000000;
    border: 2px solid #FFA500;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(0);
    pointer-events: none;
    position: absolute;
    bottom: 0;
    right: 0;
}

/* Estilo para el botón principal */
.floating-icons a:last-child {
    opacity: 1;
    transform: translateY(0);
    background: #ff4444;
    pointer-events: auto;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

/* Posiciones en línea vertical cuando está activo */
.floating-icons.active a:nth-last-child(2) {
    transform: translateY(-60px);
    opacity: 1;
    pointer-events: auto;
}

.floating-icons.active a:nth-last-child(3) {
    transform: translateY(-120px);
    opacity: 1;
    pointer-events: auto;
}

.floating-icons.active a:nth-last-child(4) {
    transform: translateY(-180px);
    opacity: 1;
    pointer-events: auto;
}

.floating-icons.active a:nth-last-child(5) {
    transform: translateY(-240px);
    opacity: 1;
    pointer-events: auto;
}

.floating-icons.active a:nth-last-child(6) {
    transform: translateY(-300px);
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 860px) {
    .floating-icons {
        display: none;
    }
}



#rowrigopauseplaywrapper {
    background-color: #4e851f;
    border-radius: 50%;
    max-width: 80px;
    max-height: 80px;
}



/* EXTRAS EDICION LUNA PLAYER */
#rowrigocoverwrapper {
    border-radius: 50% !important;
    /* Hacer circular la imagen */
    border: 10px solid #fffffffe !important;
    /* Borde blanco */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3) !important;
    /* Sombra */
    overflow: hidden !important;
}

#rowrigocoverwrapper1,
#rowrigocoverwrapper2 {
    border-radius: 50% !important;
    background-size: cover !important;
    background-position: center !important;
}


div#rowrigo div#rowrigocoverwrapper {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.lunaradiovisualizericon {
    display: none;
}

#rowrigobuttonanalyzer,
#rowrigoaudiopreloader {
    display: none;
}

.rowrigotextradionamespan {
    font-size: 2em;
    text-transform: uppercase;
}

.rowrigotexttitlespan {
    font-size: 25px;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .player {
        width: 100%;
    }
}


/* ICONO DE PLAY Y PAUSE DEL PLAYER */
#rowrigopauseplaywrapper {
    position: absolute !important;
    cursor: pointer !important;
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    border: #4e851f 6px solid;
    background: rgb(255, 255, 255) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#rowrigobuttonplay,
#rowrigobuttonpause {
    position: absolute !important;
    width: 80px !important;
    height: 80px !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.lunaradioplayicon,
.lunaradiopauseicon {
    width: 100% !important;
    height: 100% !important;
    fill: #4e851f !important;
    transition: fill 0.3s ease !important;
}

#rowrigoaudiopreloader {
    position: absolute !important;
    width: 90px !important;
    height: 90px !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    fill: #ffffff !important;
}

/* Efectos hover */
#rowrigopauseplaywrapper:hover .lunaradioplayicon,
#rowrigopauseplaywrapper:hover .lunaradiopauseicon {
    fill: #4e851f !important;
}

/* Animación al hacer click */
#rowrigopauseplaywrapper:active {
    transform: scale(0.95) !important;
}


/* ICONOS DE VOLUMEN*/

#rowrigovolumebackground {
    background: #98C309 !important;
    border-radius: 10px !important;
}

.lunaradiovolumeonicon {
    fill: #FFD700 !important;
    /* Color dorado */
    width: 60px !important;
    height: 60px !important;
    transition: fill 0.3s ease !important;
}

.lunaradiovolumeofficon {
    fill: #FFD700 !important;
    /* Color rojo */
    width: 60px !important;
    height: 60px !important;
    transition: fill 0.3s ease !important;
}

@media (max-width: 768px) {

    .lunaradiovolumeonicon,
    .lunaradiovolumeofficon {
        width: 40px !important;
        height: 40px !important;
    }
}


/* TITULOD DE LAS CANCIONES */
#rowrigotextradioname,
.rowrigotextradionamespan {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 40px !important;
    color: #4e851f !important;
    text-transform: uppercase !important;
    text-shadow: -1px -1px 0 #ffffff,
        1px -1px 0 #ffffff,
        -1px 1px 0 #ffffff,
        1px 1px 0 #ffffff !important;
    letter-spacing: 1px !important;
    font-weight: bold !important;
}

/* TITULOS DE CANCIONES */
#rowrigotexttitle,
.rowrigotexttitlespan {
    font-family: 'Roboto', sans-serif !important;
    font-size: 25px !important;
    color: #ffffff !important;
    text-shadow: -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000 !important;
    font-weight: 500 !important;
}

/* Animación MARQUEE */
.rowrigoMarquee {
    animation: marquee 15s linear infinite !important;
}

/* Efectos hover */
#rowrigotextradioname:hover,
.rowrigotextradionamespan:hover {
    color: #FFA500 !important;
    /* Naranja al hover */
    transition: color 0.3s ease !important;
}

#rowrigotexttitle:hover,
.rowrigotexttitlespan:hover {
    color: #FFD700 !important;
    /* Dorado al hover */
    transition: color 0.3s ease !important;
}

/* Media queries para responsividad */
@media (max-width: 768px) {

    #rowrigotextradioname,
    .rowrigotextradionamespan {
        font-size: 35px !important;
    }

    #rowrigotexttitle,
    .rowrigotexttitlespan {
        font-size: 20px !important;
    }
}


/* ESTILO MODALES DE VENTANAS */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0;
    overflow: hidden;
}

.modal-content {
    background: #000;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    height: auto;
    min-height: 200px;
    margin: 20px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
    overflow: hidden;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Ajustes responsivos para los modales */
@media (max-width: 768px) {
    .modal {
        background-color: #000;
    }
    
    .modal-content {
        width: 100%;
        height: auto;
        min-height: 100%;
        margin: 0;
        padding: 15px;
        border-radius: 0;
        overflow: hidden;
        box-shadow: none;
    }
}

/* MENU FOOTER MOBILE */
.bottom-menu {
    display: none; /* Oculto por defecto */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1200;
}

/* Mostrar menú móvil solo en pantallas menores a 860px */
@media screen and (max-width: 860px) {
    .bottom-menu {
        display: flex;
    }
}

/* Ocultar menú móvil en pantallas mayores a 860px */
@media screen and (min-width: 861px) {
    .bottom-menu {
        display: none;
    }
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    padding: 5px;
    transition: all 0.3s ease;
}

.menu-item i {
    font-size: 1.4em;
    margin-bottom: 5px;
}

.menu-item span {
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-item:hover,
.menu-item:active {
    color: #000;
    transform: translateY(-2px);
}

/* Ajuste para el contenido principal */
main {
    padding-bottom: 90px;
    /* Espacio para el menú inferior */
}

/* Media queries */
@media (max-width: 860px) {
    .bottom-menu {
        display: flex;
    }

    /* Ocultar menú lateral en tablet/mobile */
    #sideMenu {
        display: none;
    }
}

/* Ajustes específicos para mobile */
@media (max-width: 480px) {
    .menu-item i {
        font-size: 1.2em;
    }

    .menu-item span {
        font-size: 0.65em;
    }
}

/* Ajustes para los modales en mobile */
@media (max-width: 860px) {
    .modal-content {
        margin: 20% auto;
    }
}


/* Contenedor principal en dispositivos móviles y tabletas */
@media (max-width: 860px) {
    .main-container {
        display: grid;
        grid-template-rows: 1fr 80px;
        /* 1fr para el player y auto para el menú */
        width: 100%;
        height: 100vh;
        /* Ocupa toda la pantalla */
    }

    /* Ajusta el contenedor del reproductor para que ocupe todo el espacio disponible */
    .player-radio {
        grid-row: 1;
        /* Primera fila */
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 85%;
        margin: 0;
        /* Sin márgenes */
    }

    /* Menú de botones en la parte inferior */
    .botton-menu {
        grid-row: 2;
        /* Segunda fila */
        width: 100%;
        height: 60px;
        /* Tamaño fijo para el menú */
        background-color: #042F52;
        /* Color de fondo */
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
}

/* CONECIONES ERROR */
.connection-status {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 1000;
}

.reconnecting-message {
    display: flex;
    align-items: center;
    gap: 10px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.connection-failed button {
    background: #3498db;
    border: none;
    padding: 5px 10px;
    color: white;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 10px;
}

.connection-failed button:hover {
    background: #2980b9;
}



/* Orientación horizontal en móviles */
@media (max-width: 767px) and (orientation: landscape) {
    .player-radio {
        height: calc(100vh - 50px);
    }

    .bottom-menu {
        height: 50px;
    }

    .floating-icons {
        bottom: 60px;
    }
}

/* Mejoras de accesibilidad táctil */
@media (hover: none) {

    .menu-item,
    .social-links a,
    .floating-icons a {
        padding: 12px;
    }

    .bottom-menu .menu-item {
        flex: 1;
    }
}

.directorio {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 10px auto;
    padding: 8px;
}

.directorio a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.directorio a:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.directorio a img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.radio-link {
    display: block;
    text-align: center;
    background-color: #4e851f;
    color: white;
    padding: 10px;
    margin: 10px auto;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 300px;
}

.radio-link:hover {
    background-color: #3a6417;
}

@media screen and (max-width: 768px) {
    .directorio {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }
    
    .radio-link {
        max-width: 90%;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .directorio {
        grid-template-columns: repeat(5, 1fr);
        gap: 5px;
        padding: 5px;
    }
    
    .directorio a img {
        width: 35px;
        height: 35px;
    }
    
    .radio-link {
        padding: 8px;
        font-size: 13px;
    }
}

/* Estilos para las ventanas modales */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 800px;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-content h2 {
    color: #4e851f;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
}

/* Estilos adicionales para los modales */
.modal-content a {
    color: #4e851f;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    border: 1px solid #4e851f;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.modal-content a:hover {
    background-color: #4e851f;
    color: white;
}

/* Ajustes responsivos para los modales */
@media screen and (max-width: 768px) {
    .modal-content {
        margin: 10px;
        padding: 20px;
    }
}

/* Estilos para los créditos */
.credits {
    text-align: center;
    font-size: 12px;
    color: #666;
    padding: 15px 5px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.credits-link {
    color: #8B0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.credits-link:hover {
    color: #5C0000;
    text-decoration: underline;
}

/* Asegurarnos que el aside tenga flex para posicionar los créditos al final */
.side-menu-responsive {
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .credits {
        font-size: 11px;
        padding: 10px 3px;
    }
}

/* Estilos para la programación */
.programacion-container {
    padding: 20px;
}

.dia-programacion {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.dia-programacion h3 {
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.domingo {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.programa {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: transform 0.2s;
}

.programa:hover {
    transform: translateX(10px);
    background: rgba(0, 0, 0, 0.3);
}

.hora {
    min-width: 100px;
    color: #ffd700;
    font-weight: bold;
    margin-right: 20px;
}

.nombre-programa {
    color: #fff;
    font-weight: bold;
}

@media (max-width: 768px) {
    .programacion-container {
        padding: 10px;
    }
    
    .dia-programacion {
        padding: 15px;
    }
    
    .hora {
        min-width: 80px;
        font-size: 0.9em;
    }
    
    .nombre-programa {
        font-size: 0.95em;
    }
}

/* Estilos para el Staff */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.staff-member {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.staff-member:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.staff-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.5);
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-member h3 {
    color: #fff;
    margin: 0;
    font-size: 1.1em;
}

/* Responsive para el Staff */
@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 10px;
    }

    .staff-image {
        width: 120px;
        height: 120px;
    }

    .staff-member h3 {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
}

/* Optimizaciones móviles */
@media screen and (max-width: 768px) {
    .player-radio {
        width: 95%;
        margin: 10px auto;
    }

    .floating-icons {
        right: 10px;
    }

    .floating-icons a {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .modal-content {
        width: 90%;
        padding: 15px;
        margin: 20px auto;
    }

    .bottom-menu {
        padding: 10px 5px;
    }

    .bottom-menu .menu-item {
        padding: 8px;
    }

    .bottom-menu .menu-item i {
        font-size: 20px;
    }

    .bottom-menu .menu-item span {
        font-size: 12px;
    }
}

/* Optimizaciones para pantallas muy pequeñas */
@media screen and (max-width: 320px) {
    .bottom-menu .menu-item {
        padding: 5px;
    }

    .bottom-menu .menu-item i {
        font-size: 18px;
    }

    .bottom-menu .menu-item span {
        font-size: 10px;
    }
}

/* Mejoras de interactividad táctil */
@media (hover: hover) {
    .menu-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        transition: all 0.3s ease;
    }

    .floating-icons a:hover {
        transform: scale(1.1);
        transition: transform 0.2s ease;
    }
}

/* Optimizaciones de rendimiento */
.lazy-image {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.lazy-image.loading {
    opacity: 0;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Botón Escúchanos También */
.escuchanos-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #4e851f;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px auto;
    transition: all 0.3s ease;
}

.escuchanos-btn:hover {
    background-color: #3a6417;
    transform: translateY(-2px);
}

.escuchanos-btn i {
    font-size: 20px;
}

/* Directorio en Modal */
.directorio-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.directorio-modal a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.directorio-modal a:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.directorio-modal img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}

.directorio-modal span {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .directorio-modal {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }

    .directorio-modal img {
        width: 120px;
        height: 120px;
    }

    .directorio-modal span {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .directorio-modal {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }

    .escuchanos-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .escuchanos-btn i {
        font-size: 18px;
    }
}

/* Mejoras para móvil */
@media screen and (max-width: 860px) {
    /* Ajuste del reproductor */
    .player-radio {
        padding-bottom: 70px; /* Espacio para el menú móvil */
    }

    /* Animación del menú móvil */
    .bottom-menu {
        display: flex;
        animation: slideUp 0.3s ease-out;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Mejoras en los items del menú */
    .menu-item {
        position: relative;
        transition: transform 0.2s ease;
    }

    .menu-item:active {
        transform: scale(0.95);
    }

    .menu-item i {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .menu-item span {
        font-size: 12px;
        font-weight: 500;
    }

    /* Ajuste de los iconos flotantes */
    .floating-icons {
        right: 10px;
        bottom: 80px; /* Por encima del menú móvil */
        flex-direction: column-reverse;
        gap: 10px;
    }

    .floating-icons a {
        width: 40px;
        height: 40px;
        font-size: 18px;
        opacity: 0.9;
        transition: all 0.2s ease;
    }

    .floating-icons a:active {
        transform: scale(0.95);
    }

    /* Botón volver arriba */
    .back-to-top {
        position: fixed;
        bottom: 80px;
        left: 10px;
        width: 40px;
        height: 40px;
        background: rgba(78, 133, 31, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }

    .back-to-top.visible {
        opacity: 1;
    }
}

/* Animación para el menú móvil */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Estilos del reloj desktop */
.desktop-clock {
    position: fixed;
    right: 25px;
    top: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 15px;
    text-align: center;
    z-index: 1000;
}

.desktop-clock .time {
    font-size: 30px;
    color: white;
    font-weight: bold;
    margin-bottom: 5px;
}

.desktop-clock .date {
    font-size: 14px;
    color: white;
}

/* Ocultar reloj en móvil */
@media screen and (max-width: 860px) {
    .desktop-clock {
        display: none;
    }
}