/* Sticky Audio Player */
#sticky-audio-player {
    position: fixed;
    bottom: 110px;
    /* Above the Back to Top button (30px bottom + 50px height + 30px spacer) */
    right: 30px;
    left: auto;
    /* Reset left */
    width: auto;
    min-width: unset;
    max-width: none;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    z-index: 998;
    /* Below Back to Top (999) if they overlap, but spaced apart */
}

/* Hide track info and volume */
.track-info,
.volume-control {
    display: none !important;
}

.player-container {
    width: auto;
    padding: 0;
    margin: 0;
    gap: 0;
}

.play-pause-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-image: url('../images/ravenstine-icon.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #ff0000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.5rem;
    position: relative;
    /* Darken bg image slightly to make icon visible */
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-pause-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
    background-color: rgba(0, 0, 0, 0.7);
    border-color: #fff;
}

/* Ensure icon is centered */
.play-pause-btn i {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

@media (max-width: 600px) {
    #sticky-audio-player {
        bottom: 100px;
        /* Adjust for mobile if needed */
        left: auto;
        right: 20px;
        transform: none;
        width: auto;
        max-width: none;
        border: none;
    }

    .play-pause-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}