/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: #3a5998;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e3a8a;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

/* 头部样式 (续) */
.header {
    background-color: #3a5998;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: #fff;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 英雄区域样式 */
.hero {
    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;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 60px;
}

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

.hero .subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn.primary {
    background-color: #e74c3c;
    color: #fff;
}

.btn.primary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.btn.secondary:hover {
    background-color: #fff;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 通用部分样式 */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    color: #3a5998;
}

section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #e74c3c;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 剧情简介部分 */
.intro-section {
    background-color: #fff;
}

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

.intro-image {
    flex: 0 0 40%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.intro-text {
    flex: 0 0 55%;
}

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

/* 剧集列表部分 */
.episodes-section {
    background-color: #f8f8f8;
}

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

.episode-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.episode-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

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

.episode-card:hover .episode-thumb img {
    transform: scale(1.1);
}

.episode-info {
    padding: 20px;
}

.episode-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #3a5998;
}

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

.btn.watch {
    background-color: #3a5998;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
}

.btn.watch:hover {
    background-color: #1e3a8a;
}

/* 演员表部分 */
.actors-section {
    background-color: #fff;
}

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

.actor-card {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.actor-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.actor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actor-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #3a5998;
}

.actor-card p {
    color: #666;
    font-size: 14px;
}

/* 观众评价部分 */
.reviews-section {
    background-color: #f8f8f8;
}

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

.review-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.review-content {
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

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

/* 相关推荐部分 */
.related-section {
    background-color: #fff;
}

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

.related-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-card h3 {
    padding: 15px 15px 10px;
    font-size: 18px;
    color: #3a5998;
}

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

/* 下载观看部分 */
.download-section {
    background-color: #f8f8f8;
}

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

.download-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.download-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3a5998;
}

.download-card p {
    margin-bottom: 20px;
    color: #666;
}

.btn.download {
    background-color: #3a5998;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
}

.btn.download:hover {
    background-color: #1e3a8a;
}

/* 文章部分 */
.article-section {
    background-color: #fff;
}

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

.article-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.article-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3a5998;
}

.article-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* 页脚部分 */
.footer {
    background-color: #3a5998;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 100%;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex: 0 0 100%;
}

.footer-links-column {
    flex: 0 0 30%;
    margin-bottom: 20px;
}

.footer-links-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.footer-links-column ul li a {
    color: #ddd;
    transition: color 0.3s ease;
}

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

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

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

/* 响应式设计 */
@media (max-width: 992px) {
    .intro-content {
        flex-direction: column;
    }
    
    .intro-image, .intro-text {
        flex: 0 0 100%;
    }
    
    .footer-links-column {
        flex: 0 0 48%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 20px;
    }
    
    .main-nav {
        display: none;
    }
    
    section h2 {
        font-size: 30px;
    }
    
    .footer-links-column {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .episode-grid, .actor-grid, .reviews-slider, .related-grid, .download-options, .article-grid {
        grid-template-columns: 1fr;
    }
}