/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f4f0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #8e2c2c;
    transition: all 0.3s ease;
}

a:hover {
    color: #c13e3e;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #8e2c2c;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #c13e3e;
    color: #fff;
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid #8e2c2c;
    color: #8e2c2c;
}

.btn.secondary:hover {
    background-color: #8e2c2c;
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #8e2c2c;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #8e2c2c;
}

/* 头部样式 */
#header {
    background-color: rgba(142, 44, 44, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    color: #fff;
    font-size: 24px;
    margin: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 10px;
}

#main-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#main-nav li {
    margin: 0 15px;
}

#main-nav a {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
}

#main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

#main-nav a:hover:after {
    width: 100%;
}

/* 横幅区域 */
.banner {
    padding: 160px 0 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('') no-repeat center center;
    background-size: cover;
    color: #fff;
}

.banner-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 剧情介绍区域 */
.intro-section {
    padding: 80px 0;
    background-color: #fff;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-image {
    flex: 1;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* 演员阵容区域 */
.cast-section {
    padding: 80px 0;
    background-color: #f8f4f0;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.cast-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cast-card:hover {
    transform: translateY(-10px);
}

.cast-image {
    height: 300px;
    overflow: hidden;
}

.cast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cast-card:hover .cast-image img {
    transform: scale(1.05);
}

.cast-card h3 {
    padding: 15px 15px 5px;
    color: #8e2c2c;
    font-size: 18px;
}

.cast-card p {
    padding: 0 15px 15px;
    font-size: 14px;
}

/* 剧集列表区域 */
.episodes-section {
    padding: 80px 0;
    background-color: #fff;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.episode-card {
    background-color: #f8f4f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.episode-card:hover {
    transform: translateY(-5px);
}

.episode-image {
    height: 180px;
    overflow: hidden;
}

.episode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.episode-card:hover .episode-image img {
    transform: scale(1.05);
}

.episode-info {
    padding: 15px;
}

.episode-info h3 {
    margin-bottom: 10px;
    color: #8e2c2c;
}

.episode-info p {
    margin-bottom: 15px;
    font-size: 14px;
}

.watch-btn {
    width: 100%;
}

.more-episodes {
    text-align: center;
    margin-top: 40px;
}

/* 观众评价区域 */
.reviews-section {
    padding: 80px 0;
    background-color: #f8f4f0;
}

.reviews-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    flex: 1;
}

.review-rating {
    color: #f8b400;
    font-size: 24px;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
}

.review-author {
    text-align: right;
    font-weight: bold;
}

/* 相关推荐区域 */
.related-section {
    padding: 80px 0;
    background-color: #fff;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: #f8f4f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.related-card:hover {
    transform: translateY(-10px);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-card h3 {
    padding: 15px 15px 5px;
    color: #8e2c2c;
}

.related-card p {
    padding: 0 15px 15px;
    font-size: 14px;
}

.related-card .btn {
    margin: 0 15px 15px;
}

/* 下载资源区域 */
.download-section {
    padding: 80px 0;
    background-color: #f8f4f0;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-image {
    flex: 1;
    height: 400px;
}

.download-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-info {
    flex: 1;
    padding: 30px;
}

.download-info h3 {
    margin-bottom: 20px;
    color: #8e2c2c;
    font-size: 24px;
}

.download-list {
    margin-bottom: 30px;
}

.download-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.download-label {
    font-weight: bold;
    color: #8e2c2c;
}

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

/* 文章区域 */
.articles-section {
    padding: 80px 0;
    background-color: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: #f8f4f0;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-card h3 {
    margin-bottom: 15px;
    color: #8e2c2c;
    font-size: 18px;
}

.article-card p {
    margin-bottom: 15px;
    font-size: 14px;
}

/* 页脚区域 */
#footer {
    background-color: #8e2c2c;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links-column {
    flex: 1;
    min-width: 150px;
}

.footer-links-column h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #fff;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: #f8d0d0;
}

.footer-links-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #f8d0d0;
}

.footer-bottom a {
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .intro-content {
        flex-direction: column;
    }
    
    .download-content {
        flex-direction: column;
    }
    
    .download-image {
        height: 300px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
    
    #main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    #main-nav li {
        margin: 5px 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .banner {
        padding: 140px 0 60px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 24px;
    }
}
