/* 福利视频详情页样式 */

.detail-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* 视频信息区域 */
.video-info-section {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.video-poster {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
}

.poster-image {
    width: 100%;
    height: 100%;
}

.movie-poster {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.play-button span {
    color: #667eea;
    font-size: 16px;
    font-weight: bold;
}

.quality-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #5f27cd, #341f97);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.video-details h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.video-meta-info span {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

.rating {
    color: #ffd700 !important;
}

.video-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.tag.free {
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
    color: white;
}

.tag.action {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.tag.thriller {
    background: linear-gradient(135deg, #5f27cd, #341f97);
    color: white;
}

.tag.hd {
    background: linear-gradient(135deg, #ffa726, #ff7043);
    color: white;
}

.video-description {
    margin-bottom: 30px;
}

.video-description h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.video-description p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.cast-info {
    margin-bottom: 30px;
}

.cast-info h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.cast-list {
    display: flex;
    gap: 20px;
}

.cast-item {
    text-align: center;
}

.cast-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.actor-avatar {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.actress-avatar {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.cast-item span {
    font-size: 14px;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-buttons button {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: white;
    border-color: #667eea;
    color: #667eea;
}

/* 相关视频 */
.related-videos {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    height: fit-content;
}

.related-videos h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.related-grid {
    display: grid;
    gap: 20px;
}

.related-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9fa;
}

.related-item:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    flex-shrink: 0;
}

.movie-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.action-thumb {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.thriller-thumb {
    background: linear-gradient(135deg, #5f27cd, #341f97);
}

.related-info {
    flex: 1;
}

.related-info h5 {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.related-info span {
    color: #ffd700;
    font-size: 12px;
}

/* 用户评价区域 */
.user-reviews {
    margin-top: 60px;
}

.user-reviews h3 {
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.review-stats {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.overall-rating {
    display: flex;
    gap: 40px;
    align-items: center;
}

.big-rating {
    font-size: 72px;
    font-weight: bold;
    color: #667eea;
}

.rating-breakdown {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-bar span:first-child {
    width: 30px;
    font-size: 14px;
    color: #666;
}

.bar {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
    font-size: 14px;
    color: #666;
}

/* 评论区域 */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.review-card {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin-bottom: 15px;
}

.review-content h5 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.review-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.review-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.like-btn, .reply-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.like-btn:hover {
    color: #667eea;
}

.reply-btn:hover {
    color: #764ba2;
}

.review-time {
    color: #999;
    font-size: 14px;
}

/* 写评价区域 */
.write-review {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    margin-top: 40px;
}

.write-review h4 {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-input span {
    color: #333;
    font-weight: 500;
}

.star-rating {
    display: flex;
    gap: 5px;
}

.star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.star:hover,
.star.active {
    color: #ffd700;
}

.review-form textarea {
    min-height: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.review-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102,126,234,0.2);
}

.submit-review {
    align-self: flex-start;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-info-section {
        padding: 25px;
    }
    
    .video-details h2 {
        font-size: 24px;
    }
    
    .video-meta-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .cast-list {
        justify-content: center;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .overall-rating {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .review-actions {
        flex-wrap: wrap;
    }
}