@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* ===== CSS 自定义属性 ===== */
:root {
  --red: #ff0000;
  --pink: #ff1493;
  --dark: #261717;
  --dark-80: rgba(38,23,23,0.8);
  --dark-60: rgba(38,23,23,0.6);
  --dark-40: rgba(38,23,23,0.4);
  --surface: #1a0d0d;
  --surface-2: #2a1515;
  --surface-3: #3a1c1c;
  --text-pri: #ffeaea;
  --text-sec: #ffb3b3;
  --text-mute: #cc8888;
  --border: rgba(255,20,147,0.25);
  --border-hover: rgba(255,0,0,0.6);
  --nav-w: 220px;
  --radius: 28px;
  --radius-sm: 14px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--surface);
  color: var(--text-pri);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

/* ===== Aurora 背景 ===== */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(38,23,23,1) 0%, rgba(26,13,13,1) 100%);
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  animation: aurora-drift 10s ease-in-out infinite alternate;
}
.orb1 {
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,0,0,0.35) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-duration: 10s;
}
.orb2 {
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(255,20,147,0.30) 0%, transparent 70%);
  top: 30%; right: -150px;
  animation-duration: 12s;
  animation-delay: -4s;
}
.orb3 {
  width: 400px; height: 600px;
  background: radial-gradient(ellipse, rgba(255,80,80,0.20) 0%, transparent 70%);
  bottom: -100px; left: 30%;
  animation-duration: 9s;
  animation-delay: -2s;
}
@keyframes aurora-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-orb { animation: none; }
}

/* ===== 侧边导航 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: var(--nav-w);
  height: 100vh;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.side-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 16px;
  height: 100%;
  background: rgba(38,23,23,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid var(--border);
  overflow-y: auto;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--pink));
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.brand-mark:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,0,0,0.5);
}
.brand-icon { font-size: 20px; font-weight: 700; color: #fff; }
.nav-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  flex: 1;
}
.nav-pill {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 40px;
  line-height: 1.4;
}
.nav-pill:hover,
.nav-pill[aria-current="page"] {
  background: rgba(255,0,0,0.15);
  border-color: var(--border-hover);
  color: var(--text-pri);
}
.nav-contact {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--pink));
  text-align: center;
  min-height: 40px;
  line-height: 1.4;
  transition: opacity var(--transition), transform var(--transition);
  margin-top: 8px;
}
.nav-contact:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  color: #fff;
}

/* ===== 页面主体 ===== */
.page-wrap {
  margin-left: var(--nav-w);
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.content-wrap {
  padding: 40px 48px;
  flex: 1;
}
.content-wrap.inner-page {
  max-width: 900px;
  width: 100%;
}

/* ===== 首页 Hero ===== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  align-items: center;
  gap: 0;
  padding: 0;
}
.hero-media {
  position: relative;
  height: 70vh;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-content {
  padding: 48px 56px 48px 48px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pink);
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,20,147,0.08);
}
.hero-h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, var(--text-sec) 60%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-sec);
  max-width: 400px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--pink));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  min-height: 44px;
  line-height: 1.3;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,0,0,0.4);
  color: #fff;
}
.btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-sec);
  font-weight: 600;
  font-size: 15px;
  min-height: 44px;
  line-height: 1.3;
  transition: background var(--transition), border-color var(--transition);
}
.btn-ghost:hover {
  background: rgba(255,20,147,0.1);
  border-color: var(--border-hover);
  color: var(--text-pri);
}

/* ===== 区块通用 ===== */
h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-pri);
  margin-bottom: 8px;
}
h2 + hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}
.rankings-block,
.reviews-block,
.siblings-block,
.faq-nav-block,
.about-links-block,
.privacy-nav-block,
.ranking-table-wrap {
  padding: 40px 48px;
}

/* ===== 排行卡片 ===== */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.rank-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(38,23,23,0.5);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.rank-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.card-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
}
.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.rank-card:hover .card-thumb { transform: scale(1.04); }
.card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pink);
  text-transform: uppercase;
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.card-title a { color: var(--text-pri); }
.card-title a:hover { color: var(--red); }
.card-desc {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.6;
  flex: 1;
}
.card-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
  align-self: flex-start;
  transition: background var(--transition), border-color var(--transition);
}
.card-cta:hover {
  background: rgba(255,0,0,0.15);
  border-color: var(--border-hover);
  color: var(--text-pri);
}

/* ===== 最新测评表格（首页）===== */
.rv-table {
  width: 100%;
  border-collapse: collapse;
}
.rv-cell {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rv-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-pri);
}
.rv-link:hover { color: var(--red); }
.review-date {
  font-size: 12px;
  color: var(--text-mute);
  white-space: nowrap;
}

/* ===== 内页页眉 ===== */
.page-header-block {
  padding: 48px 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.breadcrumb-back {
  font-size: 13px;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 8px 0;
}
.breadcrumb-back:hover { color: var(--pink); }
.page-h1 {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  background: linear-gradient(135deg, #fff 0%, var(--text-sec) 70%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-lead {
  font-size: 16px;
  color: var(--text-sec);
  max-width: 680px;
  line-height: 1.7;
}

/* ===== 排行榜表格 ===== */
.ranking-table {
  width: 100%;
  border-collapse: collapse;
}
.child-row {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.child-row:hover { background: rgba(255,20,147,0.05); }
.cell-rank {
  padding: 16px 12px 16px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  opacity: 0.6;
  width: 48px;
  font-variant-numeric: tabular-nums;
  vertical-align: top;
}
.child-row:first-child .cell-rank { opacity: 1; }
.cell-thumb {
  width: 80px;
  padding: 12px 16px 12px 0;
  vertical-align: top;
}
.tbl-thumb {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.cell-info {
  padding: 16px 0;
  vertical-align: top;
}
.child-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-pri);
  margin-bottom: 4px;
  line-height: 1.4;
}
.child-title:hover { color: var(--red); }
.child-desc {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cell-date {
  padding: 16px 0 16px 16px;
  font-size: 12px;
  color: var(--text-mute);
  white-space: nowrap;
  vertical-align: top;
  text-align: right;
}
.empty-cell {
  padding: 32px 0;
  color: var(--text-mute);
  font-size: 14px;
}

/* ===== 测评 Hero ===== */
.review-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 50vh;
  align-items: center;
}
.review-hero-img-wrap {
  height: 50vh;
  overflow: hidden;
  background: var(--surface-2);
}
.review-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-hero-meta {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-h1 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff 0%, var(--text-sec) 70%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.review-lead {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.7;
}
.meta-dates {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-mute);
}
.meta-label { color: var(--text-mute); }
.meta-sep { color: var(--border); }
.meta-dates time { color: var(--text-sec); }

/* ===== 正文 prose ===== */
.main-content {
  padding: 0 48px 40px;
}
.prose {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-pri);
}
.prose h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 8px;
  color: var(--text-pri);
}
.prose h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--text-sec);
}
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.prose li { margin-bottom: 6px; }
.prose a { color: var(--pink); border-bottom: 1px solid rgba(255,20,147,0.3); }
.prose a:hover { color: var(--red); border-bottom-color: var(--red); }
.prose strong { color: var(--text-pri); font-weight: 700; }
.prose em { color: var(--text-sec); font-style: italic; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}
.prose th {
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-weight: 700;
  text-align: left;
  color: var(--text-sec);
}
.prose td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-pri);
}
.prose tr:hover td { background: rgba(255,20,147,0.04); }
.prose blockquote {
  border-left: 3px solid var(--pink);
  padding: 12px 20px;
  margin: 20px 0;
  background: rgba(255,20,147,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-sec);
}
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
.prose time {
  color: var(--text-mute);
  font-size: 13px;
}

/* ===== 同类测评表格 ===== */
.sib-table {
  width: 100%;
  border-collapse: collapse;
}
.sib-cell {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sib-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-pri);
}
.sib-link:hover { color: var(--red); }
.sib-date {
  font-size: 12px;
  color: var(--text-mute);
  white-space: nowrap;
}

/* ===== FAQ / About / Privacy nav 表格 ===== */
.faq-nav-table,
.about-nav-table,
.privacy-nav-table {
  width: 100%;
  border-collapse: collapse;
}
.faq-nav-table td,
.about-nav-table td,
.privacy-nav-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.faq-nav-table a,
.about-nav-table a,
.privacy-nav-table a {
  font-size: 15px;
  color: var(--text-pri);
  font-weight: 500;
}
.faq-nav-table a:hover,
.about-nav-table a:hover,
.privacy-nav-table a:hover { color: var(--red); }

/* ===== About ===== */
.about-header {
  padding: 48px 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-logo {
  max-width: 120px;
  margin-bottom: 8px;
}
.about-logo-text {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Privacy ===== */
.privacy-updated {
  font-size: 13px;
  color: var(--text-mute);
}
.privacy-updated time { color: var(--text-sec); }

/* ===== 页脚 ===== */
.site-footer {
  background: rgba(38,23,23,0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 40px 48px 24px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-col dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-pri);
  letter-spacing: 0;
  text-transform: none;
}
.footer-col dd {
  margin-bottom: 8px;
}
.footer-col dd a {
  font-size: 14px;
  color: var(--text-mute);
  display: block;
  padding: 3px 0;
  min-height: 28px;
  line-height: 1.6;
}
.footer-col dd a:hover { color: var(--text-pri); }
.footer-about {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.7;
  max-width: 320px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-mute);
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ===== 移动端断点 ===== */
@media (max-width: 900px) {
  :root { --nav-w: 0px; }
  .site-header {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 100;
  }
  .side-nav {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 12px;
    height: auto;
    border-right: none;
    border-top: 1px solid var(--border);
    gap: 6px;
    align-items: center;
    -webkit-overflow-scrolling: touch;
  }
  .brand-mark { margin-bottom: 0; flex-shrink: 0; width: 40px; height: 40px; }
  .nav-pills { flex-direction: row; gap: 6px; flex: none; }
  .nav-pill { white-space: nowrap; font-size: 12px; padding: 8px 14px; flex-shrink: 0; }
  .nav-contact { white-space: nowrap; flex-shrink: 0; margin-top: 0; }
  .page-wrap {
    margin-left: 0;
    padding-bottom: 80px;
  }
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-media { height: 45vw; min-height: 200px; }
  .hero-content {
    padding: 28px 20px;
    text-align: right;
    align-items: flex-end;
  }
  .review-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .review-hero-img-wrap { height: 45vw; min-height: 180px; }
  .review-hero-meta { padding: 24px 20px; }
  .content-wrap { padding: 24px 20px; }
  .page-header-block { padding: 24px 20px 16px; }
  .rankings-block,
  .reviews-block,
  .siblings-block,
  .faq-nav-block,
  .about-links-block,
  .privacy-nav-block,
  .ranking-table-wrap { padding: 24px 20px; }
  .main-content { padding: 0 20px 24px; }
  .rank-grid { grid-template-columns: 1fr; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .site-footer { padding: 24px 20px 16px; }
  .cell-thumb { display: none; }
}
@media (max-width: 500px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-h1 { font-size: 24px; }
  .page-h1 { font-size: 22px; }
  .cell-rank { width: 36px; font-size: 18px; }
  .child-title { font-size: 14px; }
}
