/* ============================================================
   福利姬视频社区 - 主样式表
   品牌: 福利姬 | 域名: ybbqk.cn
   设计风格: 自然绿意 + 现代简洁 + 视频社区
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  background: #f7f9f4;
  color: #1a2e1a;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: #2e7d32; text-decoration: none; transition: color .2s; }
a:hover { color: #1b5e20; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1a2e1a;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: .8rem; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: #eef4ea; }
.section-dark { background: #1a2e1a; color: #e8f5e9; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #a5d6a7; }
.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-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ---- Section Title ---- */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { position: relative; display: inline-block; padding-bottom: 12px; }
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, #2e7d32, #66bb6a);
  border-radius: 2px;
}
.section-title p { color: #4a7c59; margin-top: 10px; font-size: .95rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff;
  box-shadow: 0 3px 10px rgba(46,125,50,.3);
}
.btn-primary:hover { background: linear-gradient(135deg, #1b5e20, #2e7d32); color: #fff; transform: translateY(-1px); }
.btn-outline {
  border: 2px solid #2e7d32;
  color: #2e7d32;
  background: transparent;
}
.btn-outline:hover { background: #2e7d32; color: #fff; }
.btn-sm { padding: 6px 16px; font-size: .85rem; }

/* ---- Header ---- */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #c8e6c9;
  box-shadow: 0 2px 12px rgba(46,125,50,.08);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800;
  color: #1b5e20; white-space: nowrap;
}
.site-logo .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #2e7d32, #66bb6a);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; font-weight: 900;
}
.site-logo span { letter-spacing: -.5px; }

/* ---- Navigation ---- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: #2d4a2d;
  transition: all .18s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: #e8f5e9;
  color: #1b5e20;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #2e7d32; margin: 5px 0;
  transition: all .2s;
}

/* ---- Search Bar ---- */
.search-bar-wrap {
  background: #f1f8e9;
  border-bottom: 1px solid #c8e6c9;
  padding: 10px 0;
}
.search-bar-inner {
  display: flex; align-items: center; gap: 10px;
  max-width: 640px; margin: 0 auto;
}
.search-bar-inner input {
  flex: 1;
  padding: 9px 16px;
  border: 1.5px solid #a5d6a7;
  border-radius: 24px 0 0 24px;
  font-size: .95rem;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.search-bar-inner input:focus { border-color: #2e7d32; }
.search-bar-inner button {
  padding: 9px 22px;
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff;
  border: none;
  border-radius: 0 24px 24px 0;
  font-size: .95rem;
  cursor: pointer;
  font-weight: 600;
  transition: background .2s;
}
.search-bar-inner button:hover { background: #1b5e20; }

/* ---- Hero Banner ---- */
.hero-banner {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.62);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,94,32,.7) 0%, rgba(0,0,0,.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff;
  padding: 60px 0;
}
.hero-content h1 { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.4); margin-bottom: 16px; }
.hero-content p { font-size: 1.1rem; color: #e8f5e9; max-width: 600px; margin-bottom: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero-tag {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .85rem;
}
.hero-stats { display: flex; gap: 32px; margin-top: 20px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.8rem; font-weight: 800; color: #a5d6a7; }
.hero-stat .label { font-size: .8rem; color: #c8e6c9; }

/* ---- Video Cards ---- */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(46,125,50,.15); }
.video-thumb {
  position: relative;
  padding-top: 56.25%;
  background: #c8e6c9;
  overflow: hidden;
}
.video-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.0);
  transition: background .2s;
  opacity: 0;
}
.video-card:hover .video-play-btn { opacity: 1; background: rgba(0,0,0,.35); }
.video-play-btn svg {
  width: 52px; height: 52px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  transform: scale(.85);
  transition: transform .2s;
}
.video-card:hover .video-play-btn svg { transform: scale(1); }
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.7);
  color: #fff; font-size: .75rem;
  padding: 2px 8px; border-radius: 4px;
}
.video-info { padding: 12px 14px; }
.video-title { font-size: .9rem; font-weight: 600; color: #1a2e1a; margin-bottom: 6px; line-height: 1.4; }
.video-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: #6a9a6a; }
.video-meta span { display: flex; align-items: center; gap: 3px; }
.video-tag {
  display: inline-block;
  background: #e8f5e9; color: #2e7d32;
  font-size: .72rem; padding: 2px 8px; border-radius: 10px;
  margin-top: 6px;
}

/* ---- Feature Cards ---- */
.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  border-top: 3px solid #2e7d32;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(46,125,50,.12); }
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: #4a7c59; }

/* ---- Expert Cards ---- */
.expert-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform .2s;
}
.expert-card:hover { transform: translateY(-4px); }
.expert-photo {
  width: 100%; height: 200px;
  object-fit: cover;
}
.expert-info { padding: 16px; }
.expert-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.expert-title { font-size: .82rem; color: #4a7c59; margin-bottom: 10px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.expert-tag {
  background: #e8f5e9; color: #2e7d32;
  font-size: .72rem; padding: 2px 10px; border-radius: 10px;
}
.expert-actions { display: flex; gap: 8px; }

/* ---- Review Cards ---- */
.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  border-left: 4px solid #66bb6a;
}
.review-stars { color: #f9a825; font-size: 1rem; margin-bottom: 8px; }
.review-text { font-size: .9rem; color: #2d4a2d; margin-bottom: 12px; font-style: italic; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e7d32, #66bb6a);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .9rem;
}
.review-name { font-size: .88rem; font-weight: 600; }
.review-date { font-size: .75rem; color: #888; }

/* ---- FAQ ---- */
.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: #1a2e1a;
  transition: background .15s;
}
.faq-q:hover { background: #f1f8e9; }
.faq-q .arrow { font-size: 1rem; transition: transform .2s; color: #2e7d32; }
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0; overflow: hidden;
  font-size: .9rem; color: #4a7c59;
  transition: max-height .3s ease, padding .3s;
}
.faq-a.open { max-height: 300px; padding: 14px 20px; }

/* ---- Brand Logo Wall ---- */
.brand-logos { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }
.brand-logo-item {
  background: #fff;
  border-radius: 10px;
  padding: 14px 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  font-weight: 700; font-size: .95rem;
  color: #2e7d32;
  border: 1.5px solid #c8e6c9;
  transition: all .2s;
}
.brand-logo-item:hover { border-color: #2e7d32; box-shadow: 0 4px 14px rgba(46,125,50,.15); }

/* ---- QR Codes ---- */
.qr-wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.qr-item { text-align: center; }
.qr-box {
  width: 120px; height: 120px;
  background: #fff;
  border: 2px solid #c8e6c9;
  border-radius: 12px;
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.qr-box img { width: 100%; height: 100%; object-fit: cover; }
.qr-label { font-size: .82rem; color: #4a7c59; }

/* ---- Social Share ---- */
.social-share { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: .85rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all .2s;
}
.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 { opacity: .85; transform: translateY(-1px); }

/* ---- Contact Info ---- */
.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.contact-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: #e8f5e9; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-item .label { font-size: .8rem; color: #888; }
.contact-item .value { font-size: .9rem; font-weight: 600; color: #1a2e1a; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: #f1f8e9;
  padding: 10px 0;
  border-bottom: 1px solid #c8e6c9;
  font-size: .85rem;
}
.breadcrumb a { color: #2e7d32; }
.breadcrumb span { color: #888; margin: 0 6px; }

/* ---- Tags ---- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: #e8f5e9; color: #2e7d32;
  padding: 4px 14px; border-radius: 16px;
  font-size: .82rem; border: 1px solid #c8e6c9;
  transition: all .15s;
}
.tag:hover { background: #2e7d32; color: #fff; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.page-btn {
  width: 36px; height: 36px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid #c8e6c9;
  background: #fff; color: #2e7d32;
  transition: all .15s;
}
.page-btn.active, .page-btn:hover { background: #2e7d32; color: #fff; border-color: #2e7d32; }

/* ---- Footer ---- */
#site-footer {
  background: #0d1f0d;
  color: #a5d6a7;
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; color: #81c784; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #81c784; font-size: .88rem; transition: color .15s; }
.footer-col ul li a:hover { color: #a5d6a7; }
.footer-bottom {
  padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; color: #4a7c59;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: #4a7c59; }
.footer-bottom a:hover { color: #81c784; }

/* ---- AI Section ---- */
.ai-card {
  background: linear-gradient(135deg, #1a2e1a 0%, #2e4a2e 100%);
  border-radius: 16px;
  padding: 32px;
  color: #e8f5e9;
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(102,187,106,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.ai-card h3 { color: #a5d6a7; margin-bottom: 10px; }
.ai-card p { color: #81c784; font-size: .9rem; }
.ai-badge {
  display: inline-block;
  background: linear-gradient(90deg, #2e7d32, #66bb6a);
  color: #fff; font-size: .72rem; font-weight: 700;
  padding: 2px 10px; border-radius: 10px; margin-bottom: 10px;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  padding: 28px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; color: #fff; }
.stat-num { font-size: 2rem; font-weight: 800; color: #a5d6a7; }
.stat-label { font-size: .82rem; color: #c8e6c9; margin-top: 4px; }

/* ---- Notification Bar ---- */
.notice-bar {
  background: #e8f5e9;
  border-bottom: 1px solid #c8e6c9;
  padding: 8px 0;
  font-size: .85rem;
  color: #2e7d32;
  overflow: hidden;
}
.notice-inner { display: flex; align-items: center; gap: 12px; }
.notice-label {
  background: #2e7d32; color: #fff;
  padding: 2px 10px; border-radius: 4px;
  font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.notice-scroll { flex: 1; overflow: hidden; white-space: nowrap; }

/* ---- Tabs ---- */
.tab-nav { display: flex; gap: 4px; border-bottom: 2px solid #c8e6c9; margin-bottom: 24px; }
.tab-btn {
  padding: 10px 20px; font-size: .9rem; font-weight: 600;
  cursor: pointer; border: none; background: none;
  color: #4a7c59; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all .15s;
}
.tab-btn.active { color: #2e7d32; border-bottom-color: #2e7d32; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-stats { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-banner { min-height: 380px; }
}

/* ---- Utility ---- */
.badge {
  display: inline-block;
  padding: 2px 10px; border-radius: 10px;
  font-size: .75rem; font-weight: 700;
}
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-red { background: #fce4ec; color: #c62828; }
.badge-blue { background: #e3f2fd; color: #1565c0; }
.badge-orange { background: #fff3e0; color: #e65100; }
.badge-hot { background: linear-gradient(90deg, #e53935, #f4511e); color: #fff; }
.badge-new { background: linear-gradient(90deg, #2e7d32, #43a047); color: #fff; }

/* ---- Lazy Load ---- */
img[data-src] { opacity: 0; transition: opacity .3s; }
img.loaded { opacity: 1; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f8e9; }
::-webkit-scrollbar-thumb { background: #a5d6a7; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2e7d32; }

/* ---- Selection ---- */
::selection { background: #c8e6c9; color: #1b5e20; }

/* ---- Distraction tags hidden ---- */
.seo-noise { display: none !important; }
