/* 全屏播放器样式 */
.fullscreen-player {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1328 100%);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.fullscreen-player.active {
    display: flex;
}

.fullscreen-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    display: flex;
    justify-content: flex-start;
}

.btn-close-fullscreen {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(30, 37, 68, 0.6);
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.btn-close-fullscreen:hover {
    background: rgba(45, 52, 81, 0.8);
    transform: translateY(2px);
}

.fullscreen-content {
    flex: 1;
    display: flex;
    gap: var(--spacing-xl);
    padding: 0 var(--spacing-xl) var(--spacing-xl);
    overflow: hidden;
}

.fullscreen-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    max-width: 650px;
    margin: 0 auto;
}

.fullscreen-cover {
    width: 420px;
    height: 420px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s;
}

.fullscreen-cover:hover {
    transform: scale(1.02);
}

.fullscreen-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fullscreen-info {
    text-align: center;
    width: 100%;
    padding: 0 var(--spacing-lg);
}

.fullscreen-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.fullscreen-artist {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.fullscreen-album {
    font-size: 18px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.fullscreen-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.fullscreen-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
}

.fs-control-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.2s;
    background: rgba(30, 37, 68, 0.3);
}

.fs-control-btn:hover {
    background: var(--bg-tertiary);
    transform: scale(1.1);
}

.fs-control-btn.active {
    color: var(--accent-color);
    background: rgba(99, 102, 241, 0.2);
}

.fs-control-btn-main {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.fs-control-btn-main:hover {
    background: var(--accent-hover);
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

.fullscreen-progress {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.fs-time-current,
.fs-time-total {
    font-size: 14px;
    color: var(--text-secondary);
    min-width: 45px;
    font-weight: 500;
}

.fs-progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(30, 37, 68, 0.5);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.fs-progress-filled {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s;
}

.fs-progress-slider {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 8px;
    transform: translateY(-50%);
    opacity: 0;
    cursor: pointer;
    -webkit-appearance: none;
}

.fs-progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.5);
}

.fullscreen-volume {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.fs-volume-slider {
    width: 140px;
    height: 4px;
    border-radius: 2px;
    background: rgba(30, 37, 68, 0.5);
    outline: none;
    -webkit-appearance: none;
}

.fs-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
}

.fullscreen-right {
    width: 500px;
    display: flex;
    flex-direction: column;
    background: rgba(21, 26, 54, 0.5);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 52, 81, 0.5);
}

.fullscreen-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: rgba(30, 37, 68, 0.3);
}

.fs-tab {
    flex: 1;
    padding: var(--spacing-lg);
    font-size: 15px;
    font-weight: 600;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.fs-tab:hover {
    background: rgba(30, 37, 68, 0.5);
}

.fs-tab.active {
    color: var(--accent-color);
}

.fs-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
}

.fullscreen-tab-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.fs-tab-panel {
    height: 100%;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.fs-tab-panel.active {
    display: flex;
    flex-direction: column;
}

.fs-lyrics-scroll,
.fs-playlist-scroll {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-xl);
}

.fs-lyrics-scroll .lyrics-line {
    padding: var(--spacing-md) 0;
    font-size: 18px;
    color: var(--text-secondary);
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
    line-height: 1.6;
}

.fs-lyrics-scroll .lyrics-line:hover {
    color: var(--text-primary);
}

.fs-lyrics-scroll .lyrics-line.active {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 600;
    transform: scale(1.05);
}

.fs-playlist-scroll .playlist-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: var(--spacing-sm);
}

.fs-playlist-scroll .playlist-item:hover {
    background: rgba(30, 37, 68, 0.5);
}

.fs-playlist-scroll .playlist-item.playing {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-color);
}

.empty-message {
    text-align: center;
    color: var(--text-secondary);
    padding: var(--spacing-xl);
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .fullscreen-cover {
        width: 350px;
        height: 350px;
    }
    
    .fullscreen-title {
        font-size: 28px;
    }
    
    .fullscreen-right {
        width: 400px;
    }
}

@media (max-width: 1200px) {
    .fullscreen-content {
        flex-direction: column;
        align-items: center;
    }
    
    .fullscreen-right {
        width: 100%;
        max-width: 600px;
        height: 300px;
    }
}
