/* ============================================
   国产主播 - 第三套原创样式
   配色：玫瑰金(#E8A0BF) + 深酒红(#9B2335) + 暖灰(#2D2B3D)
   布局：左右交错式卡片 + 瀑布流视频墙
   ============================================ */
:root {
  --rose: #E8A0BF;
  --wine: #9B2335;
  --dark: #2D2B3D;
  --darker: #1E1C2E;
  --card: #38364A;
  --text: #F0EBF4;
  --muted: #A9A4B8;
  --gold: #D4A574;
  --accent: #FF6B9D;
  --gradient-main: linear-gradient(135deg, #9B2335 0%, #E8A0BF 100%);
  --gradient-card: linear-gradient(160deg, #38364A 0%, #2D2B3D 100%);
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'PingFang SC','Microsoft YaHei','Helvetica Neue',Arial,sans-serif; background: var(--darker); color: var(--text); line-height: 1.7; }
a { color: var(--rose); text-decoration: none; transition: color .25s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* === 顶部导航 === */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid var(--wine); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-area img { height: 42px; width: auto; }
.logo-area .brand-text { font-size: 1.4rem; font-weight: 700; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a { padding: 8px 16px; border-radius: 8px; font-size: .92rem; color: var(--muted); transition: all .25s; }
.main-nav a:hover, .main-nav a.active { background: var(--wine); color: #fff; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* === 搜索栏 === */
.search-bar { background: var(--dark); padding: 14px 0; border-bottom: 1px solid rgba(232,160,191,.15); }
.search-wrap { max-width: 680px; margin: 0 auto; display: flex; gap: 10px; }
.search-wrap input { flex: 1; padding: 11px 20px; border-radius: 25px; border: 2px solid var(--card); background: var(--darker); color: var(--text); font-size: .95rem; outline: none; transition: border-color .3s; }
.search-wrap input:focus { border-color: var(--rose); }
.search-wrap button { padding: 11px 28px; border-radius: 25px; border: none; background: var(--gradient-main); color: #fff; font-size: .95rem; cursor: pointer; font-weight: 600; transition: transform .2s; }
.search-wrap button:hover { transform: scale(1.05); }

/* === 面包屑 === */
.breadcrumb { padding: 14px 0; }
.breadcrumb ol { list-style: none; display: flex; gap: 8px; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: '>'; margin-right: 8px; }
.breadcrumb a { color: var(--rose); }

/* === Hero区域 === */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(45,43,61,.92) 0%, rgba(155,35,53,.6) 50%, rgba(232,160,191,.3) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 60px 0; }
.hero-content h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.hero-content h1 .highlight { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 1.15rem; color: var(--muted); margin-bottom: 28px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { display: inline-block; padding: 13px 32px; background: var(--gradient-main); color: #fff; border-radius: 30px; font-weight: 600; font-size: 1rem; transition: all .3s; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(155,35,53,.4); color: #fff; }
.btn-outline { display: inline-block; padding: 13px 32px; border: 2px solid var(--rose); color: var(--rose); border-radius: 30px; font-weight: 600; font-size: 1rem; transition: all .3s; }
.btn-outline:hover { background: var(--rose); color: var(--dark); }

/* === 通用区块 === */
.section { padding: 70px 0; }
.section-alt { background: var(--dark); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.section-title h2 .hl { color: var(--rose); }
.section-title p { color: var(--muted); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* === 视频卡片网格 === */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.video-card { background: var(--gradient-card); border-radius: var(--radius); overflow: hidden; transition: all .35s; position: relative; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.video-thumb { position: relative; padding-top: 56.25%; overflow: hidden; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.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; background: rgba(155,35,53,.85); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .35s; z-index: 3; }
.play-btn::after { content: ''; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.video-card:hover .play-btn { transform: translate(-50%,-50%) scale(1); }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.75); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: .78rem; z-index: 3; }
.video-info { padding: 14px 16px; }
.video-info h3 { font-size: .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: .8rem; color: var(--muted); }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tag { display: inline-block; padding: 2px 10px; background: rgba(232,160,191,.15); color: var(--rose); border-radius: 12px; font-size: .75rem; margin-top: 8px; }

/* === 左右交错模块 === */
.zigzag-item { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.zigzag-item:nth-child(even) { direction: rtl; }
.zigzag-item:nth-child(even) > * { direction: ltr; }
.zigzag-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.zigzag-img img { width: 100%; transition: transform .4s; }
.zigzag-img:hover img { transform: scale(1.04); }
.zigzag-text h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; }
.zigzag-text h3 .hl { color: var(--rose); }
.zigzag-text p { color: var(--muted); margin-bottom: 12px; line-height: 1.8; }

/* === 专家卡片 === */
.expert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.expert-card { background: var(--gradient-card); border-radius: var(--radius); padding: 30px; display: flex; gap: 24px; transition: all .3s; }
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.expert-avatar { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--rose); }
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.expert-info .title { color: var(--rose); font-size: .88rem; margin-bottom: 10px; }
.expert-info p { color: var(--muted); font-size: .88rem; line-height: 1.6; margin-bottom: 12px; }
.expert-btns { display: flex; gap: 10px; }
.expert-btns a { padding: 6px 16px; border-radius: 20px; font-size: .82rem; }
.btn-sm-primary { background: var(--wine); color: #fff; }
.btn-sm-outline { border: 1px solid var(--rose); color: var(--rose); }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card); border-radius: var(--radius); margin-bottom: 14px; 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 .3s; }
.faq-q:hover { background: rgba(232,160,191,.08); }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--rose); transition: transform .3s; }
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: all .35s; color: var(--muted); line-height: 1.7; }
.faq-item.active .faq-a { padding: 0 24px 18px; max-height: 300px; }

/* === 用户评论 === */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card { background: var(--gradient-card); border-radius: var(--radius); padding: 26px; position: relative; }
.review-card::before { content: '\201C'; position: absolute; top: 10px; left: 18px; font-size: 3.5rem; color: rgba(232,160,191,.2); font-family: Georgia,serif; line-height: 1; }
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { color: var(--muted); font-size: .92rem; line-height: 1.7; margin-bottom: 14px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--wine); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .9rem; }
.review-author-name { font-weight: 600; font-size: .9rem; }
.review-author-date { color: var(--muted); font-size: .78rem; }

/* === 联系信息 === */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--gradient-card); border-radius: var(--radius); padding: 30px; text-align: center; transition: all .3s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon { width: 60px; height: 60px; margin: 0 auto 16px; background: var(--gradient-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: .88rem; }

/* === 品牌墙 === */
.brand-wall { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; padding: 20px 0; }
.brand-wall-item { width: 120px; height: 60px; background: var(--card); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; transition: all .3s; }
.brand-wall-item:hover { background: var(--wine); color: #fff; }

/* === 社交分享 === */
.share-bar { display: flex; justify-content: center; gap: 16px; padding: 30px 0; }
.share-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; transition: all .3s; cursor: pointer; }
.share-btn:hover { transform: scale(1.15); }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #161823; }
.share-bilibili { background: #FB7299; }

/* === 二维码区 === */
.qr-area { display: flex; justify-content: center; gap: 50px; padding: 30px 0; }
.qr-item { text-align: center; }
.qr-item img { width: 140px; height: 140px; border-radius: 10px; margin-bottom: 10px; }
.qr-item p { font-size: .85rem; color: var(--muted); }

/* === 页脚 === */
.site-footer { background: var(--darker); border-top: 2px solid var(--wine); padding: 40px 0 20px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-brand .brand-text { font-size: 1.3rem; font-weight: 700; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 10px; }
.footer-brand p { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.footer-col h4 { font-size: 1rem; font-weight: 600; margin-bottom: 14px; color: var(--rose); }
.footer-col a { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--rose); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--card); color: var(--muted); font-size: .82rem; }

/* === MCP代码块 === */
.mcp-block { background: var(--darker); border: 1px solid var(--card); border-radius: var(--radius); padding: 20px; margin: 20px 0; }
.mcp-block pre { background: #1a1828; padding: 16px; border-radius: 8px; overflow-x: auto; font-size: .82rem; color: #c9d1d9; line-height: 1.6; }

/* === 懒加载 === */
.lazy { opacity: 0; transition: opacity .5s; }
.lazy.loaded { opacity: 1; }

/* === 响应式 === */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .zigzag-item { grid-template-columns: 1fr; gap: 24px; }
  .zigzag-item:nth-child(even) { direction: ltr; }
  .expert-grid { grid-template-columns: 1fr; }
  .expert-card { flex-direction: column; align-items: center; text-align: center; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: 16px; border-top: 1px solid var(--card); }
  .mobile-menu-btn { display: block; }
  .qr-area { flex-direction: column; align-items: center; gap: 24px; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .hero { min-height: 380px; }
  .hero-content h1 { font-size: 1.6rem; }
  .section { padding: 40px 0; }
}
