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

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

a:hover {
    color: #d35400;
}

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

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #e67e22;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background-color: #d35400;
    color: #fff;
}

.btn.primary {
    background-color: #e67e22;
}

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

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

.btn.small {
    padding: 6px 15px;
    font-size: 0.9em;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #2c3e50;
}

.section-title {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: #2c3e50;
}

.logo h1 {
    font-size: 1.8em;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #2c3e50;
    font-weight: 600;
    position: relative;
}

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

nav ul li a:hover:after {
    width: 100%;
}

/* 横幅样式 */
.banner {
    background-color: #f5f7fa;
    padding: 80px 0;
    margin-bottom: 60px;
}

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

.banner-content {
    flex: 1;
    padding-right: 40px;
}

.banner-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.banner-content .subtitle {
    font-size: 1.2em;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.banner-image {
    flex: 1;
    text-align: center;
}

.banner-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* 介绍部分样式 */
.intro {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 60px;
}

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

.intro-image {
    flex: 1;
}

.intro-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 剧集列表样式 */
.episodes {
    padding: 60px 0;
    background-color: #f5f7fa;
    margin-bottom: 60px;
}

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

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

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

.episode-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.episode-info {
    padding: 20px;
}

.episode-info h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.episode-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.watch-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #e67e22;
    color: #fff;
    border-radius: 4px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.watch-btn:hover {
    background-color: #d35400;
    color: #fff;
}

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

/* 演员表样式 */
.actors {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 60px;
}

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

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

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

.actor-image {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 10px;
}

.actor-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.actor-info h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.actor-info p {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* 评价样式 */
.reviews {
    padding: 60px 0;
    background-color: #f5f7fa;
    margin-bottom: 60px;
}

.review-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

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

.review-stars {
    color: #f39c12;
    font-size: 1.2em;
    margin-bottom: 15px;
}

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

.review-author {
    text-align: right;
    font-weight: bold;
    color: #2c3e50;
}

/* 推荐样式 */
.recommend {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 60px;
}

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

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

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

.recommend-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.recommend-info {
    padding: 20px;
}

.recommend-info h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.recommend-info p {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 15px;
}

/* 新闻样式 */
.news {
    padding: 60px 0;
    background-color: #f5f7fa;
    margin-bottom: 60px;
}

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

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

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

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.news-date {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.news-content p {
    line-height: 1.8;
}

/* 文章样式 */
.articles {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 60px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-item {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.article-item p {
    line-height: 1.8;
    color: #555;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

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

.footer-logo h3 {
    color: #fff;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #bdc3c7;
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-links ul {
    list-style: none;
}

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

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

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

.footer-contact p {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #e67e22;
    color: #fff;
}

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

.footer-bottom p {
    color: #bdc3c7;
    font-size: 0.9em;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .banner .container {
        flex-direction: column;
    }
    
    .banner-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .buttons {
        justify-content: center;
    }
    
    .intro-content {
        flex-direction: column;
    }
    
    .intro-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
    
    .banner-content h2 {
        font-size: 2.5em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .banner-content h2 {
        font-size: 2em;
    }
    
    .buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .episode-grid, .actor-grid, .recommend-grid, .news-grid {
        grid-template-columns: 1fr;
    }
}
