/* 91植物视频社区 - 主样式文件 | ciamti.cn */
/* ================================================ */

:root {
  --primary: #1a7a3c;
  --primary-dark: #0f5228;
  --primary-light: #2ecc71;
  --accent: #f0a500;
  --accent-dark: #c47d00;
  --bg-dark: #0d1f0f;
  --bg-card: #132b16;
  --bg-light: #f5f9f5;
  --text-main: #1a2e1c;
  --text-light: #4a6b4e;
  --text-white: #ffffff;
  --border: #2a5c30;
  --shadow: 0 4px 24px rgba(26,122,60,0.15);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
}

*, *::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-light);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

/* 隐藏干扰标签 */
.dy-noise { display: none !important; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,31,15,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
}

.site-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: 2px;
}

.site-logo .logo-text span {
  color: var(--primary-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: #cde8d0;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-join {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,204,113,0.4);
}

/* ===== 搜索框 ===== */
.search-bar-wrap {
  background: #0f2312;
  border-bottom: 1px solid #1e4a22;
  padding: 10px 0;
}

.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-bar-inner form {
  display: flex;
  flex: 1;
  max-width: 600px;
  gap: 0;
}

.search-bar-inner input[type="text"] {
  flex: 1;
  padding: 9px 16px;
  border: 1.5px solid var(--primary);
  border-right: none;
  border-radius: 20px 0 0 20px;
  background: #1a3320;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-bar-inner input[type="text"]::placeholder { color: #6b9e72; }
.search-bar-inner input[type="text"]:focus { border-color: var(--primary-light); background: #1f3d26; }

.search-bar-inner button[type="submit"] {
  padding: 9px 22px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.search-bar-inner button[type="submit"]:hover { background: var(--primary-light); }

.search-hot-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.search-hot-tags span { color: #6b9e72; font-size: 0.82rem; }

.search-hot-tags a {
  color: #a8d8b0;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 2px 10px;
  border: 1px solid #2a5c30;
  border-radius: 12px;
  transition: var(--transition);
}

.search-hot-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Banner ===== */
.hero-banner {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-banner:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,15,0.7) 0%, rgba(26,122,60,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-content h1 em {
  font-style: normal;
  color: var(--primary-light);
}

.hero-content p {
  font-size: 1.1rem;
  color: #c8e6cc;
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-light);
  display: block;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: #a8d8b0;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(46,204,113,0.35);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(46,204,113,0.5); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ===== 通用区块 ===== */
.section { padding: 72px 0; }
.section-alt { background: #eef6ef; }
.section-dark { background: var(--bg-dark); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(46,204,113,0.15);
  color: var(--primary);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border: 1px solid rgba(46,204,113,0.3);
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-dark .section-head h2 { color: #fff; }

.section-head p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-head p { color: #8ab890; }

/* ===== 视频卡片网格 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26,122,60,0.2);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.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.3);
  opacity: 0;
  transition: var(--transition);
}

.video-card:hover .play-btn { opacity: 1; }

.play-btn svg {
  width: 60px;
  height: 60px;
  fill: rgba(255,255,255,0.95);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transform: scale(0.85);
  transition: transform 0.2s ease;
}

.video-card:hover .play-btn svg { transform: scale(1); }

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
}

.video-info {
  padding: 16px;
}

.video-info h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.video-meta span { display: flex; align-items: center; gap: 4px; }

.video-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.video-tag {
  background: rgba(26,122,60,0.1);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== 专家卡片 ===== */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.expert-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.expert-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(26,122,60,0.2); }

.expert-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
}

.expert-info { padding: 20px; }

.expert-info h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-main); margin-bottom: 4px; }

.expert-title {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.expert-desc { font-size: 0.88rem; color: var(--text-light); margin-bottom: 14px; line-height: 1.6; }

.expert-awards {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}

.award-badge {
  background: linear-gradient(135deg, #f0a500, #c47d00);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.expert-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-sm {
  padding: 7px 16px;
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-sm-primary { background: var(--primary); color: #fff; }
.btn-sm-primary:hover { background: var(--primary-dark); }
.btn-sm-outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.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: 0 2px 12px rgba(26,122,60,0.08);
  overflow: hidden;
  border: 1px solid #d4ecd8;
}

.faq-q {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-q:hover { background: #f0f9f2; color: var(--primary); }

.faq-q .icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-q .icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.8;
}

.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 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-light);
  transition: var(--transition);
}

.review-card:hover { transform: translateY(-3px); }

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.review-name { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }
.review-date { font-size: 0.78rem; color: #999; }

.review-stars { color: #f0a500; font-size: 0.9rem; margin-bottom: 10px; }

.review-text { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===== 合作品牌 ===== */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.brand-logo {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
  border: 1px solid #e0ede2;
  min-width: 120px;
  text-align: center;
}

.brand-logo:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-card:hover { border-color: var(--primary-light); transform: translateY(-3px); }

.contact-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.contact-card h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.contact-card p { color: #8ab890; font-size: 0.88rem; line-height: 1.6; }

/* ===== 底部 ===== */
.site-footer {
  background: #060f07;
  color: #6b9e72;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin-bottom: 16px; }

.footer-qr { display: flex; gap: 16px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 80px; height: 80px; border-radius: 8px; border: 2px solid #1e4a22; }
.footer-qr-item p { font-size: 0.75rem; margin-top: 6px; }

.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #1e4a22; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #6b9e72; text-decoration: none; font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid #1e4a22;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

.footer-bottom a { color: #6b9e72; text-decoration: none; }
.footer-bottom a:hover { color: var(--primary-light); }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #1e4a22;
  display: flex; align-items: center; justify-content: center;
  color: #8ab890;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: #fff; }

/* ===== 模块特殊样式 ===== */
.ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.ai-card {
  background: linear-gradient(135deg, #0f2312, #1a3320);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #2a5c30;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(46,204,113,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.ai-card:hover { border-color: var(--primary-light); transform: translateY(-4px); }

.ai-icon { font-size: 2.5rem; margin-bottom: 14px; display: block; }
.ai-card h3 { color: #fff; font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.ai-card p { color: #8ab890; font-size: 0.88rem; line-height: 1.7; }

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.community-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.community-card:hover { transform: translateY(-4px); }

.community-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.community-info { padding: 16px; }
.community-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.community-info p { font-size: 0.85rem; color: var(--text-light); }

/* ===== 面包屑 ===== */
.breadcrumb {
  background: #f0f9f2;
  padding: 12px 0;
  border-bottom: 1px solid #d4ecd8;
}

.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb-inner a { color: var(--primary); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { margin: 0 8px; }

/* ===== 分享按钮 ===== */
.share-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 0;
}

.share-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-wechat { background: #07c160; color: #fff; }
.share-weibo { background: #e6162d; color: #fff; }
.share-douyin { background: #010101; color: #fff; }
.share-bilibili { background: #00a1d6; color: #fff; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ===== 响应式 ===== */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: var(--transition); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: rgba(13,31,15,0.98);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 2px solid var(--primary);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 16px; }
  .header-actions .btn-join { display: none; }
  .hero-content { padding: 60px 20px; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .search-hot-tags { display: none; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* ===== 内页Banner ===== */
.page-banner {
  background: linear-gradient(135deg, var(--bg-dark), #1a3320);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/about_banner.jpg') center/cover;
  opacity: 0.2;
}

.page-banner h1 {
  position: relative;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.page-banner p {
  position: relative;
  color: #8ab890;
  font-size: 1rem;
}

/* ===== 标签云 ===== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.tag-cloud a {
  background: rgba(26,122,60,0.1);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(26,122,60,0.2);
  transition: var(--transition);
}
.tag-cloud a:hover { background: var(--primary); color: #fff; }

/* ===== 视频播放模态框 ===== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-modal.active { display: flex; }

.video-modal-inner {
  background: #0d1f0f;
  border-radius: var(--radius);
  padding: 24px;
  max-width: 800px;
  width: 90%;
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #0f2312;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6b9e72;
  font-size: 1rem;
  gap: 12px;
}

.video-placeholder svg { width: 64px; height: 64px; fill: #2ecc71; opacity: 0.6; }

/* ===== 视频播放器（H5 video） ===== */
.video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  display: none;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-modal-inner.playing .video-wrapper { display: block; }
.video-modal-inner.playing .video-placeholder { display: none; }

.video-placeholder-sub { font-size: 0.8rem; color: #4a6b4e; }

/* ===== 底部Logo ===== */
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #2a5c30;
}

/* ===== 底部关键词导航 ===== */
.footer-keywords {
  border-top: 1px solid #1e4a22;
  padding: 20px 0;
  margin-bottom: 0;
}

.footer-keywords h5 {
  color: #6b9e72;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-kw-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-kw-links a {
  color: #4a6b4e;
  font-size: 0.78rem;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #1e4a22;
  border-radius: 10px;
  transition: var(--transition);
}

.footer-kw-links a:hover { color: var(--primary-light); border-color: var(--primary); }

/* ===== 底部更新时间 ===== */
.footer-update {
  color: #4a6b4e;
  font-size: 0.78rem;
  margin-top: 4px;
}

/* ===== 视频卡片H5 video预览 ===== */
.video-card video.card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.video-card:hover video.card-video { opacity: 1; }

/* ===== H4/H5/H6 关键词标题 ===== */
h4, h5, h6 {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

/* ===== 专家评级 ===== */
.expert-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
  font-size: 0.82rem;
  color: #f0a500;
}

/* ===== 视频卡片EEAT标记 ===== */
.video-eeat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(46,204,113,0.12);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 6px;
}

/* ===== 结构化数据可见标记（百度EEAT） ===== */
.eeat-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 8px;
}

.eeat-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== 移动端优化 ===== */
@media (max-width: 768px) {
  .footer-keywords { display: none; }
  .share-bar span { display: none; }
}
