body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Logo en fond */
.background-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: 1;
    object-fit: contain;
    height: 100vh;
    width: auto;
}

/* Smartphone : logo prend toute la largeur */
@media (max-width: 768px) {
    .background-logo {
        width: 100vw;
        height: auto;
    }
}

/* --------- LAYOUT GENERAL --------- */

.content {
    position: relative;
    z-index: 2;
    
    display: flex;
    flex-direction: row;
    justify-content: center;
	align-items: center;
    
    height: 100vh;
    gap: 50px;
    padding: 20px;
}

/* Sur smartphone : verticale */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
    }
}

/* --------- JAQUETTE --------- */

#jaquette {
    display: flex;
    align-items: center;
	height: 67vh;
}

/* PC : hauteur = hauteur du player */
.album-cover {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-height: 100%;
}

/* Smartphone : largeur = largeur du player */
@media (max-width: 768px) {
    .album-cover {
        width: 100%;
        height: auto;
        max-width: 90vw;
    }
}

/* --------- PLAYER --------- */

#player {
    display: flex;
    flex-direction: column;
    justify-content: center;
	 align-items: center;
    max-width: 500px;
    width: 100%;
}

.jp-video,
.jp-interface,
.jp-type-playlist {
    height: auto;
}

#votes {
    position: fixed;
    top: 20px;
    right: 20px;

    z-index: 50; /* au-dessus du logo et du reste */
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(4px);

    display: flex;
    flex-direction: column;
    gap: 8px;

    max-width: 200px;
}

#votes .vote-btn {
    width: 100%;
}


.vote-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vote-btn {
    padding: 10px 18px;
    background: #222;
    border: 1px solid #555;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
    width: 180px;
}

.vote-btn:hover {
    background: #444;
}

.vote-result {
    margin-top: 10px;
    color: #ccc;
    font-size: 14px;
}