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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* 导航栏样式 */
.header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

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

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

.logo-icon {
    font-size: 32px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 轮播背景区 */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.8) 0%, rgba(192, 57, 43, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background-color: #fff;
    color: #e74c3c;
    transform: translateY(-3px);
}

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

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

.section-header h2 {
    font-size: 42px;
    color: #e74c3c;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    margin-top: 20px;
}

/* 特色服务模块 */
.features-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.2);
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    color: #e74c3c;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* 热门影视推荐 */
.movies-section {
    background-color: #f5f5f5;
}

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

.movie-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.movie-poster {
    position: relative;
    overflow: hidden;
    padding-top: 140%;
}

.movie-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.1);
}

.movie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231, 76, 60, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-btn {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 30px;
    border: 2px solid #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

.movie-info {
    padding: 20px;
}

.movie-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.movie-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.movie-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 精选电视剧 */
.tv-series-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

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

.tv-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    transition: all 0.3s ease;
}

.tv-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2);
}

.tv-card img {
    width: 150px;
    height: 200px;
    object-fit: cover;
}

.tv-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tv-info h3 {
    font-size: 20px;
    color: #e74c3c;
    margin-bottom: 10px;
}

.tv-episode {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.tv-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 文章资讯模块 */
.articles-section {
    background-color: #f5f5f5;
}

.articles-grid {
    display: grid;
    gap: 40px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 350px 1fr;
    transition: all 0.3s ease;
}

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

.article-image {
    overflow: hidden;
}

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

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

.article-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

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

.article-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.read-more:hover {
    color: #c0392b;
    transform: translateX(5px);
}

/* APP下载模块 */
.app-download-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.app-download-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px;
    backdrop-filter: blur(10px);
}

.app-download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

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

.app-slogan {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.app-features li {
    font-size: 16px;
    padding: 10px 0;
    opacity: 0.95;
}

.app-download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

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

.btn-icon {
    font-size: 40px;
}

.btn-text small {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.btn-text strong {
    display: block;
    font-size: 18px;
}

.qr-code-section {
    text-align: center;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
}

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

.qr-tip {
    font-size: 14px;
    opacity: 0.9;
}

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

.app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* 用户评价模块 */
.testimonials-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.2);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #e74c3c;
}

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

.testimonial-content {
    text-align: center;
}

.testimonial-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    margin-bottom: 10px;
}

.testimonial-author strong {
    display: block;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 14px;
    color: #999;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 20px;
    letter-spacing: 3px;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

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

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

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #bdc3c7;
    margin-bottom: 20px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #e74c3c;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #bdc3c7;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info li {
    font-size: 14px;
    color: #bdc3c7;
}

.app-badges {
    margin-top: 20px;
}

.badge-img {
    max-width: 150px;
    border-radius: 8px;
}

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

.links-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.links-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.links-wrapper a {
    color: #bdc3c7;
    font-size: 14px;
    transition: all 0.3s ease;
}

.links-wrapper a:hover {
    color: #e74c3c;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    flex: 1;
}

.copyright p {
    font-size: 14px;
    color: #95a5a6;
    margin-bottom: 8px;
}

.copyright a {
    color: #e74c3c;
    transition: all 0.3s ease;
}

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

.icp-info {
    display: flex;
    gap: 15px;
}

.disclaimer {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 10px;
}

.footer-badges {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cert-badge {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.cert-badge:hover {
    opacity: 1;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .article-card {
        grid-template-columns: 1fr;
    }

    .article-image {
        height: 250px;
    }

    .app-download-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-section {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .tv-grid {
        grid-template-columns: 1fr;
    }

    .tv-card {
        flex-direction: column;
    }

    .tv-card img {
        width: 100%;
        height: 250px;
    }

    .app-download-wrapper {
        padding: 30px 20px;
    }

    .app-download-buttons {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 14px;
    }

    .movies-grid {
        grid-template-columns: 1fr;
    }

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

    .app-slogan {
        font-size: 16px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}

/* 选中文本样式 */
::selection {
    background-color: #e74c3c;
    color: #fff;
}

::-moz-selection {
    background-color: #e74c3c;
    color: #fff;
}
