/**
 * 播放器样式
 * rh888av.com
 */

/* ========== 播放器区域 ========== */
.player-section {
    padding: 30px 0;
    background: #f9f9f9;
}

.player-wrapper {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.video-player {
    position: relative;
    width: 100%;
    background: #000;
    aspect-ratio: 16/9;
}

.video-player video {
    width: 100%;
    height: 100%;
    display: block;
}

/* 播放器占位符 */
.player-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.placeholder-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.placeholder-hint {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
}

/* ========== 集数选择器 ========== */
.episode-selector {
    padding: 20px;
    border-top: 2px solid #f0f0f0;
}

.episode-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.episode-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.episode-item {
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.episode-item:hover {
    background: #e0e0e0;
}

.episode-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* ========== 视频信息区域 ========== */
.video-info-section {
    padding: 30px;
    background: white;
    margin-top: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.video-main-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.video-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.meta-item {
    color: #666;
}

.meta-item strong {
    color: #333;
    margin-right: 5px;
}

.score-star {
    color: #ff9800;
    font-weight: bold;
}

.video-actors {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.video-actors p {
    margin: 8px 0;
    color: #666;
}

.video-actors strong {
    color: #333;
}

.video-content {
    margin-bottom: 20px;
}

.video-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.video-content p {
    line-height: 1.8;
    color: #666;
}

/* ========== 分享按钮 ========== */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.share-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    background: #f0f0f0;
    color: #333;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn[data-type="weixin"] {
    background: #07c160;
    color: white;
}

.share-btn[data-type="weibo"] {
    background: #e6162d;
    color: white;
}

.share-btn[data-type="qq"] {
    background: #12b7f5;
    color: white;
}

/* ========== 相关推荐 ========== */
.related-section {
    background: white;
    margin-top: 30px;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .player-section {
        padding: 15px 0;
    }
    
    .video-info-section {
        padding: 20px 15px;
        margin-top: 15px;
    }
    
    .video-main-title {
        font-size: 18px;
    }
    
    .video-meta-info {
        gap: 10px;
    }
    
    .meta-item {
        font-size: 12px;
    }
    
    .episode-list {
        gap: 8px;
    }
    
    .episode-item {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .video-meta-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .video-actors {
        font-size: 13px;
    }
    
    .video-content h3 {
        font-size: 16px;
    }
}
