/* 抖荫短视频 原创样式 - 暗金火焰主题 */
:root {
  --bg-primary: #0d0f1a;
  --bg-secondary: #141729;
  --bg-card: #1a1e35;
  --bg-hover: #232848;
  --accent-gold: #f0a030;
  --accent-orange: #e8621a;
  --accent-fire: #ff4e1a;
  --accent-blue: #2a7fff;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a4c0;
  --text-muted: #6b70a0;
  --border-color: #2a2f50;
  --gradient-fire: linear-gradient(135deg, #f0a030 0%, #e8621a 50%, #ff4e1a 100%);
  --gradient-dark: linear-gradient(180deg, #0d0f1a 0%, #141729 100%);
  --shadow-glow: 0 0 20px rgba(240,160,48,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1280px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'PingFang SC','Microsoft YaHei','Helvetica Neue',sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.7; }
a { color: var(--accent-gold); text-decoration: none; transition: color .3s; }
a:hover { color: var(--accent-orange); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Header */
.site-header { background: rgba(13,15,26,0.95); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border-color); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 42px; width: auto; }
.logo-wrap span { font-size: 1.4rem; font-weight: 700; background: var(--gradient-fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav { display: flex; gap: 6px; }
.main-nav a { padding: 8px 16px; border-radius: var(--radius-sm); color: var(--text-secondary); font-size: .9rem; transition: all .3s; }
.main-nav a:hover, .main-nav a.active { color: var(--accent-gold); background: rgba(240,160,48,0.1); }
.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* Search Bar */
.search-bar { background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); padding: 12px 0; }
.search-wrap { max-width: 600px; margin: 0 auto; display: flex; gap: 8px; padding: 0 20px; }
.search-wrap input { flex: 1; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 10px 16px; color: var(--text-primary); font-size: .9rem; outline: none; transition: border-color .3s; }
.search-wrap input:focus { border-color: var(--accent-gold); }
.search-wrap button { background: var(--gradient-fire); border: none; border-radius: var(--radius-sm); padding: 10px 24px; color: #fff; font-weight: 600; cursor: pointer; transition: opacity .3s; }
.search-wrap button:hover { opacity: .85; }

/* Hero Banner */
.hero-banner { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero-banner .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.4); }
.hero-banner .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(13,15,26,0.9) 0%, rgba(13,15,26,0.4) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 60px 20px; }
.hero-content h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.hero-content h1 .brand-highlight { background: var(--gradient-fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-fire { display: inline-flex; align-items: center; gap: 8px; background: var(--gradient-fire); color: #fff; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; transition: transform .3s, box-shadow .3s; }
.btn-fire:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--accent-gold); color: var(--accent-gold); padding: 10px 26px; border-radius: var(--radius); font-weight: 600; transition: all .3s; }
.btn-outline:hover { background: rgba(240,160,48,0.1); }

/* Section Common */
.section { padding: 70px 0; }
.section-dark { background: var(--bg-secondary); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.section-title h2 .gold { color: var(--accent-gold); }
.section-title p { color: var(--text-secondary); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* Video Cards Grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); transition: transform .3s, box-shadow .3s; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.45); opacity: 0; transition: opacity .3s; cursor: pointer; }
.video-card:hover .play-btn { opacity: 1; }
.play-btn span { width: 56px; height: 56px; background: var(--gradient-fire); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; box-shadow: 0 4px 20px rgba(232,98,26,0.4); }
.video-info { padding: 16px; }
.video-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; gap: 16px; color: var(--text-muted); font-size: .8rem; }
.video-tag { display: inline-block; background: rgba(240,160,48,0.12); color: var(--accent-gold); padding: 3px 10px; border-radius: 20px; font-size: .75rem; margin-top: 8px; }

/* Module Grid (3 cols) */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: all .3s; }
.module-card:hover { border-color: var(--accent-gold); box-shadow: var(--shadow-glow); transform: translateY(-3px); }
.module-icon { width: 64px; height: 64px; margin: 0 auto 18px; background: rgba(240,160,48,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.module-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.module-card p { color: var(--text-secondary); font-size: .88rem; }

/* Expert Cards */
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.expert-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; text-align: center; transition: all .3s; }
.expert-card:hover { border-color: var(--accent-gold); box-shadow: var(--shadow-glow); }
.expert-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.expert-card .expert-info { padding: 18px; }
.expert-card h3 { font-size: 1rem; margin-bottom: 4px; }
.expert-card .role { color: var(--accent-gold); font-size: .85rem; margin-bottom: 8px; }
.expert-card p { color: var(--text-secondary); font-size: .82rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-color); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; font-weight: 600; background: var(--bg-card); transition: background .3s; }
.faq-q:hover { background: var(--bg-hover); }
.faq-q .arrow { transition: transform .3s; font-size: 1.2rem; color: var(--accent-gold); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s; color: var(--text-secondary); font-size: .92rem; line-height: 1.8; }
.faq-item.open .faq-a { max-height: 300px; padding: 16px 20px; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px; }
.review-card .stars { color: var(--accent-gold); font-size: 1rem; margin-bottom: 12px; }
.review-card blockquote { color: var(--text-secondary); font-size: .92rem; line-height: 1.8; margin-bottom: 14px; font-style: italic; }
.review-card .reviewer { display: flex; align-items: center; gap: 10px; }
.review-card .reviewer-name { font-weight: 600; font-size: .9rem; }
.review-card .reviewer-date { color: var(--text-muted); font-size: .8rem; }

/* Community Cards */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.community-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.community-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.community-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.community-card .card-body { padding: 18px; }
.community-card h3 { font-size: 1rem; margin-bottom: 8px; }
.community-card p { color: var(--text-secondary); font-size: .85rem; }

/* Stats Bar */
.stats-bar { background: var(--gradient-fire); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item .stat-num { font-size: 2.4rem; font-weight: 800; color: #fff; }
.stat-item .stat-label { color: rgba(255,255,255,0.85); font-size: .9rem; margin-top: 4px; }

/* Partners */
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; align-items: center; }
.partners-grid img { height: 48px; opacity: .6; transition: opacity .3s; filter: grayscale(1) brightness(2); }
.partners-grid img:hover { opacity: 1; filter: none; }

/* Footer */
.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: 14px; }
.footer-brand p { color: var(--text-secondary); font-size: .88rem; line-height: 1.7; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: var(--accent-gold); }
.footer-col a { display: block; color: var(--text-secondary); font-size: .88rem; padding: 4px 0; transition: color .3s; }
.footer-col a:hover { color: var(--accent-gold); }
.footer-qr { display: flex; gap: 16px; margin-top: 14px; }
.footer-qr img { width: 90px; height: 90px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); }
.footer-bottom { border-top: 1px solid var(--border-color); padding: 20px 0; text-align: center; color: var(--text-muted); font-size: .82rem; }
.footer-bottom a { color: var(--text-muted); }

/* Breadcrumb */
.breadcrumb { padding: 14px 0; color: var(--text-muted); font-size: .85rem; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { margin: 0 6px; }

/* Page Hero */
.page-hero { background: var(--bg-secondary); padding: 60px 0; text-align: center; border-bottom: 1px solid var(--border-color); }
.page-hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Topic Intro */
.topic-intro { padding: 40px 0; }
.topic-intro p { color: var(--text-secondary); font-size: .95rem; line-height: 1.9; max-width: 900px; margin: 0 auto 16px; }

/* Video Nav Grid */
.video-nav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 40px; }
.video-nav-grid a { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 14px; text-align: center; color: var(--text-secondary); transition: all .3s; }
.video-nav-grid a:hover { border-color: var(--accent-gold); color: var(--accent-gold); background: rgba(240,160,48,0.05); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); color: var(--text-secondary); font-size: .9rem; }
.pagination .current { background: var(--gradient-fire); color: #fff; border-color: transparent; }

/* About Grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-grid img { border-radius: var(--radius); }
.about-text h2 { font-size: 1.8rem; margin-bottom: 16px; }
.about-text p { color: var(--text-secondary); line-height: 1.9; margin-bottom: 14px; }

/* Cert Grid */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 24px; text-align: center; }
.cert-card h4 { color: var(--accent-gold); margin-bottom: 8px; }
.cert-card p { color: var(--text-secondary); font-size: .85rem; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; }
.contact-info-card h3 { color: var(--accent-gold); margin-bottom: 12px; }
.contact-info-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.8; }

/* Accessory / Equipment Card */
.equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.equip-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.equip-card:hover { border-color: var(--accent-gold); box-shadow: var(--shadow-glow); }
.equip-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.equip-card .equip-body { padding: 18px; }
.equip-card h3 { font-size: 1rem; margin-bottom: 6px; }
.equip-card .price { color: var(--accent-fire); font-weight: 700; font-size: 1.1rem; }
.equip-card p { color: var(--text-secondary); font-size: .85rem; margin-top: 6px; }

/* Share Buttons */
.share-bar { display: flex; gap: 12px; justify-content: center; padding: 20px 0; }
.share-bar a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-secondary); transition: all .3s; }
.share-bar a:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

/* Video Modal */
.video-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.85); align-items: center; justify-content: center; }
.video-modal.active { display: flex; }
.video-modal-inner { background: var(--bg-card); border-radius: var(--radius); padding: 20px; max-width: 800px; width: 90%; position: relative; }
.video-modal-close { position: absolute; top: -12px; right: -12px; width: 36px; height: 36px; background: var(--accent-fire); border: none; border-radius: 50%; color: #fff; font-size: 1.2rem; cursor: pointer; }
.video-modal-inner .placeholder { aspect-ratio: 16/9; background: #000; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.1rem; }

/* Noise tags hidden */
.vw-noise { display: none !important; }

/* Responsive */
@media (max-width: 1024px) {
  .module-grid, .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--bg-primary); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border-color); z-index: 999; }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-banner { min-height: 400px; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .module-grid, .community-grid, .cert-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .expert-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
