/* 
 * 星耀国际传媒 - 主样式表
 * 独特的深紫金配色方案
 * 移动优先响应式设计
 */

/* CSS变量定义 */
:root {
    --primary-color: #2d1b4e;
    --secondary-color: #6b3fa0;
    --accent-color: #d4af37;
    --accent-light: #f5e6a3;
    --text-dark: #1a1a2e;
    --text-light: #f8f9fa;
    --bg-dark: #0f0a1a;
    --bg-light: #faf8ff;
    --gradient-primary: linear-gradient(135deg, #2d1b4e 0%, #6b3fa0 50%, #9b59b6 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f5e6a3 50%, #d4af37 100%);
    --shadow-soft: 0 4px 20px rgba(45, 27, 78, 0.15);
    --shadow-medium: 0 8px 30px rgba(45, 27, 78, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 链接样式 */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* 头部导航 */
.site-header {
    background: var(--gradient-primary);
    padding: 16px 0;
    position: relative;
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: block;
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* 主导航 */
.main-nav {
    width: 100%;
    display: none;
}

.main-nav.active {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-list li a {
    display: block;
    padding: 12px 16px;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: var(--accent-color);
    color: var(--text-dark);
}

/* 英雄区域 */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 10, 26, 0.7) 0%, rgba(45, 27, 78, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--accent-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient-gold);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
    color: var(--text-dark);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 16px 0;
    background: var(--bg-light);
    border-bottom: 1px solid rgba(107, 63, 160, 0.1);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
}

.breadcrumb-list li::after {
    content: '>';
    margin-left: 8px;
    color: var(--secondary-color);
}

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

/* 内容区块 */
.section {
    padding: 48px 0;
}

.section-alt {
    background: linear-gradient(180deg, #f5f0ff 0%, #faf8ff 100%);
}

.section-dark {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-dark .section-title {
    color: var(--text-light);
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.card-text {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.7;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 0.875rem;
    color: #888;
}

/* 视频播放器 */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    background: var(--bg-dark);
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

.play-icon {
    width: 80px;
    height: 80px;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    cursor: pointer;
    transition: var(--transition);
}

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

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 24px solid var(--accent-color);
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 6px;
}

.play-icon:hover::after {
    border-left-color: var(--text-dark);
}

/* 评论区 */
.review-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
}

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

.reviewer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.25rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.reviewer-info span {
    font-size: 0.875rem;
    color: #888;
}

.star-rating {
    color: var(--accent-color);
    font-size: 1.125rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.8;
}

.review-date {
    font-size: 0.8125rem;
    color: #aaa;
    margin-top: 12px;
}

/* FAQ手风琴 */
.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f5f0ff;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: '−';
}

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

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

.faq-answer p {
    color: #555;
    line-height: 1.8;
}

/* 支付方式 */
.payment-section {
    text-align: center;
    padding: 32px 0;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.payment-icon {
    width: 80px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow-soft);
}

/* 团队介绍 */
.team-section {
    background: linear-gradient(180deg, #faf8ff 0%, #f0e8ff 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: var(--border-radius);
    padding: 24px 16px;
    box-shadow: var(--shadow-soft);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid var(--accent-color);
}

.team-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

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

/* 页脚 */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-section h3 {
    font-size: 1.125rem;
    color: var(--accent-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.125rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.license-badge {
    display: inline-block;
    margin-top: 16px;
}

.license-badge img {
    height: 60px;
    width: auto;
}

/* APP下载页面 */
.app-hero {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-medium);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    align-items: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    min-width: 200px;
    justify-content: center;
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    color: var(--primary-color);
}

.download-btn svg {
    width: 28px;
    height: 28px;
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.about-text p {
    margin-bottom: 16px;
    color: #555;
    line-height: 1.9;
}

.about-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* 特色列表 */
.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-content h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.7;
}

/* 内页样式 */
.page-header {
    background: var(--gradient-primary);
    padding: 48px 0;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.page-desc {
    font-size: 1rem;
    color: var(--accent-light);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 48px 0;
}

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

.content-article h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 32px 0 16px;
}

.content-article h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin: 24px 0 12px;
}

.content-article p {
    margin-bottom: 16px;
    color: #444;
    line-height: 1.9;
}

.content-article ul,
.content-article ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content-article li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.8;
}

.content-img {
    margin: 24px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

/* 作者信息 */
.author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #f5f0ff;
    padding: 24px;
    border-radius: var(--border-radius);
    margin: 32px 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.author-info h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0;
}

/* 响应式设计 - 平板 */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
    
    .main-nav {
        width: auto;
        display: block;
    }
    
    .nav-list {
        flex-direction: row;
        gap: 4px;
    }
    
    .nav-list li a {
        padding: 10px 16px;
        background: transparent;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* 响应式设计 - 桌面 */
@media (min-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .logo-img {
        width: 56px;
        height: 56px;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section {
        padding: 64px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 懒加载动画 */
.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 辅助类 */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accent-color);
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

/* 年龄限制标识 */
.age-restriction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #e74c3c;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    margin-right: 12px;
}

/* 负责任观影提示 */
.responsible-viewing {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    border-left: 4px solid var(--accent-color);
    padding: 24px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 32px 0;
}

.responsible-viewing h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.responsible-viewing p {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 8px;
}

.responsible-viewing a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* 评分星星 */
.rating-stars {
    display: inline-flex;
    gap: 2px;
}

.rating-stars .star {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.rating-stars .star.empty {
    color: #ddd;
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(107, 63, 160, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
}

.tag-gold {
    background: rgba(212, 175, 55, 0.2);
    color: #b8860b;
}
