/* ===== Coffee Chat 设计系统 v2.0 ===== */
:root {
  --bg: #FAF7F0;
  --bg-soft: #F5F1E8;
  --bg-card: #FFFFFF;
  --primary: #2E5C8A;
  --primary-light: #5B8DBF;
  --primary-dark: #1E3F61;
  --text: #1F2937;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;
  --border: #E8E0D8;
  --border-light: #F0EBE2;
  --theme-ai: #3B4F7A;
  --theme-money: #2D5F4E;
  --theme-women: #D4869A;
  --theme-solo: #C97B3F;
  --theme-media: #355C7D;
  --theme-general: #2E5C8A;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", serif;
  --font-sans: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Fira Code", monospace;
  --space-xs: 12px;
  --space-sm: 24px;
  --space-md: 40px;
  --space-lg: 64px;
  --space-xl: 96px;
  --radius-card: 16px;
  --radius-btn: 8px;
  --radius-tag: 20px;
  --shadow-card: 0 2px 12px rgba(46, 92, 138, 0.06);
  --shadow-hover: 0 12px 32px rgba(46, 92, 138, 0.14);
  --shadow-float: 0 20px 48px rgba(46, 92, 138, 0.10);
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.3; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
.container { max-width: 960px; margin: 0 auto; padding: 0 var(--space-sm); }
.section { padding: var(--space-xl) 0; position: relative; }
.section + .section { border-top: 1px solid var(--border-light); }

/* ===== Tab 式导航 ===== */
.nav-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #F0F0F0;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 46px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tab {
  flex: 1;
  text-align: center;
  font-size: 0.85em;
  color: var(--text-light);
  white-space: nowrap;
  padding: 0 4px;
  transition: color 0.3s;
  text-decoration: none;
}
.nav-tab:hover { color: var(--primary); }
.nav-tab.active {
  color: var(--primary);
  font-weight: 600;
}

/* ===== 滚动进度条 ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  z-index: 200;
  transition: width 0.1s linear;
  border-radius: 0 3px 3px 0;
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes steam {
  0% { opacity: 0; transform: translateY(0) scaleX(1); }
  50% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-20px) scaleX(1.5); }
}
.fade-in-up { animation: fadeInUp 0.8s var(--transition-smooth) both; }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== 导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s, background 0.3s;
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(46, 92, 138, 0.06);
  background: rgba(250, 247, 240, 0.95);
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15em;
  color: var(--primary);
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.7; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 0.9em;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--transition-smooth);
  border-radius: 1px;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }

/* 汉堡菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--transition-smooth);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端遮罩 */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-overlay.show { display: block; opacity: 1; }

/* ===== Hero ===== */
.hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: var(--space-xl) var(--space-sm) var(--space-lg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 141, 191, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  opacity: 0.12;
  transform-origin: left;
  animation: lineGrow 1.5s var(--transition-smooth) 0.3s both;
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-size: 2.6em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  letter-spacing: 1px;
  text-shadow: 0 2px 20px rgba(46, 92, 138, 0.06);
}
.hero-sub { font-size: 1.1em; color: var(--text-light); margin-bottom: var(--space-xs); }
.hero-desc {
  font-size: 0.95em;
  color: var(--text-light);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.7;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 32px;
  color: var(--text-muted);
  font-size: 1.3em;
  animation: pulse 2s ease-in-out infinite;
  transition: color 0.2s;
  z-index: 2;
}
.hero-scroll:hover { color: var(--primary); }

/* ===== Section 标题 ===== */
.section-title {
  font-size: 1.7em;
  color: var(--primary);
  margin-bottom: var(--space-xs);
  padding-left: 16px;
  border-left: 4px solid var(--primary-light);
  position: relative;
}
.section-desc {
  color: var(--text-light);
  font-size: 0.95em;
  margin-bottom: var(--space-md);
  padding-left: 16px;
}

/* ===== 时间线 ===== */
.timeline { display: flex; flex-direction: column; gap: 0; padding: var(--space-md) 0; }
.timeline-item { display: flex; gap: var(--space-sm); }
.timeline-rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 32px; }
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 8px;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg);
  transition: transform 0.3s var(--transition-bounce);
}
.timeline-item:hover .timeline-dot { transform: scale(1.3); }
.timeline-line { width: 2px; flex: 1; background: var(--border); margin-top: 4px; margin-bottom: -8px; }
.timeline-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: var(--space-sm);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  flex: 1;
  transition: box-shadow 0.4s var(--transition-smooth), transform 0.4s var(--transition-smooth), border-color 0.3s;
}
.timeline-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--primary-light);
}
.timeline-date { font-family: var(--font-mono); font-size: 0.85em; color: var(--text-light); margin-bottom: 8px; }
.timeline-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-tag);
  font-size: 0.8em;
  font-weight: 600;
  margin-bottom: 8px;
  transition: transform 0.2s;
}
.timeline-card:hover .timeline-tag { transform: scale(1.05); }
.timeline-highlight { font-size: 1.05em; color: var(--text); margin-bottom: 8px; }
.timeline-meta { font-size: 0.8em; color: var(--text-light); }
.timeline-quote {
  margin-top: var(--space-xs);
  padding-left: 12px;
  border-left: 3px solid var(--border);
  font-size: 0.9em;
  color: var(--text-light);
  font-style: italic;
}
.timeline-quote cite { font-style: normal; font-weight: 600; color: var(--text); }

/* 时间线要点列表 */
.timeline-takeaways {
  margin-top: var(--space-xs);
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: 8px;
}
.timeline-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline-takeaways li {
  font-size: 0.85em;
  color: var(--text-light);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.timeline-takeaways li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.7em;
  color: var(--primary-light);
}

/* ===== 主题卡片 ===== */
.theme-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: var(--space-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.3s;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.theme-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
  border-color: var(--primary-light);
  color: var(--text);
}
.theme-card:hover::after { opacity: 1; }
.theme-color-block {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  transition: transform 0.4s var(--transition-bounce);
  position: relative;
}
.theme-card:hover .theme-color-block { transform: scale(1.15) rotate(5deg); }
.theme-body { flex: 1; }
.theme-name { font-size: 1.1em; margin-bottom: 4px; }
.theme-tagline { font-size: 0.85em; color: var(--text-light); }
.theme-arrow { color: var(--text-light); transition: transform 0.3s var(--transition-smooth), color 0.3s; }
.theme-card:hover .theme-arrow { transform: translateX(6px); color: var(--primary); }
.theme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }

/* ===== 活动卡片 ===== */
.activity-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.3s;
}
.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
  border-color: var(--primary-light);
}
.activity-banner { padding: var(--space-sm); color: #fff; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.activity-banner::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.activity-banner-date { font-family: var(--font-mono); font-size: 0.85em; opacity: 0.8; }
.activity-banner-theme { font-family: var(--font-serif); font-size: 1.2em; font-weight: 700; }
.activity-content { padding: var(--space-sm); }
.activity-highlight { font-size: 0.95em; margin-bottom: var(--space-xs); }
.activity-quote {
  font-size: 0.9em;
  color: var(--text-light);
  font-style: italic;
  padding-left: 12px;
  border-left: 3px solid var(--border);
  margin-bottom: var(--space-xs);
}
.activity-quote cite { display: block; font-style: normal; font-size: 0.85em; margin-top: 4px; }
.activity-meta { font-size: 0.8em; color: var(--text-light); }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: var(--space-xs); }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-item.open { box-shadow: var(--shadow-card); border-color: var(--primary-light); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
  list-style: none;
  transition: background 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: rgba(46, 92, 138, 0.03); }
.faq-icon {
  font-size: 1.3em;
  color: var(--primary);
  transition: transform 0.3s var(--transition-bounce);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth), padding 0.4s var(--transition-smooth);
  padding: 0 var(--space-sm);
  font-size: 0.9em;
  color: var(--text-light);
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 var(--space-sm) var(--space-sm);
}

/* ===== 主理人卡片 ===== */
.host-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s;
}
.host-card:hover { box-shadow: var(--shadow-hover); }
.host-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.host-avatar::before {
  content: '☕';
  font-size: 3em;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.host-avatar::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.host-text p { margin-bottom: var(--space-xs); font-size: 0.95em; }
.host-text p:last-child { margin-bottom: 0; }

/* ===== 主题 Hero ===== */
.theme-hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-md);
  overflow: hidden;
}
.theme-hero-glow {
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 120%;
  opacity: 0.2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}
.theme-hero-content { position: relative; z-index: 1; }
.theme-back {
  display: inline-block;
  font-size: 0.85em;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  transition: transform 0.2s, color 0.2s;
}
.theme-back:hover { transform: translateX(-4px); color: var(--primary); }
.theme-hero-title { font-size: 2.5em; margin-bottom: var(--space-xs); }
.theme-hero-tagline { font-size: 1.1em; color: var(--text-light); }
.theme-journey-label { color: var(--text-light); font-size: 0.9em; margin-bottom: var(--space-sm); }
.theme-play-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s;
}
.theme-play-card:hover { box-shadow: var(--shadow-hover); }
.theme-play-desc { font-size: 1.05em; margin-bottom: var(--space-sm); }
.theme-play-suitable { padding-top: var(--space-sm); border-top: 1px solid var(--border); font-size: 0.95em; color: var(--text-light); }
.suitable-label { font-weight: 600; color: var(--text); margin-right: 8px; }
.quotes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
.quote-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: var(--space-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}
.quote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.quote-card blockquote { font-size: 1.05em; color: var(--text); font-style: italic; margin-bottom: var(--space-xs); }
.quote-card cite { font-size: 0.85em; color: var(--text-light); font-style: normal; }

/* ===== 主题导航 ===== */
.theme-nav { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--border); }
.theme-nav-label { text-align: center; color: var(--text-light); font-size: 0.9em; margin-bottom: var(--space-sm); }
.theme-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.theme-nav-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-sm);
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s var(--transition-smooth), box-shadow 0.3s;
}
.theme-nav-card:hover { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.theme-nav-next { text-align: right; }
.theme-nav-dir { font-size: 0.8em; color: var(--text-light); }
.theme-nav-name { font-weight: 600; color: var(--text); }
.theme-nav-empty { visibility: hidden; }

/* ===== 关于页 ===== */
.about-title { font-size: 1.7em; color: var(--primary); margin-bottom: var(--space-md); padding-left: 16px; border-left: 4px solid var(--primary-light); }
.about-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-md); align-items: center; }
.about-text p { margin-bottom: var(--space-xs); font-size: 0.95em; }
.about-illustration { display: flex; justify-content: center; }
.circle-table {
  position: relative;
  width: 200px;
  height: 200px;
  animation: fadeInUp 1s var(--transition-smooth) 0.3s both;
}
.circle-table::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 2px dashed var(--border);
  opacity: 0.6;
}
.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  box-shadow: 0 4px 16px rgba(46, 92, 138, 0.2);
}
.circle-seat {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: transform 0.3s var(--transition-bounce);
}
.circle-table:hover .circle-seat { transform: scale(1.2); }
.circle-seat:nth-child(2) { top: 0; left: 50%; transform: translateX(-50%); }
.circle-seat:nth-child(3) { top: 25%; right: 0; }
.circle-seat:nth-child(4) { bottom: 25%; right: 0; }
.circle-seat:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }
.circle-seat:nth-child(6) { bottom: 25%; left: 0; }
.circle-seat:nth-child(7) { top: 25%; left: 0; }
.circle-table:hover .circle-seat:nth-child(2) { transform: translateX(-50%) scale(1.2); }
.circle-table:hover .circle-seat:nth-child(5) { transform: translateX(-50%) scale(1.2); }
.flow { display: flex; gap: var(--space-sm); overflow-x: auto; padding-bottom: var(--space-xs); scroll-snap-type: x mandatory; }
.flow-step {
  flex: 1;
  min-width: 160px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: var(--space-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s;
}
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.flow-number { font-family: var(--font-mono); font-size: 1.8em; color: var(--primary-light); margin-bottom: 8px; }
.flow-name { font-size: 1.1em; color: var(--primary); margin-bottom: 8px; }
.flow-desc { font-size: 0.85em; color: var(--text-light); }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
.principle-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s;
}
.principle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.principle-keyword { font-size: 1.3em; color: var(--primary); margin-bottom: var(--space-xs); }
.principle-desc { font-size: 0.9em; color: var(--text-light); }

/* ===== 时间线照片 ===== */
.timeline-card { overflow: hidden; }
.timeline-photo {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  margin-bottom: 0;
  transition: transform 0.6s var(--transition-smooth);
  position: relative;
}
.timeline-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
}
.timeline-card:hover .timeline-photo { transform: scale(1.05); }
.timeline-card:hover .timeline-photo::after { opacity: 1; }
.timeline-card-body { padding: var(--space-sm); }

/* ===== 照片画廊 ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
  aspect-ratio: 4 / 3;
}
.gallery-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-float);
  z-index: 2;
}
.gallery-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--transition-smooth);
}
.gallery-card:hover .gallery-photo { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-date { font-size: 0.8em; color: rgba(255,255,255,0.9); font-family: var(--font-mono); }
.gallery-theme { font-size: 0.85em; font-weight: 600; }

/* ===== 灯箱 ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.lightbox.show { display: flex; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}
.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.4s var(--transition-smooth);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); transform: rotate(90deg); }

/* ===== 主理人二维码 ===== */
.host-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.host-qr-img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: #fff;
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s;
}
.host-qr-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.host-qr-label {
  font-size: 0.8em;
  color: var(--text-light);
  text-align: center;
}

/* ===== 页脚二维码 ===== */
.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-sm);
}
.footer-qr-img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: #fff;
  padding: 4px;
  transition: transform 0.3s var(--transition-bounce);
}
.footer-qr-img:hover { transform: scale(1.08); }
.footer-qr-label {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== 往期回顾 ===== */
.archive-title { font-size: 1.7em; color: var(--primary); margin-bottom: var(--space-xs); padding-left: 16px; border-left: 4px solid var(--primary-light); }
.archive-desc { color: var(--text-light); font-size: 0.95em; margin-bottom: var(--space-md); padding-left: 16px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-md); }
.filter-btn {
  padding: 7px 18px;
  border-radius: var(--radius-tag);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-light);
  font-size: 0.85em;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
}
.filter-btn:hover { border-color: var(--primary-light); color: var(--primary); transform: translateY(-1px); }
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(46, 92, 138, 0.2);
}

/* ===== 活动流程卡片 ===== */
.flow-step-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent, var(--primary));
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s var(--transition-smooth), transform 0.4s var(--transition-smooth);
}
.flow-step-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.flow-step-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}
.flow-step-number {
  font-family: var(--font-mono);
  font-size: 1.8em;
  color: var(--accent, var(--primary-light));
  font-weight: 700;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent, var(--primary)) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step-info { flex: 1; }
.flow-step-time {
  font-family: var(--font-mono);
  font-size: 0.8em;
  color: var(--text-light);
  margin-bottom: 2px;
}
.flow-step-name {
  font-size: 1.2em;
  color: var(--accent, var(--primary));
}
.flow-step-body { padding-left: 72px; }
.flow-step-body p {
  font-size: 0.95em;
  color: var(--text-light);
  margin-bottom: var(--space-xs);
  line-height: 1.8;
}
.flow-step-body p:first-child {
  font-size: 1em;
  color: var(--text);
  font-weight: 500;
}

/* ===== 第五板块：感谢观看 ===== */
.closing-section {
  text-align: center;
  background: var(--bg-soft);
  padding: var(--space-xl) var(--space-sm);
}
.closing-content {
  max-width: 600px;
  margin: 0 auto;
}
.closing-icon {
  font-size: 3em;
  margin-bottom: var(--space-sm);
  animation: steam 3s ease-in-out infinite;
  display: inline-block;
}
.closing-title {
  font-size: 2em;
  color: var(--primary);
  margin-bottom: var(--space-md);
}
.closing-text {
  font-size: 1.05em;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: var(--space-xs);
}
.closing-emphasis {
  color: var(--text);
  font-weight: 600;
  font-size: 1.15em;
  margin-top: var(--space-sm);
}

/* ===== 页脚 ===== */
.footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-xl) var(--space-sm);
  margin-top: var(--space-xl);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.footer-inner { max-width: 960px; margin: 0 auto; position: relative; z-index: 1; }
.footer-cta { text-align: center; margin-bottom: var(--space-md); }
.footer-cta h3 { font-size: 1.4em; margin-bottom: 8px; color: #fff; }
.footer-cta p { color: rgba(255, 255, 255, 0.7); margin-bottom: var(--space-sm); }
.footer-btn {
  display: inline-block;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s var(--transition-smooth);
  backdrop-filter: blur(4px);
}
.footer-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.footer-meta {
  text-align: center;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.5);
}
.footer-meta p { margin-bottom: 4px; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-tab { font-size: 0.78em; }
}

@media (max-width: 640px) {
  :root { --space-lg: 40px; --space-xl: 56px; }
  .hero-title { font-size: 1.9em; }
  .hero { min-height: 65vh; padding-top: var(--space-lg); }
  .hero-scroll { right: 16px; bottom: 16px; }
  .section-title { font-size: 1.4em; }
  .theme-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .host-card { flex-direction: column; align-items: center; text-align: center; }
  .host-avatar { width: 100px; height: 100px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .theme-hero-title { font-size: 1.8em; }
  .theme-hero-glow { width: 100%; right: 0; opacity: 0.12; }
  .about-intro { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .theme-nav-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 6px 14px; font-size: 0.8em; }
  .nav-tab { font-size: 0.72em; padding: 0 2px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.5em; }
  .nav-logo { font-size: 1em; }
}
