/* =========================================================
   重庆盈冉网络科技有限公司-岐黄中医 网站样式表
   主题：中医药传统文化 / 现代化展示
   配色：朱砂红 / 古金 / 宣纸米色 / 墨黑
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Source Han Sans CN", "Noto Sans CJK SC", sans-serif;
  color: #2b2b2b;
  background: #faf6f0;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #8b1a1a;
  text-decoration: none;
  transition: color 0.25s;
}

a:hover {
  color: #c9a45c;
}

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

ul, ol {
  list-style: none;
}

/* ---------- 主题色变量 ---------- */
:root {
  --color-red: #8b1a1a;       /* 朱砂红 */
  --color-red-dark: #5e0f0f;
  --color-gold: #c9a45c;      /* 古金 */
  --color-gold-light: #e0c992;
  --color-cream: #faf6f0;     /* 宣纸米 */
  --color-paper: #f3ebdd;
  --color-ink: #2b2b2b;       /* 墨黑 */
  --color-ink-soft: #5b5b5b;
  --color-line: #e0d6c2;
  --shadow-soft: 0 6px 22px rgba(94, 15, 15, 0.08);
  --shadow-hover: 0 14px 40px rgba(94, 15, 15, 0.16);
  --radius: 4px;
}

/* ---------- 通用容器 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 48px 0;
}

.bg-paper {
  background: var(--color-paper);
}

.bg-cream {
  background: var(--color-cream);
}

/* ---------- 排版 ---------- */
.section-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: 30px;
  font-weight: 700;
  color: var(--color-red-dark);
  letter-spacing: 2px;
}

.section-title .accent {
  color: var(--color-gold);
}

.section-subtitle {
  text-align: center;
  color: var(--color-ink-soft);
  font-size: 15px;
  margin-bottom: 48px;
  letter-spacing: 1px;
}

.section-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
  margin: 16px auto 0;
  border-radius: 2px;
}

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

/* ---------- 顶部公告条 ---------- */
.top-bar {
  background: var(--color-red-dark);
  color: #f8e8c8;
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.5px;
}

.top-bar a {
  color: #f8e8c8;
  text-decoration: underline;
}

/* ---------- 网站头部 / 导航 ---------- */
.site-header {
  background: rgba(250, 246, 240, 0.96);
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-red-dark);
  letter-spacing: 1.5px;
}

.brand-tag {
  font-size: 12px;
  color: var(--color-ink-soft);
  letter-spacing: 2px;
}

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

.main-nav a {
  display: block;
  padding: 10px 18px;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  position: relative;
}

.main-nav a:hover {
  color: var(--color-red);
  background: rgba(139, 26, 26, 0.06);
}

.main-nav a.active {
  color: var(--color-red-dark);
  font-weight: 700;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-red-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94, 15, 15, 0.78) 0%, rgba(20, 12, 8, 0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 80px 24px;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(201, 164, 92, 0.25);
  border: 1px solid rgba(201, 164, 92, 0.55);
  color: var(--color-gold-light);
  font-size: 13px;
  letter-spacing: 3px;
  border-radius: 2px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 18px;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-title .gold {
  color: var(--color-gold-light);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 1px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 2px;
  font-size: 15px;
  letter-spacing: 1.5px;
  transition: all 0.25s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-red-dark);
  font-weight: 700;
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  color: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201, 164, 92, 0.4);
}

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

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

.btn-dark {
  background: var(--color-red-dark);
  color: #fff;
  border-color: var(--color-red-dark);
}

.btn-dark:hover {
  background: var(--color-red);
  color: #fff;
}

/* ---------- 首页 数据条 ---------- */
.stat-bar {
  background: var(--color-red-dark);
  color: #fff;
  padding: 36px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .num {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-gold-light);
  letter-spacing: 1px;
}

.stat-item .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* ---------- 三大产品模块 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold);
}

.product-cover {
  height: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 1px;
  background: rgba(139, 26, 26, 0.08);
  color: var(--color-red);
  border-radius: 2px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.product-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-red-dark);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.product-desc {
  color: var(--color-ink-soft);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
  flex: 1;
}

.product-features {
  margin-bottom: 18px;
}

.product-features li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--color-ink);
  margin-bottom: 6px;
  line-height: 1.6;
}

.product-features li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-gold);
  font-size: 10px;
}

.product-link {
  display: inline-block;
  color: var(--color-red);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-line);
}

.product-link:hover {
  color: var(--color-gold);
}

/* ---------- 内容特色矩阵 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  background: #fff;
  border-radius: 6px;
  padding: 28px;
  border: 1px solid var(--color-line);
  transition: all 0.3s;
}

.feature-item:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 700;
}

.feature-item h4 {
  font-size: 18px;
  color: var(--color-red-dark);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.feature-item p {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.8;
}

/* ---------- 内容卡片（图文栏目） ---------- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.content-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s;
}

.content-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.content-thumb {
  height: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.content-body {
  padding: 22px;
}

.content-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--color-ink-soft);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.content-meta .cat {
  color: var(--color-red);
  font-weight: 700;
}

.content-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 10px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.content-card:hover .content-title {
  color: var(--color-red-dark);
}

.content-excerpt {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.8;
  margin-bottom: 14px;
}

.content-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px dashed var(--color-line);
  font-size: 13px;
  color: var(--color-ink-soft);
}

.content-stats {
  display: flex;
  gap: 14px;
}

.content-stats span::before {
  margin-right: 4px;
  color: var(--color-gold);
}

/* ---------- 大幅专题区块（图文并茂） ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-section.reverse .split-image {
  order: 2;
}

.split-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.split-text h3 {
  font-size: 28px;
  color: var(--color-red-dark);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.split-text .lead {
  font-size: 16px;
  color: var(--color-ink-soft);
  line-height: 1.9;
  margin-bottom: 20px;
}

.split-text ul.check-list {
  margin-bottom: 24px;
}

.split-text ul.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--color-ink);
  line-height: 1.7;
}

.split-text ul.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--color-gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  top: 4px;
}

/* ---------- 平台功能 ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-item {
  background: #fff;
  padding: 26px 22px;
  border-radius: 6px;
  border: 1px solid var(--color-line);
  text-align: center;
  transition: all 0.3s;
}

.platform-item:hover {
  border-color: var(--color-gold);
  background: #fbf6ea;
  transform: translateY(-3px);
}

.platform-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: rgba(139, 26, 26, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red-dark);
  font-size: 22px;
}

.platform-item h5 {
  font-size: 16px;
  color: var(--color-red-dark);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.platform-item p {
  font-size: 13px;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

/* ---------- 内容准则提示框 ---------- */
.notice-box {
  background: linear-gradient(135deg, #fff7e8 0%, #fdf3d8 100%);
  border-left: 4px solid var(--color-gold);
  padding: 24px 28px;
  border-radius: 4px;
  margin: 32px 0;
}

.notice-box.warning {
  background: linear-gradient(135deg, #fff1f0 0%, #ffe5e2 100%);
  border-left-color: var(--color-red);
}

.notice-box h4 {
  font-size: 17px;
  color: var(--color-red-dark);
  margin-bottom: 10px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-box h4::before {
  content: "⚠";
  color: var(--color-red);
  font-size: 18px;
}

.notice-box p {
  font-size: 14px;
  color: var(--color-ink);
  line-height: 1.8;
  margin-bottom: 6px;
}

.notice-box ul {
  margin-top: 8px;
  padding-left: 4px;
}

.notice-box ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--color-ink);
  line-height: 1.8;
  margin-bottom: 4px;
}

.notice-box ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--color-red);
  font-weight: 700;
}

/* ---------- 公司介绍页 ---------- */
.about-hero {
  background: linear-gradient(135deg, var(--color-red-dark) 0%, #3a0808 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 36px;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.about-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  max-width: 720px;
  margin: 0 auto;
}

.about-section h3 {
  font-size: 22px;
  color: var(--color-red-dark);
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  padding-left: 14px;
  border-left: 4px solid var(--color-gold);
}

.about-section p {
  font-size: 15px;
  color: var(--color-ink);
  line-height: 2;
  margin-bottom: 14px;
}

.about-section ul.dash-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--color-ink);
  line-height: 1.8;
}

.about-section ul.dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

/* 公司信息表 */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.info-table th,
.info-table td {
  padding: 16px 22px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--color-line);
}

.info-table th {
  background: var(--color-red-dark);
  color: #fff;
  width: 28%;
  letter-spacing: 1px;
  font-weight: 500;
}

.info-table td {
  color: var(--color-ink);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.info-table tr:nth-child(even) td {
  background: #fbf6ea;
}

/* ---------- 合规声明页 ---------- */
.compliance-block {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 36px 40px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
}

.compliance-block h3 {
  font-size: 20px;
  color: var(--color-red-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-gold);
  letter-spacing: 1.5px;
}

.compliance-block h4 {
  font-size: 16px;
  color: var(--color-red);
  margin: 18px 0 8px;
  letter-spacing: 1px;
}

.compliance-block p {
  font-size: 14px;
  line-height: 2;
  color: var(--color-ink);
  margin-bottom: 12px;
  text-indent: 2em;
}

.compliance-block ol,
.compliance-block ul {
  margin: 10px 0 14px 24px;
}

.compliance-block ol li,
.compliance-block ul li {
  font-size: 14px;
  line-height: 2;
  color: var(--color-ink);
  margin-bottom: 4px;
}

.compliance-block ol {
  list-style: decimal;
}

.compliance-block ul {
  list-style: disc;
}

.compliance-stamp {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid var(--color-red);
  color: var(--color-red);
  font-size: 14px;
  letter-spacing: 4px;
  border-radius: 4px;
  transform: rotate(-3deg);
  margin-top: 16px;
  font-weight: 700;
}

/* ---------- 网站底部 ---------- */
.site-footer {
  background: #2a1818;
  color: #c9b8a0;
  padding: 56px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #4a3030;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
}

.footer-brand .name {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-brand .tag {
  font-size: 12px;
  color: #c9a45c;
  letter-spacing: 2px;
}

.footer-col h5 {
  color: var(--color-gold-light);
  font-size: 15px;
  margin-bottom: 16px;
  letter-spacing: 2px;
  font-weight: 700;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.9;
  color: #b0a088;
  margin-bottom: 6px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #b0a088;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.footer-col ul li a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #8b7a64;
  line-height: 1.9;
}

.footer-bottom .icp {
  margin-top: 6px;
}

.footer-bottom a {
  color: #b0a088;
  margin: 0 6px;
}

/* ---------- 面包屑导航 ---------- */
.breadcrumb {
  background: var(--color-paper);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 13px;
  color: var(--color-ink-soft);
}

.breadcrumb ol {
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb li::after {
  content: "›";
  margin-left: 8px;
  color: var(--color-gold);
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: var(--color-ink-soft);
}

.breadcrumb a:hover {
  color: var(--color-red);
}

/* ---------- 页面顶部小标题区 ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--color-red-dark) 0%, #3a0808 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(201, 164, 92, 0.18) 0%, transparent 50%);
}

.page-banner h1 {
  position: relative;
  font-size: 34px;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.page-banner p {
  position: relative;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1.5px;
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- 标签筛选条 ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-bar button {
  padding: 8px 20px;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-ink);
  font-size: 14px;
  border-radius: 22px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  letter-spacing: 1px;
}

.filter-bar button:hover {
  border-color: var(--color-gold);
  color: var(--color-red);
}

.filter-bar button.active {
  background: var(--color-red-dark);
  color: #fff;
  border-color: var(--color-red-dark);
}

/* ---------- 视频区块 ---------- */
.video-block {
  background: #1a0e0e;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-block img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.video-play {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 70px;
  background: rgba(201, 164, 92, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s;
}

.video-block:hover .video-play {
  transform: scale(1.1);
}

.video-play::before {
  content: "▶";
  margin-left: 4px;
}

.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 3;
  color: #fff;
}

.video-caption h4 {
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.video-caption p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- 列表/栏目标签 ---------- */
.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 2px;
  background: rgba(139, 26, 26, 0.08);
  color: var(--color-red);
  letter-spacing: 0.5px;
  margin-right: 6px;
}

.tag.gold {
  background: rgba(201, 164, 92, 0.15);
  color: #a07c2c;
}

/* ---------- CTA 区块 ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-red-dark) 0%, #4a1010 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(201, 164, 92, 0.2) 0%, transparent 50%);
}

.cta-section h2 {
  position: relative;
  font-size: 28px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.cta-section p {
  position: relative;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 26px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 1px;
}

.cta-section .btn {
  position: relative;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  background: var(--color-red-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-red);
  transform: translateY(-3px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .product-grid,
  .feature-grid,
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-section.reverse .split-image {
    order: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s;
    gap: 0;
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .main-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-line);
  }
  .nav-toggle {
    display: flex;
  }
  .product-grid,
  .feature-grid,
  .content-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 48px 0;
  }
  .hero-title {
    font-size: 28px;
    letter-spacing: 2px;
  }
  .hero-content {
    padding: 56px 24px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .section-title {
    font-size: 24px;
  }
  .info-table th,
  .info-table td {
    padding: 12px 14px;
    font-size: 13px;
  }
  .info-table th {
    width: 35%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .compliance-block {
    padding: 24px 20px;
  }
  .page-banner h1 {
    font-size: 26px;
  }
}

/* ---------- 打印样式 ---------- */
@media print {
  .site-header, .top-bar, .back-to-top, .nav-toggle, .cta-section {
    display: none;
  }
  body {
    background: #fff;
  }
}

/* =========================================================
   直播间样式
   ========================================================= */
.live-page {
  background: #0f0a0a;
  color: #f0e6d2;
  min-height: 100vh;
}

.live-topbar {
  background: linear-gradient(180deg, #1a0e0e 0%, #2a1818 100%);
  border-bottom: 1px solid #3a2020;
  padding: 14px 0;
}

.live-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

.live-host-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-host-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: 2px solid var(--color-gold);
  flex-shrink: 0;
}

.live-host-meta .live-title-text {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.live-host-meta .live-host-name {
  font-size: 13px;
  color: var(--color-gold-light);
}

.live-host-meta .live-host-name .verify {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--color-gold);
  color: #1a0e0e;
  border-radius: 50%;
  font-size: 10px;
  text-align: center;
  line-height: 14px;
  margin-left: 4px;
  font-weight: 700;
}

.live-stats {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 13px;
  color: #c9b8a0;
}

.live-stats .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(139, 26, 26, 0.4);
  border: 1px solid rgba(201, 164, 92, 0.4);
  border-radius: 14px;
  color: var(--color-gold-light);
  font-size: 12px;
}

.live-badge .live-dot {
  width: 8px;
  height: 8px;
  background: #ff4d4d;
  border-radius: 50%;
  display: inline-block;
  animation: live-blink 1.2s infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.live-stats .stat-num {
  color: var(--color-gold-light);
  font-weight: 700;
}

/* 直播主区域 */
.live-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: start;
}

/* 视频区域 */
.live-video-wrap {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid #3a2020;
}

.live-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.live-video-frame iframe,
.live-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
}

/* 直播画面屏蔽层：覆盖播放器，屏蔽一切点击、悬停与跳转（进度条等控件不再出现） */
.video-shield {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: transparent;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.live-video-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 77, 77, 0.92);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 1px;
}

.live-tag .live-dot {
  background: #fff;
}

.live-watching {
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
}

/* 视频下方信息条 */
.live-info-bar {
  padding: 16px 20px;
  background: #1a0e0e;
  border-top: 1px solid #3a2020;
}

.live-info-bar h2 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.live-info-bar .live-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #b0a088;
}

.live-info-bar .live-meta span::before {
  content: "·";
  margin-right: 6px;
  color: var(--color-gold);
}

.live-info-bar .live-meta span:first-child::before {
  content: "";
  margin: 0;
}

/* 聊天区 */
.live-chat {
  background: #1a0e0e;
  border-radius: 8px;
  border: 1px solid #3a2020;
  display: flex;
  flex-direction: column;
  height: 580px;
  overflow: hidden;
}

.live-chat-header {
  padding: 12px 16px;
  background: #2a1818;
  border-bottom: 1px solid #3a2020;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-chat-header h3 {
  font-size: 14px;
  color: #fff;
  letter-spacing: 1px;
}

.live-chat-header .online-count {
  font-size: 12px;
  color: var(--color-gold-light);
}

.live-chat-header .online-count::before {
  content: "●";
  margin-right: 4px;
  color: #5cdc7a;
  font-size: 10px;
}

.live-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  scroll-behavior: smooth;
}

.live-chat-body::-webkit-scrollbar {
  width: 6px;
}

.live-chat-body::-webkit-scrollbar-thumb {
  background: #3a2020;
  border-radius: 3px;
}

.live-chat-body::-webkit-scrollbar-track {
  background: transparent;
}

.chat-msg {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
  animation: msg-in 0.4s ease;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.chat-avatar.c1 { background: linear-gradient(135deg, #d4a35a, #8b1a1a); }
.chat-avatar.c2 { background: linear-gradient(135deg, #5a8fd4, #2c4a8b); }
.chat-avatar.c3 { background: linear-gradient(135deg, #6abf6e, #2e7d32); }
.chat-avatar.c4 { background: linear-gradient(135deg, #c4615a, #8b2a2a); }
.chat-avatar.c5 { background: linear-gradient(135deg, #9b6ad4, #5a2c8b); }
.chat-avatar.c6 { background: linear-gradient(135deg, #d49b5a, #8b5a1a); }
.chat-avatar.c7 { background: linear-gradient(135deg, #5ad4c4, #2a8b7a); }
.chat-avatar.c8 { background: linear-gradient(135deg, #d45a8b, #8b2a5a); }
.chat-avatar.host { background: linear-gradient(135deg, var(--color-gold), var(--color-red-dark)); border: 2px solid var(--color-gold); }
.chat-avatar.sys { background: #3a2020; color: var(--color-gold-light); }

.chat-content {
  flex: 1;
  min-width: 0;
}

.chat-nick {
  font-size: 12px;
  color: var(--color-gold-light);
  margin-right: 6px;
  font-weight: 700;
}

.chat-nick.host { color: var(--color-gold); }
.chat-nick.sys { color: #b0a088; font-weight: 500; }

.chat-text {
  color: #f0e6d2;
  word-wrap: break-word;
}

.chat-msg.sys-msg {
  justify-content: center;
  font-size: 12px;
  color: #b0a088;
  text-align: center;
  padding: 4px 0;
}

.chat-msg.sys-msg .chat-text {
  color: #b0a088;
  font-size: 12px;
  background: rgba(201, 164, 92, 0.08);
  padding: 4px 12px;
  border-radius: 12px;
}

.chat-msg.gift-msg {
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.18) 0%, transparent 100%);
  border-left: 3px solid var(--color-gold);
  padding: 8px 12px;
  border-radius: 4px;
}

.chat-msg.gift-msg .chat-text {
  color: var(--color-gold-light);
  font-weight: 700;
}

/* 输入区 */
.live-chat-input {
  padding: 12px 14px;
  background: #2a1818;
  border-top: 1px solid #3a2020;
  display: flex;
  gap: 8px;
  align-items: center;
}

.live-chat-input input {
  flex: 1;
  background: #0f0a0a;
  border: 1px solid #3a2020;
  color: #f0e6d2;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: border 0.25s;
}

.live-chat-input input:focus {
  border-color: var(--color-gold);
}

.live-chat-input input::placeholder {
  color: #6b5d48;
}

.live-chat-input button {
  background: linear-gradient(135deg, var(--color-gold), var(--color-red));
  color: #fff;
  border: 0;
  padding: 9px 18px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  font-family: inherit;
  transition: transform 0.2s;
}

.live-chat-input button:hover {
  transform: scale(1.05);
}

.live-chat-input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 礼物按钮区 */
.live-gift-bar {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  padding: 0 14px 10px;
  background: #2a1818;
  flex-wrap: wrap;
}

.live-gift-bar button {
  background: rgba(201, 164, 92, 0.15);
  border: 1px solid rgba(201, 164, 92, 0.3);
  color: var(--color-gold-light);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.live-gift-bar button:hover {
  background: var(--color-gold);
  color: #1a0e0e;
}

/* 直播间下方扩展信息 */
.live-extra {
  margin-top: 20px;
  background: #1a0e0e;
  border-radius: 8px;
  border: 1px solid #3a2020;
  padding: 22px 26px;
}

.live-extra h3 {
  color: var(--color-gold-light);
  font-size: 15px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3a2020;
}

.live-extra p {
  color: #c9b8a0;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 8px;
}

.live-extra .warning-text {
  color: #e0a060;
  font-size: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #3a2020;
}

@media (max-width: 992px) {
  .live-main {
    grid-template-columns: 1fr;
  }
  .live-chat {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .live-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .live-stats {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .live-main {
    padding: 16px 14px 30px;
  }
}

/* =========================================================
   首页短视频区块
   ========================================================= */
.video-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold);
}

.video-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-thumb .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.video-card:hover .play-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.play-icon {
  width: 54px;
  height: 54px;
  background: rgba(201, 164, 92, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: transform 0.3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.video-card:hover .play-icon {
  transform: scale(1.12);
}

.play-icon::before {
  content: "▶";
  margin-left: 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: 2px;
}

.video-info {
  padding: 14px 16px;
}

.video-info h4 {
  font-size: 15px;
  color: var(--color-ink);
  line-height: 1.5;
  margin-bottom: 8px;
  font-weight: 600;
}

.video-card:hover .video-info h4 {
  color: var(--color-red-dark);
}

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-ink-soft);
}

.video-meta .author {
  color: var(--color-red);
}

/* 视频弹窗 */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.video-modal.show {
  display: flex;
  animation: modal-fade 0.3s;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.video-modal-content {
  background: #1a0e0e;
  border-radius: 8px;
  max-width: 960px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.video-modal-header {
  padding: 14px 20px;
  background: #2a1818;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #3a2020;
}

.video-modal-header h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
}

.video-modal-close {
  background: transparent;
  border: 0;
  color: #c9b8a0;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.video-modal-close:hover {
  color: var(--color-gold);
}

.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 首页直播入口卡片 */
.live-entry {
  background: linear-gradient(135deg, var(--color-red-dark) 0%, #3a0808 100%);
  color: #fff;
  border-radius: 6px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.live-entry::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.live-entry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 77, 77, 0.92);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.live-entry-tag .live-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: live-blink 1.2s infinite;
}

.live-entry h3 {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
}

.live-entry p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  line-height: 1.7;
}

.live-entry .btn {
  position: relative;
}

/* ---------- 图文卡片可点击 ---------- */
.content-card[data-article] {
  cursor: pointer;
}

.content-grid a.content-card {
  display: block;
  color: inherit;
}

.content-grid a.content-card:hover {
  color: inherit;
}

/* =========================================================
   文章详情页
   ========================================================= */

/* 面包屑 */
.breadcrumb {
  font-size: 13px;
  color: var(--color-ink-soft);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: var(--color-ink-soft);
}

.breadcrumb a:hover {
  color: var(--color-red);
}

.breadcrumb .sep {
  margin: 0 8px;
  color: var(--color-line);
}

.breadcrumb .crumb-current {
  color: var(--color-red-dark);
}

/* 文章头部 */
.article-header {
  margin-bottom: 28px;
}

.article-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-red);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.article-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-red-dark);
  line-height: 1.4;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--color-ink-soft);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
}

/* 主图 */
.article-hero-img {
  margin: 28px 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.article-hero-img img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* 导语 */
.article-lead {
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-red-dark);
  background: var(--color-paper);
  border-left: 4px solid var(--color-gold);
  padding: 18px 22px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

/* 正文 */
.article-body {
  font-size: 16px;
  line-height: 2;
  color: var(--color-ink);
}

.article-body p {
  text-indent: 2em;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* 健康风险提示 */
.article-warn {
  margin: 36px 0 0;
  padding: 18px 22px;
  background: #fdf3e7;
  border: 1px solid var(--color-gold-light);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-ink-soft);
}

.article-warn strong {
  color: var(--color-red);
}

/* 版权声明 */
.article-copyright {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--color-line);
  font-size: 12px;
  color: var(--color-ink-soft);
  text-align: center;
  letter-spacing: 1px;
}

/* 文章底部导航 */
.article-footer-nav {
  display: flex;
  justify-content: space-between;
  margin: 40px 0 56px;
}

/* 文章不存在 */
.article-empty {
  text-align: center;
  padding: 80px 0;
}

.article-empty h2 {
  font-size: 24px;
  color: var(--color-red-dark);
  margin-bottom: 12px;
}

.article-empty p {
  color: var(--color-ink-soft);
  margin-bottom: 28px;
}

/* 相关内容推荐 */
.related-section {
  margin-top: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--color-line);
}

.related-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-red-dark);
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.related-title .gold {
  color: var(--color-gold);
}

.related-section .content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .article-title {
    font-size: 24px;
  }

  .related-section .content-grid {
    grid-template-columns: 1fr;
  }

  .article-footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
}

/* =========================================================
   直播间完整功能（弹幕 / 礼物面板 / 充值 / VIP / 打赏 / 榜单）
   ========================================================= */

/* 顶部操作按钮 */
.live-action-btn {
  padding: 5px 14px;
  border: 1px solid rgba(201, 164, 92, 0.5);
  background: rgba(201, 164, 92, 0.12);
  color: #e8d9b8;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.live-action-btn:hover {
  background: rgba(201, 164, 92, 0.3);
  color: #fff;
}

.live-action-btn.gold {
  background: linear-gradient(135deg, #c9a45c, #b08a3e);
  border-color: transparent;
  color: #3a2408;
  font-weight: 700;
}

.live-action-btn.gold:hover {
  filter: brightness(1.1);
  color: #3a2408;
}

.live-action-btn.vip {
  background: linear-gradient(135deg, #6b3fa0, #4a2470);
  border-color: transparent;
  color: #f0e2ff;
  font-weight: 700;
}

.live-action-btn.follow {
  margin-left: 12px;
}

.live-action-btn.follow.followed {
  background: rgba(255, 255, 255, 0.08);
  color: #a89a82;
  border-color: transparent;
}

/* 弹幕层 */
.danmu-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.live-video-overlay {
  z-index: 6;
}

.danmu-item {
  position: absolute;
  left: 100%;
  white-space: nowrap;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 12px;
  border-radius: 20px;
  animation-name: danmu-fly;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.danmu-item.danmu-gift {
  color: #ffd98a;
  background: rgba(139, 26, 26, 0.55);
}

.danmu-item.danmu-vip {
  color: #ffe08a;
  background: linear-gradient(90deg, rgba(107, 63, 160, 0.75), rgba(74, 36, 112, 0.75));
  border: 1px solid rgba(255, 224, 138, 0.5);
}

@keyframes danmu-fly {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100vw - 100%)); }
}

/* 礼物飘屏 */
.gift-float-layer {
  position: absolute;
  left: 12px;
  bottom: 56px;
  z-index: 7;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gift-float-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(139, 26, 26, 0.9), rgba(94, 15, 15, 0.55));
  border: 1px solid rgba(201, 164, 92, 0.6);
  border-radius: 24px;
  padding: 6px 16px 6px 6px;
  animation: gift-float-in 4.2s ease forwards;
}

.gift-float-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}

.gift-float-text {
  font-size: 13px;
  color: #f5ecd8;
}

.gift-float-text b {
  color: #ffd98a;
}

.gift-float-text i {
  font-style: normal;
  font-size: 11px;
  color: rgba(245, 236, 216, 0.7);
  margin-left: 4px;
}

@keyframes gift-float-in {
  0% { opacity: 0; transform: translateX(-30px) scale(0.8); }
  8% { opacity: 1; transform: translateX(0) scale(1.05); }
  14% { transform: translateX(0) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-12px); }
}

/* 聊天区标签页 */
.chat-tabs {
  display: flex;
  gap: 6px;
}

.chat-tab {
  border: none;
  background: transparent;
  color: var(--color-ink-soft);
  font-size: 14px;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
}

.chat-tab.active {
  color: var(--color-red-dark);
  font-weight: 700;
  background: rgba(139, 26, 26, 0.08);
}

/* 贡献榜 */
.live-rank-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  min-height: 0;
}

.rank-head {
  font-size: 12px;
  color: var(--color-ink-soft);
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-align: center;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px dashed var(--color-line);
}

.rank-item.self {
  background: rgba(201, 164, 92, 0.12);
  border-radius: 6px;
}

.rank-no {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ddd;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-no-1 { background: #c9a45c; }
.rank-no-2 { background: #a8a8a8; }
.rank-no-3 { background: #b08a5e; }

.rank-item .chat-avatar {
  width: 28px;
  height: 28px;
  font-size: 13px;
  flex-shrink: 0;
}

.rank-name {
  flex: 1;
  font-size: 13px;
  color: var(--color-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-coin {
  font-size: 13px;
  color: var(--color-gold);
  font-weight: 700;
}

/* 我的资产条 */
.live-wallet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: rgba(201, 164, 92, 0.1);
  border-top: 1px solid var(--color-line);
  font-size: 12px;
  color: var(--color-ink-soft);
}

.wallet-item b {
  color: var(--color-red-dark);
  font-size: 14px;
}

.vip-status.active {
  color: #6b3fa0;
  font-weight: 700;
}

/* 礼物面板 */
.live-gift-panel {
  border-top: 1px solid var(--color-line);
  background: #fbf8f2;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 10px 10px 4px;
}

.gift-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 2px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.gift-item:hover {
  background: rgba(139, 26, 26, 0.06);
}

.gift-item.selected {
  border-color: var(--color-gold);
  background: rgba(201, 164, 92, 0.15);
}

.gift-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.gift-name {
  font-size: 11px;
  color: var(--color-ink);
}

.gift-price {
  font-size: 10px;
  color: var(--color-gold);
}

.gift-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 10px;
}

.gift-tip-btn {
  padding: 6px 16px;
  border: 1px solid var(--color-gold);
  background: transparent;
  color: var(--color-red-dark);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.gift-tip-btn:hover {
  background: rgba(201, 164, 92, 0.15);
}

.gift-selected-info {
  flex: 1;
  font-size: 12px;
  color: var(--color-ink-soft);
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gift-send-btn {
  padding: 6px 22px;
  border: none;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.2s;
}

.gift-send-btn:hover {
  filter: brightness(1.12);
}

/* VIP 徽章与金色昵称 */
.vip-badge {
  display: inline-block;
  background: linear-gradient(135deg, #6b3fa0, #4a2470);
  color: #ffe08a;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: 1px;
  font-weight: 700;
}

.chat-nick.gold { color: #b8860b; }
.chat-text .gold, b.gold { color: #b8860b; }

/* 进场消息 */
.enter-msg .chat-text {
  color: #7a9a6d;
  font-size: 12px;
}

.vip-enter-msg .chat-text {
  color: #6b3fa0;
  font-size: 12px;
  font-weight: 700;
}

/* 打赏消息 */
.tip-msg {
  background: rgba(201, 164, 92, 0.14);
  border-radius: 6px;
  padding: 4px 6px;
}

/* ---------- 直播间弹窗 ---------- */
.live-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}

.live-modal.open {
  display: flex;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 8, 0.6);
  backdrop-filter: blur(2px);
}

.modal-card {
  position: relative;
  width: 420px;
  max-width: calc(100vw - 40px);
  background: #fbf8f2;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: modal-pop 0.25s ease;
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--color-red-dark), var(--color-red));
  color: #f5ecd8;
}

.modal-head h4 {
  font-size: 16px;
  letter-spacing: 1px;
}

.modal-close {
  border: none;
  background: transparent;
  color: #f5ecd8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.modal-body {
  padding: 18px;
}

.modal-balance {
  font-size: 13px;
  color: var(--color-ink-soft);
  margin-bottom: 14px;
}

.modal-balance b {
  color: var(--color-red-dark);
  font-size: 16px;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

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

.pkg-item {
  position: relative;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.pkg-item:hover {
  border-color: var(--color-gold);
}

.pkg-item.selected {
  border-color: var(--color-red);
  background: rgba(139, 26, 26, 0.05);
  box-shadow: 0 0 0 1px var(--color-red) inset;
}

.pkg-item b {
  display: block;
  font-size: 15px;
  color: var(--color-red-dark);
  margin-bottom: 2px;
}

.pkg-item span {
  font-size: 12px;
  color: var(--color-ink-soft);
}

.pkg-item em {
  position: absolute;
  top: -8px;
  right: -4px;
  background: var(--color-gold);
  color: #3a2408;
  font-size: 10px;
  font-style: normal;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 700;
}

.vip-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.vip-benefits span {
  font-size: 12px;
  color: #6b3fa0;
  background: rgba(107, 63, 160, 0.08);
  border: 1px solid rgba(107, 63, 160, 0.25);
  padding: 3px 10px;
  border-radius: 12px;
}

#vipGrid .pkg-item.selected {
  border-color: #6b3fa0;
  background: rgba(107, 63, 160, 0.05);
  box-shadow: 0 0 0 1px #6b3fa0 inset;
}

.pay-methods {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--color-ink);
  margin-bottom: 16px;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 13px;
}

.modal-confirm-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.2s;
}

.modal-confirm-btn:hover:not(:disabled) {
  filter: brightness(1.12);
}

.modal-confirm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-fineprint {
  margin-top: 12px;
  font-size: 11px;
  color: var(--color-ink-soft);
  text-align: center;
}

/* 提示浮层 */
.live-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: rgba(43, 43, 43, 0.92);
  color: #f5ecd8;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 24px;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.live-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .gift-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .live-action-btn {
    padding: 4px 10px;
  }
}

/* =========================================================
   直播互动区浅色主题覆盖（与整站 宣纸米/朱砂红/古金 配色统一）
   ========================================================= */

/* 互动面板整体：白底卡片 */
.live-chat {
  background: #fff;
  border-color: var(--color-line);
  box-shadow: var(--shadow-soft);
}

.live-chat-header {
  background: var(--color-paper);
  border-bottom-color: var(--color-line);
}

.live-chat-header .online-count {
  color: var(--color-ink-soft);
}

/* 聊天消息配色 */
.chat-nick {
  color: var(--color-red);
}

.chat-nick.host {
  color: var(--color-red-dark);
}

.chat-text {
  color: var(--color-ink);
}

.chat-avatar.sys {
  background: var(--color-paper);
  color: var(--color-red-dark);
}

.chat-msg.sys-msg {
  color: #8a7a5f;
}

.chat-msg.sys-msg .chat-text {
  color: #8a7a5f;
  background: rgba(201, 164, 92, 0.15);
}

.chat-msg.gift-msg {
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.18) 0%, transparent 100%);
}

.chat-msg.gift-msg .chat-text {
  color: #8b6914;
}

/* 滚动条 */
.live-chat-body::-webkit-scrollbar-thumb {
  background: var(--color-line);
}

/* 输入区 */
.live-chat-input {
  background: #fff;
  border-top-color: var(--color-line);
}

.live-chat-input input {
  background: var(--color-cream);
  border-color: var(--color-line);
  color: var(--color-ink);
}

.live-chat-input input::placeholder {
  color: #a89a82;
}

.live-chat-input input:focus {
  border-color: var(--color-gold);
}

/* 礼物图标与飘屏头像配色（补齐 c1-c8） */
.gift-icon.c1, .gift-float-avatar.c1 { background: linear-gradient(135deg, #d4a35a, #8b1a1a); }
.gift-icon.c2, .gift-float-avatar.c2 { background: linear-gradient(135deg, #5a8fd4, #2c4a8b); }
.gift-icon.c3, .gift-float-avatar.c3 { background: linear-gradient(135deg, #6abf6e, #2e7d32); }
.gift-icon.c4, .gift-float-avatar.c4 { background: linear-gradient(135deg, #c4615a, #8b2a2a); }
.gift-icon.c5, .gift-float-avatar.c5 { background: linear-gradient(135deg, #9b6ad4, #5a2c8b); }
.gift-icon.c6, .gift-float-avatar.c6 { background: linear-gradient(135deg, #d49b5a, #8b5a1a); }
.gift-icon.c7, .gift-float-avatar.c7 { background: linear-gradient(135deg, #5ad4c4, #2a8b7a); }
.gift-icon.c8, .gift-float-avatar.c8 { background: linear-gradient(135deg, #d45a8b, #8b2a5a); }

