/* 免费看片植物视频社区 - 主样式表 */
/* 设计风格：自然绿色系 + 现代卡片布局 + 响应式 */

:root {
  --primary: #1a7a3c;
  --primary-dark: #145e2e;
  --primary-light: #2db85a;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --bg: #f4f9f4;
  --bg-dark: #0d1f12;
  --text: #1a2a1a;
  --text-light: #5a7a5a;
  --white: #ffffff;
  --card-bg: #ffffff;
  --border: #d0e8d0;
  --shadow: 0 4px 20px rgba(26,122,60,0.10);
  --shadow-hover: 0 8px 32px rgba(26,122,60,0.18);
  --radius: 12px;
  --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--primary-light);
  box-shadow: 0 2px 12px rgba(26,122,60,0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -1px;
  box-shadow: 0 2px 8px rgba(26,122,60,0.3);
}

.logo-text { font-size: 1.35rem; font-weight: 800; color: var(--primary-dark); letter-spacing: 1px; }
.logo-sub { font-size: 0.7rem; color: var(--text-light); letter-spacing: 2px; }

.main-nav { flex: 1; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a {
  display: block;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary);
  color: #fff;
}

/* ===== 搜索框 ===== */
.search-bar-wrap {
  background: var(--primary-dark);
  padding: 12px 0;
}
.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-form {
  display: flex;
  flex: 1;
  max-width: 600px;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-family: inherit;
  background: transparent;
}
.search-btn {
  background: var(--accent);
  border: none;
  padding: 10px 22px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .2s;
}
.search-btn:hover { background: var(--accent-dark); }
.search-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.search-tag {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background .2s;
}
.search-tag:hover { background: rgba(255,255,255,0.3); }

/* ===== Banner ===== */
.banner-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  z-index: 0;
}
.banner-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  color: #fff;
}
.banner-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.banner-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.banner-desc {
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 28px;
}
.banner-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--primary-light); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background .2s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ===== 统计数字 ===== */
.stats-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 18px 0;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 0.82rem; opacity: 0.8; margin-top: 2px; }

/* ===== 通用区块 ===== */
.section { padding: 60px 0; }
.section-alt { background: #eef7ee; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.section-desc { color: var(--text-light); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
  cursor: pointer;
}
.video-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a2a1a;
}
.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.35);
  opacity: 0;
  transition: opacity .25s;
}
.video-card:hover .play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transform: scale(0.85);
  transition: transform .25s;
}
.video-card:hover .play-icon { transform: scale(1); }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-info { padding: 14px 16px; }
.video-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--text-light); }
.video-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.video-tag {
  background: #e8f5e9;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== 模块标签切换 ===== */
.tab-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== 专家卡片 ===== */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.expert-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  font-weight: 900;
}
.expert-name { font-size: 1.05rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 4px; }
.expert-role { font-size: 0.82rem; color: var(--text-light); margin-bottom: 10px; }
.expert-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.expert-tag {
  background: #e8f5e9;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all .2s;
}
.btn-sm-primary { background: var(--primary); color: #fff; }
.btn-sm-primary:hover { background: var(--primary-light); }
.btn-sm-outline { background: transparent; color: var(--primary); }
.btn-sm-outline:hover { background: var(--primary); color: #fff; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-dark);
  transition: background .2s;
}
.faq-q:hover { background: #f0faf0; }
.faq-q .arrow { transition: transform .3s; font-size: 1.1rem; color: var(--primary); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 22px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }

/* ===== 用户评论 ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.review-stars { color: var(--accent); font-size: 1rem; margin-bottom: 8px; }
.review-text { font-size: 0.92rem; color: var(--text); line-height: 1.7; margin-bottom: 14px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.review-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.review-date { font-size: 0.78rem; color: var(--text-light); }

/* ===== 合作品牌 ===== */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.brand-logo {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: border-color .2s, color .2s;
}
.brand-logo:hover { border-color: var(--primary); color: var(--primary); }

/* ===== 社区加入指南 ===== */
.join-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.join-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 12px;
}
.step-title { font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.step-desc { font-size: 0.85rem; color: var(--text-light); }

/* ===== AI 赋能模块 ===== */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.ai-card {
  background: linear-gradient(135deg, var(--primary-dark), #1a4a2a);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 4px 20px rgba(13,31,18,0.3);
  transition: transform .25s;
}
.ai-card:hover { transform: translateY(-4px); }
.ai-icon { font-size: 2.2rem; margin-bottom: 14px; }
.ai-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.ai-desc { font-size: 0.88rem; opacity: 0.85; line-height: 1.7; }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-title { font-size: 1.1rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 18px; border-bottom: 2px solid var(--border); padding-bottom: 10px; }
.contact-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 0.92rem; }
.contact-label { color: var(--text-light); min-width: 70px; flex-shrink: 0; }
.contact-val { color: var(--text); font-weight: 600; }

/* ===== 二维码 ===== */
.qr-wrap { display: flex; gap: 24px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-box {
  width: 110px;
  height: 110px;
  background: #f0f0f0;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 6px;
  overflow: hidden;
}
.qr-label { font-size: 0.82rem; color: var(--text-light); font-weight: 600; }

/* ===== 社交分享 ===== */
.share-bar {
  background: var(--primary-dark);
  padding: 16px 0;
}
.share-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.share-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  color: #fff;
}
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #010101; }
.share-bilibili { background: #00a1d6; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand .logo-text { color: #fff; font-size: 1.2rem; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 0.88rem; margin: 12px 0 18px; line-height: 1.7; opacity: 0.75; }
.footer-col-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color .2s; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  opacity: 0.65;
}
.footer-qr-row { display: flex; gap: 20px; }

/* ===== 面包屑 ===== */
.breadcrumb {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px; }
  .main-nav ul { flex-wrap: wrap; gap: 4px; }
  .main-nav a { padding: 5px 10px; font-size: 0.85rem; }
  .banner-section { min-height: 380px; }
  .banner-title { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 24px; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 40px 0; }
  .banner-content { padding: 40px 14px; }
  .main-nav { display: none; }
}

/* ===== 懒加载占位 ===== */
.lazy-img { opacity: 0; transition: opacity .4s; }
.lazy-img.loaded { opacity: 1; }

/* ===== 视频弹窗 ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #000;
  border-radius: var(--radius);
  max-width: 800px;
  width: 90%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
}
.modal-video { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); background: #111; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 1rem; }

/* ===== 内页 Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; opacity: 0.88; max-width: 600px; margin: 0 auto; }

/* ===== 顶部公告栏 ===== */
.top-notice {
  background: var(--primary);
  color: #fff;
  padding: 8px 0;
  font-size: 0.85rem;
  text-align: center;
}
.top-notice-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.notice-close {
  position: absolute;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.7;
  transition: opacity .2s;
}
.notice-close:hover { opacity: 1; }

/* ===== Logo 图片 ===== */
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

/* ===== 下拉导航 ===== */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(26,122,60,0.15);
  min-width: 160px;
  z-index: 2000;
  padding: 6px 0;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li { list-style: none; }
.dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
  transition: background .15s, color .15s;
}
.dropdown a:hover { background: var(--bg); color: var(--primary); }
.nav-arrow { font-size: 0.7rem; opacity: 0.6; }

/* ===== 汉堡菜单按钮 ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 移动端菜单 ===== */
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.mobile-nav a:hover { background: var(--bg); color: var(--primary); }

/* ===== 回到顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26,122,60,0.3);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: background .2s, transform .2s;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ===== 友情链接 ===== */
.footer-friendlinks {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-bottom: 20px;
}
.friendlinks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.friendlinks-row a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  transition: color .2s;
}
.friendlinks-row a:hover { color: var(--primary-light); }

/* ===== 页脚联系信息 ===== */
.footer-contact-info {
  margin: 10px 0 14px;
  font-size: 0.82rem;
  opacity: 0.75;
  line-height: 1.9;
}
.footer-update {
  font-size: 0.82rem;
  opacity: 0.65;
  white-space: nowrap;
}

/* ===== 弹窗信息栏 ===== */
.modal-info {
  padding: 12px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  text-align: center;
}

/* ===== 视频卡片 H5 video 支持 ===== */
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
}
.video-card:hover video { opacity: 1; }

/* ===== 搜索结果页 ===== */
.search-result-wrap { padding: 40px 0; }
.search-result-title { font-size: 1.4rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 24px; }

/* ===== 内页面包屑 ===== */
.breadcrumb-nav {
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.breadcrumb-nav .container { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb-nav a { color: var(--primary); }
.breadcrumb-sep { color: var(--text-light); }
.breadcrumb-current { color: var(--text-light); }

/* ===== 移动端响应式补充 ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .search-bar-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .search-form { max-width: 100%; }
  .search-tags { justify-content: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner-title { font-size: 1.6rem; }
  .stats-inner { gap: 12px; }
  .stat-num { font-size: 1.4rem; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 12px; }
  .logo-text { font-size: 1.1rem; }
}
