/* ============================================
   17c一起草 - 金色影院奢华风主题
   全新原创CSS - csxk.com.cn
   ============================================ */

/* === 基础变量 === */
:root {
    --gold: #d4a853;
    --gold-light: #f0d48a;
    --gold-dark: #b8892e;
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a26;
    --bg-card-hover: #222233;
    --text-primary: #f5f0e8;
    --text-secondary: #a8a0b0;
    --text-muted: #6b6578;
    --accent-red: #e84057;
    --accent-blue: #4a7cf7;
    --border-color: rgba(212,168,83,0.15);
    --shadow-gold: 0 4px 30px rgba(212,168,83,0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --max-width: 1280px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === 容器 === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* === 顶部导航 === */
.top-header {
    background: linear-gradient(180deg, rgba(10,10,15,0.98) 0%, rgba(10,10,15,0.92) 100%);
    backdrop-filter: blur(20px);
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    height: 68px;
}
.nav-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 38px; width: auto; border-radius: 6px; }
.nav-logo span {
    font-size: 1.3rem; font-weight: 700; color: var(--gold);
    letter-spacing: 1px;
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
    color: var(--text-secondary); font-size: 0.92rem; padding: 8px 14px;
    border-radius: var(--radius-sm); transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--gold); background: rgba(212,168,83,0.08);
}
.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }

/* === 搜索框 === */
.search-bar {
    background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
    padding: 12px 0; margin-top: 68px;
}
.search-wrap {
    max-width: 680px; margin: 0 auto; display: flex; gap: 0;
    border-radius: 50px; overflow: hidden; border: 1px solid var(--border-color);
    background: var(--bg-card);
}
.search-wrap input {
    flex: 1; padding: 12px 24px; background: transparent; border: none;
    color: var(--text-primary); font-size: 0.95rem; outline: none;
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-wrap button {
    padding: 12px 28px; background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none; color: #0a0a0f; font-weight: 600; cursor: pointer;
    font-size: 0.95rem; transition: opacity 0.3s;
}
.search-wrap button:hover { opacity: 0.85; }

/* === Hero区域 === */
.hero-section {
    position: relative; min-height: 520px; display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,10,15,0.88) 0%, rgba(10,10,15,0.55) 50%, rgba(10,10,15,0.85) 100%);
}
.hero-content {
    position: relative; z-index: 2; max-width: var(--max-width);
    margin: 0 auto; padding: 80px 20px 60px;
}
.hero-content h1 {
    font-size: 2.8rem; font-weight: 800; line-height: 1.25;
    margin-bottom: 18px;
}
.hero-content h1 em {
    font-style: normal; color: var(--gold);
    text-shadow: 0 0 40px rgba(212,168,83,0.3);
}
.hero-content p {
    font-size: 1.1rem; color: var(--text-secondary); max-width: 600px;
    margin-bottom: 30px; line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-gold {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0f; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,168,83,0.3); color: #0a0a0f; }
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem;
    background: transparent; color: var(--gold); border: 2px solid var(--gold);
    transition: all 0.3s; cursor: pointer;
}
.btn-outline:hover { background: rgba(212,168,83,0.1); transform: translateY(-2px); }

/* === 通用段落 === */
.section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
    font-size: 2rem; font-weight: 700; margin-bottom: 12px;
}
.section-header h2 .hl { color: var(--gold); }
.section-header p { color: var(--text-secondary); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-alt { background: var(--bg-secondary); }

/* === 视频卡片网格 === */
.video-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.video-card {
    background: var(--bg-card); border-radius: var(--radius-md);
    overflow: hidden; transition: all 0.35s; border: 1px solid transparent;
    cursor: pointer;
}
.video-card:hover {
    transform: translateY(-6px); border-color: var(--border-color);
    box-shadow: var(--shadow-gold);
}
.video-thumb {
    position: relative; overflow: hidden; aspect-ratio: 16/9;
}
.video-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(212,168,83,0.9); display: flex; align-items: center; justify-content: center;
    transition: all 0.35s; opacity: 0;
}
.play-btn::after {
    content: ''; width: 0; height: 0;
    border-left: 18px solid #0a0a0f; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
    margin-left: 4px;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.video-duration {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.8); color: #fff; font-size: 0.78rem;
    padding: 2px 8px; border-radius: 4px;
}
.video-info { padding: 14px 16px; }
.video-info h3 {
    font-size: 0.95rem; font-weight: 600; margin-bottom: 8px;
    line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta {
    display: flex; gap: 14px; font-size: 0.8rem; color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tag {
    position: absolute; top: 10px; left: 10px;
    background: var(--accent-red); color: #fff; font-size: 0.72rem;
    padding: 3px 10px; border-radius: 4px; font-weight: 600;
}

/* === 分类导航条 === */
.cat-tabs {
    display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
    margin-bottom: 36px;
}
.cat-tabs a {
    padding: 8px 22px; border-radius: 50px; font-size: 0.9rem;
    color: var(--text-secondary); border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.cat-tabs a:hover, .cat-tabs a.active {
    color: var(--gold); border-color: var(--gold); background: rgba(212,168,83,0.08);
}

/* === 影视传媒服务 === */
.service-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
    background: var(--bg-card); border-radius: var(--radius-md);
    padding: 36px 28px; text-align: center;
    border: 1px solid var(--border-color); transition: all 0.35s;
}
.service-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-gold);
    border-color: var(--gold);
}
.service-icon {
    width: 64px; height: 64px; margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(212,168,83,0.15), rgba(212,168,83,0.05));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* === 专家展示 === */
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.expert-card {
    background: var(--bg-card); border-radius: var(--radius-md);
    padding: 32px 24px; text-align: center;
    border: 1px solid var(--border-color); transition: all 0.4s;
    position: relative; overflow: hidden;
}
.expert-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0); transition: transform 0.4s; transform-origin: left;
}
.expert-card:hover::before { transform: scaleX(1); }
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.expert-avatar {
    width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px;
    overflow: hidden; border: 3px solid var(--gold);
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.expert-card .role { color: var(--gold); font-size: 0.85rem; margin-bottom: 10px; }
.expert-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.expert-links { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.expert-links a {
    padding: 6px 16px; border-radius: 50px; font-size: 0.82rem;
    border: 1px solid var(--border-color); color: var(--text-secondary);
    transition: all 0.3s;
}
.expert-links a:hover { border-color: var(--gold); color: var(--gold); }

/* === 用户评价 === */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card {
    background: var(--bg-card); border-radius: var(--radius-md);
    padding: 28px; border: 1px solid var(--border-color);
}
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card blockquote {
    font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 16px; font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author .avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    color: #0a0a0f; font-weight: 700; font-size: 1rem;
}
.review-author .name { font-weight: 600; font-size: 0.9rem; }
.review-author .date { font-size: 0.8rem; color: var(--text-muted); }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    margin-bottom: 12px; overflow: hidden;
}
.faq-q {
    padding: 18px 24px; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 1rem; transition: background 0.3s;
}
.faq-q:hover { background: rgba(212,168,83,0.05); }
.faq-q .arrow { color: var(--gold); transition: transform 0.3s; font-size: 1.2rem; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 18px; }
.faq-a p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }

/* === How-To指南 === */
.howto-steps { max-width: 700px; margin: 0 auto; }
.howto-step {
    display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start;
}
.step-num {
    width: 48px; height: 48px; min-width: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0f; font-weight: 800; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
}
.step-content h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; color: var(--text-secondary); }

/* === 合作品牌 === */
.brand-wall {
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
    align-items: center;
}
.brand-wall .brand-item {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 18px 32px;
    font-size: 1rem; font-weight: 600; color: var(--text-secondary);
    transition: all 0.3s;
}
.brand-wall .brand-item:hover {
    border-color: var(--gold); color: var(--gold);
}

/* === 联系我们 === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--bg-card); padding: 20px; border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.contact-item .icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
    background: rgba(212,168,83,0.1); display: flex; align-items: center;
    justify-content: center; font-size: 1.2rem;
}
.contact-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.88rem; color: var(--text-secondary); }
.contact-qrcodes { display: flex; gap: 24px; justify-content: center; align-items: center; }
.qr-box { text-align: center; }
.qr-box img { width: 160px; height: 160px; border-radius: var(--radius-md); margin-bottom: 8px; }
.qr-box p { font-size: 0.85rem; color: var(--text-secondary); }

/* === 社交分享 === */
.share-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.share-btns a {
    padding: 10px 24px; border-radius: 50px; font-size: 0.88rem;
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-secondary); transition: all 0.3s;
}
.share-btns a:hover { border-color: var(--gold); color: var(--gold); }

/* === 页脚 === */
.site-footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    padding: 50px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    margin-bottom: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; max-width: 300px; }
.footer-col h4 {
    font-size: 1rem; color: var(--gold); margin-bottom: 16px;
    padding-bottom: 8px; border-bottom: 1px solid var(--border-color);
}
.footer-col a {
    display: block; color: var(--text-secondary); font-size: 0.88rem;
    padding: 5px 0; transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0; text-align: center;
    font-size: 0.85rem; color: var(--text-muted);
}

/* === 面包屑 === */
.breadcrumb {
    padding: 14px 0; font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

/* === 内页Banner === */
.page-banner {
    position: relative; min-height: 280px; display: flex; align-items: center;
    overflow: hidden; margin-top: 68px;
}
.page-banner .banner-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
}
.page-banner .banner-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.6) 100%);
}
.page-banner .banner-content {
    position: relative; z-index: 2; max-width: var(--max-width);
    margin: 0 auto; padding: 60px 20px;
}
.page-banner h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.page-banner h1 em { font-style: normal; color: var(--gold); }
.page-banner p { color: var(--text-secondary); font-size: 1rem; }

/* === 数据统计条 === */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin: 40px 0;
}
.stat-item {
    text-align: center; padding: 24px; background: var(--bg-card);
    border-radius: var(--radius-md); border: 1px solid var(--border-color);
}
.stat-item .num {
    font-size: 2rem; font-weight: 800; color: var(--gold);
    display: block; margin-bottom: 4px;
}
.stat-item .label { font-size: 0.88rem; color: var(--text-secondary); }

/* === AI赋能区 === */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ai-card {
    background: var(--bg-card); border-radius: var(--radius-md);
    padding: 32px; border: 1px solid var(--border-color);
    transition: all 0.35s;
}
.ai-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.ai-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--gold); }
.ai-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }

/* === 响应式 === */
@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
        background: rgba(10,10,15,0.98); flex-direction: column; padding: 30px;
        gap: 8px; z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero-content h1 { font-size: 1.8rem; }
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .service-grid { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .ai-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 45px 0; }
    .section-header h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .stats-bar { grid-template-columns: 1fr 1fr; gap: 12px; }
    .contact-qrcodes { flex-direction: column; }
}
