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

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

.player-wrapper {
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.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: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.episode-item {
    padding: 10px 20px;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.episode-item:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

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

/* ========== 视频信息区域 ========== */
.video-info-section {
    padding: 30px;
    background: transparent;
    margin-top: 20px;
}

.video-main-title {
    font-size: 24px;
    color: #e2e8f0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.meta-item {
    color: #a0aec0;
}

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

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

.video-actors {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(26, 26, 46, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

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

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

/* ========== 分享按钮 ========== */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #e2e8f0;
}

.share-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

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

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

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

/* ========== 相关推荐 ========== */
.related-section {
    background: transparent;
    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;
    }
}
