/* 播放器组件专属样式 */

.player {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.album-cover {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(194,12,12,0.15);
    animation: album-rotate 8s linear infinite;
}

@keyframes album-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.track-info h3 {
    font-size: 1.6rem;
    color: #C20C0C;
    margin-bottom: 0.5rem;
}
.track-info p {
    color: #666;
    font-size: 1.1rem;
}

.player-controls {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.fav-btn {
    background: none;
    border: none;
    margin-left: 0.5rem;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 50%;
    transition: box-shadow 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fav-btn:hover svg path {
    filter: drop-shadow(0 2px 8px #C20C0C33);
    fill: #ff5e62 !important;
}
.mode-btn {
    background: #fff;
    border: 2px solid #C20C0C;
    border-radius: 50%;
    margin-left: 1.5rem;
    box-shadow: 0 2px 8px rgba(194,12,12,0.10);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s, border 0.2s;
    padding: 0;
}
.mode-btn.order {
    background: #fff;
    border: 2px solid #C20C0C;
}
.mode-btn.single {
    background: #C20C0C;
    border: 2px solid #C20C0C;
}
.mode-btn.random {
    background: #ffeaea;
    border: 2px solid #C20C0C;
}
.mode-btn svg {
    display: block;
}
.mode-btn:hover {
    background: #ffeaea;
    box-shadow: 0 4px 16px rgba(194,12,12,0.18);
}
.control-buttons {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #C20C0C;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.control-btn:active {
    transform: scale(0.92);
    box-shadow: 0 2px 8px rgba(194,12,12,0.12);
}
.play-btn {
    background: #C20C0C;
    color: #fff;
    width: 64px;
    height: 64px;
    font-size: 2.2rem;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(194,12,12,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: box-shadow 0.2s, background 0.2s;
    padding: 0;
}
.play-btn:hover {
    background: #ff5e62;
    box-shadow: 0 8px 24px rgba(194,12,12,0.22);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.progress-bar {
    flex: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
#player-progress {
    height: 100%;
    background: linear-gradient(90deg, #C20C0C 60%, #ff5e62 100%);
    border-radius: 3px;
    transition: width 0.2s;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volume-slider {
    flex: 1;
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#player-volume-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #C20C0C;
    border-radius: 3px;
    width: 100%;
}

.song-meta-info {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0 1rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
}

.song-meta-info p {
    margin-bottom: 0.2rem;
}

.song-meta-info p:last-child {
    margin-bottom: 0;
} 