@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

/* ── 变量 ── */
:root {
  --c-dark: #1A1A2E;
  --c-gold: #C9A96E;
  --c-cream: #F5ECD7;
  --c-dark-80: rgba(26,26,46,0.85);
  --c-gold-20: rgba(201,169,110,0.18);
  --c-cream-60: rgba(245,236,215,0.6);
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Cormorant Infant', Georgia, 'Noto Serif SC', serif;
  --radius: 0;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --max-w: 960px;
  --announce-h: 36px;
  --header-h: 96px;
}

/* ── 重置 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  background: var(--c-dark);
  color: var(--c-cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--c-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-cream); }
img { max-width: 100%; height: auto; display: block; }

/* ── 公告条 ── */
.site-announce {
  background: var(--c-gold);
  color: var(--c-dark);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  height: var(--announce-h);
  line-height: var(--announce-h);
  position: relative;
  z-index: 100;
}

/* ── 顶部 header ── */
.site-header {
  background: var(--c-dark-80);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-gold);
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 0 clamp(16px, 4vw, 48px);
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 4px;
  border-bottom: 1px solid var(--c-gold-20);
}
.brand-link { display: inline-block; }
.brand-script {
  font-family: var(--font-script);
  font-size: clamp(28px, 5vw, 44px);
  color: var(--c-gold);
  letter-spacing: 0.04em;
  transition: opacity var(--transition);
}
.brand-link:hover .brand-script { opacity: 0.8; }

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  padding: 4px 0;
}
.top-nav-link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-cream-60);
  letter-spacing: 0.04em;
  border-right: 1px solid var(--c-gold-20);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.top-nav-link:last-child { border-right: none; }
.top-nav-link:hover { color: var(--c-gold); background: var(--c-gold-20); }

/* ── 粘性锚点条 ── */
.sticky-anchor-bar {
  position: sticky;
  top: calc(var(--announce-h) + var(--header-h) - 4px);
  z-index: 80;
  background: var(--c-dark);
  border-bottom: 2px solid var(--c-gold);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 clamp(16px, 4vw, 48px);
}
.sticky-anchor-bar a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--c-cream-60);
  border-right: 1px solid var(--c-gold-20);
  transition: color var(--transition), background var(--transition);
}
.sticky-anchor-bar a:last-child { border-right: none; }
.sticky-anchor-bar a:hover { color: var(--c-gold); background: var(--c-gold-20); }

/* ── 视差根 ── */
.parallax-root {
  position: relative;
}

/* ── Hero 首页 ── */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 45vh;
  padding: clamp(32px, 6vw, 80px) clamp(16px, 6vw, 80px);
  gap: clamp(24px, 5vw, 64px);
  border-bottom: 1px solid var(--c-gold);
  background:
    linear-gradient(135deg, rgba(26,26,46,0.96) 55%, rgba(201,169,110,0.12) 100%);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(201,169,110,0.04) 40px
    );
  pointer-events: none;
}
.hero-media {
  flex: 0 0 42%;
  max-width: 42%;
}
.hero-img {
  width: 100%;
  border: 1px solid var(--c-gold);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.hero-text {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-h1 {
  font-family: var(--font-script);
  font-size: clamp(38px, 7vw, 72px);
  color: var(--c-gold);
  line-height: 1.2;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--c-cream-60);
  max-width: 400px;
  line-height: 1.7;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: var(--c-gold);
  color: var(--c-dark);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  border: 1px solid var(--c-gold);
  transition: background var(--transition), color var(--transition);
}
.hero-cta:hover {
  background: transparent;
  color: var(--c-gold);
}

/* ── 页面主体 ── */
.page-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 48px);
}

/* ── 通用节标题 ── */
.section-heading {
  font-family: var(--font-body);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--c-gold);
  border-left: 3px solid var(--c-gold);
  padding-left: 14px;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

/* ── 正文容器 ── */
.content-section {
  margin-bottom: 48px;
}
.content-inner {
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-cream);
}
.content-inner h2 {
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--c-gold);
  margin: 36px 0 14px;
  border-left: 3px solid var(--c-gold);
  padding-left: 12px;
}
.content-inner h3 {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: var(--c-cream);
  margin: 24px 0 10px;
}
.content-inner p { margin-bottom: 16px; }
.content-inner ul, .content-inner ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.content-inner li { margin-bottom: 6px; }
.content-inner a { color: var(--c-gold); border-bottom: 1px solid var(--c-gold-20); }
.content-inner a:hover { border-bottom-color: var(--c-gold); color: var(--c-cream); }
.content-inner table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 15px;
}
.content-inner th {
  background: var(--c-gold);
  color: var(--c-dark);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
}
.content-inner td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--c-gold-20);
  color: var(--c-cream);
}
.content-inner tr:nth-child(even) td { background: rgba(201,169,110,0.06); }
.content-inner blockquote {
  border-left: 3px solid var(--c-gold);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--c-gold-20);
  font-style: italic;
  color: var(--c-cream-60);
}
time.pub-date, time.mod-date {
  display: inline-block;
  font-size: 13px;
  color: var(--c-gold);
  letter-spacing: 0.04em;
  margin-right: 12px;
}

/* ── 子页卡片网格（首页、栏目）── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.child-card {
  border: 1px solid var(--c-gold);
  background: transparent;
  transition: background var(--transition), transform var(--transition);
  will-change: transform;
}
.child-card:hover {
  background: var(--c-gold-20);
  transform: translateY(-3px);
}
.card-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  color: var(--c-cream);
}
.card-inner:hover { color: var(--c-cream); }
.card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-gold);
  line-height: 1.4;
}
.card-date {
  font-size: 12px;
  color: var(--c-gold);
  opacity: 0.7;
}
.card-desc {
  font-size: 14px;
  color: var(--c-cream-60);
  line-height: 1.6;
}
.card-cta {
  font-size: 13px;
  color: var(--c-gold);
  letter-spacing: 0.06em;
  margin-top: 4px;
  font-weight: 600;
}

/* ── 排行榜 Hero ── */
.ranking-body {}
.ranking-hero {
  text-align: center;
  padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 48px) clamp(16px, 3vw, 32px);
  border-bottom: 1px solid var(--c-gold);
  background: linear-gradient(180deg, rgba(201,169,110,0.06) 0%, transparent 100%);
}
.ranking-h1 {
  font-family: var(--font-script);
  font-size: clamp(36px, 6vw, 64px);
  color: var(--c-gold);
  margin-bottom: 12px;
}
.ranking-desc {
  max-width: 600px;
  margin: 12px auto 0;
  font-size: 16px;
  color: var(--c-cream-60);
  line-height: 1.7;
}

/* ── 排行卡片 ── */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rank-card {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--c-gold);
  transition: background var(--transition);
  will-change: background;
}
.rank-card:hover { background: var(--c-gold-20); }
.rank-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  background: var(--c-gold);
  color: var(--c-dark);
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.rank-card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  color: var(--c-cream);
}
.rank-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-gold);
}
.rank-card-desc {
  font-size: 14px;
  color: var(--c-cream-60);
  line-height: 1.6;
}
.rank-cta {
  font-size: 13px;
  color: var(--c-gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ── Review 页 ── */
.review-header {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 48px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--c-gold);
  margin-bottom: 32px;
}
.review-header-media {
  flex: 0 0 38%;
  max-width: 38%;
}
.review-hero-img {
  width: 100%;
  border: 1px solid var(--c-gold);
  object-fit: cover;
  aspect-ratio: 3/2;
}
.review-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-h1 {
  font-family: var(--font-script);
  font-size: clamp(32px, 5vw, 56px);
  color: var(--c-gold);
  line-height: 1.2;
}
.review-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.review-desc {
  font-size: 16px;
  color: var(--c-cream-60);
  line-height: 1.7;
}

/* ── 同类评测 ── */
.sib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.sib-card {
  border: 1px solid var(--c-gold);
  transition: background var(--transition);
}
.sib-card:hover { background: var(--c-gold-20); }
.sib-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  height: 52px;
  color: var(--c-cream);
  font-size: 14px;
  font-weight: 500;
}
.sib-title { flex: 1; }
.sib-arrow { color: var(--c-gold); margin-left: 8px; }

/* ── FAQ ── */
.faq-hero {
  text-align: center;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 48px) clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--c-gold);
  background: linear-gradient(180deg, rgba(201,169,110,0.06) 0%, transparent 100%);
  margin-bottom: 32px;
}
.faq-h1 {
  font-family: var(--font-script);
  font-size: clamp(34px, 5.5vw, 60px);
  color: var(--c-gold);
  margin-bottom: 12px;
}
.faq-desc {
  max-width: 580px;
  margin: 10px auto 0;
  color: var(--c-cream-60);
  font-size: 16px;
  line-height: 1.7;
}
.faq-content details {
  border-bottom: 1px solid var(--c-gold-20);
  padding: 14px 0;
}
.faq-content summary {
  font-weight: 600;
  font-size: 16px;
  color: var(--c-gold);
  cursor: pointer;
  list-style: none;
  padding: 6px 0;
}
.faq-content summary::-webkit-details-marker { display: none; }
.faq-content details[open] summary { color: var(--c-cream); }
.faq-content details p {
  margin-top: 10px;
  padding-left: 12px;
  color: var(--c-cream-60);
  font-size: 15.5px;
  line-height: 1.75;
}
.faq-related { margin-top: 48px; }
.related-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--c-gold);
  font-size: 14px;
  color: var(--c-cream);
  transition: background var(--transition), color var(--transition);
}
.related-link:hover { background: var(--c-gold); color: var(--c-dark); }

/* ── Compare ── */
.compare-header {
  text-align: center;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 48px) clamp(16px, 3vw, 32px);
  border-bottom: 1px solid var(--c-gold);
  margin-bottom: 32px;
}
.compare-hero-img {
  max-width: 640px;
  margin: 0 auto 20px;
  border: 1px solid var(--c-gold);
}
.compare-h1 {
  font-family: var(--font-script);
  font-size: clamp(32px, 5vw, 58px);
  color: var(--c-gold);
  margin-bottom: 12px;
}
.compare-meta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.compare-desc { color: var(--c-cream-60); font-size: 16px; max-width: 600px; margin: 0 auto; line-height: 1.7; }
.compare-nav-section { margin-top: 48px; }
.compare-nav-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.compare-nav-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: 1px solid var(--c-gold);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-cream);
  text-align: center;
  transition: background var(--transition), color var(--transition);
}
.compare-nav-card:hover { background: var(--c-gold); color: var(--c-dark); }

/* ── About ── */
.about-hero {
  text-align: center;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 48px) clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--c-gold);
  margin-bottom: 32px;
}
.about-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-gold);
  border: 1px solid var(--c-gold);
  padding: 3px 12px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.about-h1 {
  font-family: var(--font-script);
  font-size: clamp(32px, 5vw, 58px);
  color: var(--c-gold);
  margin-bottom: 12px;
}
.about-desc { color: var(--c-cream-60); font-size: 16px; line-height: 1.7; max-width: 580px; margin: 0 auto; }
.about-links-section { margin-top: 48px; }
.about-nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-nav-item {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--c-gold);
  font-size: 14px;
  color: var(--c-cream);
  transition: background var(--transition), color var(--transition);
}
.about-nav-item:hover { background: var(--c-gold); color: var(--c-dark); }

/* ── Privacy ── */
.privacy-hero {
  text-align: center;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 48px) clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--c-gold);
  margin-bottom: 32px;
}
.privacy-h1 {
  font-family: var(--font-script);
  font-size: clamp(32px, 5vw, 58px);
  color: var(--c-gold);
  margin-bottom: 12px;
}
.privacy-desc { color: var(--c-cream-60); font-size: 16px; line-height: 1.7; max-width: 580px; margin: 0 auto; }
.privacy-nav-section { margin-top: 48px; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy-link-item {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--c-gold);
  font-size: 14px;
  color: var(--c-cream);
  transition: background var(--transition), color var(--transition);
}
.privacy-link-item:hover { background: var(--c-gold); color: var(--c-dark); }

/* ── Default ── */
.default-hero {
  text-align: center;
  padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 48px) clamp(16px, 3vw, 32px);
  border-bottom: 1px solid var(--c-gold);
  margin-bottom: 32px;
}
.default-h1 {
  font-family: var(--font-script);
  font-size: clamp(32px, 5vw, 58px);
  color: var(--c-gold);
  margin-bottom: 12px;
}
.default-desc { color: var(--c-cream-60); font-size: 16px; line-height: 1.7; }

/* ── 页脚 ── */
.site-footer {
  background: var(--c-dark);
  border-top: 2px solid var(--c-gold);
  padding: 40px clamp(16px, 4vw, 48px) 20px;
  margin-top: 64px;
}
.footer-brand {
  font-family: var(--font-script);
  font-size: clamp(48px, 8vw, 88px);
  color: var(--c-gold);
  text-align: center;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-nav dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.footer-nav dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-gold);
  border-right: 1px solid var(--c-gold-20);
  padding: 6px 14px 6px 0;
  margin-right: 4px;
  font-weight: 700;
}
.footer-nav dd { margin: 0; }
.footer-nav dd a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--c-cream-60);
  border-right: 1px solid var(--c-gold-20);
  transition: color var(--transition);
  white-space: nowrap;
}
.footer-nav dd:last-child a { border-right: none; }
.footer-nav dd a:hover { color: var(--c-gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--c-gold-20);
  padding-top: 16px;
  font-size: 12.5px;
  color: var(--c-cream-60);
  letter-spacing: 0.04em;
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--c-cream-60); font-size: 12.5px; }
.footer-links a:hover { color: var(--c-gold); }

/* ── 视差 JS hook ── */
.parallax-layer { transition: transform 0.05s linear; }

/* ── 子页列表（ranking children section）── */
.children-section { margin-top: 48px; }

/* ── 滚动揭示动画 ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .parallax-layer { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── 响应式 ── */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    min-height: auto;
    padding: 24px 16px;
  }
  .hero-media { flex: none; max-width: 100%; width: 100%; }
  .hero-text { width: 100%; }
  .review-header {
    flex-direction: column;
  }
  .review-header-media { flex: none; max-width: 100%; width: 100%; }
  .top-nav { display: none; }
  .top-nav-link { height: 44px; font-size: 13px; padding: 0 10px; }
  .sticky-anchor-bar { top: calc(var(--announce-h) + 56px); }
  .cards-grid { grid-template-columns: 1fr; }
  .compare-nav-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .ranking-h1, .faq-h1, .compare-h1, .about-h1, .privacy-h1, .default-h1, .review-h1 {
    font-size: 32px;
  }
  .hero-h1 { font-size: 36px; }
  .footer-brand { font-size: 44px; }
  .rank-num { width: 48px; min-width: 48px; font-size: 18px; }
  .compare-nav-links { grid-template-columns: 1fr; }
  .sib-grid { grid-template-columns: 1fr; }
}

/* ── 移动端 nav 折叠备用（展示所有链接）── */
@media (max-width: 768px) {
  .site-header { padding: 0 12px; }
  .brand-row { padding: 8px 0 4px; }
  .top-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-nav-link { white-space: nowrap; flex-shrink: 0; }
}
