
/* ============ 基础重置 ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: #3B2E22;
  background-color: #E7DCC4;
  background-image:
    radial-gradient(circle at 12% 16%, rgba(143, 160, 106, 0.26), transparent 42%),
    radial-gradient(circle at 88% 6%, rgba(192, 138, 74, 0.22), transparent 40%),
    radial-gradient(circle at 72% 88%, rgba(107, 74, 52, 0.18), transparent 48%),
    radial-gradient(circle at 4% 78%, rgba(143, 160, 106, 0.16), transparent 38%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ============ 滚动进度条 ============ */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 999;
  background: linear-gradient(90deg, #8FA06A, #C08A4A, #D06B7E);
  transition: width 0.12s linear;
}

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(231, 220, 196, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 74, 52, 0.18);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #4A3527;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 15px;
  color: #5A4736;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8FA06A, #C08A4A);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #6B7A4F;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ============ 首屏 Banner ============ */
.hero {
  padding: 72px 20px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(6px);
}

.hero::before {
  width: 220px;
  height: 220px;
  top: -60px;
  left: -70px;
  background: radial-gradient(circle, rgba(143, 160, 106, 0.35), transparent 70%);
}

.hero::after {
  width: 260px;
  height: 260px;
  bottom: -90px;
  right: -80px;
  background: radial-gradient(circle, rgba(192, 138, 74, 0.3), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.3;
  letter-spacing: 3px;
  font-weight: 800;
  background: linear-gradient(120deg, #4A5A38 0%, #6B7A4F 40%, #C08A4A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 18px;
  font-size: 16px;
  color: #6A5A46;
  line-height: 1.8;
}

/* 搜索框 */
.search-box {
  max-width: 600px;
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  box-shadow: 0 12px 30px rgba(74, 53, 39, 0.16);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-family: inherit;
  color: #3B2E22;
  padding: 12px 6px;
}

.search-box input::placeholder {
  color: #A99A84;
}

.search-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  padding: 13px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #E8A0A8, #D06B7E);
  box-shadow: 0 8px 18px rgba(208, 107, 126, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(208, 107, 126, 0.45);
}

/* 药丸标签组 */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 15px;
  color: #4A3527;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(107, 74, 52, 0.2);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pill:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 138, 74, 0.65);
  box-shadow: 0 14px 26px rgba(74, 53, 39, 0.2);
}

.pill .pill-icon {
  font-size: 16px;
  line-height: 1;
}

/* ============ 通用区块 ============ */
section {
  padding: 72px 20px;
  scroll-margin-top: 84px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: 2px;
  color: #4A3527;
  text-align: center;
  line-height: 1.4;
}

.section-title .hl {
  background: linear-gradient(180deg, transparent 62%, rgba(192, 138, 74, 0.42) 62%);
  padding: 0 4px;
}

.section-sub {
  margin-top: 14px;
  font-size: 15px;
  color: #7A6A55;
  text-align: center;
  line-height: 1.8;
}

/* 深色半透明卡片 */
.card {
  background: rgba(52, 45, 34, 0.9);
  border: 1px solid rgba(192, 138, 74, 0.22);
  border-radius: 24px;
  color: #F3EBD9;
  transition: transform 0.35s ease, box-shadow 0.35s ease,
              border-color 0.35s ease, background 0.35s ease;
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(192, 138, 74, 0.68);
  background: rgba(60, 52, 38, 0.96);
  box-shadow: 0 20px 42px rgba(74, 53, 39, 0.3);
}

/* 淡入动画 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 网站简介 ============ */
.intro-card {
  margin-top: 42px;
  padding: 46px 50px;
  border-radius: 24px;
}

.intro-card p {
  font-size: 17px;
  line-height: 2;
  color: #DED3BC;
  text-align: justify;
}

.intro-card p + p {
  margin-top: 22px;
}

/* ============ 核心优势 ============ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}

.adv-card {
  border-radius: 999px;
  padding: 48px 52px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.adv-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8FA06A, #C08A4A);
  box-shadow: 0 8px 18px rgba(143, 160, 106, 0.35);
  flex-shrink: 0;
}

.adv-icon svg {
  width: 30px;
  height: 30px;
  stroke: #FFFFFF;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adv-title {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.adv-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: #C9BCA2;
}

/* ============ 精选视频 ============ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}

.video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
}

.video-thumbnail {
  position: relative;
  height: 184px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 13px;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(4px);
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #D06B7E;
  font-size: 19px;
  padding-left: 4px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover .play-btn {
  transform: scale(1.12);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36);
}

.video-duration {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #F3EBD9;
  background: rgba(0, 0, 0, 0.55);
}

.video-info {
  padding: 20px 22px 24px;
}

.video-title {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-meta {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #C9BCA2;
}

.video-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.tag-video {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1.6;
}

.tag-video {
  color: #FFFFFF;
  background: linear-gradient(135deg, #8FA06A, #6B7A4F);
}

.tag {
  color: #C9BCA2;
  background: rgba(243, 235, 217, 0.12);
}

/* ============ 相关资讯 ============ */
.news-divider {
  width: 92px;
  height: 3px;
  margin: 26px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #8FA06A, #C08A4A);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 46px;
}

.news-card {
  padding: 28px 30px 26px;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #C08A4A;
}

.news-title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-desc {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.9;
  color: #C9BCA2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  margin-top: 18px;
  font-size: 13.5px;
  color: #A99A84;
  transition: color 0.3s ease;
}

.news-card:hover .news-more {
  color: #E8A0A8;
}

/* ============ 常见问题 ============ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 46px;
}

.faq-card {
  padding: 30px 32px;
}

.faq-q {
  display: flex;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.7;
  color: #F0C77A;
}

.faq-q .q-mark {
  color: #8FA06A;
  flex-shrink: 0;
}

.faq-a {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.95;
  color: #C9BCA2;
}

/* ============ 用户热评 ============ */
.comment-box {
  margin-top: 42px;
  padding: 28px 30px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comment-box input,
.comment-box textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  color: #F3EBD9;
  background: rgba(243, 235, 217, 0.08);
  border: 1px solid rgba(192, 138, 74, 0.24);
  border-radius: 14px;
  padding: 13px 18px;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.comment-box input::placeholder,
.comment-box textarea::placeholder {
  color: #9C8E78;
}

.comment-box input:focus,
.comment-box textarea:focus {
  border-color: rgba(192, 138, 74, 0.7);
  background: rgba(243, 235, 217, 0.12);
}

.comment-btn {
  align-self: flex-end;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
  padding: 12px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #E8A0A8, #D06B7E);
  box-shadow: 0 8px 18px rgba(208, 107, 126, 0.32);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(208, 107, 126, 0.45);
}

.comment-list {
  margin-top: 26px;
  max-height: 620px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comment-list::-webkit-scrollbar {
  width: 6px;
}

.comment-list::-webkit-scrollbar-thumb {
  background: rgba(192, 138, 74, 0.45);
  border-radius: 3px;
}

.comment-list::-webkit-scrollbar-track {
  background: rgba(107, 74, 52, 0.1);
  border-radius: 3px;
}

.comment-card {
  padding: 22px 26px;
  border-radius: 24px;
}

.c-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.c-name {
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.c-time {
  font-size: 13px;
  color: #A99A84;
}

.c-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.c-tags span {
  font-size: 12.5px;
  color: #8FA06A;
  background: rgba(143, 160, 106, 0.16);
  padding: 3px 11px;
  border-radius: 999px;
}

.c-body {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.9;
  color: #DED3BC;
}

.c-foot {
  margin-top: 14px;
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  color: #A99A84;
}

.comment-tip {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
  color: #8C7E68;
  letter-spacing: 1px;
}

/* ============ 页脚 ============ */
.site-footer {
  padding: 56px 20px 44px;
  background: rgba(52, 45, 34, 0.94);
  border-top: 1px solid rgba(192, 138, 74, 0.28);
  text-align: center;
  color: #C9BCA2;
}

.foot-brand {
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #F3EBD9;
}

.foot-desc {
  margin-top: 12px;
  font-size: 14.5px;
  color: #A99A84;
}

.foot-copy {
  margin-top: 22px;
  font-size: 13.5px;
  color: #8C7E68;
}

.foot-disc {
  margin: 16px auto 0;
  max-width: 860px;
  font-size: 12.8px;
  line-height: 1.9;
  color: #857863;
  text-align: center;
}

/* ============ 响应式适配 ============ */
@media (max-width: 1000px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-card {
    padding: 42px 40px;
    min-height: 280px;
  }
}

@media (max-width: 820px) {
  .nav-wrap {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }

  .nav-links {
    gap: 16px 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 14px;
  }

  section {
    padding: 56px 16px;
  }

  .intro-card {
    padding: 32px 26px;
  }

  .intro-card p {
    font-size: 16px;
    text-align: left;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 48px 16px 44px;
  }

  .search-box {
    padding: 5px 5px 5px 18px;
  }

  .search-btn {
    padding: 12px 22px;
    font-size: 15px;
  }

  .adv-grid,
  .video-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .adv-card {
    border-radius: 999px;
    padding: 40px 44px;
    min-height: 0;
  }

  .video-thumbnail {
    height: 170px;
  }

  .faq-card {
    padding: 24px 22px;
  }

  .comment-box {
    padding: 22px 20px;
  }

  .comment-card {
    padding: 20px 20px;
  }

  .news-card {
    padding: 24px 22px;
  }

  .comment-btn {
    align-self: stretch;
    width: 100%;
  }

  .intro-card p,
  .faq-a,
  .c-body {
    font-size: 16px;
    line-height: 1.95;
  }
}
