/* 星耀影视 - 主样式表 */
/* 独特配色方案：深紫+金色+暗灰 */

:root {
    --primary-gold: #D4AF37;
    --primary-purple: #2D1B4E;
    --secondary-purple: #4A2C7A;
    --dark-bg: #0D0D0D;
    --light-bg: #1A1A2E;
    --text-light: #F5F5F5;
    --text-muted: #A0A0A0;
    --accent-red: #C41E3A;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4E5B2 50%, #D4AF37 100%);
    --gradient-purple: linear-gradient(180deg, #2D1B4E 0%, #1A1A2E 100%);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

/* 链接样式 */
a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #F4E5B2;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

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

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* 头部导航 - 非sticky */
.site-header {
    background: var(--gradient-purple);
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-gold);
    position: relative;
    z-index: 100;
}

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

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

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

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 主导航 */
.main-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 10px 18px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 25px;
    color: var(--primary-gold);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-gold);
    color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: var(--primary-gold);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--primary-purple);
    font-weight: 600;
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--light-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.9;
}

.hero-cta {
    display: inline-block;
    padding: 16px 45px;
    background: var(--gradient-gold);
    color: var(--primary-purple);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    color: var(--primary-purple);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background: var(--light-bg);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--primary-gold);
}

.breadcrumb-item::after {
    content: '›';
    color: var(--text-muted);
}

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

/* 内容区块 */
.content-section {
    padding: 60px 0;
}

.section-alt {
    background: var(--light-bg);
}

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

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

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

/* 视频卡片网格 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.video-card {
    background: var(--light-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

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

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

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-play-btn {
    opacity: 1;
}

.video-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid var(--primary-purple);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.video-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-gold);
}

/* 明星卡片 */
.star-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.star-card {
    text-align: center;
    padding: 25px 15px;
    background: var(--light-bg);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
}

.star-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.star-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--primary-gold);
    overflow: hidden;
}

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

.star-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}

.star-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.about-text {
    font-size: 1.05rem;
    line-height: 2;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

/* 支付方式 */
.payment-section {
    text-align: center;
    padding: 50px 0;
    background: var(--light-bg);
}

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

.payment-icon {
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.payment-icon img {
    height: 40px;
    width: auto;
}

.pix-highlight {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary-gold);
    position: relative;
}

.pix-highlight::before {
    content: '推荐';
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-red);
    color: white;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 10px;
}

/* 用户评论 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

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

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-gold);
}

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

.review-author {
    flex: 1;
}

.review-name {
    font-weight: 600;
    color: var(--text-light);
}

.review-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.review-content {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

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

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.9;
}

/* 作者信息 */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--light-bg);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin: 40px 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-gold);
    flex-shrink: 0;
}

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

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

.author-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 牌照信息 */
.license-section {
    text-align: center;
    padding: 50px 0;
}

.license-badge {
    display: inline-block;
    max-width: 200px;
    margin-bottom: 20px;
}

.license-info {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 客户支持 */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.support-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--light-bg);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

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

.support-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

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

/* APP下载 */
.app-section {
    background: var(--gradient-purple);
    padding: 80px 0;
}

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

.app-info h2 {
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.app-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.9;
}

.app-features {
    list-style: none;
    margin: 25px 0;
}

.app-features li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-features li::before {
    content: '✓';
    color: var(--primary-gold);
    font-weight: bold;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.app-btn {
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.app-btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-purple);
}

.app-btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.app-image {
    text-align: center;
}

.app-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-dark);
}

/* 页脚 */
.site-footer {
    background: var(--primary-purple);
    padding: 60px 0 30px;
    border-top: 2px solid var(--primary-gold);
}

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

.footer-col h4 {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-gold);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--primary-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* 视频播放模块 */
.video-player-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-player {
    width: 100%;
    height: 100%;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.page-title {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.page-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.page-content {
    padding: 50px 0;
}

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

.content-article h2 {
    color: var(--primary-gold);
    font-size: 1.6rem;
    margin: 35px 0 20px;
}

.content-article h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin: 25px 0 15px;
}

.content-article p {
    margin-bottom: 20px;
    line-height: 2;
}

.content-article img {
    border-radius: 12px;
    margin: 25px 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .app-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-purple);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--primary-gold);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-link {
        text-align: center;
        border-radius: 8px;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .star-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.2rem;
    }
    
    .logo-wrap img {
        width: 40px;
        height: 40px;
    }
    
    .hero-cta {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .star-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .app-btn {
        width: 100%;
        justify-content: center;
    }
}

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

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

/* 懒加载占位 */
.lazy-placeholder {
    background: linear-gradient(90deg, var(--light-bg) 25%, var(--dark-bg) 50%, var(--light-bg) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .hero-cta {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
