/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}

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

a:hover {
    color: #FF5E62;
}

ul, li {
    list-style: none;
}

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

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

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

.logo a {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.search-box {
    display: flex;
    width: 40%;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-btn {
    background-color: #fff;
    color: #FF5E62;
    border: none;
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #f0f0f0;
}

.user-area {
    display: flex;
    gap: 15px;
}

.user-area a {
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: bold;
}

.login-btn {
    background-color: rgba(255, 255, 255, 0.2);
}

.register-btn {
    background-color: #fff;
    color: #FF5E62 !important;
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.register-btn:hover {
    background-color: #f0f0f0;
}

/* 导航样式 */
#nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.main-nav li {
    flex: 1;
    text-align: center;
}

.main-nav li a {
    display: block;
    padding: 15px 0;
    font-weight: bold;
    position: relative;
}

.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #FF5E62, #FF9966);
    transition: width 0.3s ease;
}

.main-nav li a:hover::after {
    width: 100%;
}

/* 轮播图样式 */
.banner-section {
    padding: 30px 0;
    background-color: #f9f9f9;
    position: relative;
}

.banner-slider {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.banner-item {
    height: 400px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-content {
    max-width: 600px;
    z-index: 2;
}

.banner-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #FF5E62;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.banner-content .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-indicators span.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* 内容区域通用样式 */
section {
    padding: 40px 0;
}

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

.section-header h2 {
    font-size: 24px;
    position: relative;
    padding-left: 15px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: linear-gradient(to bottom, #FF5E62, #FF9966);
    border-radius: 3px;
}

.section-header .more {
    color: #999;
    font-size: 14px;
}

.section-header .more:hover {
    color: #FF5E62;
}

/* 影戏卡片样式 */
.movie-list, .tv-list, .variety-list, .animation-list, .new-release-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.movie-card, .tv-card, .variety-card, .animation-card, .new-release-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.movie-card:hover, .tv-card:hover, .variety-card:hover, .animation-card:hover, .new-release-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.movie-poster, .tv-poster, .variety-poster, .animation-poster, .new-release-poster {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.movie-info, .tv-info, .variety-info, .animation-info, .new-release-info {
    padding: 10px;
}

.movie-info h3, .tv-info h3, .variety-info h3, .animation-info h3, .new-release-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-category, .tv-category, .variety-category, .animation-category, .new-release-category,
.movie-actor, .tv-actor, .variety-actor, .animation-update, .new-release-time {
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-score, .tv-score {
    color: #FF5E62;
    font-weight: bold;
}

/* 排行模范式 */
.ranking {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tab-header {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-header span {
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
}

.tab-header span.active {
    color: #FF5E62;
    font-weight: bold;
}

.tab-header span.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #FF5E62, #FF9966);
}

.tab-content {
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.ranking-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.rank-num {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-weight: bold;
}

.ranking-list li:nth-child(1) .rank-num,
.ranking-list li:nth-child(2) .rank-num,
.ranking-list li:nth-child(3) .rank-num {
    color: #fff;
}

.ranking-list li:nth-child(1) .rank-num {
    background: linear-gradient(to right, #FFD700, #FFA500);
}

.ranking-list li:nth-child(2) .rank-num {
    background: linear-gradient(to right, #C0C0C0, #A9A9A9);
}

.ranking-list li:nth-child(3) .rank-num {
    background: linear-gradient(to right, #CD7F32, #8B4513);
}

.rank-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-score {
    color: #FF5E62;
    font-weight: bold;
}

/* APP下载区域样式 */
.app-download {
    background: linear-gradient(135deg, #FF5E62, #FF9966);
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

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

.app-info {
    flex: 1;
    padding: 40px;
}

.app-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.app-info p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

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

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

.icon-check {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.icon-check::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border-bottom: 2px solid #FF5E62;
    border-right: 2px solid #FF5E62;
}

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

.android-btn, .ios-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.android-btn {
    background-color: #fff;
    color: #FF5E62;
}

.ios-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.android-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.ios-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.app-qrcode {
    width: 200px;
    height: 200px;
    margin-right: 40px;
    border-radius: 10px;
    position: relative;
}

.app-qrcode::after {
    content: '扫码下载APP';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

/* 文章区域样式 */
.article-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.article-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.article-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.article-item p {
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

/* 页脚样式 */
#footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
}

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

.footer-logo {
    margin-bottom: 15px;
}

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

.footer-nav-group h4 {
    margin-bottom: 15px;
    font-size: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #FF5E62, #FF9966);
}

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

.footer-nav-group ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav-group ul li a:hover {
    color: #fff;
}

.footer-middle {
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-middle h4 {
    margin-bottom: 15px;
}

.footer-middle ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-middle ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-middle ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

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

/* 响应式设计 */
@media (max-width: 1200px) {
    .movie-list, .tv-list, .variety-list, .animation-list, .new-release-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .movie-list, .tv-list, .variety-list, .animation-list, .new-release-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .app-content {
        flex-direction: column;
    }
    
    .app-qrcode {
        margin: 20px 0 40px;
    }
}

@media (max-width: 768px) {
    #header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }
    
    .search-box {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .user-area {
        width: 100%;
        justify-content: center;
    }
    
    .main-nav {
        flex-wrap: wrap;
    }
    
    .main-nav li {
        flex: 0 0 33.333%;
    }
    
    .movie-list, .tv-list, .variety-list, .animation-list, .new-release-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-nav {
        margin-top: 20px;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .movie-list, .tv-list, .variety-list, .animation-list, .new-release-list {
        grid-template-columns: 1fr;
    }
    
    .banner-content h1 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .footer-nav {
        flex-direction: column;
    }
}
<!--耗时1781703631.932秒-->