/* 电影详情页样式 */

/* 电影详情容器 */
.movie-detail {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.movie-header {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.movie-poster-large {
    width: 300px;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.movie-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.movie-title-large {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.movie-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.movie-meta-list {
    list-style: none;
    margin-bottom: 25px;
}

.movie-meta-list li {
    display: flex;
    margin-bottom: 12px;
    font-size: 16px;
}

.meta-label {
    font-weight: bold;
    color: #333;
    width: 100px;
    flex-shrink: 0;
}

.meta-value {
    color: #666;
    flex: 1;
}

.meta-value a {
    color: #ff6b35;
    text-decoration: none;
    margin-right: 10px;
}

.meta-value a:hover {
    text-decoration: underline;
}

.movie-rating-large {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.rating-score {
    background: #ff6b35;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
}

.rating-text {
    color: #666;
    font-size: 14px;
}

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.movie-tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.movie-tag:hover {
    background: #ff6b35;
    color: white;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* 内容区域 */
.content-section {
    padding: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff6b35;
    display: inline-block;
}

.movie-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

/* 图片画廊 */
.movie-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* 下载区域 */
.download-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

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

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

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

.download-content {
    display: none;
}

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

.download-list {
    list-style: none;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.download-info {
    flex: 1;
}

.download-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.download-meta {
    font-size: 14px;
    color: #666;
}

.download-btn {
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background: #218838;
}

/* 选集列表 */
.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;
}

/* 推荐电影 */
.recommendations {
    margin-top: 40px;
}

.recommendations .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

/* 响应式设计 */
@media (max-width: 768px) {
    .movie-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
    
    .movie-poster-large {
        width: 250px;
        height: 350px;
    }
    
    .movie-title-large {
        font-size: 28px;
    }
    
    .movie-subtitle {
        font-size: 16px;
    }
    
    .movie-meta-list li {
        flex-direction: column;
        margin-bottom: 15px;
    }
    
    .meta-label {
        width: auto;
        margin-bottom: 5px;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .movie-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-tabs {
        flex-wrap: wrap;
    }
    
    .download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .movie-poster-large {
        width: 200px;
        height: 280px;
    }
    
    .movie-title-large {
        font-size: 24px;
    }
    
    .movie-gallery {
        grid-template-columns: 1fr;
    }
    
    .download-tab {
        padding: 8px 12px;
        font-size: 14px;
    }
}
