@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    /* New background properties */
    background-image: url('imagenes/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#audio-visualizer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.radio-player {
    background-color: rgba(44, 44, 44, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 350px;
    text-align: center;
    padding: 25px;
}

.player-cover img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.player-info {
    margin: 20px 0;
}

.player-info h2 {
    font-size: 1.5em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-info p {
    font-size: 1em;
    color: #aaa;
    margin: 5px 0 0;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.control-button {
    background-color: #ff4b5c;
    border: none;
    border-radius: 50%;
    color: white;
    width: 70px;
    height: 70px;
    font-size: 2em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.2s;
}

.control-button:hover {
    background-color: #ff6b7a;
}

.control-button:active {
    transform: scale(0.95);
}

.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #aaa;
}

.volume-control input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 60%;
    height: 5px;
    background: #555;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #ff4b5c;
    border-radius: 50%;
    cursor: pointer;
}

.volume-control input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #ff4b5c;
    border-radius: 50%;
    cursor: pointer;
}

.visitor-counter {
    margin-top: 20px;
    color: #aaa;
    font-size: 0.9em;
}

.visitor-counter i {
    margin-right: 5px;
}

footer {
    width: 100%;
    text-align: center;
    color: #aaa;
    font-size: 0.8em;
    margin-top: 20px;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
}

.social-media a {
    color: #aaa;
    margin: 0 10px;
    font-size: 1.5em;
    transition: color 0.3s;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
}

.social-media a:hover {
    color: #ff4b5c;
}
