* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif SC', '宋体', 'Times New Roman', serif;
  background: #FDF8E6 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" opacity="0.06"><path fill="none" stroke="%238B6B4A" stroke-width="0.4" d="M20 30 Q 60 10, 100 25 T 180 20 M10 70 Q 50 50, 90 65 T 170 60"/></svg>');
  background-repeat: repeat;
  color: #3A3226;
  line-height: 1.6;
  scroll-behavior: smooth;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 5;
}

/* HEADER */
.site-header {
  background: #1A1612;
  border-bottom: 1px solid rgba(217, 180, 139, 0.3);
  position: relative;
  z-index: 100;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.logo a {
  font-size: 26px;
  font-weight: 700;
  color: #F0E2C5;
  letter-spacing: 2px;
  text-decoration: none;
}
.main-nav { position: absolute; left: 50%; transform: translateX(-50%); }
.nav-list { display: flex; list-style: none; gap: 42px; }
.nav-link {
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #E8DDD0;
  padding: 6px 0;
  position: relative;
  text-decoration: none;
}
.nav-link i { font-size: 16px; color: #D9B48B; }
.nav-link:hover { color: #F0E2C5; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: #C77A5A;
  transition: width 0.25s;
}
.nav-link:hover::after { width: 100%; }
.menu-toggle { display: none; flex-direction: column; cursor: pointer; z-index: 10; }
.menu-toggle span { width: 26px; height: 2px; background: #ECE3D8; margin: 5px 0; }

/* 页面主体 */
.page-content {
  max-width: 1000px;
  margin: 50px auto 0;
  padding: 0 28px;
}

/* 无图标题区 */
.title-section {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 0 20px;
  border-bottom: 2px dashed rgba(180, 130, 80, 0.3);
}
.title-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #4d2f1a;
  letter-spacing: 8px;
  margin-bottom: 8px;
}
.title-section .subhead {
  font-size: 1.1rem;
  color: #7a5e44;
  letter-spacing: 3px;
}

/* 板块标题 */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4d311a;
  letter-spacing: 4px;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title i {
  color: #b57a4a;
  font-size: 1.8rem;
}

/* 人物档案卡片 */
.info-card {
  background: rgba(255, 250, 240, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(200, 160, 115, 0.45);
  border-radius: 28px;
  padding: 28px 30px;
  margin-bottom: 30px;
}
.profile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 40px;
  margin-top: 15px;
}
.profile-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.profile-tag {
  font-weight: 700;
  color: #8B5A2D;
  min-width: 70px;
}
.profile-value {
  color: #3A2A1C;
}

/* 江湖故事 */
.story-text {
  background: rgba(255, 250, 240, 0.25);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(200, 160, 115, 0.35);
  border-radius: 24px;
  padding: 24px 28px;
  margin: 20px 0 30px;
  line-height: 2;
}
.story-text p {
  margin-bottom: 18px;
}
.story-text p:last-child {
  margin-bottom: 0;
}

/* 互动指南 */
.interaction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 20px 0 30px;
}
.interaction-item {
  background: rgba(255, 250, 240, 0.3);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(200, 160, 115, 0.4);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.interaction-item i {
  font-size: 2rem;
  color: #b57a4a;
  width: 40px;
  text-align: center;
}
.interaction-info h4 {
  font-size: 1.1rem;
  color: #4d2f1a;
}
.interaction-info p {
  font-size: 0.9rem;
  color: #7a5e44;
}

/* 经典台词 */
.quote-block {
  background: rgba(210, 175, 130, 0.12);
  border-left: 6px solid #8B1E2D;
  border-radius: 16px;
  padding: 22px 28px;
  margin: 25px 0 30px;
  font-style: italic;
  font-size: 1.2rem;
  color: #3A2A1C;
  backdrop-filter: blur(4px);
}
.quote-author {
  margin-top: 12px;
  text-align: right;
  font-style: normal;
  color: #7a5e44;
}

/* 关联人物 */
.related-people {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 35px;
  margin: 20px 0 10px;
}
.related-link {
  color: #8B5A2D;
  text-decoration: none;
  border-bottom: 1px dashed #b2906e;
  padding-bottom: 2px;
}
.related-link i {
  margin-right: 6px;
}

/* 底部双导航 */
.bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 50px 0 30px;
  padding: 20px 0;
  border-top: 1px dashed rgba(180, 130, 80, 0.3);
  border-bottom: 1px dashed rgba(180, 130, 80, 0.3);
}
.back-link {
  color: #6b4f32;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
}
.back-link i {
  margin-right: 8px;
}
.back-link:hover {
  color: #8B1E2D;
}
.next-link {
  color: #8B1E2D;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
}
.next-link i {
  margin-left: 8px;
}

/* 跳转按钮 */
.next-page-section {
  margin: 20px auto 50px;
  text-align: center;
}
.next-page-btn {
  position: relative;
  display: inline-block;
  width: 100%;
  color: #8B1E2D;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s;
  opacity: 0.9;
}
.next-page-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 45%;
  height: 1px;
  background: linear-gradient(to right, transparent, #8B1E2D);
  opacity: 0.5;
}
.next-page-btn::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 45%;
  height: 1px;
  background: linear-gradient(to left, transparent, #8B1E2D);
  opacity: 0.5;
}
.next-page-btn:hover {
  letter-spacing: 3px;
  opacity: 1;
}

/* FOOTER */
.site-footer {
  background: #1A1612;
  border-top: 1px solid rgba(217, 180, 139, 0.3);
  padding: 30px 0;
  margin-top: 40px;
  text-align: center;
  color: #8A7E6E;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .main-nav { position: static; transform: none; }
  .nav-list {
    position: fixed; top: 70px; left: -100%;
    width: 75%; height: calc(100vh - 70px);
    background: #2A241E;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s;
    gap: 28px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.5);
    z-index: 99;
    border-left: 3px solid #8B1E2D;
  }
  .nav-list.show { left: 0; }
  .menu-toggle { display: flex; }
}
@media (max-width: 760px) {
  .title-section h1 { font-size: 2.8rem; }
  .container, .page-content { padding: 0 16px; }
  .bottom-nav { flex-direction: column; gap: 15px; }
}