/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
    background-color: #f9f3f5;
    color: #333;
    line-height: 1.6;
}

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

a:hover {
    color: #c71f76;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e83e8c;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

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

ul {
    list-style: none;
}

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

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

.section-header h2 {
    font-size: 28px;
    color: #e83e8c;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

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

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

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

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo h1 {
    font-size: 24px;
    margin-left: 10px;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

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

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

/* 轮播图样式 */
.banner {
    margin: 20px auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slideshow-container {
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    font-size: 18px;
    text-align: center;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    color: #fff;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

/* 热门推荐样式 */
.popular-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.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;
}

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

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

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

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

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #e83e8c;
}

.card-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    height: 70px;
    overflow: hidden;
}

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

.articles-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.article-image {
    flex: 0 0 300px;
}

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

.article-content {
    flex: 1;
    padding: 30px;
}

.article-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #e83e8c;
}

.article-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* 演员介绍样式 */
.actors-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.actors-container {
    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(-5px);
}

.actor-image {
    height: 300px;
    overflow: hidden;
}

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

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

.actor-info {
    padding: 15px;
    text-align: center;
}

.actor-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #e83e8c;
}

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

/* 经典台词样式 */
.quotes-section {
    padding: 60px 20px;
    background-color: #fff;
}

.quotes-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.quote-card {
    background-color: #f9f3f5;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

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

.quote-mark {
    font-size: 60px;
    color: rgba(232, 62, 140, 0.2);
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: Georgia, serif;
}

.quote-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.quote-source {
    font-size: 14px;
    color: #e83e8c;
    text-align: right;
    font-style: italic;
}

/* APP下载样式 */
.app-download {
    padding: 60px 20px;
    background-color: #f9f3f5;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.app-info {
    flex: 1;
}

.app-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #e83e8c;
}

.app-info ul {
    margin-bottom: 30px;
}

.app-info ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.app-info ul li:before {
    content: '✓';
    color: #e83e8c;
    position: absolute;
    left: 0;
}

.app-buttons {
    display: flex;
    gap: 20px;
}

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

.app-btn:hover {
    background-color: #e83e8c;
}

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

.app-image {
    flex: 1;
    max-width: 400px;
}

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

/* 友情链接样式 */
.friend-links {
    padding: 40px 20px;
    background-color: #fff;
}

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

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

.links-container ul li {
    margin-right: 10px;
}

.links-container ul li a {
    color: #666;
    font-size: 14px;
}

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

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 20px 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e83e8c;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #e83e8c;
    bottom: 0;
    left: 0;
}

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

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

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

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

.copyright {
    text-align: center;
    padding: 20px;
    background-color: #222;
    font-size: 14px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .app-container {
        flex-direction: column;
    }
    
    .article-card {
        flex-direction: column;
    }
    
    .article-image {
        flex: 0 0 200px;
    }
}

@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;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .slideshow-container {
        height: 200px;
    }
    
    .slide-caption {
        font-size: 14px;
        padding: 10px;
    }
    
    .prev, .next {
        font-size: 18px;
    }
    
    .app-buttons {
        flex-direction: column;
    }
}
