body {
    background-color: #CECECE;
    margin: 0;
    padding: 0;
}

#radio-container {
    background-color: #4a4a4a;
    font-family: Arial, Helvetica, sans-serif;
    padding: 12px;
    border-radius: 8px;
    margin: 0;
    width: 100%;             
    max-width: 400px;        
    text-align: center;      
    box-shadow: inset 1px 1px 0px #ffffff, 4px 4px 10px rgba(0,0,0,0.2);
    border: 1px solid #b0b0b0;
    box-sizing: border-box;
}

/* --- HEADER --- */
.header-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 10px;
}

#logo img {
    max-width: 150px;
    height: auto;
    display: block;
}

#logo img:hover {
    opacity: 0.8;
    transition: 0.3s;
}

#play-pause-btn {
    background-color: #ff8800;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: 0.3s;
    outline: none !important;
}

/* --- BLOC INFOS --- */
.info-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    margin: 8px 0;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cover-art {
    max-width: 180px; 
    height: auto;
    object-fit: cover;
    margin: 0 auto 8px auto;
    display: block;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.listening-label {
    color: #ffffff;
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- TITRE DEFILANT --- */
.scroll-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background: rgba(0,0,0,0.2);
    margin: 5px 0;
    border-radius: 4px;
    height: 35px;
}

#track-title {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    color: #ffffff;
    font-weight: bold;
    font-size: 1em;
    line-height: 35px;
}

.artist-color { color: #ff8800; text-transform: uppercase; }

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --- BOUTON ACHAT --- */
.btn-buy {
    display: inline-block;
    background-color: #202020;
    color: #ffffff !important;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
    border: 1px solid #555;
    margin-top: 10px;
    outline: none !important;
}

/* --- ADS ET FOOTER --- */
#ads-zone {
    margin: 8px auto;
    display: flex;
    justify-content: center;
    overflow: hidden; /* Empêche la pub de déborder horizontalement si elle est trop large */
    clear: both;      /* S'assure que rien ne vient se mettre à côté */
}

.footer-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.q-link, .playlist-link a {
    color: #88ccee;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

.q-link.active { color: #ff8800; }

/* Masquer le lecteur par défaut */
audio { display: none; }

/* Media Query Mobile */
@media screen and (max-width: 480px) {
    #radio-container { max-width: none; border-radius: 0; }
}