.master-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: var(--player-height);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(35px);
    border-top: 1px solid var(--border-glass);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    transition: height 0.2s;
}
.progress-container:hover {
    height: 6px;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4face6, var(--dynamic-accent));
    position: relative;
}

.player-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 30px;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 30%;
}
.player-artwork {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.player-artwork.playing {
    animation: rotateArtwork 25s linear infinite;
    box-shadow: 0 0 25px var(--dynamic-accent);
}
.track-info .meta {
    display: flex;
    flex-direction: column;
    max-width: 200px;
}
.track-info .meta .title {
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-info .meta .artist {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 25px;
}
.control-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}
.control-btn:hover {
    color: var(--text-main);
    transform: scale(1.1);
}
.control-btn.primary {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}
.control-btn.primary:hover {
    transform: scale(1.08);
    background: var(--dynamic-accent);
    color: white;
}
.control-btn.active {
    color: var(--dynamic-accent);
}

.player-utilities {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 30%;
    justify-content: flex-end;
}
.util-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}
.util-btn:hover { color: var(--text-main); }

.audio-quality-selector select {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    outline: none;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.volume-container input[type="range"] {
    width: 80px;
    accent-color: var(--dynamic-accent);
    cursor: pointer;
}