body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

.radio-player {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 80px;
    background-color: #000;
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
}

/* Contenedor 1: Botón de reproducción */
.player-control {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 10%;
}

.play-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.play-btn img {
    width: 35px;
    height: 35px;
}

/* Contenedor 2: Carátula */
.cover-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 10%;
}

.cover-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}

/* Contenedor 3: Información de la canción */
.song-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis: 60%;
    text-align: left;
    padding-left: 5px;
    color: #FFFFFF;
}

.song-title {
    font-size: 14px;
    margin: 0;
    color:#cccccc;
    text-shadow: 1px -1px rgba(0, 0, 0, 0.233);
}

.song-artist {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px -1px rgba(0, 0, 0, 0.233);
}

/* Contenedor 4: Menú */
.menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 10%;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-btn img {
    width: 35px;
    height: 35px;
}

@media (max-width: 767px) {
    /* Ajustar el espacio entre los elementos */
    .radio-player {
        padding: 0 10px; /* Más espacio a los lados */
    }

    /* Asegurar que el menú no esté pegado al borde */
    .menu-container {
        margin-left: 10px; /* Un poco de espacio desde la izquierda */
        margin-right: 10px; /* Un poco de espacio desde la derecha */
    }

    .player-bar {
        justify-content: space-between; /* Aseguramos que haya espacio entre los contenedores */
    }

    /* Asegurarse de que la carátula y la información se alineen correctamente */
    .cover-container {
        margin-right: 5px;
        margin-left: 5px; /* Espacio entre la carátula y el título */
    }

    .song-info-container {
        flex-grow: 1; /* Dejar que la información crezca en pantallas pequeñas */
        margin-left: 5px; /* Espacio entre la carátula y la información */
    }
}

/* Modal completo */
.modal {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0, 0, 0);
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
}

.modal.show {
    visibility: visible;
    opacity: 1;
}

/* Contenedor del contenido del modal */
.modal-content {
    background-color: #000000;
    padding: 20px;
    border-radius: 10px;
    width: 90%; /* Ancho adaptable */
    max-width: 400px; /* Máximo ancho */
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative; /* Para posicionar el botón de cierre */
}

/* Botón de cierre */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* Imagen de la portada */
.modal-cover {
    width: 100%; /* Ancho completo del contenedor */
    max-width: 350px;
    height: auto; /* Mantiene la proporción */
    margin-bottom: 20px;
    border-radius: 15px;
}

/* Título y artista */
.modal-title {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 0px;
    color: #cccccc;
}

.modal-artist {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-top: 6px;
    margin-bottom: 20px;
}

/* Botones de estaciones */
.station-buttons {
    display: flex;
    justify-content: center;
    gap: 10px; /* Espacio entre los botones */
}
.station-btn {
    background-color: #000;
    border: none;
}

.station-btn img {
    width: 80px;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

.station-btn img:hover {
    transform: scale(1.1); /* Efecto de zoom */
}

#visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 20px;
    width: 100%;
    margin-top: 5px;
    background: transparent;
}

.bar {
    width: 5px;
    margin: 0 2px;
    background: linear-gradient(180deg, #FFD700, #FF4500);
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        height: 10%;
    }
    50% {
        height: 90%;
    }
}


