/* 
 * 影视传媒网站样式表
 * 独特的深紫渐变配色方案
 * 移动端优先响应式设计
 */

/* CSS变量定义 */
:root {
    --primary-color: #6b21a8;
    --secondary-color: #a855f7;
    --accent-color: #f97316;
    --dark-bg: #0f0a1a;
    --card-bg: #1a1025;
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --border-color: #3d2a5c;
    --gradient-start: #6b21a8;
    --gradient-end: #ec4899;
    --shadow-color: rgba(107, 33, 168, 0.3);
}

/* 全局重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

/* 图片懒加载占位 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 顶部导航 - 非sticky */
.site-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--card-bg) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-area img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    width: 100%;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-list li a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-color: transparent;
    color: #fff;
}

/* Hero区域 */
.hero-section {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* 视频播放器容器 */
.video-player-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.video-player-wrapper video {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0,0,0,0.2);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
    transition: transform 0.3s ease;
}

.video-overlay:hover .play-btn {
    transform: scale(1.1);
}

.play-btn::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 24px solid #fff;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 6px;
}

/* 内容区块通用样式 */
.content-section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 1rem;
}

/* 视频卡片网格 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.video-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.video-info {
    padding: 1rem;
}

.video-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* 评分星级 */
.rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating-score {
    font-weight: 600;
    color: var(--accent-color);
}

/* 关于我们区块 */
.about-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(107, 33, 168, 0.1) 100%);
}

.about-content {
    display: grid;
    gap: 2rem;
}

.about-text {
    font-size: 1rem;
    line-height: 1.9;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* 团队成员 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-member {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

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

.team-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* 招聘区块 */
.recruit-section {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, var(--dark-bg) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.recruit-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.badge {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.recruit-desc {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 支付方式 */
.payment-section {
    background: var(--card-bg);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-item {
    background: var(--dark-bg);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.payment-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.payment-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.pix-highlight {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), var(--dark-bg));
}

/* 用户评论 */
.reviews-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--card-bg) 100%);
}

.reviews-grid {
    display: grid;
    gap: 1.5rem;
}

.review-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--border-color);
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.reviewer-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-rating {
    color: #fbbf24;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* FAQ区块 */
.faq-section {
    background: var(--dark-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(168, 85, 247, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 客服支持 */
.support-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.support-item {
    background: var(--dark-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.support-item:hover {
    border-color: var(--secondary-color);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.support-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.support-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 影评区块 */
.review-article {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.review-article-image {
    aspect-ratio: 21/9;
    overflow: hidden;
}

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

.review-article-content {
    padding: 1.5rem;
}

.review-article-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.review-article-text {
    line-height: 1.9;
    color: var(--text-secondary);
}

.review-article-text p {
    margin-bottom: 1rem;
}

/* 授权信息 */
.license-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.license-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.license-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.license-info {
    text-align: center;
}

.license-number {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.license-org {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 负责任观影 */
.responsible-section {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), var(--dark-bg));
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.responsible-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ef4444;
}

.responsible-list {
    list-style: none;
}

.responsible-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.responsible-list li:last-child {
    border-bottom: none;
}

.responsible-icon {
    color: #ef4444;
    font-size: 1.25rem;
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, var(--card-bg) 0%, #0a0510 100%);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.footer-payment {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-payment img {
    height: 30px;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
}

.age-restriction {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ef4444;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.breadcrumb-list li::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--text-secondary);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--text-secondary);
}

.breadcrumb-list li:last-child {
    color: var(--secondary-color);
}

/* CTA按钮 */
.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-color);
    color: #fff;
}

/* 内页样式 */
.page-header {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-desc {
    color: var(--text-secondary);
}

.article-content {
    padding: 2rem 0;
}

.article-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
}

.article-content h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

.article-content p {
    margin-bottom: 1rem;
    line-height: 1.9;
}

.article-content ul, .article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-image {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
}

/* APP下载页面 */
.app-hero {
    text-align: center;
    padding: 3rem 0;
}

.app-mockup {
    max-width: 300px;
    margin: 2rem auto;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.download-btn-icon {
    font-size: 2rem;
}

.download-btn-text {
    text-align: left;
}

.download-btn-small {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.download-btn-large {
    font-size: 1.1rem;
    font-weight: 600;
}

.app-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.app-feature {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.app-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.app-feature-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.app-feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 响应式设计 - 平板 */
@media (min-width: 768px) {
    .nav-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .payment-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .app-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式设计 - 桌面 */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .app-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* 预加载和性能优化 */
.lazyload {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazyload.loaded {
    opacity: 1;
}
