/* ====================================================================
   征婚主页移动端优先视觉系统 (Mobile-First & High-End Matchmaking Design)
   ==================================================================== */

:root {
  /* 优雅温润色彩体系 + 青春灵动点缀 */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F3EFEA;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F8F5F0;
  
  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #8C8780;
  --text-light: #A8A29E;

  --accent-gold: #B88E56;
  --accent-gold-hover: #9E743F;
  --accent-gold-light: #FBF4EC;
  --accent-rose: #C2847A;
  --accent-cyan: #3B82F6;
  --accent-purple: #8B5CF6;
  
  --border-light: rgba(140, 135, 128, 0.15);
  --border-focus: rgba(184, 142, 86, 0.4);
  
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 8px 20px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 16px 36px rgba(28, 25, 23, 0.09);
  --shadow-hover: 0 18px 40px rgba(28, 25, 23, 0.12);

  /* 中国大陆极速原生字体栈 (覆盖 iOS/macOS 苹方与宋体, 鸿蒙/小米/OPPO 原生字体, Windows 微软雅黑与宋体) */
  --font-serif: "Songti SC", "STSong", "SimSun", "Source Han Serif SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "HarmonyOS Sans", "MiSans", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "PingFang SC", "Microsoft YaHei", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 基础重置 & 防止移动端横向溢出 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 30px;
}

/* 动态背景光斑 (移动端适配软化) */
.ambient-glow-1 {
  position: fixed;
  top: -10vw;
  left: -10vw;
  width: 70vw;
  height: 70vw;
  max-width: 450px;
  max-height: 450px;
  background: radial-gradient(circle, rgba(184, 142, 86, 0.08) 0%, rgba(194, 132, 122, 0.04) 60%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: fixed;
  bottom: 5vh;
  right: -10vw;
  width: 65vw;
  height: 65vw;
  max-width: 400px;
  max-height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, rgba(139, 92, 246, 0.04) 60%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* 顶部极细阅读进度条 */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-rose), #3B82F6);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* 全局点击彩屑画布 */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* 移动端安全容器布局 */
.container {
  width: 100%;
  max-width: 720px; /* 移动端/平板居中阅读宽度 */
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

/* ====================================================================
   📱 移动端专属顶部微导航 (Mobile Sleek Header)
   ==================================================================== */
.mobile-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-light);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-gold);
}

.top-bar-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.top-bar-status {
  font-size: 0.72rem;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.top-bar-cta {
  background: var(--text-primary);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
}

.top-bar-cta:active {
  background: var(--accent-gold);
}

/* ====================================================================
   🎵 悬浮黑胶唱片微播放器 (Mobile-Friendly Compact Vinyl Player)
   ==================================================================== */
.vinyl-player-widget {
  position: fixed;
  bottom: 18px;
  right: 16px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease;
  max-width: 200px;
}

.vinyl-player-widget:active {
  transform: scale(0.96);
}

.vinyl-disc {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: spinVinyl 6s linear infinite;
  animation-play-state: paused;
}

.vinyl-disc.playing {
  animation-play-state: running;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-cover-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #fff;
}

.player-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.player-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.player-artist {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
}

.sound-bar {
  width: 2px;
  background: var(--accent-gold);
  border-radius: 1px;
  height: 2px;
}

.playing .sound-bar:nth-child(1) { animation: soundWave 0.8s ease-in-out infinite alternate; }
.playing .sound-bar:nth-child(2) { animation: soundWave 0.6s ease-in-out infinite 0.2s alternate; }
.playing .sound-bar:nth-child(3) { animation: soundWave 1.1s ease-in-out infinite 0.4s alternate; }

@keyframes soundWave {
  0% { height: 2px; }
  100% { height: 10px; }
}

/* ====================================================================
   📱 HERO 区域 (手机首屏杂志卡片排版)
   ==================================================================== */
.hero-section {
  padding-top: 72px; /* 避开顶部微导航 */
  padding-bottom: 36px;
}

.hero-mobile-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 顶部照片海报 */
.hero-avatar-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.avatar-backdrop {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(184, 142, 86, 0.25), rgba(194, 132, 122, 0.2), rgba(59, 130, 246, 0.15));
  z-index: 0;
}

.avatar-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  border: 1px solid var(--border-light);
}

.avatar-img {
  width: 100%;
  height: 380px;
  max-height: 48vh;
  object-fit: cover;
  display: block;
}

.avatar-footer-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.avatar-footer-tag span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.status-dot-pulse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #10B981;
  font-weight: 600;
}

.status-dot-pulse::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero 文字区域 */
.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  border: 1px solid rgba(184, 142, 86, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
}

.hero-badge-wrap svg {
  width: 13px;
  height: 13px;
}

.typewriter-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--accent-rose);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 12px;
  background-color: var(--accent-rose);
  animation: blink 0.9s infinite;
  vertical-align: middle;
}

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

.hero-name-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  background: linear-gradient(135deg, #1C1917 60%, #B88E56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-en-name {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.hero-subtagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-subtagline::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #1C1917, #332F2C);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.btn-primary:active {
  background: var(--accent-gold);
  transform: scale(0.98);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #fff;
  color: var(--text-secondary);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.btn-secondary:active {
  background-color: var(--bg-card-subtle);
  transform: scale(0.98);
}

/* ====================================================================
   通用章节样式 (Section Commons)
   ==================================================================== */
.section {
  padding: 36px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.section-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0 10px;
}

/* ====================================================================
   1. 基本速览 (Quick Stats - 手机端双列卡片)
   ==================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.stat-icon svg {
  width: 16px;
  height: 16px;
}

.stat-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}

.stat-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  word-break: break-word;
}

/* ====================================================================
   2. 深度篇章 (About & Story Sections)
   ==================================================================== */
.about-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow-sm);
}

.story-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 24px;
}

.story-item {
  position: relative;
  padding-top: 10px;
}

.story-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-rose));
}

.story-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.story-content {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  white-space: pre-line;
}

.hobbies-wrap {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.hobbies-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.hobbies-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hobby-pill {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hobby-pill-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hobby-pill-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ====================================================================
   💻 工科极客彩蛋终端 (Geek Terminal Box)
   ==================================================================== */
.geek-terminal-wrap {
  margin-top: 24px;
  background: #18181B;
  border-radius: var(--radius-md);
  border: 1px solid #27272A;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.terminal-header {
  background: #27272A;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #A1A1AA;
  margin-left: 4px;
}

.terminal-body {
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  overflow-x: auto;
  word-break: break-all;
}

.terminal-cmd {
  color: #60A5FA;
}

.terminal-cmd::before {
  content: "$ ";
  color: #A1A1AA;
}

.terminal-out {
  color: #34D399;
  margin-top: 4px;
}

/* ====================================================================
   💖 3. 互动默契小测验 (Chemistry Vibe Quiz)
   ==================================================================== */
.quiz-container {
  background: linear-gradient(145deg, #FFFFFF, #FAF6F0);
  border: 1px solid rgba(184, 142, 86, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  box-shadow: var(--shadow-sm);
}

.quiz-step-card {
  margin-bottom: 20px;
}

.quiz-q-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.quiz-options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-opt-btn {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s ease, border-color 0.2s ease;
  line-height: 1.3;
}

.quiz-opt-btn:active {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold);
}

.quiz-opt-btn.selected {
  background: linear-gradient(135deg, #1C1917, #332E2B);
  color: #fff;
  border-color: #1C1917;
}

.quiz-result-box {
  display: none;
  text-align: center;
  padding: 22px 14px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px dashed var(--accent-gold);
}

.quiz-result-score {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-serif);
  background: linear-gradient(135deg, #E11D48, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 6px;
}

.quiz-result-desc {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* ====================================================================
   4. 生活掠影相册 (Gallery)
   ==================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--bg-secondary);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 15, 14, 0.85) 0%, rgba(17, 15, 14, 0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
}

.gallery-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold-light);
  margin-bottom: 2px;
}

.gallery-caption {
  font-size: 0.78rem;
  color: #fff;
  line-height: 1.3;
}

/* ====================================================================
   5. 期许的另一半 (Partner Expectations)
   ==================================================================== */
.partner-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}

.partner-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.partner-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-icon svg {
  width: 17px;
  height: 17px;
}

.partner-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.partner-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.partner-list li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 14px;
}

.partner-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 1.1rem;
  line-height: 1;
}

/* ====================================================================
   6. 快问快答 (Q&A Accordion)
   ==================================================================== */
.qa-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qa-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qa-question-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.qa-question-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.qa-icon-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.qa-card.open .qa-icon-arrow {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-card-subtle);
  padding: 0 16px;
}

.qa-card.open .qa-answer {
  max-height: 300px;
  padding: 0 16px 16px;
}

.qa-answer-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px dashed var(--border-light);
  padding-top: 12px;
}

/* ====================================================================
   7. 连结与联系 (Contact Section - 手机端紧凑设计)
   ==================================================================== */
.contact-container {
  background: #1C1917;
  color: #FAF8F5;
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-header .section-tag {
  color: var(--accent-gold);
}

.contact-header .section-title {
  color: #FAF8F5;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-header .section-desc {
  color: #A8A29E;
  font-size: 0.86rem;
  margin-bottom: 16px;
  padding: 0;
}

.contact-prompt-box {
  background: rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--accent-gold);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: #D6D3D1;
  margin-bottom: 14px;
  line-height: 1.5;
}

.contact-city-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: #A8A29E;
}

.contact-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-method-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-method-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(184, 142, 86, 0.2);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 18px;
  height: 18px;
}

.contact-label {
  font-size: 0.72rem;
  color: #A8A29E;
  text-transform: uppercase;
}

.contact-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FAF8F5;
  word-break: break-all;
}

.contact-actions-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.btn-contact-action {
  flex: 1;
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid rgba(184, 142, 86, 0.5);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-contact-action:active {
  background: var(--accent-gold);
  color: #fff;
}

/* ====================================================================
   8. 页脚 (Footer)
   ==================================================================== */
.footer {
  padding: 40px 0 20px;
  text-align: center;
}

.footer-quote {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  padding: 0 10px;
}

.footer-divider {
  width: 30px;
  height: 1px;
  background: var(--border-light);
  margin: 0 auto 12px;
}

.footer-copyright {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ====================================================================
   9. 弹窗与 Toast (Mobile-Adapted Modals & Toast)
   ==================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 15, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 18px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 320px;
  width: 100%;
  padding: 24px 18px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-qr-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin: 12px auto;
  border: 1px solid var(--border-light);
  padding: 4px;
  background: #fff;
}

.toast-msg {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(28, 25, 23, 0.95);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  transition: transform 0.3s var(--transition-smooth);
  pointer-events: none;
  white-space: nowrap;
}

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