/* ==================== 腐竹FM - 全站主样式 ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}
:root {
  --primary: #564344;
  --primary-dark: #3a2c2d;
  --primary-light: rgba(86, 67, 68, 0.10);
  --primary-gradient: linear-gradient(135deg, #564344 0%, #8B6F6F 100%);
  --bg-light: #FDF5EF;
  --bg-warm: #FFF9F5;
  --bg-white: #ffffff;
  --accent: #C9956B;
  --accent-light: rgba(201, 149, 107, 0.15);
  --text: #1F2937;
  --text-light: #4B5563;
  --text-muted: #6B7280;
  --border: #EBE0D5;
  --shadow: 0 2px 16px rgba(86, 67, 68, 0.06);
  --shadow-lg: 0 8px 40px rgba(86, 67, 68, 0.10);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --max-width: 1240px;
  --nav-height: 68px;
  --star: #F59E0B;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg-white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* ==================== 布局 ==================== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.bg-gray { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .section-label { display: inline-block; padding: 4px 16px; background: var(--primary-light); color: var(--primary); border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.section-header h2 { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.section-header h3 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ==================== Header ==================== */
.dzmm-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); height: var(--nav-height); }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 20px; font-weight: 700; flex-shrink: 0; }
.logo img { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.logo:hover { color: var(--primary); }
.nav-list { display: flex; list-style: none; gap: 4px; }
.nav-list li { position: relative; }
.nav-list > li > a { display: block; padding: 8px 16px; color: var(--text); font-size: 15px; font-weight: 500; border-radius: var(--radius-sm); white-space: nowrap; transition: all 0.2s; }
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--primary); background: var(--primary-light); }
.nav-sub { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 150px; padding: 8px 0; z-index: 101; list-style: none; }
.nav-list li:hover .nav-sub { display: block; }
.nav-sub li a { display: block; padding: 8px 20px; color: var(--text); font-size: 14px; white-space: nowrap; transition: all 0.15s; }
.nav-sub li a:hover,
.nav-sub li a.active1 { color: var(--primary); background: var(--bg-light); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-register { display: inline-block; padding: 8px 20px; background: var(--primary-gradient); color: #fff; border-radius: 20px; font-size: 14px; font-weight: 600; transition: all 0.25s; box-shadow: 0 2px 8px rgba(86,67,68,0.2); }
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(86,67,68,0.3); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 199; }
.mobile-menu { display: none; position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: #fff; z-index: 200; padding: 24px 20px; overflow-y: auto; transition: right 0.3s; flex-direction: column; gap: 4px; box-shadow: -4px 0 24px rgba(0,0,0,0.1); }
.mobile-menu.open { right: 0; }
.mobile-menu a { display: block; padding: 12px 16px; color: var(--text); font-size: 16px; font-weight: 500; border-radius: var(--radius-sm); }
.mobile-menu a.active,
.mobile-menu a:hover { color: var(--primary); background: var(--primary-light); }
.mobile-menu a.has-sub-mobile { font-weight: 600; }
.nav-sub-mobile { padding-left: 16px; display: none; }
.nav-sub-mobile.open { display: flex; flex-direction: column; }
.nav-sub-mobile a { font-size: 14px; padding: 8px 16px; }

/* ==================== CTA按钮 ==================== */
.btn-primary { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; background: var(--primary-gradient); color: #fff; border-radius: 24px; font-size: 15px; font-weight: 600; transition: all 0.25s; box-shadow: 0 4px 16px rgba(86,67,68,0.2); border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(86,67,68,0.3); color: #fff; }
.btn-secondary { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; background: transparent; color: var(--primary); border: 2px solid var(--primary); border-radius: 24px; font-size: 15px; font-weight: 600; transition: all 0.25s; cursor: pointer; }
.btn-secondary:hover { background: var(--primary-light); color: var(--primary-dark); }

/* ==================== 栏目页头部 ==================== */
.lanmu-section-header { background: var(--primary-gradient); padding: 48px 0; color: #fff; text-align: center; }
.lanmu-section-header h1 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.lanmu-section-header p { font-size: 15px; opacity: 0.9; max-width: 680px; margin: 0 auto; line-height: 1.7; }

/* ==================== 面包屑 ==================== */
.breadcrumb { padding: 16px 0; }
.breadcrumb .container { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb svg { flex-shrink: 0; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb-list-top { background: var(--bg-light); border-bottom: 1px solid var(--border); }
.breadcrumb-show-top { background: var(--bg-light); border-bottom: 1px solid var(--border); }

/* ==================== 左右结构 ==================== */
.page-wrapper { display: flex; gap: 32px; padding: 40px 0; }
.page-main { flex: 1; min-width: 0; }
.page-sidebar { width: 320px; flex-shrink: 0; }
.sidebar-card { background: var(--primary-gradient); color: #fff; padding: 28px 24px; border-radius: var(--radius-lg); text-align: center; margin-bottom: 24px; }
.sidebar-card h3 { font-size: 18px; margin-bottom: 8px; }
.sidebar-card p { font-size: 13px; opacity: 0.85; margin-bottom: 16px; }
.sidebar-card a { display: inline-block; padding: 10px 24px; background: #fff; color: var(--primary); border-radius: 20px; font-size: 14px; font-weight: 600; transition: all 0.2s; }
.sidebar-card a:hover { transform: translateY(-1px); }
.sidebar-module { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.sidebar-title { font-size: 17px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); color: var(--text); }
.latest-list { list-style: none; }
.latest-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.latest-item:last-child { border-bottom: none; }
.item-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--primary-light); color: var(--primary); border-radius: 4px; font-size: 13px; font-weight: 700; }
.latest-item a { font-size: 14px; color: var(--text); line-height: 1.5; }
.latest-item a:hover { color: var(--primary); }

/* ==================== 列表样式 ==================== */
.content-listbody { }
.list-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.list-item .news-img { width: 200px; height: 140px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.list-item .news-img img { width: 100%; height: 100%; object-fit: cover; }
.list-item .news-content { flex: 1; display: flex; flex-direction: column; }
.news-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.news-title a { color: var(--text); }
.news-title a:hover { color: var(--primary); }
.news-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.6; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-muted); }
.news-meta a { color: var(--primary); font-weight: 500; }
.news-meta time { color: var(--text-muted); }

/* ==================== 文章详情 ==================== */
.content-area-show { }
.article-title { font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 16px; line-height: 1.4; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }
.article-meta i { margin-right: 4px; }
.article-content { font-size: 16px; line-height: 1.9; color: var(--text); word-wrap: break-word; }
.article-content p { margin-bottom: 16px; }
.article-content img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }
.article-pager { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; }
.article-pager span { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-pager a { color: var(--text); }
.article-pager a:hover { color: var(--primary); }

/* ==================== FAQ ==================== */
.faq-list { }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: all 0.3s; }
.faq-item.active { border-color: var(--primary); box-shadow: 0 2px 12px rgba(86,67,68,0.06); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--text); background: var(--bg-warm); transition: all 0.2s; user-select: none; }
.faq-item.active .faq-question { color: var(--primary); background: var(--primary-light); }
.faq-question i { transition: transform 0.3s; color: var(--text-muted); font-size: 14px; }
.faq-item.active .faq-question i { transform: rotate(45deg); color: var(--primary); }
.faq-answer { display: none; padding: 0 20px 20px 20px; font-size: 15px; color: var(--text-light); line-height: 1.8; }
.faq-item.active .faq-answer { display: block; }
.more-link { display: inline-block; margin-top: 8px; color: var(--primary); font-weight: 600; font-size: 14px; }
.more-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* ==================== 分页 ==================== */
.pagination { text-align: center; padding: 32px 0 16px; }
.pagination a,
.pagination span { display: inline-block; padding: 8px 14px; margin: 0 3px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; color: var(--text); transition: all 0.2s; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ==================== 单页内容 ==================== */
.single-content { padding: 40px 0; max-width: 860px; margin: 0 auto; }
.single-content h2 { font-size: 22px; font-weight: 700; color: var(--text); margin: 28px 0 14px; }
.single-content h3 { font-size: 18px; font-weight: 600; color: var(--text); margin: 20px 0 10px; }
.single-content p { margin-bottom: 14px; color: var(--text-light); line-height: 1.8; }

/* ==================== 下载页 ==================== */
.download-hero { text-align: center; padding: 20px 0 40px; }
.dl-icon { font-size: 56px; color: var(--primary); margin-bottom: 16px; }
.download-hero h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.download-platforms { display: flex; gap: 24px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.dl-card { flex: 1; min-width: 260px; max-width: 360px; text-align: center; padding: 32px 24px; border: 2px solid var(--border); border-radius: var(--radius-lg); transition: all 0.3s; background: var(--bg-warm); }
.dl-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dl-platform-icon { font-size: 42px; margin-bottom: 14px; }
.dl-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.dl-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.dl-steps { display: flex; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.dl-step { flex: 1; min-width: 200px; text-align: center; padding: 24px; background: var(--bg-warm); border-radius: var(--radius); }
.step-num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--primary-gradient); color: #fff; border-radius: 50%; font-size: 18px; font-weight: 700; margin: 0 auto 12px; }
.dl-step h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.dl-step p { font-size: 13px; color: var(--text-muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.icon-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-white); }
.icon-card .ic-icon { font-size: 28px; color: var(--primary); margin-bottom: 10px; }
.icon-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.icon-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.cta-banner { background: var(--primary-gradient); border-radius: var(--radius-lg); padding: 40px; text-align: center; color: #fff; margin-top: 24px; }
.cta-banner h2 { font-size: 24px; margin-bottom: 8px; }
.cta-banner p { font-size: 16px; opacity: 0.9; margin-bottom: 20px; }
.cta-banner .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.cta-banner .btn-primary:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

/* ==================== Footer ==================== */
.dzmm-footer { background: #2d2d2d; color: #bbb; padding: 48px 0 0; }
.footer-grid { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 14px; }
.footer-col a { display: block; color: #bbb; font-size: 14px; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; color: #bbb; font-size: 16px; transition: all 0.2s; }
.footer-social a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.footer-bottom { text-align: center; padding: 28px 20px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: #888; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ==================== 回到顶部 ==================== */
.back-to-top { display: none; position: fixed; bottom: 100px; right: 24px; width: 44px; height: 44px; background: var(--primary); color: #fff; border: none; border-radius: 50%; cursor: pointer; z-index: 99; box-shadow: var(--shadow-lg); transition: all 0.3s; font-size: 18px; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.back-to-top.show { display: flex; align-items: center; justify-content: center; }

/* ==================== 移动端浮动按钮 ==================== */
.mobile-float-bar { display: none; }
.mobile-float-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 150; }
.mobile-float-popup { display: none; position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 151; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: 0 -4px 24px rgba(0,0,0,0.12); flex-direction: column; gap: 12px; min-width: 200px; }
.mobile-float-popup.open,
.mobile-float-bar { }

/* ==================== 响应式 ==================== */
@media (max-width: 900px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }
  .mobile-overlay { display: block; }
  .mobile-menu { display: flex; }
  .header-inner { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 22px; }
  .page-wrapper { flex-direction: column; gap: 24px; padding: 24px 0; }
  .page-sidebar { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .list-item { flex-direction: column; }
  .list-item .news-img { width: 100%; height: 180px; }
  .grid-2 { grid-template-columns: 1fr; }
  .dl-steps { flex-direction: column; }
  .download-platforms { flex-direction: column; align-items: center; }
  .dl-card { max-width: 100%; }
  .mobile-float-bar { display: flex; justify-content: center; position: fixed; bottom: 0; left: 0; right: 0; z-index: 149; padding: 12px 16px; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-top: 1px solid var(--border); }
  .btn-float-experience { display: block; width: 100%; max-width: 400px; padding: 14px; background: var(--primary-gradient); color: #fff; border: none; border-radius: 24px; font-size: 16px; font-weight: 600; cursor: pointer; }
  .mobile-float-popup.open { display: flex; }
  .mobile-float-overlay.open { display: block; }
  .mobile-float-popup a { display: block; padding: 12px 24px; text-align: center; border: 2px solid var(--primary); color: var(--primary); border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; }
  .back-to-top { bottom: 90px; }
  .article-title { font-size: 22px; }
  .cta-banner { padding: 24px 16px; }
  .cta-banner h2 { font-size: 20px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 24px; }
  .section-header h2 { font-size: 20px; }
  .lanmu-section-header h1 { font-size: 22px; }
  .lanmu-section-header { padding: 32px 0; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
