/* 抖阴 - 阴阳师风格主题样式 */
/* 外部CSS文件 | jfhxqd.cn */

:root {
  --primary: #1a6b4a;
  --primary-dark: #0d3d2a;
  --primary-light: #2a9b6e;
  --accent: #c8a84b;
  --accent-light: #f0d080;
  --bg-dark: #060e0a;
  --bg-card: #0e1f16;
  --bg-card2: #111c14;
  --text-main: #e8f0eb;
  --text-muted: #8aab96;
  --text-gold: #c8a84b;
  --border: #1e3828;
  --border-gold: #c8a84b44;
  --shadow: 0 4px 24px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 20px rgba(200,168,75,0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --font-main: 'PingFang SC','Microsoft YaHei','Noto Sans SC',sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

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

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

/* ===== 隐藏干扰标签 ===== */
.noise-wrap { display: none !important; visibility: hidden !important; position: absolute !important; left: -9999px !important; }

/* ===== 顶部公告栏 ===== */
.top-notice {
  background: linear-gradient(90deg, var(--primary-dark), #0a1f14, var(--primary-dark));
  border-bottom: 1px solid var(--border-gold);
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-gold);
  overflow: hidden;
}
.notice-scroll { white-space: nowrap; animation: scrollLeft 30s linear infinite; display: inline-block; }
@keyframes scrollLeft { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }

/* ===== 导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,14,10,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-logo img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border-gold); object-fit: cover; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: 2px; }
.logo-sub { font-size: 11px; color: var(--text-muted); display: block; letter-spacing: 1px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--text-main);
  font-size: 14px;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--accent);
  background: rgba(200,168,75,0.1);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-main); margin: 5px 0; transition: all var(--transition); }

/* ===== 搜索框 ===== */
.search-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.search-inner { display: flex; align-items: center; gap: 10px; max-width: 600px; margin: 0 auto; }
.search-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 8px 18px;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 24px;
  padding: 8px 20px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}
.search-btn:hover { background: linear-gradient(135deg, var(--primary-light), var(--accent)); }

/* ===== Hero Banner ===== */
.hero-section {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,14,10,0.85) 0%, rgba(26,107,74,0.3) 50%, rgba(6,14,10,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,168,75,0.15);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-content h1 em { color: var(--accent); font-style: normal; }
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 24px; font-weight: 700; color: var(--accent); }
.hero-stat span { font-size: 12px; color: var(--text-muted); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(26,107,74,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,107,74,0.6); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { background: rgba(200,168,75,0.1); color: var(--accent-light); }

/* ===== 通用Section ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-card2); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  background: rgba(200,168,75,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 3px 14px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.section-header h2 em { color: var(--accent); font-style: normal; }
.section-header p { color: var(--text-muted); font-size: 15px; max-width: 600px; margin: 0 auto; }
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== 视频卡片 ===== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); border-color: var(--border-gold); box-shadow: var(--shadow-gold); }
.video-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s 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.45);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-icon {
  width: 60px; height: 60px;
  background: rgba(200,168,75,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform var(--transition);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon::after {
  content: '';
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}
.video-info { padding: 14px; }
.video-info h3 { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; line-height: 1.4; }
.video-info h4 { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.video-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.video-tag {
  background: rgba(26,107,74,0.2);
  border: 1px solid rgba(26,107,74,0.4);
  color: var(--primary-light);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ===== 功能卡片 ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--border-gold); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  border: 1px solid var(--border-gold);
}
.feature-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card h4 { font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== 专家卡片 ===== */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.expert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}
.expert-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-gold); }
.expert-photo { aspect-ratio: 4/3; overflow: hidden; }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.expert-card:hover .expert-photo img { transform: scale(1.05); }
.expert-info { padding: 18px; }
.expert-info h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.expert-info h4 { font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.expert-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
.expert-awards { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 12px; }
.award-tag {
  background: rgba(200,168,75,0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--border-gold);
  color: var(--accent);
  background: transparent;
}
.btn-sm:hover { background: rgba(200,168,75,0.1); }
.btn-sm.filled { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-sm.filled:hover { background: var(--primary-light); }

/* ===== 社区功能 ===== */
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}
.community-card:hover { border-color: var(--border-gold); transform: translateY(-4px); }
.community-icon { font-size: 36px; margin-bottom: 12px; }
.community-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.community-card h4 { font-size: 12px; color: var(--accent); margin-bottom: 8px; }
.community-card p { font-size: 13px; color: var(--text-muted); }
.community-stats { font-size: 12px; color: var(--primary-light); margin-top: 10px; font-weight: 600; }

/* ===== 图片画廊 ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-size: 13px; font-weight: 600; }

/* ===== 统计数据 ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), #0a1a10);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 50px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item strong { display: block; font-size: 2.4rem; font-weight: 800; color: var(--accent); }
.stat-item span { font-size: 14px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--border-gold); }
.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  user-select: none;
}
.faq-question::after { content: '+'; font-size: 20px; color: var(--accent); transition: transform var(--transition); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 18px; }

/* ===== 用户评价 ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all var(--transition);
}
.review-card:hover { border-color: var(--border-gold); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.review-meta h4 { font-size: 14px; font-weight: 700; color: #fff; }
.review-meta span { font-size: 12px; color: var(--text-muted); }
.review-stars { color: var(--accent); font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.review-tag { font-size: 11px; color: var(--primary-light); margin-top: 8px; }

/* ===== 合作品牌 ===== */
.partners-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.partner-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 14px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.partner-item:hover { border-color: var(--border-gold); color: var(--accent); }

/* ===== 联系方式 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
.contact-item p { font-size: 14px; color: var(--text-muted); }
.qr-row { display: flex; gap: 20px; }
.qr-item { text-align: center; }
.qr-item img { width: 120px; height: 120px; border-radius: var(--radius); border: 1px solid var(--border-gold); }
.qr-item p { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

/* ===== 分享按钮 ===== */
.share-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition);
}
.share-btn:hover { border-color: var(--border-gold); color: var(--accent); }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-card2);
  border-top: 1px solid var(--border-gold);
  padding: 50px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { font-size: 20px; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.footer-col h5 { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 16px; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.update-time { color: var(--primary-light); font-size: 12px; }

/* ===== 内页Hero ===== */
.inner-hero {
  background: linear-gradient(135deg, var(--primary-dark), #0a1a10);
  border-bottom: 1px solid var(--border-gold);
  padding: 50px 0;
}
.inner-hero h1 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.inner-hero h1 em { color: var(--accent); font-style: normal; }
.inner-hero p { font-size: 15px; color: var(--text-muted); }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(200,168,75,0.1); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: rgba(6,14,10,0.98); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border-gold); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-section { min-height: 420px; }
  .hero-stats { gap: 16px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .qr-row { justify-content: center; }
}
