/* ─────────────────────────────────────────────────────────────
   靓密码官网 · 内页公共样式
   说明：由站点整改统一抽出，供所有内页 <link> 引用。
        新增内页时请勿再复制这份样式，直接引用本文件。
   ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #3d3530;
  background: linear-gradient(135deg, #faf4ef 0%, #f5ece4 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── 顶部导航（14 个内页共用）── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(254,250,247,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(180,160,140,0.15);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px; font-weight: 300; color: hsl(25 28% 42%); letter-spacing: 0.02em;
}
.logo-main span { font-size: 16px; font-weight: 400; margin-left: 4px; }
.logo-sub { font-size: 10px; font-weight: 300; color: hsl(25 18% 52%); letter-spacing: 0.3em; margin-top: 2px; }
.nav-back {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: #8a7a6a; padding: 8px 16px; border-radius: 8px;
  transition: background 0.2s;
}
.nav-back:hover { background: rgba(180,160,140,0.1); }

/* ── 灯箱（14 个内页共用）── */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
  justify-content: center; align-items: center; cursor: zoom-out;
  animation: lbFadeIn .3s ease;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90%; max-height: 90%; object-fit: contain;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: lbZoomIn .3s ease;
}
.lightbox-close {
  position: fixed; top: 24px; right: 32px;
  width: 48px; height: 48px; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: #fff; cursor: pointer;
  background: rgba(0,0,0,0.3); border: none; border-radius: 50%;
  transition: all .3s ease;
}
.lightbox-close:hover { background: rgba(0,0,0,0.6); transform: rotate(90deg); }
@keyframes lbFadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes lbZoomIn { from { opacity: 0; transform: scale(.8) } to { opacity: 1; transform: scale(1) } }

/* ── 页面骨架 ── */
.page-content { max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px; }
.page-header { text-align: center; margin-bottom: 60px; }
.page-year {
  font-size: 72px; font-weight: 700; color: #e8a8b8;
  font-family: Georgia, serif; opacity: 0.3; margin-bottom: -20px; letter-spacing: 8px;
}
.page-title { font-size: 36px; font-weight: 700; color: #5a4a3f; letter-spacing: 3px; margin-bottom: 16px; }
.page-subtitle { font-size: 16px; color: #8a7a6a; letter-spacing: 2px; }

/* ── 移动端 ── */
@media (max-width: 768px) {
  .page-content { padding: 96px 16px 56px; }
  .page-header { margin-bottom: 40px; }
  .page-year { font-size: 44px; letter-spacing: 4px; }
  .page-title { font-size: 26px; letter-spacing: 2px; }
  .page-subtitle { font-size: 14px; letter-spacing: 1px; }
  .lightbox-close { top: 14px; right: 16px; width: 40px; height: 40px; font-size: 28px; }
}

/* ── 无障碍：尊重用户的减少动效设置 ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
