/* 播放页面专用样式 */

/* 播放器样式 */
.player-container {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.video-player {
    width: 100%;
    height: 500px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.player-controls {
    background: rgba(0,0,0,0.8);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.play-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.progress-bar {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: #ff6b35;
    border-radius: 3px;
    width: 30%;
}

.time-display {
    font-size: 14px;
    color: #ccc;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 80px;
}

.fullscreen-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

/* 播放列表 */
.playlist-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.playlist-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.playlist-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
}

.playlist-tab.active {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

.playlist-content {
    /*display: none;*/
}

.playlist-content.active {
    display: block;
}

/* 播放源切换 */
.source-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.source-tab {
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    cursor: pointer;
    font-size: 13px;
    color: #495057;
    transition: all 0.3s;
}

.source-tab.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.source-tab:hover {
    background: #e9ecef;
}

.source-tab.active:hover {
    background: #e55a2b;
}

.episode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.episode-item {
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.episode-item:hover,
.episode-item.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

/* 播放信息 */
.play-info {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.play-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.play-meta {
    color: #666;
    margin-bottom: 15px;
}

.play-description {
    line-height: 1.6;
    color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-player {
        height: 250px;
    }
    
    .player-controls {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .volume-control {
        display: none;
    }
    
    .episode-list {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 8px;
    }
    
    .episode-item {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .play-title {
        font-size: 20px;
    }
    
    .source-tabs {
        gap: 3px;
    }
    
    .source-tab {
        padding: 4px 8px;
        font-size: 12px;
    }
}
