.floating-player {
    position: fixed;
    top: 20px;
    left: calc(260px + (100vw - 260px) / 2);
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.704);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 79, 160, 0.2);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.player-track-info {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

#player-cover {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.player-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

#player-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#player-artist {
    font-size: 0.75rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.player-controls button {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #FF4FA0;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-controls button:hover {
    background-color: rgba(255, 79, 160, 0.1);
}

/* Adaptations Mobile (max 768px) */
@media (max-width: 768px) {
    .floating-player {
        top: auto;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        max-width: none;
        padding: 8px 14px;
        border-radius: 25px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

    #player-cover {
        width: 36px;
        height: 36px;
    }

    .player-track-info {
        gap: 10px;
    }

    #player-title {
        font-size: 0.85rem;
    }

    #player-artist {
        font-size: 0.7rem;
    }

    .player-controls button {
        font-size: 1rem;
        padding: 4px;
    }
}