/* 全局样式 */
* {
    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;
}

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

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

a:hover {
    color: #c0392b;
}

ul {
    list-style: none;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #e74c3c;
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn.primary:hover {
    background-color: #c0392b;
}

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

.btn.secondary:hover {
    background-color: #e74c3c;
    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 a {
    display: block;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    font-weight: 500;
    color: #2c3e50;
    padding: 5px 0;
    position: relative;
}

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

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

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

/* 英雄区域样式 */
.hero {
    background: linear-gradient(to right, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.7)), url('../picture/b15.jpg') center/cover no-repeat;
    color: #fff;
    padding: 100px 0;
    position: relative;
}

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

.hero-content {
    width: 50%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content .tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

.hero-image {
    width: 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* 剧情简介样式 */
.plot-summary {
    background-color: #fff;
}

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

.summary-text {
    flex: 1;
}

.summary-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.summary-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 角色介绍样式 */
.characters {
    background-color: #f5f5f5;
}

.character-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 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(-10px);
    box-shadow: 0 15px 30px 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: 1.3rem;
    margin-bottom: 5px;
}

.character-info .actor {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 10px;
}

/* 精彩剧评样式 */
.reviews {
    background-color: #fff;
}

.review-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-card {
    display: flex;
    gap: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-card:nth-child(even) {
    flex-direction: row-reverse;
}

.review-image {
    flex: 0 0 250px;
    border-radius: 10px;
    overflow: hidden;
}

.review-content {
    flex: 1;
}

.review-content h3 {
    color: #e74c3c;
    margin-bottom: 15px;
}

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

/* 剧集预告样式 */
.episodes {
    background-color: #f5f5f5;
}

.episode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 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.1);
    transition: transform 0.3s ease;
}

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

.episode-image {
    position: relative;
    height: 200px;
}

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

.episode-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.episode-info {
    padding: 20px;
}

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

.more-episodes {
    text-align: center;
}

/* APP下载样式 */
.app-download {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: #fff;
}

.app-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.app-info {
    flex: 1;
}

.app-info h2 {
    color: #fff;
    text-align: left;
}

.app-info h2:after {
    margin: 15px 0 0;
    background-color: #fff;
}

.app-features {
    margin: 30px 0;
}

.app-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.app-features li i {
    margin-right: 10px;
    color: #2ecc71;
}

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

.download-btn {
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #3498db;
    padding: 10px 20px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-5px);
}

.download-btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.app-image {
    flex: 1;
    max-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 粉丝讨论样式 */
.fan-discussion {
    background-color: #fff;
}

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

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

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-name {
    font-weight: 600;
}

.comment-content {
    margin-bottom: 15px;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.join-discussion {
    text-align: center;
}

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

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

.footer-logo {
    flex: 0 0 25%;
}

.footer-logo p {
    margin-top: 15px;
}

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

.footer-section h3 {
    color: #ecf0f1;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-section ul li a {
    color: #bdc3c7;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.footer-social {
    flex: 0 0 20%;
}

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

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

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

.social-icon img {
    width: 20px;
    height: 20px;
}

.friend-links {
    margin-bottom: 40px;
}

.friend-links h3 {
    color: #ecf0f1;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.friend-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.friend-links ul li a {
    color: #bdc3c7;
}

.friend-links ul li a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .summary-content {
        flex-direction: column;
    }
    
    .review-card, .review-card:nth-child(even) {
        flex-direction: column;
    }
    
    .review-image {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }
    
    .app-content {
        flex-direction: column;
    }
    
    .app-image {
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo, .footer-links, .footer-social {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}
