/* ============================================================
   黑料吃瓜 - 主样式文件
   域名: nrrwp.cn
   版本: 1.0.0
   ============================================================ */

/* ---- 1. CSS变量 & 重置 ---- */
:root {
  --primary: #e8192c;
  --primary-dark: #b5101e;
  --primary-light: #ff4d5e;
  --gold: #f5a623;
  --dark: #0d0d0d;
  --dark2: #1a1a2e;
  --dark3: #16213e;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg: #f8f9fa;
  --bg2: #fff;
  --border: #e5e5e5;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 32px rgba(232,25,44,.18);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --font: 'PingFang SC','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font); }

/* ---- 2. 通用工具类 ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.section-title span { color: var(--primary); }
.section-sub { color: var(--text-light); font-size: 1rem; margin-bottom: 40px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-dark { background: var(--dark2); }
.bg-white { background: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.tag-red { background: rgba(232,25,44,.1); color: var(--primary); }
.tag-gold { background: rgba(245,166,35,.1); color: var(--gold); }
.tag-blue { background: rgba(0,122,255,.1); color: #007aff; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.badge-live { background: var(--primary); color: #fff; animation: pulse 2s infinite; }
.badge-hot { background: linear-gradient(135deg, #ff6b35, #f7c59f); color: #fff; }
.badge-new { background: linear-gradient(135deg, #56ccf2, #2f80ed); color: #fff; }

/* ---- 3. 按钮 ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: 8px; font-size: .95rem; font-weight: 600; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #333; transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: .85rem; border-radius: 6px; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; border-radius: 10px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #e8972a); color: #fff; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,.35); }

/* ---- 4. 顶部公告栏 ---- */
.top-bar { background: var(--dark); color: #ccc; font-size: .82rem; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #ccc; }
.top-bar a:hover { color: var(--primary); }
.top-bar-links { display: flex; gap: 20px; }

/* ---- 5. 导航栏 ---- */
.navbar { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 1000; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 68px; max-width: 1200px; margin: 0 auto; }
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-logo { height: 44px; width: auto; }
.navbar-brand-text { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.navbar-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 6px; font-size: .9rem; font-weight: 500; color: var(--text); transition: var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(232,25,44,.06); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.navbar-toggle { display: none; background: none; padding: 8px; border-radius: 6px; }
.navbar-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: var(--transition); }

/* ---- 6. 搜索框 ---- */
.search-bar { background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.search-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 16px; }
.search-form { flex: 1; max-width: 640px; position: relative; }
.search-input { width: 100%; padding: 11px 50px 11px 18px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); color: #fff; font-size: .95rem; font-family: var(--font); outline: none; transition: var(--transition); }
.search-input::placeholder { color: rgba(255,255,255,.4); }
.search-input:focus { border-color: var(--primary); background: rgba(255,255,255,.12); box-shadow: 0 0 0 3px rgba(232,25,44,.15); }
.search-btn { position: absolute; right: 0; top: 0; height: 100%; padding: 0 16px; background: var(--primary); border: none; border-radius: 0 8px 8px 0; color: #fff; font-size: 1rem; cursor: pointer; transition: var(--transition); }
.search-btn:hover { background: var(--primary-dark); }
.search-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-tag-label { color: rgba(255,255,255,.5); font-size: .82rem; }
.search-tag { padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); font-size: .8rem; cursor: pointer; transition: var(--transition); border: 1px solid rgba(255,255,255,.1); }
.search-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- 7. Hero Banner ---- */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; background: var(--dark2); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,13,13,.92) 0%, rgba(26,26,46,.75) 60%, rgba(232,25,44,.15) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,25,44,.15); border: 1px solid rgba(232,25,44,.3); border-radius: 20px; padding: 6px 16px; color: var(--primary); font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.hero-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 16px; }
.hero h1 span { color: var(--primary); }
.hero-desc { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat-num { font-size: 1.6rem; font-weight: 800; color: #fff; display: block; }
.hero-stat-label { font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---- 8. 视频卡片 ---- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); position: relative; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #111; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.video-card:hover .video-thumb video { opacity: 1; }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); background: rgba(0,0,0,.3); }
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.play-icon::after { content: ''; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent var(--primary); margin-left: 4px; }
.video-card:hover .play-icon { transform: scale(1.12); background: #fff; }
.video-duration { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.75); color: #fff; font-size: .75rem; padding: 2px 8px; border-radius: 4px; font-weight: 500; }
.video-badge { position: absolute; top: 10px; left: 10px; }
.video-info { padding: 16px; }
.video-title { font-size: .95rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.5; 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: var(--text-muted); font-size: .8rem; }
.video-author { display: flex; align-items: center; gap: 6px; }
.video-author-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.video-stats { display: flex; gap: 12px; }
.video-stat { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* ---- 9. 服务模块 ---- */
.service-card { background: #fff; border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(232,25,44,.12); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.service-icon-red { background: rgba(232,25,44,.1); }
.service-icon-gold { background: rgba(245,166,35,.1); }
.service-icon-blue { background: rgba(0,122,255,.1); }
.service-icon-green { background: rgba(52,199,89,.1); }
.service-icon-purple { background: rgba(175,82,222,.1); }
.service-icon-teal { background: rgba(90,200,250,.1); }
.service-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.service-desc { font-size: .88rem; color: var(--text-light); line-height: 1.7; }

/* ---- 10. AI赋能模块 ---- */
.ai-section { background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%); }
.ai-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 24px; transition: var(--transition); }
.ai-card:hover { background: rgba(255,255,255,.09); border-color: rgba(232,25,44,.4); transform: translateY(-4px); }
.ai-card-icon { font-size: 2rem; margin-bottom: 14px; }
.ai-card-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ai-card-desc { font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.ai-card-stat { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: var(--primary); font-weight: 600; }

/* ---- 11. 专家团队 ---- */
.expert-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.expert-avatar { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: linear-gradient(135deg, #f0f0f0, #e0e0e0); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.expert-avatar-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.expert-body { padding: 20px; }
.expert-name { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.expert-role { font-size: .85rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.expert-bio { font-size: .83rem; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.expert-awards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.expert-social { display: flex; gap: 8px; }
.expert-social-link { width: 32px; height: 32px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: var(--transition); }
.expert-social-link:hover { background: var(--primary); color: #fff; }
.expert-actions { display: flex; gap: 8px; margin-top: 14px; }

/* ---- 12. 社区功能 ---- */
.community-card { background: linear-gradient(135deg, var(--dark2), var(--dark3)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 24px; transition: var(--transition); }
.community-card:hover { border-color: rgba(232,25,44,.35); transform: translateY(-3px); }
.community-icon { font-size: 2.2rem; margin-bottom: 14px; }
.community-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.community-desc { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.community-count { margin-top: 12px; font-size: .82rem; color: var(--gold); font-weight: 600; }

/* ---- 13. 合作伙伴 ---- */
.partners-section { background: #fff; padding: 48px 0; }
.partners-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.partner-item { padding: 12px 24px; border-radius: 8px; border: 1px solid var(--border); background: #fff; font-size: .88rem; font-weight: 600; color: var(--text-light); transition: var(--transition); cursor: default; }
.partner-item:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---- 14. How-To 步骤 ---- */
.howto-section { background: linear-gradient(135deg, #fff8f8, #fff); }
.howto-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.howto-steps::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--gold)); z-index: 0; }
.howto-step { text-align: center; position: relative; z-index: 1; }
.step-num { width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; color: var(--primary); margin: 0 auto 16px; box-shadow: 0 4px 16px rgba(232,25,44,.15); }
.step-title { font-size: .92rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.step-desc { font-size: .8rem; color: var(--text-light); line-height: 1.6; }

/* ---- 15. FAQ ---- */
.faq-section { background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius); margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.05); overflow: hidden; border: 1px solid var(--border); }
.faq-question { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--dark); transition: var(--transition); user-select: none; }
.faq-question:hover { color: var(--primary); }
.faq-question.active { color: var(--primary); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition); flex-shrink: 0; }
.faq-question.active .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; }
.faq-answer.open { max-height: 300px; }
.faq-answer p { padding: 0 24px 18px; color: var(--text-light); font-size: .9rem; line-height: 1.8; }

/* ---- 16. 用户评论 ---- */
.reviews-section { background: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--bg); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); transition: var(--transition); }
.review-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--gold)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; }
.review-name { font-weight: 700; font-size: .95rem; color: var(--dark); }
.review-date { font-size: .78rem; color: var(--text-muted); }
.review-stars { color: var(--gold); font-size: .9rem; letter-spacing: 1px; }
.review-text { font-size: .88rem; color: var(--text-light); line-height: 1.8; }
.review-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }

/* ---- 17. 联系/公司信息 ---- */
.contact-section { background: linear-gradient(135deg, var(--dark2), var(--dark3)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-title { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(232,25,44,.15); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-label { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.contact-value { font-size: .92rem; color: #fff; font-weight: 500; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qr-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 20px; text-align: center; }
.qr-placeholder { width: 120px; height: 120px; margin: 0 auto 12px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .7rem; color: #333; overflow: hidden; }
.qr-placeholder canvas { width: 100%; height: 100%; }
.qr-label { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 500; }
.qr-sublabel { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: 4px; }

/* ---- 18. 社交分享 ---- */
.share-bar { background: var(--bg); padding: 20px 0; border-top: 1px solid var(--border); }
.share-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.share-label { font-size: .88rem; color: var(--text-light); font-weight: 500; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 20px; font-size: .82rem; font-weight: 600; transition: var(--transition); cursor: pointer; border: 1px solid transparent; }
.share-wechat { background: #07c160; color: #fff; }
.share-weibo { background: #e6162d; color: #fff; }
.share-douyin { background: #000; color: #fff; }
.share-bilibili { background: #00a1d6; color: #fff; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }

/* ---- 19. 页脚 ---- */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-logo { height: 40px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .85; }
.footer-brand-desc { font-size: .85rem; line-height: 1.8; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-link { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: var(--transition); }
.footer-social-link:hover { background: var(--primary); }
.footer-col-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: .85rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-link:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 12px; }
.footer-copyright { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-update { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-icp { font-size: .8rem; color: rgba(255,255,255,.25); }

/* ---- 20. 面包屑 ---- */
.breadcrumb { padding: 14px 0; background: #fff; border-bottom: 1px solid var(--border); }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-muted); }
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text); font-weight: 500; }

/* ---- 21. 内页Hero ---- */
.page-hero { background: linear-gradient(135deg, var(--dark2), var(--dark3)); padding: 48px 0; }
.page-hero-title { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.page-hero-title span { color: var(--primary); }
.page-hero-desc { color: rgba(255,255,255,.65); font-size: 1rem; max-width: 600px; }

/* ---- 22. 热播榜单 ---- */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); transition: var(--transition); }
.rank-item:hover { transform: translateX(4px); border-left: 3px solid var(--primary); }
.rank-num { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 800; flex-shrink: 0; }
.rank-1 { background: linear-gradient(135deg, #ff6b35, #f7c59f); color: #fff; }
.rank-2 { background: linear-gradient(135deg, #c0c0c0, #e8e8e8); color: #555; }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #e8a87c); color: #fff; }
.rank-other { background: var(--bg); color: var(--text-muted); }
.rank-thumb { width: 80px; height: 50px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.rank-info { flex: 1; min-width: 0; }
.rank-title { font-size: .9rem; font-weight: 600; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-meta { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.rank-views { font-size: .82rem; color: var(--primary); font-weight: 600; white-space: nowrap; }

/* ---- 23. 直播卡片 ---- */
.live-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.live-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.live-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--dark); }
.live-thumb img { width: 100%; height: 100%; object-fit: cover; }
.live-badge { position: absolute; top: 10px; left: 10px; }
.live-viewers { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: .75rem; padding: 3px 8px; border-radius: 4px; }
.live-info { padding: 14px; }
.live-title { font-size: .92rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.live-host { font-size: .82rem; color: var(--text-muted); }

/* ---- 24. 工具卡片 ---- */
.tool-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); transition: var(--transition); border: 2px solid transparent; text-align: center; }
.tool-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.tool-icon { font-size: 2.4rem; margin-bottom: 14px; }
.tool-name { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.tool-desc { font-size: .85rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.tool-tag { font-size: .75rem; color: var(--primary); background: rgba(232,25,44,.08); padding: 3px 10px; border-radius: 20px; display: inline-block; }

/* ---- 25. 生活技能卡片 ---- */
.skill-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.skill-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.skill-img { aspect-ratio: 4/3; overflow: hidden; }
.skill-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.skill-card:hover .skill-img img { transform: scale(1.06); }
.skill-body { padding: 18px; }
.skill-cat { font-size: .75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.skill-title { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.5; }
.skill-meta { font-size: .8rem; color: var(--text-muted); }

/* ---- 26. 弹窗播放器 ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-player { background: #000; border-radius: 12px; overflow: hidden; max-width: 900px; width: 92vw; position: relative; }
.modal-player video { width: 100%; display: block; max-height: 70vh; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); z-index: 10; }
.modal-close:hover { background: var(--primary); }

/* ---- 27. 数字动画 ---- */
.count-up { display: inline-block; }

/* ---- 28. 加载动画 ---- */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.animate-fadeInUp { animation: fadeInUp .6s ease both; }
.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .2s; }
.animate-delay-3 { animation-delay: .3s; }
.animate-delay-4 { animation-delay: .4s; }

/* ---- 29. 滚动条 ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ---- 30. 响应式 ---- */
@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .howto-steps { grid-template-columns: repeat(3, 1fr); }
  .howto-steps::before { display: none; }
}

@media (max-width: 900px) {
  .section { padding: 52px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 20px; }
  .top-bar { display: none; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; padding: 16px; flex-direction: column; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 999; }
  .navbar-nav.open { display: flex; }
  .navbar-toggle { display: block; }
  .navbar-actions .btn { display: none; }
  .search-tags { display: none; }
  .video-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .qr-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.6rem; }
  .page-hero-title { font-size: 1.5rem; }
  .share-inner { gap: 8px; }
  .share-btn { padding: 6px 12px; font-size: .78rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .grid-4 { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .partners-grid { gap: 10px; }
  .partner-item { padding: 8px 16px; font-size: .82rem; }
  .qr-grid { grid-template-columns: 1fr; }
  .hero { min-height: 360px; }
}

/* ---- 31. 打印样式 ---- */
@media print {
  .navbar, .search-bar, .share-bar, .modal-overlay { display: none; }
}

/* ---- 32. noscript降级 ---- */
noscript .video-thumb video { display: none; }
noscript .video-play-btn { opacity: 1; }

/* ===== 补全缺失样式类 ===== */

/* 播放按钮 .play-btn */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 10;
}
.video-thumb:hover .play-btn,
.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* 面包屑子项 .breadcrumb-item */
.breadcrumb-item { display: inline-flex; align-items: center; gap: 6px; color: #666; font-size: 0.875rem; }
.breadcrumb-item a { color: #e8192c; text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: #333; font-weight: 500; }

/* Hero别名 .hero-section / .hero-title / .hero-sub */
.hero-section { position: relative; min-height: 520px; display: flex; align-items: center; background: linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%); overflow: hidden; padding: 80px 0 60px; }
.hero-title { font-size: clamp(2rem,5vw,3.5rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.hero-title span { color: #e8192c; }
.hero-sub { font-size: clamp(1rem,2vw,1.25rem); color: rgba(255,255,255,0.85); margin-bottom: 32px; line-height: 1.6; }

/* 导航别名 .nav-brand / .nav-links */
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; color: #e8192c; }
.nav-brand img { height: 36px; width: auto; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }

/* 社区网格 .community-grid */
.community-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 24px; }

/* AI网格 .ai-grid / .ai-card */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.ai-card { background: #fff; border-radius: 16px; padding: 28px 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid #f0f0f0; transition: transform 0.3s,box-shadow 0.3s; }
.ai-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(232,25,44,0.12); }

/* 服务网格别名 .services-grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }

/* 统计栏 .stats-bar / .stat-item */
.stats-bar { background: linear-gradient(135deg,#e8192c,#c0392b); padding: 40px 0; color: #fff; }
.stat-item { text-align: center; padding: 16px; }
.stat-item .stat-num { font-size: 2.5rem; font-weight: 800; display: block; line-height: 1; margin-bottom: 8px; }
.stat-item .stat-label { font-size: 0.9rem; opacity: 0.9; }

/* 公告栏 .notice-bar */
.notice-bar { background: linear-gradient(90deg,#e8192c,#ff6b35); color: #fff; text-align: center; padding: 10px 16px; font-size: 0.875rem; font-weight: 500; }
.notice-bar a { color: #fff; text-decoration: underline; margin-left: 8px; }

/* 搜索框别名 .search-box */
.search-box { display: flex; align-items: center; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; padding: 4px 4px 4px 20px; max-width: 480px; margin: 0 auto; }

/* 视频弹窗 .video-modal */
.video-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.video-modal.active { display: flex; }

@media (max-width: 768px) {
  .hero-section { min-height: 380px; padding: 60px 0 40px; }
  .hero-title { font-size: 1.8rem; }
  .community-grid, .ai-grid, .services-grid { grid-template-columns: 1fr; }
  .stats-bar .container { display: grid; grid-template-columns: 1fr 1fr; }
}
