/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

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

a:hover {
    color: #E25A00;
}

ul, ol {
    list-style: none;
}

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

/* 渐变背景样式 */
.gradient-bg-1 {
    background: linear-gradient(135deg, #FF6B01, #FF9E01);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #FF6B01, #FF4B01);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #FF9E01, #FFCE01);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #FF4B01, #FF2B01);
}

.gradient-bg-5 {
    background: linear-gradient(135deg, #FFCE01, #FFE601);
}

.gradient-bg-6 {
    background: linear-gradient(135deg, #FF2B01, #E50000);
}

.gradient-bg-7 {
    background: linear-gradient(135deg, #FFE601, #FFFF01);
}

.gradient-bg-8 {
    background: linear-gradient(135deg, #E50000, #C50000);
}

.gradient-bg-9 {
    background: linear-gradient(135deg, #FFFF01, #E5FF01);
}

.gradient-bg-10 {
    background: linear-gradient(135deg, #C50000, #A50000);
}

.gradient-bg-11 {
    background: linear-gradient(135deg, #E5FF01, #B5FF01);
}

.gradient-bg-12 {
    background: linear-gradient(135deg, #A50000, #850000);
}

.gradient-bg-13 {
    background: linear-gradient(135deg, #B5FF01, #85FF01);
}

.gradient-bg-14 {
    background: linear-gradient(135deg, #850000, #650000);
}

.gradient-bg-15 {
    background: linear-gradient(135deg, #85FF01, #55FF01);
}

.gradient-bg-16 {
    background: linear-gradient(135deg, #650000, #450000);
}

.gradient-bg-17 {
    background: linear-gradient(135deg, #55FF01, #25FF01);
}

.gradient-bg-18 {
    background: linear-gradient(135deg, #FF6B01, #FF9E01, #FFCE01);
}

.gradient-bg-19 {
    background: linear-gradient(135deg, #FF4B01, #FF2B01, #E50000);
}

.gradient-bg-20 {
    background: linear-gradient(135deg, #FFCE01, #FFE601, #FFFF01);
}

.gradient-bg-21 {
    background: linear-gradient(135deg, #E50000, #C50000, #A50000);
}

.gradient-bg-22 {
    background: linear-gradient(135deg, #FF6B01, #FF4B01);
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.gradient-bg-23 {
    background: linear-gradient(135deg, #FF9E01, #FFCE01);
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.gradient-bg-24 {
    background: linear-gradient(135deg, #FF4B01, #FF2B01);
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.gradient-bg-25 {
    background: linear-gradient(135deg, #FF6B01, #FF9E01);
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.gradient-bg-26 {
    background: linear-gradient(135deg, #FF6B01, #FF9E01);
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* 头部样式 */
#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;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

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

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

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

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a:hover {
    color: #FF6B01;
}

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

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

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

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px 0 0 20px;
    outline: none;
    width: 200px;
}

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

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

/* 轮播区域样式 */
.banner-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.banner-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,107,1,0.05)" width="50" height="50" x="0" y="0"></rect><rect fill="rgba(255,107,1,0.05)" width="50" height="50" x="50" y="50"></rect></svg>');
    opacity: 0.5;
    z-index: 0;
}

.banner-slider {
    position: relative;
    z-index: 1;
}

.slider-item {
    border-radius: 10px;
    padding: 60px 40px;
    color: white;
    text-align: center;
}

.slider-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.slider-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    display: inline-block;
    background-color: white;
    color: #FF6B01;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

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

.section-header h2 {
    font-size: 1.8rem;
    color: #333;
    position: relative;
    padding-left: 15px;
}

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

.more-link {
    color: #999;
    font-size: 0.9rem;
}

.more-link:hover {
    color: #FF6B01;
}

/* 电影卡片样式 */
.movie-grid, .tvshow-grid, .animation-grid, .variety-grid, .documentary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.movie-card, .tvshow-card, .animation-card, .variety-card, .documentary-card {
    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;
    background-color: #fff;
}

.movie-card:hover, .tvshow-card:hover, .animation-card:hover, .variety-card:hover, .documentary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.movie-poster, .tvshow-poster, .animation-poster, .variety-poster, .documentary-poster {
    height: 250px;
    position: relative;
}

.movie-info, .tvshow-info, .animation-info, .variety-info, .documentary-info {
    padding: 15px;
}

.movie-info h3, .tvshow-info h3, .animation-info h3, .variety-info h3, .documentary-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-meta, .tvshow-meta, .animation-meta, .variety-meta, .documentary-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #666;
}

.rating {
    color: #FF6B01;
    font-weight: bold;
}

.movie-desc, .tvshow-desc, .animation-desc, .variety-desc, .documentary-desc {
    font-size: 0.9rem;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* APP下载区域样式 */
.app-section {
    background-color: #f9f9f9;
    position: relative;
}

.app-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle fill="rgba(255,107,1,0.05)" cx="10" cy="10" r="5"></circle></svg>');
    opacity: 0.5;
    z-index: 0;
}

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

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

.app-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.app-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
    max-width: 600px;
}

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

.feature-item {
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

.feature-icon {
    margin: 0 auto 15px;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: #777;
}

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

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FF6B01;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #E25A00;
    color: white;
}

.btn-download span {
    margin-left: 10px;
}

.app-qrcode {
    text-align: center;
    border-radius: 10px;
    padding: 20px;
}

.app-qrcode p {
    margin-top: 10px;
    color: white;
    font-weight: bold;
}

/* 文章区域样式 */
.articles-section {
    background-color: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.article-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.article-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 15px;
}

.article-content {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    color: #FF6B01;
    font-size: 0.9rem;
    font-weight: bold;
}

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

/* 关于我们区域样式 */
.about-section {
    background-color: #f9f9f9;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

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

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

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

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

.footer-nav-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-nav-col ul li a {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-nav-col ul li a:hover {
    color: #FF6B01;
}

.social-links .social-link {
    display: inline-block;
    margin-right: 10px;
    color: #aaa;
    transition: color 0.3s ease;
}

.social-links .social-link:hover {
    color: #FF6B01;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.footer-contact h3, .footer-download h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.download-qrcode {
    text-align: center;
    border-radius: 10px;
    padding: 10px;
}

.download-qrcode p {
    margin-top: 10px;
    color: white;
    font-weight: bold;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #444;
    margin-bottom: 30px;
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links ul li a {
    color: #aaa;
    font-size: 0.9rem;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.copyright p {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 0.9rem;
}

.copyright a {
    color: #aaa;
}

.copyright a:hover {
    color: #FF6B01;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .movie-grid, .tvshow-grid, .animation-grid, .variety-grid, .documentary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .app-content {
        flex-direction: column;
    }
    
    .app-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .movie-grid, .tvshow-grid, .animation-grid, .variety-grid, .documentary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top, .footer-middle {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-contact {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .movie-grid, .tvshow-grid, .animation-grid, .variety-grid, .documentary-grid {
        grid-template-columns: 1fr;
    }
    
    .app-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .download-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .slider-content h1 {
        font-size: 1.8rem;
    }
    
    .slider-content p {
        font-size: 1rem;
    }
}
