.page-home {
  --home-gold: #FFD700;
  --home-blue: #00E5FF;
  --home-bg: #0A0E17;
  --home-card: #131B2A;
  --home-angle: 8deg;
  --home-radius: 18px;
  --home-gold-soft: rgba(255, 215, 0, 0.08);
  --home-blue-soft: rgba(0, 229, 255, 0.08);
  --home-border-glow: rgba(0, 229, 255, 0.22);
  --home-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow-x: hidden;
  background: var(--home-bg);
  color: #FFFFFF;
  font-family: var(--font-body);
}

.page-home ::selection {
  background: rgba(255, 215, 0, 0.3);
  color: #FFFFFF;
}

.page-home .container {
  position: relative;
  z-index: 2;
}

.page-home .section-heading-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.page-home .section-heading-row h2,
.page-home .latest-main h2,
.page-home .data-head h2,
.page-home .guide-copy h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.2;
  margin: 6px 0 0;
  background: linear-gradient(120deg, #FFFFFF 30%, var(--home-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-home .heading-note {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}

.page-home .mono-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--home-blue);
  background: var(--home-blue-soft);
  border: 1px solid rgba(0, 229, 255, 0.18);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ===== Hero ===== */
.page-home .home-hero {
  position: relative;
  padding: 64px 0 60px;
  overflow: hidden;
  min-height: auto;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-home .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 23, 0.72) 0%, rgba(10, 14, 23, 0.82) 55%, var(--home-bg) 100%),
    radial-gradient(circle at 76% 28%, rgba(0, 229, 255, 0.28) 0%, transparent 58%),
    radial-gradient(circle at 14% 82%, rgba(255, 215, 0, 0.16) 0%, transparent 46%);
}

.page-home .home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 1;
  pointer-events: none;
}

.page-home .hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.page-home .hero-copy {
  max-width: 680px;
}

.page-home .hero-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--home-gold);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 4px;
  padding: 7px 14px;
  margin-bottom: 20px;
  background: rgba(255, 215, 0, 0.07);
}

.page-home .hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.12;
  margin: 0 0 20px;
  text-shadow: 0 0 32px rgba(0, 229, 255, 0.35);
  letter-spacing: 0.01em;
}

.page-home .hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #C6CFE0;
  margin: 0 0 26px;
  max-width: 560px;
}

.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
}

.page-home .hero-meta span {
  background: rgba(19, 27, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 4px;
}

.page-home .hero-panel {
  position: relative;
  background: rgba(19, 27, 42, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--home-border-glow);
  border-radius: var(--home-radius);
  padding: 18px;
  box-shadow: var(--home-shadow), 0 0 40px rgba(0, 229, 255, 0.1);
  overflow: hidden;
}

.page-home .hero-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 229, 255, 0.35) 50%);
  border-bottom-left-radius: 14px;
  pointer-events: none;
}

.page-home .hero-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.page-home .hero-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--home-blue);
  letter-spacing: 0.08em;
}

.page-home .hero-panel-body {
  display: flex;
  flex-direction: column;
}

.page-home .panel-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 8px;
  text-decoration: none;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.page-home .panel-link:last-child {
  border-bottom: none;
}

.page-home .panel-link:hover {
  background: rgba(0, 229, 255, 0.06);
  transform: translateX(4px);
  border-color: rgba(0, 229, 255, 0.2);
}

.page-home .panel-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--home-gold);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 50%;
  width: 30px;
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.06);
}

.page-home .panel-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.page-home .panel-arrow {
  color: var(--home-blue);
  font-size: 20px;
  transition: transform 0.3s;
}

.page-home .panel-link:hover .panel-arrow {
  transform: translateX(4px);
}

/* ===== 快捷键入口 ===== */
.page-home .home-keys {
  padding: 56px 0 48px;
  position: relative;
}

.page-home .home-keys::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-line);
  opacity: 0.35;
}

.page-home .key-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .key-card {
  position: relative;
  display: block;
  background: var(--home-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--home-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-home .key-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-line);
  opacity: 0;
  transition: opacity 0.3s;
}

.page-home .key-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 229, 255, 0.1);
}

.page-home .key-card:hover .key-card-accent {
  opacity: 1;
}

.page-home .key-top {
  position: relative;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(10, 14, 23, 0.2), rgba(19, 27, 42, 0.7)),
    radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1), transparent 55%);
  overflow: hidden;
}

.page-home .key-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .key-num {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 46px;
  width: 84px;
  height: 84px;
  min-width: 84px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-gold);
  background: rgba(10, 14, 23, 0.82);
  border: 2px solid rgba(255, 215, 0, 0.55);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.18), inset 0 0 14px rgba(255, 215, 0, 0.08);
  transform: rotate(-4deg);
  transition: transform 0.3s, box-shadow 0.3s;
}

.page-home .key-card:hover .key-num {
  transform: rotate(0deg) scale(1.06);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.3), inset 0 0 18px rgba(255, 215, 0, 0.12);
}

.page-home .key-glyph {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 52px;
  color: var(--home-blue);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.55);
}

.page-home .key-body {
  padding: 18px 18px 22px;
}

.page-home .key-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  color: #FFFFFF;
}

.page-home .key-body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ===== 最新评测 ===== */
.page-home .home-latest {
  position: relative;
  padding: 48px 0 56px;
}

.page-home .latest-decoration {
  position: absolute;
  top: 12%;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.page-home .latest-grid {
  position: relative;
  z-index: 1;
}

.page-home .latest-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.page-home .latest-badge {
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.45);
  color: #FF6B5E;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.page-home .latest-main h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.page-home .latest-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin: 0 0 22px;
  max-width: 520px;
}

.page-home .latest-article {
  display: flex;
  gap: 16px;
  background: rgba(19, 27, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--home-gold);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.page-home .latest-article:hover {
  background: rgba(19, 27, 42, 0.95);
  transform: translateX(4px);
  border-color: var(--home-gold);
}

.page-home .article-index {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  color: var(--home-gold);
  min-width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.08);
}

.page-home .article-content h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 6px;
  color: #FFFFFF;
}

.page-home .article-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

.page-home .latest-main .btn {
  margin-top: 10px;
}

.page-home .latest-figure {
  position: relative;
  margin-top: 20px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--home-border-glow);
  box-shadow: var(--home-shadow), 0 0 26px rgba(0, 229, 255, 0.08);
}

.page-home .latest-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-home .figure-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #FFFFFF;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 23, 0.85));
}

/* ===== 资料库数据 ===== */
.page-home .home-data {
  position: relative;
  padding: 24px 0 52px;
}

.page-home .data-panel {
  position: relative;
  background: linear-gradient(145deg, rgba(19, 27, 42, 0.92), rgba(10, 14, 23, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 24px;
  padding: 32px 20px;
  overflow: hidden;
}

.page-home .data-panel::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-line);
  opacity: 0.6;
}

.page-home .data-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .data-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.page-home .data-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 23, 0.72) 20%, rgba(19, 27, 42, 0.45) 100%);
}

.page-home .data-head {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.page-home .data-head p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 420px;
}

.page-home .data-cells {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .data-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(10, 14, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 10px;
  transition: border-color 0.3s, background 0.3s;
}

.page-home .data-cell:hover {
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(10, 14, 23, 0.75);
}

.page-home .data-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: var(--home-gold);
  display: block;
  margin-bottom: 4px;
}

.page-home .data-num::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--home-blue);
  margin: 8px auto 0;
  opacity: 0.5;
}

.page-home .data-label {
  font-size: 13px;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
}

/* ===== 热门分类 ===== */
.page-home .home-cats {
  padding: 48px 0 52px;
  position: relative;
}

.page-home .home-cats::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
}

.page-home .cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .cat-card {
  position: relative;
  display: block;
  background: var(--home-card);
  border-radius: 16px;
  padding: 26px 20px 22px;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.page-home .cat-card::before {
  content: '';
  position: absolute;
  top: -32px;
  right: -32px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.16) 0%, transparent 70%);
  transition: transform 0.3s;
}

.page-home .cat-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 229, 255, 0.1);
}

.page-home .cat-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--home-gold);
  background: rgba(255, 215, 0, 0.08);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  border-radius: 8px;
  margin-bottom: 16px;
}

.page-home .cat-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-home .cat-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0 0 14px;
}

.page-home .cat-more {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--home-blue);
  letter-spacing: 0.04em;
}

.page-home .cat-card:hover .cat-more {
  color: var(--home-gold);
}

/* ===== 三步引导 ===== */
.page-home .home-guide {
  padding: 24px 0 60px;
}

.page-home .guide-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-home .guide-copy h2 {
  margin-bottom: 14px;
}

.page-home .guide-copy p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: 380px;
}

.page-home .guide-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .guide-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(19, 27, 42, 0.55);
  border-radius: 14px;
  padding: 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s, background 0.3s;
}

.page-home .guide-step:hover {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(19, 27, 42, 0.85);
}

.page-home .step-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  color: var(--home-blue);
  background: var(--home-blue-soft);
  border: 1px solid rgba(0, 229, 255, 0.25);
  min-width: 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-home .step-text strong {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.page-home .step-text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 4px 0 0;
}

/* ===== 媒体查询：平板 ===== */
@media (min-width: 768px) {
  .page-home .section-heading-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .hero-copy h1 {
    font-size: 46px;
  }

  .page-home .hero-lead {
    font-size: 17px;
  }

  .page-home .hero-panel {
    padding: 24px;
  }

  .page-home .key-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-home .key-top {
    min-height: 150px;
  }

  .page-home .latest-article {
    padding: 18px;
  }

  .page-home .data-cells {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .page-home .data-num {
    font-size: 36px;
  }

  .page-home .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .page-home .guide-steps {
    flex-direction: row;
    gap: 14px;
  }

  .page-home .guide-step {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== 媒体查询：桌面 ===== */
@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 40px 0 72px;
  }

  .page-home .hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
    align-items: center;
  }

  .page-home .hero-copy h1 {
    font-size: 60px;
    line-height: 1.08;
  }

  .page-home .hero-lead {
    font-size: 18px;
    line-height: 1.8;
  }

  .page-home .hero-panel {
    transform: rotate(1.6deg);
    padding: 26px;
  }

  .page-home .hero-panel:hover {
    transform: rotate(0deg);
    transition: transform 0.4s ease;
  }

  .page-home .home-keys {
    padding: 72px 0 64px;
  }

  .page-home .key-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .page-home .home-latest {
    padding: 68px 0 72px;
  }

  .page-home .latest-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: center;
  }

  .page-home .latest-figure {
    margin-top: 0;
    margin-left: 12px;
  }

  .page-home .data-panel {
    padding: 44px 36px;
    border-radius: 28px;
  }

  .page-home .data-cells {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }

  .page-home .data-cell {
    padding: 26px 12px;
  }

  .page-home .home-cats {
    padding: 64px 0 68px;
  }

  .page-home .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .cat-card {
    padding: 30px 22px 24px;
  }

  .page-home .home-guide {
    padding: 32px 0 72px;
  }

  .page-home .guide-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 48px;
    align-items: center;
  }
}

/* ===== 保底：避免横向溢出 ===== */
.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home a {
  -webkit-tap-highlight-color: transparent;
}
