#wprp-footer-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 11, 18, 0.98);
    backdrop-filter: blur(15px);
    border-top: 3px solid #00ffcc;
    color: #ffffff;
    z-index: 999999;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.7);
    overflow: hidden; /* Crucial to keep equalizer inside bounds */
}
#wprp-footer-player .wprp-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10; /* Places controls ABOVE the background equalizer */
}

/* BACKGROUND EQUALIZER LAYER */
.wprp-eq-bg-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 1; /* Behind content */
    pointer-events: none; /* Allows clicking through to buttons */
}
.wprp-eq-bar {
    flex: 1;
    margin: 0 1px;
    height: 0%;
    transition: height 0.3s ease;
}

/* Animation classes triggered by JS when playing */
.wprp-playing .wprp-eq-bar {
    animation: wprpWave 1.2s ease-in-out infinite alternate;
}
/* Staggering the animation for a cascading / waves effect */
.wprp-playing .wprp-eq-bar:nth-child(2n) { animation-duration: 0.8s; animation-delay: -0.3s; }
.wprp-playing .wprp-eq-bar:nth-child(3n) { animation-duration: 1.4s; animation-delay: -0.1s; }
.wprp-playing .wprp-eq-bar:nth-child(4n) { animation-duration: 1.0s; animation-delay: -0.5s; }
.wprp-playing .wprp-eq-bar:nth-child(5n) { animation-duration: 1.6s; animation-delay: -0.2s; }

@keyframes wprpWave {
    0% { height: 5%; }
    100% { height: 95%; }
}

.wprp-track-info {
    display: flex;
    align-items: center;
    width: 33.33%;
    min-width: 240px;
}
#wprp-album-art {
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid #00ffcc;
    margin-right: 12px;
}
.wprp-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.wprp-tag-station {
    text-transform: uppercase;
    background: #ff007f;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    margin-bottom: 2px;
    display: inline-block;
    color: #fff;
}
.wprp-text-metadata-block {
    display: flex;
    flex-direction: column;
}
#wprp-song-title {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#wprp-artist-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wprp-controls-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33.33%;
}
.wprp-main-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}
.wprp-nav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s, transform 0.1s;
}
.wprp-nav-btn:hover {
    transform: scale(1.1);
}
.wprp-circle-btn {
    color: #0b0b12;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.wprp-circle-btn:hover {
    color: #fff;
    transform: scale(1.05);
}
.wprp-right-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    width: 33.33%;
}
.wprp-action-circle {
    background: rgba(0, 255, 204, 0.1) !important;
    border: 1px solid #00ffcc !important;
    color: #00ffcc !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease-in-out !important;
}
.wprp-action-circle i {
    display: inline-block;
    line-height: 1;
    font-size: 13px;
}
.wprp-action-circle:hover {
    background: #ff007f !important;
    border-color: #ff007f !important;
    color: #ffffff !important;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.6);
}
.wprp-social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}
.wprp-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
#wprp-volume {
    width: 75px;
    accent-color: #00ffcc;
}

@media (max-width: 900px) {
    #wprp-footer-player { padding: 12px 0 !important; }
    #wprp-footer-player .wprp-container { flex-direction: column; gap: 12px; }
    .wprp-track-info, .wprp-controls-wrapper, .wprp-right-actions { width: 100%; justify-content: center; text-align: center; }
    .wprp-text { align-items: center; }
    .wprp-social-icons { flex-wrap: wrap; justify-content: center; }
    #wprp-volume { display: none; }
}
