@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== 基础变量 ===== */
:root {
  --c-black: #000000;
  --c-white: #ffffff;
  --c-accent: #e8000a;
  --c-accent2: #ff4d57;
  --c-gray-100: #f5f5f5;
  --c-gray-200: #e8e8e8;
  --c-gray-400: #999999;
  --c-gray-700: #333333;
  --c-glass-bg: rgba(255,255,255,0.06);
  --c-glass-border: rgba(255,255,255,0.12);
  --radius-card: 28px;
  --font-head: 'Space Grotesk', 'DM Sans', Helvetica, Arial, sans-serif;
  --font-body: 'DM Sans', 'Space Grotesk', Helvetica, Arial, sans-serif;
  --sp: 8px;
  --nav-h: 68px;
  --max-w: 1280px;
  --col-gap: 24px;
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  background: var(--c-black);
  color: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.18s; }
a:hover { opacity: 0.78; }
ol, ul { list-style: none; }

/* ===== 导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--nav-h);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 calc(var(--sp) * 3);
  height: 100%;
  gap: calc(var(--sp) * 2);
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: calc(var(--sp) * 2);
  flex: 1;
  flex-wrap: wrap;
}
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 10px 6px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.75);
  transition: color 0.18s;
}
.nav-left a:hover, .nav-right a:hover,
.nav-left a.active, .nav-right a.active { color: var(--c-white); opacity: 1; }
.nav-brand {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-white);
  white-space: nowrap;
  padding: 8px 16px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-cta {
  background: var(--c-accent);
  color: var(--c-white) !important;
  padding: 10px 18px !important;
  border-radius: 6px;
  font-weight: 700 !important;
  min-height: 40px;
  opacity: 1 !important;
  transition: background 0.18s !important;
}
.nav-cta:hover { background: var(--c-accent2) !important; }

/* ===== 页面包裹 ===== */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--sp) * 5) calc(var(--sp) * 3);
}

/* ===== Hero（首页）===== */
.hero-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--sp) * 6);
  align-items: center;
  min-height: 70vh;
  padding: calc(var(--sp) * 6) 0;
  position: relative;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: calc(var(--sp) * 3);
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  border-left: 3px solid var(--c-accent);
  padding-left: 10px;
}
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--c-white);
}
.hero-desc {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--c-accent);
  color: var(--c-white);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  min-height: 48px;
  width: fit-content;
  transition: background 0.18s, transform 0.18s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--c-accent2); transform: translateY(-2px); opacity: 1; }
.hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 360px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-glass-border);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-watermark {
  position: absolute;
  top: -10px;
  right: -10px;
  font-family: var(--font-head);
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  letter-spacing: -0.05em;
  user-select: none;
}

/* ===== 首页正文内容 ===== */
.content-body {
  padding: calc(var(--sp) * 5) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: calc(var(--sp) * 4);
}

/* ===== 标签/区段标签 ===== */
.section-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: calc(var(--sp) * 3);
  padding-left: 12px;
  border-left: 3px solid var(--c-accent);
}

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
}
.card-grid > li {
  grid-column: span 4;
}
.glass-card {
  background: var(--c-glass-bg);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.22s, border-color 0.22s, background 0.22s;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
}
.glass-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-img { aspect-ratio: 16/9; overflow: hidden; background: rgba(255,255,255,0.04); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.glass-card:hover .card-img img { transform: scale(1.04); }
.card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-accent);
}
.card-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.35;
}
.card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  display: block;
}
.nav-card > a {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-card strong { font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.nav-card small { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ===== 两栏布局（review / faq / ranking / about / privacy）===== */
.review-layout,
.faq-layout,
.ranking-layout,
.about-layout,
.privacy-layout,
.default-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: calc(var(--sp) * 6);
  align-items: start;
}
.review-main, .faq-main, .ranking-main,
.about-main, .privacy-main, .default-main {
  min-width: 0;
}

/* ===== 文章 Hero ===== */
.art-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--sp) * 5);
  align-items: center;
  padding: calc(var(--sp) * 5) 0 calc(var(--sp) * 4);
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: calc(var(--sp) * 4);
}
.art-hero-text { display: flex; flex-direction: column; gap: 14px; }
.art-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.art-hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-glass-border);
}
.art-hero-media .hero-watermark {
  font-size: clamp(4rem, 10vw, 8rem);
  right: -5px;
  top: -5px;
}
.art-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.art-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.art-date, .art-date-mod {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}
.art-date-mod::before { content: '·'; margin-right: 8px; }
.breadcrumb {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb::before { content: '←'; }

/* ===== 正文内容 ===== */
.art-body, .faq-body, .ranking-body,
.about-body, .privacy-body, .default-body {
  line-height: 1.75;
}
.art-content, .faq-content, .ranking-content,
.about-content, .privacy-content, .default-content {
  max-width: 72ch;
  color: rgba(255,255,255,0.88);
}
.art-content h2, .faq-content h2, .ranking-content h2,
.about-content h2, .privacy-content h2, .default-content h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.2em 0 0.8em;
  letter-spacing: -0.02em;
  color: var(--c-white);
}
.art-content h3, .faq-content h3, .ranking-content h3,
.about-content h3, .privacy-content h3, .default-content h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.8em 0 0.6em;
  color: var(--c-white);
}
.art-content p, .faq-content p, .ranking-content p,
.about-content p, .privacy-content p, .default-content p {
  margin-bottom: 1.2em;
}
.art-content ul, .faq-content ul, .ranking-content ul,
.about-content ul, .privacy-content ul, .default-content ul,
.art-content ol, .faq-content ol, .ranking-content ol,
.about-content ol, .privacy-content ol, .default-content ol {
  margin: 0.8em 0 1.2em 1.4em;
  list-style: disc;
}
.art-content ol, .faq-content ol, .ranking-content ol,
.about-content ol, .privacy-content ol, .default-content ol {
  list-style: decimal;
}
.art-content li, .faq-content li, .ranking-content li,
.about-content li, .privacy-content li, .default-content li {
  margin-bottom: 0.5em;
}
.art-content a, .faq-content a, .ranking-content a,
.about-content a, .privacy-content a, .default-content a {
  color: var(--c-accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.art-content strong, .faq-content strong,
.about-content strong, .privacy-content strong { color: var(--c-white); }

/* ===== 子页列表 ===== */
.sub-list {
  margin-top: calc(var(--sp) * 3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sub-list li > a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s;
}
.sub-list li > a:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  opacity: 1;
}
.sub-list li > a small {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* ===== 侧边栏 ===== */
.review-aside, .faq-aside, .ranking-aside,
.about-aside, .privacy-aside, .default-aside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: calc(var(--sp) * 3);
}
.aside-block {
  background: var(--c-glass-bg);
  border: 1px solid var(--c-glass-border);
  border-radius: 18px;
  padding: 20px;
}
.aside-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.aside-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aside-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aside-list li > a {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 10px;
  border-radius: 8px;
  display: block;
  transition: background 0.16s;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.aside-list li > a:hover, .aside-list li > a.active {
  background: rgba(255,255,255,0.07);
  opacity: 1;
}
.aside-list li > small {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  padding: 0 10px 6px;
  line-height: 1.4;
}
.aside-info p { font-size: 14px; margin-bottom: 6px; color: rgba(255,255,255,0.7); }
.aside-info strong { color: var(--c-white); }

/* ===== 排行榜 ===== */
.ranking-header {
  position: relative;
  padding: calc(var(--sp) * 5) 0 calc(var(--sp) * 4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: calc(var(--sp) * 4);
  overflow: hidden;
}
.rank-watermark {
  right: 0;
  top: 0;
  font-size: clamp(5rem, 15vw, 11rem);
}
.ranking-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.ranking-intro {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 60ch;
  margin-top: 10px;
}
.rank-list {
  margin-top: calc(var(--sp) * 3);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 16px;
}
.rank-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-accent);
  min-width: 40px;
  letter-spacing: -0.02em;
}
.rank-thumb-wrap { width: 80px; height: 56px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.rank-thumb { width: 100%; height: 100%; object-fit: cover; }
.rank-info { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.rank-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-desc { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ===== FAQ ===== */
.faq-header {
  padding: calc(var(--sp) * 5) 0 calc(var(--sp) * 4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: calc(var(--sp) * 4);
}
.faq-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.faq-intro {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 60ch;
  margin-top: 10px;
}

/* ===== About ===== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--sp) * 5);
  align-items: center;
  padding: calc(var(--sp) * 5) 0 calc(var(--sp) * 4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: calc(var(--sp) * 4);
}
.about-hero-text { display: flex; flex-direction: column; gap: 16px; }
.about-h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.about-intro { color: rgba(255,255,255,0.65); font-size: 17px; max-width: 50ch; }
.about-hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 280px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-glass-border);
}
.about-img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Privacy ===== */
.privacy-header {
  padding: calc(var(--sp) * 5) 0 calc(var(--sp) * 4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: calc(var(--sp) * 4);
}
.privacy-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

/* ===== Default ===== */
.default-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  padding: calc(var(--sp) * 5) 0 calc(var(--sp) * 2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: calc(var(--sp) * 4);
}

/* ===== 页脚 ===== */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: calc(var(--sp) * 8);
  padding: calc(var(--sp) * 6) calc(var(--sp) * 3) calc(var(--sp) * 4);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: calc(var(--sp) * 6);
  padding-bottom: calc(var(--sp) * 5);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: calc(var(--sp) * 3);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 280px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-content: flex-start;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.16s;
}
.footer-links a:hover { color: var(--c-white); opacity: 1; }
.footer-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ===== 动效 ===== */
@media (prefers-reduced-motion: no-preference) {
  .glass-card {
    animation: fadeUp 0.4s both;
  }
  .card-grid > li:nth-child(1) { animation-delay: 0.05s; }
  .card-grid > li:nth-child(2) { animation-delay: 0.10s; }
  .card-grid > li:nth-child(3) { animation-delay: 0.15s; }
  .card-grid > li:nth-child(4) { animation-delay: 0.20s; }
  .card-grid > li:nth-child(5) { animation-delay: 0.25s; }
  .card-grid > li:nth-child(6) { animation-delay: 0.30s; }
  .rank-item:nth-child(1) { animation-delay: 0.04s; }
  .rank-item:nth-child(2) { animation-delay: 0.08s; }
  .rank-item:nth-child(3) { animation-delay: 0.12s; }
  .rank-item:nth-child(4) { animation-delay: 0.16s; }
  .rank-item:nth-child(5) { animation-delay: 0.20s; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .card-grid > li { grid-column: span 6; }
  .review-layout, .faq-layout, .ranking-layout,
  .about-layout, .privacy-layout, .default-layout {
    grid-template-columns: 1fr;
  }
  .review-aside, .faq-aside, .ranking-aside,
  .about-aside, .privacy-aside, .default-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--sp) * 2);
  }
  .footer-inner { grid-template-columns: 1fr; gap: calc(var(--sp) * 4); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .site-nav { padding: 0 16px; gap: 8px; }
  .nav-left, .nav-right { gap: 4px; }
  .nav-left a, .nav-right a { font-size: 12px; padding: 10px 4px; }
  .nav-brand { font-size: 16px; padding: 8px 10px; }
  .nav-cta { padding: 10px 12px !important; font-size: 12px !important; }

  .page-wrap { padding: calc(var(--sp) * 4) 16px; }

  .hero-block {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: calc(var(--sp) * 5) 0;
    gap: calc(var(--sp) * 4);
  }
  .hero-media { min-height: 220px; }
  .hero-h1 { font-size: 2rem; }

  .art-hero { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }

  .card-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card-grid > li { grid-column: span 1; }

  .review-aside, .faq-aside, .ranking-aside,
  .about-aside, .privacy-aside, .default-aside {
    grid-template-columns: 1fr;
  }
  .rank-item { padding: 14px 16px; gap: 14px; }
  .rank-thumb-wrap { width: 60px; height: 44px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 480px) {
  .nav-left { display: none; }
  .nav-right { flex: unset; }
  .nav-brand { flex: 1; justify-content: center; }

  .card-grid { grid-template-columns: 1fr; }
  .card-grid > li { grid-column: span 1; }

  .hero-h1 { font-size: 1.7rem; }
  .art-h1, .faq-h1, .ranking-h1, .about-h1, .privacy-h1, .default-h1 { font-size: 1.6rem; }
}
