/* ========================================
   911爆料网 - 全站样式表
   品牌：911爆料网 | 域名：myapp8.com
   定位：国内影视传媒公司+视频社区
   ======================================== */

/* CSS Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: #333; background: #f8f9fa; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
a:hover { color: #e63946; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ========== 头部导航 ========== */
.site-header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap img { height: 45px; width: auto; }
.logo-wrap h1 { color: #fff; font-size: 1.4rem; font-weight: 700; }
.logo-wrap h1 span { color: #e63946; }
.header-slogan { color: rgba(255,255,255,0.7); font-size: 0.75rem; }

/* 导航菜单 */
.main-nav { background: rgba(255,255,255,0.05); border-top: 1px solid rgba(255,255,255,0.1); }
.main-nav ul { display: flex; justify-content: center; gap: 0; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 12px 22px; color: rgba(255,255,255,0.9); font-size: 0.95rem; font-weight: 500; transition: all 0.3s; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(230,57,70,0.2); border-bottom-color: #e63946; }

/* 搜索框 */
.search-bar { background: linear-gradient(90deg, #e63946, #f4845f); padding: 12px 0; }
.search-bar .container { text-align: center; }
.search-bar form { display: flex; align-items: center; justify-content: center; gap: 10px; }
.search-bar input[type="text"] { width: 50%; max-width: 500px; padding: 10px 20px; border: none; border-radius: 25px; font-size: 0.95rem; outline: none; background: #fff; }
.search-bar button { padding: 10px 25px; border: none; border-radius: 25px; background: #1a1a2e; color: #fff; font-size: 0.95rem; cursor: pointer; transition: background 0.3s; }
.search-bar button:hover { background: #16213e; }
.search-hot { color: rgba(255,255,255,0.9); font-size: 0.8rem; }
.search-hot a { color: #fff; margin: 0 5px; text-decoration: underline; }

/* ========== Banner轮播 ========== */
.hero-banner { position: relative; overflow: hidden; height: 480px; }
.banner-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; }
.banner-slide.active { opacity: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.3) 60%, transparent 100%); display: flex; align-items: center; }
.banner-text { padding-left: 60px; max-width: 550px; }
.banner-text h2 { color: #fff; font-size: 2.2rem; margin-bottom: 15px; line-height: 1.3; }
.banner-text p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 25px; }
.btn-primary { display: inline-block; padding: 12px 30px; background: linear-gradient(135deg, #e63946, #f4845f); color: #fff; border-radius: 30px; font-weight: 600; transition: transform 0.3s, box-shadow 0.3s; border: none; cursor: pointer; font-size: 1rem; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230,57,70,0.4); color: #fff; }
.btn-outline { display: inline-block; padding: 10px 25px; border: 2px solid #fff; color: #fff; border-radius: 30px; font-weight: 500; transition: all 0.3s; margin-left: 10px; }
.btn-outline:hover { background: #fff; color: #1a1a2e; }

/* ========== 通用模块标题 ========== */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.8rem; color: #1a1a2e; margin-bottom: 10px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, #e63946, #f4845f); margin: 10px auto 0; border-radius: 2px; }
.section-title h3 { font-size: 1.6rem; color: #1a1a2e; margin-bottom: 10px; position: relative; display: inline-block; }
.section-title h3::after { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, #e63946, #f4845f); margin: 10px auto 0; border-radius: 2px; }
.section-title p { color: #666; font-size: 0.95rem; }

/* ========== 视频卡片 ========== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.video-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.video-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); }
.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.05); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(230,57,70,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; cursor: pointer; }
.play-btn::after { content: ''; display: block; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-card:hover .play-btn { opacity: 1; }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.75); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }
.video-info { padding: 15px; }
.video-info h3 { font-size: 1rem; color: #1a1a2e; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; align-items: center; justify-content: space-between; color: #999; font-size: 0.8rem; }
.video-meta .views { display: flex; align-items: center; gap: 4px; }
.video-tag { display: inline-block; padding: 2px 8px; background: rgba(230,57,70,0.1); color: #e63946; border-radius: 4px; font-size: 0.7rem; margin-right: 5px; }
.video-stats { display: flex; gap: 12px; margin-top: 8px; color: #999; font-size: 0.78rem; }
.video-stats span { display: flex; align-items: center; gap: 3px; }

/* ========== 分类标签 ========== */
.category-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.category-tabs .tab { padding: 8px 20px; border: 1px solid #ddd; border-radius: 25px; cursor: pointer; transition: all 0.3s; font-size: 0.9rem; color: #666; }
.category-tabs .tab:hover, .category-tabs .tab.active { background: linear-gradient(135deg, #e63946, #f4845f); color: #fff; border-color: transparent; }

/* ========== 专家展示 ========== */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }
.expert-card { background: #fff; border-radius: 12px; padding: 30px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s; }
.expert-card:hover { transform: translateY(-5px); }
.expert-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; border: 3px solid #e63946; }
.expert-card h4 { font-size: 1.1rem; color: #1a1a2e; margin-bottom: 5px; }
.expert-card .role { color: #e63946; font-size: 0.85rem; margin-bottom: 10px; }
.expert-card p { color: #666; font-size: 0.85rem; margin-bottom: 15px; line-height: 1.5; }
.expert-card .btn-sm { display: inline-block; padding: 6px 18px; border: 1px solid #e63946; color: #e63946; border-radius: 20px; font-size: 0.8rem; transition: all 0.3s; margin: 0 3px; }
.expert-card .btn-sm:hover { background: #e63946; color: #fff; }

/* ========== 用户评价 ========== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.review-card { background: #fff; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.review-card .stars { color: #f4845f; font-size: 1.1rem; margin-bottom: 10px; }
.review-card p { color: #555; font-size: 0.9rem; line-height: 1.6; margin-bottom: 15px; }
.review-card .reviewer { display: flex; align-items: center; gap: 10px; }
.review-card .reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #e63946, #f4845f); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.review-card .reviewer-name { font-weight: 600; color: #1a1a2e; font-size: 0.9rem; }
.review-card .reviewer-date { color: #999; font-size: 0.75rem; }

/* ========== 合作品牌 ========== */
.partner-wall { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 30px; padding: 30px 0; }
.partner-item { width: 120px; height: 60px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.06); padding: 10px; font-weight: 700; color: #999; font-size: 0.85rem; transition: all 0.3s; }
.partner-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); color: #1a1a2e; }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 10px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.faq-question { padding: 18px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #1a1a2e; transition: background 0.3s; }
.faq-question:hover { background: rgba(230,57,70,0.05); }
.faq-question::after { content: '+'; font-size: 1.3rem; color: #e63946; transition: transform 0.3s; }
.faq-item.open .faq-question::after { content: '-'; }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; color: #666; font-size: 0.9rem; line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 25px 18px; }

/* ========== 联系我们 ========== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.contact-card { background: #fff; border-radius: 12px; padding: 25px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.contact-card .icon { width: 50px; height: 50px; background: linear-gradient(135deg, #e63946, #f4845f); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; color: #fff; font-size: 1.3rem; }
.contact-card h4 { color: #1a1a2e; margin-bottom: 8px; }
.contact-card p { color: #666; font-size: 0.9rem; }

/* ========== 社交分享 ========== */
.share-bar { display: flex; justify-content: center; gap: 15px; padding: 20px 0; }
.share-btn { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; transition: transform 0.3s; cursor: pointer; }
.share-btn:hover { transform: scale(1.15); }
.share-btn.wechat { background: #07c160; }
.share-btn.weibo { background: #e6162d; }
.share-btn.douyin { background: #000; }
.share-btn.bilibili { background: #00a1d6; }
.share-btn.qq { background: #12b7f5; }

/* ========== 页脚 ========== */
.site-footer { background: linear-gradient(135deg, #1a1a2e, #16213e); color: rgba(255,255,255,0.7); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 15px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: #e63946; }
.footer-col p, .footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: #e63946; }
.footer-qr { display: flex; gap: 20px; }
.footer-qr img { width: 100px; height: 100px; border-radius: 8px; }
.footer-qr-label { text-align: center; font-size: 0.75rem; margin-top: 5px; color: rgba(255,255,255,0.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.8rem; }
.footer-bottom a { color: #e63946; }

/* ========== 通用区块 ========== */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-dark { background: linear-gradient(135deg, #1a1a2e, #0f3460); color: #fff; }
.section-dark .section-title h2 { color: #fff; }
.section-dark .section-title p { color: rgba(255,255,255,0.7); }

/* ========== 面包屑 ========== */
.breadcrumb { padding: 15px 0; font-size: 0.85rem; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #e63946; }
.breadcrumb span { margin: 0 8px; }

/* ========== 内页标题区 ========== */
.page-hero { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%); padding: 60px 0 40px; text-align: center; }
.page-hero h1, .page-hero h2 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; }

/* ========== 功能卡片 ========== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; }
.feature-card { background: #fff; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); }
.feature-card .icon-lg { width: 70px; height: 70px; background: linear-gradient(135deg, #e63946, #f4845f); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: #fff; }
.feature-card h4 { color: #1a1a2e; margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { color: #666; font-size: 0.88rem; line-height: 1.5; }

/* ========== 社区话题 ========== */
.topic-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; }
.topic-item { background: #fff; border-radius: 10px; padding: 20px; display: flex; gap: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); transition: transform 0.3s; }
.topic-item:hover { transform: translateX(5px); }
.topic-item img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.topic-item h4 { font-size: 0.95rem; color: #1a1a2e; margin-bottom: 5px; }
.topic-item p { color: #666; font-size: 0.82rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.topic-item .topic-stats { margin-top: 8px; font-size: 0.75rem; color: #999; }

/* ========== 工具卡片 ========== */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.tool-card { background: #fff; border-radius: 12px; padding: 25px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: all 0.3s; border: 2px solid transparent; }
.tool-card:hover { border-color: #e63946; transform: translateY(-3px); }
.tool-card .tool-icon { font-size: 2.5rem; margin-bottom: 15px; }
.tool-card h4 { color: #1a1a2e; margin-bottom: 8px; }
.tool-card p { color: #666; font-size: 0.85rem; margin-bottom: 15px; }
.tool-card .btn-tool { display: inline-block; padding: 8px 20px; background: linear-gradient(135deg, #e63946, #f4845f); color: #fff; border-radius: 20px; font-size: 0.85rem; transition: all 0.3s; }
.tool-card .btn-tool:hover { box-shadow: 0 4px 15px rgba(230,57,70,0.4); }

/* ========== 数据统计 ========== */
.stats-bar { display: flex; justify-content: center; gap: 60px; padding: 40px 0; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item .num { font-size: 2.5rem; font-weight: 700; color: #e63946; display: block; }
.stat-item .label { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ========== 移动端汉堡菜单 ========== */
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 5px; }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .banner-text h2 { font-size: 1.6rem; }
  .banner-text { padding-left: 30px; }
  .hero-banner { height: 350px; }
  .stats-bar { gap: 30px; }
  .stat-item .num { font-size: 2rem; }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #1a1a2e; z-index: 999; }
  .main-nav.show { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hero-banner { height: 280px; }
  .banner-text { padding-left: 20px; }
  .banner-text h2 { font-size: 1.3rem; }
  .banner-text p { font-size: 0.85rem; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 1.4rem; }
  .search-bar input[type="text"] { width: 60%; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-top { padding: 8px 0; }
  .logo-wrap h1 { font-size: 1.1rem; }
  .topic-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-bar .container { flex-direction: column; }
  .search-bar input[type="text"] { width: 100%; }
  .category-tabs .tab { padding: 6px 14px; font-size: 0.8rem; }
  .stats-bar { gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ========== 懒加载占位 ========== */
img[loading="lazy"] { background: #eee; min-height: 100px; }

/* ========== 动画 ========== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* ========== 直播标签 ========== */
.live-badge { position: absolute; top: 10px; left: 10px; background: #e63946; color: #fff; padding: 3px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ========== HOW-TO指南 ========== */
.howto-steps { max-width: 700px; margin: 0 auto; }
.howto-step { display: flex; gap: 20px; margin-bottom: 25px; align-items: flex-start; }
.howto-step .step-num { width: 40px; height: 40px; background: linear-gradient(135deg, #e63946, #f4845f); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.howto-step .step-content h4 { color: #1a1a2e; margin-bottom: 5px; }
.howto-step .step-content p { color: #666; font-size: 0.9rem; }

/* ========== 视频时长标签 ========== */
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.75); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }

/* ========== 更多加载按钮 ========== */
.load-more { text-align: center; margin-top: 40px; }
.load-more .btn-primary { padding: 10px 40px; }
