/* 音乐播放器样式 */
.player {
    width: 1000px;
    height: 50px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 255, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    z-index: 1000;
    position: relative;
}
.song-info {
    color: #00ff00;
    font-size: 14px;
    font-weight: bold;
    margin-right: 20px;
    min-width: 150px;
    text-align: left;
}
.controls {
    display: flex;
    align-items: center;
    flex: 1;
}
.controls a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 3px;
    background-color: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
    transition: all 0.3s;
}
.controls a:hover {
    background-color: rgba(0, 255, 0, 0.2);
}
.progress-time {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    margin-left: 15px;
}
.time {
    color: #00ff00;
    font-size: 12px;
    min-width: 45px;
    text-align: center;
}
.progress-container {
    flex: 1;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}
.progress-bar {
    height: 100%;
    background: #00ff00;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
}
.playlist select {
    height: 28px;
    width: 150px;
    margin-right: 10px;
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 3px;
    padding: 0 5px;
    font-size: 12px;
}
.playlist select option {
    background: #000000;
    color: #00ff00;
}
.wave-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-left: 10px;
    margin-right: 10px;
    height: 30px;
    width: 120px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    padding: 2px;
    position: relative;
}
.wave-container::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to top, rgba(0, 255, 0, 0.3), transparent);
    border-radius: 0 0 2px 2px;
}
.wave-bar {
    width: 5px;
    margin: 0 1px;
    background: linear-gradient(to top, #00ff00, #33ff33, #66ff66, #99ff99, #ccffcc);
    border-radius: 2px 2px 0 0;
    transition: height 0.1s ease;
    height: 5px;
}
.wave-bar.playing {
    animation: wave 0.8s ease-in-out infinite;
}
@keyframes wave {
    0%, 100% { height: 5px; }
    50% { height: 28px; }
}
.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.08s; }
.wave-bar:nth-child(3) { animation-delay: 0.16s; }
.wave-bar:nth-child(4) { animation-delay: 0.24s; }
.wave-bar:nth-child(5) { animation-delay: 0.32s; }
.wave-bar:nth-child(6) { animation-delay: 0.4s; }
.wave-bar:nth-child(7) { animation-delay: 0.48s; }
.wave-bar:nth-child(8) { animation-delay: 0.4s; }
.wave-bar:nth-child(9) { animation-delay: 0.32s; }
.wave-bar:nth-child(10) { animation-delay: 0.24s; }
.wave-bar:nth-child(11) { animation-delay: 0.16s; }
.wave-bar:nth-child(12) { animation-delay: 0.08s; }
.wave-bar:nth-child(13) { animation-delay: 0s; }
.wave-bar:nth-child(14) { animation-delay: 0.08s; }
.wave-bar:nth-child(15) { animation-delay: 0.16s; }
.volume-control {
    display: flex;
    align-items: center;
    margin-left: 15px;
    margin-right: 15px;
}
.volume-control a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 5px;
    background-color: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
    transition: all 0.3s;
}
.volume-control a:hover {
    background-color: rgba(0, 255, 0, 0.2);
}
.volume-container {
    width: 60px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}
.volume-bar {
    width: 70%;
    height: 100%;
    background: #00ff00;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
}