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

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

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

a:hover {
    color: #e67e22;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

ul {
    list-style: none;
}

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

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

.site-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-section {
    padding: 60px 0;
    background: linear-gradient(to right, #f9f5eb, #f0e9d2);
}

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

.hero-image {
    flex: 1;
}

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

.hero-text {
    flex: 1;
}

h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #d35400;
    text-align: center;
}

.tagline {
    font-size: 22px;
    color: #e67e22;
    margin-bottom: 20px;
    font-weight: bold;
}

.description {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary {
    background-color: #d35400;
    color: #fff;
}

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

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

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

/* 通用区块样式 */
section {
    padding: 80px 0;
}

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

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

/* 剧情简介区域样式 */
.intro-section {
    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;
    line-height: 1.8;
}

/* 演员表区域样式 */
.actors-section {
    background-color: #f9f5eb;
}

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

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

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

.actor-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.actor-card h3 {
    padding: 15px 15px 5px;
    font-size: 18px;
    color: #d35400;
}

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

.actor-desc {
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 10px !important;
    margin-top: 5px;
}

/* 分集剧情区域样式 */
.episodes-section {
    background-color: #fff;
}

.episodes-content {
    display: flex;
    gap: 40px;
}

.episodes-image {
    flex: 1;
}

.episodes-list {
    flex: 1;
}

.episode-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.episode-item:last-child {
    border-bottom: none;
}

.episode-item h3 {
    font-size: 20px;
    color: #d35400;
    margin-bottom: 10px;
}

.more-episodes {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    color: #d35400;
}

/* 幕后花絮区域样式 */
.behind-section {
    background-color: #f9f5eb;
}

.behind-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.behind-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.behind-stories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.story-item h3 {
    font-size: 18px;
    color: #d35400;
    margin-bottom: 15px;
}

/* 观众评价区域样式 */
.reviews-section {
    background-color: #fff;
}

.reviews-content {
    display: flex;
    gap: 40px;
}

.reviews-image {
    flex: 1;
}

.reviews-list {
    flex: 1;
}

.review-item {
    background-color: #f9f5eb;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: bold;
    color: #d35400;
}

.rating {
    color: #f39c12;
}

/* 相关推荐区域样式 */
.related-section {
    background-color: #f9f5eb;
}

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

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

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

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

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

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

.card-link {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: #f0e9d2;
    color: #d35400;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

/* 文章区域样式 */
.articles-section {
    background-color: #fff;
}

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

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

.article-item h3 {
    font-size: 20px;
    color: #d35400;
    margin-bottom: 15px;
}

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

/* 页脚样式 */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo {
    flex: 1;
}

.footer-logo h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #e67e22;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-links-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e67e22;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content,
    .intro-content,
    .episodes-content,
    .reviews-content {
        flex-direction: column;
    }
    
    .behind-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .behind-stories {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links-column {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px;
    }
    
    .actors-grid,
    .related-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .actors-grid,
    .related-cards,
    .behind-gallery {
        grid-template-columns: 1fr;
    }
}
