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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background-color: #0f111a;
    color: #fff;
    line-height: 1.6;
}

.container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

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

ul {
    list-style: none;
}

/* 头部样式 */
.header {
    background-color: rgba(15, 17, 26, 0.95);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

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

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

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

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

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #333;
    border-radius: 20px 0 0 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 200px;
    outline: none;
}

.search-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 0 20px 20px 0;
    background-color: #e74c3c;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* 轮播背景区域 */
.banner-section {
    height: 600px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slider-item.active {
    opacity: 1;
}

.gradient-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gradient-1 {
    background: linear-gradient(135deg, #1a237e, #4a148c, #880e4f);
}

.gradient-2 {
    background: linear-gradient(135deg, #004d40, #006064, #01579b);
}

.gradient-3 {
    background: linear-gradient(135deg, #bf360c, #e65100, #ff6f00);
}

.banner-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.banner-content::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: -1;
    backdrop-filter: blur(5px);
}

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

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

.watch-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.watch-btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 5;
}

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

.slider-dot.active {
    background-color: #e74c3c;
    transform: scale(1.2);
}

/* 内容区域通用样式 */
.content-section {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-left: 15px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background-color: #e74c3c;
    border-radius: 3px;
}

.more-link {
    color: #e74c3c;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-link:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* 卡片样式 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.movie-card {
    background-color: #1a1d2e;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.card-bg-1 { background: linear-gradient(135deg, #5d4037, #3e2723); }
.card-bg-2 { background: linear-gradient(135deg, #0d47a1, #01579b); }
.card-bg-3 { background: linear-gradient(135deg, #b71c1c, #c62828); }
.card-bg-4 { background: linear-gradient(135deg, #1a237e, #283593); }
.card-bg-5 { background: linear-gradient(135deg, #37474f, #263238); }
.card-bg-6 { background: linear-gradient(135deg, #004d40, #00695c); }
.card-bg-7 { background: linear-gradient(135deg, #4a148c, #6a1b9a); }
.card-bg-8 { background: linear-gradient(135deg, #bf360c, #d84315); }
.card-bg-9 { background: linear-gradient(135deg, #01579b, #0277bd); }
.card-bg-10 { background: linear-gradient(135deg, #880e4f, #ad1457); }
.card-bg-11 { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
.card-bg-12 { background: linear-gradient(135deg, #e65100, #ef6c00); }
.card-bg-13 { background: linear-gradient(135deg, #311b92, #4527a0); }
.card-bg-14 { background: linear-gradient(135deg, #006064, #00838f); }
.card-bg-15 { background: linear-gradient(135deg, #ff6f00, #ff8f00); }
.card-bg-16 { background: linear-gradient(135deg, #1b5e20, #388e3c); }
.card-bg-17 { background: linear-gradient(135deg, #4a148c, #7b1fa2); }
.card-bg-18 { background: linear-gradient(135deg, #0d47a1, #1976d2); }
.card-bg-19 { background: linear-gradient(135deg, #f57f17, #f9a825); }
.card-bg-20 { background: linear-gradient(135deg, #1a237e, #303f9f); }
.card-bg-21 { background: linear-gradient(135deg, #b71c1c, #d32f2f); }
.card-bg-22 { background: linear-gradient(135deg, #01579b, #0288d1); }
.card-bg-23 { background: linear-gradient(135deg, #4a148c, #7b1fa2); }
.card-bg-24 { background: linear-gradient(135deg, #212121, #424242); }
.card-bg-25 { background: linear-gradient(135deg, #263238, #455a64); }
.card-bg-26 { background: linear-gradient(135deg, #bf360c, #e64a19); }
.card-bg-27 { background: linear-gradient(135deg, #1a237e, #3949ab); }
.card-bg-28 { background: linear-gradient(135deg, #37474f, #546e7a); }
.card-bg-29 { background: linear-gradient(135deg, #880e4f, #c2185b); }
.card-bg-30 { background: linear-gradient(135deg, #004d40, #00796b); }

.movie-card .gradient-bg {
    height: 280px;
    position: relative;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .card-overlay {
    opacity: 1;
}

.rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(231, 76, 60, 0.9);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.play-icon {
    font-size: 40px;
    color: #fff;
    background-color: rgba(231, 76, 60, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-icon:hover {
    background-color: #e74c3c;
    transform: scale(1.1);
}

.new-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #e74c3c;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-info p {
    font-size: 14px;
    color: #9e9e9e;
}

/* 排行榜样式 */
.ranking-container {
    background-color: #1a1d2e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ranking-tab {
    padding: 20px;
}

.tab-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a2f45;
    padding-bottom: 10px;
}

.tab-item {
    font-size: 18px;
    font-weight: 600;
    color: #9e9e9e;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.tab-item:hover {
    color: #e0e0e0;
}

.tab-item.active {
    color: #e74c3c;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e74c3c;
}

.tab-content {
    display: none;
}

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

.rank-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    background-color: #242738;
}

.rank-item:hover {
    background-color: #2a2f45;
    transform: translateX(5px);
}

.rank-num {
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
    width: 30px;
    text-align: center;
}

.rank-item .gradient-bg {
    width: 60px;
    height: 80px;
    border-radius: 4px;
    margin: 0 15px;
}

.rank-info {
    flex: 1;
}

.rank-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.rank-info p {
    font-size: 14px;
    color: #9e9e9e;
}

.hot-value {
    color: #e74c3c;
    font-weight: 600;
}

/* APP下载区域样式 */
.app-section {
    padding: 80px 0;
    background-color: #1a1d2e;
    position: relative;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(41, 128, 185, 0.1));
    z-index: 1;
}

.app-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

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

.app-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.app-desc {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

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

.app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #e0e0e0;
}

.feature-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: #e74c3c;
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    font-size: 14px;
}

.download-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    background-color: #242738;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #2a2f45;
    transform: translateY(-3px);
}

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

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-text small {
    font-size: 12px;
    color: #9e9e9e;
}

.btn-text strong {
    font-size: 16px;
    color: #fff;
}

.qr-code {
    text-align: center;
    margin-top: 20px;
}

.qr-bg {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    border-radius: 8px;
    position: relative;
}

.qr-bg::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: repeating-conic-gradient(#000 0% 25%, transparent 0% 50%) 50% / 10px 10px;
    border-radius: 4px;
}

.qr-code p {
    font-size: 14px;
    color: #9e9e9e;
}

.app-preview {
    flex: 1;
    position: relative;
}

.app-preview-bg {
    width: 300px;
    height: 600px;
    margin: 0 auto;
    border-radius: 30px;
    background: linear-gradient(135deg, #1a1d2e, #242738);
    position: relative;
    overflow: hidden;
}

.app-preview-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(41, 128, 185, 0.1));
    z-index: 1;
}

.phone-frame {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

/* 文章区域样式 */
.article-section {
    padding: 60px 0;
}

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

.article-item {
    background-color: #1a1d2e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.article-bg-1 { background: linear-gradient(135deg, #4a148c, #7b1fa2); height: 200px; }
.article-bg-2 { background: linear-gradient(135deg, #01579b, #0288d1); height: 200px; }
.article-bg-3 { background: linear-gradient(135deg, #bf360c, #e64a19); height: 200px; }
.article-bg-4 { background: linear-gradient(135deg, #1a237e, #3949ab); height: 200px; }
.article-bg-5 { background: linear-gradient(135deg, #f57f17, #f9a825); height: 200px; }
.article-bg-6 { background: linear-gradient(135deg, #004d40, #00796b); height: 200px; }

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.article-meta {
    font-size: 14px;
    color: #9e9e9e;
    margin-bottom: 15px;
}

.article-excerpt p {
    font-size: 15px;
    color: #e0e0e0;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #e74c3c;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* 页脚样式 */
.footer {
    background-color: #151823;
    padding: 60px 0 30px;
    margin-top: 30px;
}

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

.footer-logo {
    flex: 1;
}

.footer-logo h3 {
    font-size: 24px;
    margin: 10px 0 5px;
}

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

.footer-nav {
    flex: 3;
    display: flex;
    justify-content: space-around;
}

.footer-nav-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e0e0e0;
    position: relative;
    padding-bottom: 10px;
}

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

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

.footer-nav-col ul li a {
    font-size: 14px;
    color: #9e9e9e;
    transition: all 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

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

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.weibo {
    background: linear-gradient(135deg, #e6162d, #ff9933);
}

.wechat {
    background: linear-gradient(135deg, #09b83e, #3eb575);
}

.douyin {
    background: linear-gradient(135deg, #000000, #25f4ee, #fe2c55);
}

.social-link span {
    font-size: 12px;
    color: #9e9e9e;
}

.footer-middle {
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid #242738;
    border-bottom: 1px solid #242738;
}

.friendly-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

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

.friendly-links ul li a {
    font-size: 14px;
    color: #9e9e9e;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
}

.copyright, .icp, .disclaimer {
    font-size: 14px;
    color: #9e9e9e;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .app-container {
        flex-direction: column;
    }
    
    .app-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 992px) {
    .banner-section {
        height: 500px;
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-logo .logo-icon {
        margin: 0 auto 10px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
    }
    
    .footer-nav-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .banner-section {
        height: 400px;
        margin-top: 120px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .article-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-nav-col {
        width: 100%;
    }
}
