/* {模板路径}/static/css/style.css */
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

a:hover {
    color: #c71f76;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* {模板路径}/static/css/style.css 继续 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e83e8c;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #c71f76;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 62, 140, 0.3);
    color: #fff;
}

/* 头部样式 */
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 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #e83e8c;
    margin: 0;
}

.logo .slogan {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

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

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

nav ul li a {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

nav ul li a:hover {
    color: #e83e8c;
}

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

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

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 150px 0;
    text-align: center;
}

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

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #e83e8c;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 18px;
    color: #777;
}

.bg-light {
    background-color: #f5f5f5;
}

/* 剧情简介样式 */
.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-text {
    flex: 1;
}

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

.intro-image {
    flex: 1;
}

/* 角色卡片样式 */
.character-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.character-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, box-shadow 0.3s ease;
}

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

.character-image {
    height: 250px;
    overflow: hidden;
}

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

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

.character-info {
    padding: 20px;
}

.character-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #333;
}

.character-info .actor {
    font-size: 14px;
    color: #e83e8c;
    margin-bottom: 15px;
}

.character-info p {
    font-size: 15px;
    color: #666;
}

/* 剧集内容样式 */
.episodes-content {
    max-width: 800px;
    margin: 0 auto;
}

.episode-article {
    margin-bottom: 50px;
}

.episode-article h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.episode-image {
    margin-bottom: 20px;
}

.episode-article p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* 幕后花絮样式 */
.behind-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.behind-text {
    flex: 1.5;
}

.behind-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.behind-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.behind-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 观众评价样式 */
.reviews-content {
    max-width: 900px;
    margin: 0 auto;
}

.review-article {
    margin-bottom: 40px;
}

.review-article h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.review-article p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

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

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

.review-stars {
    color: #e83e8c;
    font-size: 20px;
    margin-bottom: 15px;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}

.reviewer {
    font-size: 14px;
    color: #888;
    text-align: right;
    font-weight: 600;
}

/* 相关推荐样式 */
.similar-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.similar-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

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

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

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

.similar-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.similar-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.similar-info p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    flex-grow: 1;
}

/* 联系我们样式 */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-method i {
    font-size: 24px;
    color: #e83e8c;
}

.contact-method p {
    margin-bottom: 0;
    font-size: 16px;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e83e8c;
}

/* 页脚样式 */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 30px;
}

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

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

.footer-logo p {
    font-size: 14px;
    color: #aaa;
}

.footer-links {
    display: flex;
    gap: 50px;
}

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

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

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

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

.footer-links-column ul li a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-social h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}

.footer-social h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #e83e8c;
    bottom: -8px;
    left: 0;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #e83e8c;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 14px;
    color: #777;
}

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

.footer-bottom a:hover {
    color: #e83e8c;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .intro-content,
    .behind-content,
    .contact-content {
        flex-direction: column;
    }
    
    .character-cards,
    .similar-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .character-cards,
    .review-cards,
    .similar-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* 图标样式 */
.icon-email:before {
    content: "✉";
}

.icon-phone:before {
    content: "☎";
}

.icon-address:before {
    content: "🏠";
}

.icon-weibo:before {
    content: "W";
}

.icon-wechat:before {
    content: "C";
}

.icon-douban:before {
    content: "D";
}

.icon-bilibili:before {
    content: "B";
}

