:root {
  --bg-dark: #0a0a0a;
  /* 极深背景 */
  --panel-bg: #141414;
  /* 面板背景 */
  --input-bg: #252525;
  /* 输入框背景 */
  --accent-gold: #e2c585;
  /* 金色主色调 */
  --accent-gold-hover: #f0d58f;
  --text-main: #ffffff;
  --text-gray: #888888;
  --border-color: #333333;

  /* 字体定义 */
  --font-serif: "Songti SC", "SimSun", "Times New Roman", serif;
  /* 宋体/衬线 */
  --font-sans: "DengXian", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  /* 等线/无衬线 */
  --font-mono: "Consolas", "Monaco", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ================= Header ================= */
header {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.header-left .back-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 14px;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.header-center {
  text-align: center;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #fff;
  margin-left: 160px;
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 10px;
  color: #fff;
  letter-spacing: 1px;
  margin-top: 2px;
  margin-left: 160px;
}

.header-right nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-item {
  text-decoration: none;
  color: var(--text-gray);
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* 激活状态：金色背景 */
.nav-item.active {
  background-color: var(--accent-gold);
  color: #1a1a1a;
  font-weight: bold;
}

.nav-item:hover:not(.active) {
  color: #fff;
}


/* ================= Hero Section (双重背景) ================= */
.hero-section {
  text-align: center;
  padding: 60px 20px 40px;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),

  ;
  /* 底层图片 */
  background-size: cover;
  background-position: center;

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--accent-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.description {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-gray);
  letter-spacing: 0.5px;
}

/* ================= Hero Section (双重背景) ================= */


.hero-section {
  text-align: center;
  padding: 60px 20px 40px;


}

.main-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--accent-gold);
  /* 这里的标题是金色的 */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.description {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.5px;
}


/* ================= PAGE 4: 文化内涵 ================= */

.culture-main {
  flex: 1;
  overflow-y: auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;

  align-items: center;

}

/* 通用块容器限制宽度 */
.section-block {
  width: 100%;
  max-width: 1200px;
}

.text-center {
  text-align: center;
}

.sub-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}


/* === 第一部分：四大名锦卡片 === */
.brocade-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.b-card {
  background: #141414;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.b-card:hover {
  transform: translateY(-5px);

}

.big-char {

  font-size: 48px;
  color: #fff;
  margin-bottom: 15px;
}

.b-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
}

.b-desc {
  font-size: 18px;
  color: var(--text-gray);
}

/* === 第二部分：左右分栏 (图案 & 女性) === */
.split-culture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.culture-box {
  background: #141414;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 30px;
}

/* 象征意义表格 */
.symbol-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.symbol-table th {
  text-align: left;
  font-size: 18px;
  color: var(--accent-gold);
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}

.symbol-table td {
  font-size: 18px;
  color: #ccc;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.symbol-table tr:last-child td {
  border-bottom: none;
}

/* === 第三部分：工艺流程 === */
.process-section {
  padding-top: 20px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.step-card {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 20px 10px;
  text-align: center;
  position: relative;
  border: 1px solid transparent;
}

.step-card:hover {
  border-color: rgba(226, 197, 133, 0.3);
}

/* 金色圆形数字 */
.step-num {
  width: 32px;
  height: 32px;
  background-color: var(--accent-gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 15px;
  font-size: 16px;
}

.step-name {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 5px;
}

.step-desc {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.4;
}

/* === 第四部分：底部引言 === */
.quote-section {
  display: flex;
  gap: 60px;
  padding-top: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.quote-text-col {
  flex: 1.2;
}

.quote-text-col p {
  font-size: 17px;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

.quote-display-col {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-left: 2px solid var(--accent-gold);
  /* 左侧金色竖线 */
  padding-left: 20px;
}

.quote-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.q-content {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 20px;
  /* 稍微大一点以示区别 */
  color: #fff;
  font-style: italic;
}

.q-source {
  font-size: 17px;
  color: var(--text-gray);
  margin-top: 5px;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .brocade-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {

  .split-culture,
  .quote-section {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-display-col {
    border-left: none;
    border-top: 2px solid var(--accent-gold);
    padding-left: 0;
    padding-top: 20px;
  }
}

/* --- 响应式适配 (移动端: 屏幕宽度小于768px) --- */

@media (max-width: 768px) {

  body {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
  }

  header {
    height: auto;
    flex-direction: column;
    /* 改为垂直排列 */
    padding: 15px 15px 10px 15px;
    gap: 15px;
    /* 上下两行之间的间距 */
    position: relative;
  }

  .header-left {
    position: absolute;
    left: 15px;
    top: 20px;

  }

  .header-center {
    margin: 0;
  }

  .logo-title,
  .logo-subtitle {
    margin-left: 0;
    text-align: center;
  }

  .header-right {
    width: 100%;
    overflow-x: auto;

  }

  .header-right nav ul {
    justify-content: center;
    gap: 8px;

  }

  .header-right nav ul li {
    border-radius: 8px;
  }

  .nav-item {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
    /* 保证导航文字不换行 */
  }

  .hero-section {
    padding: 30px 15px 20px;
  }

  .main-title {
    font-size: 24px;
    margin-bottom: 8px;
  }
}