/* ============ 首页 PAGE HOME ============ */
.page-home {
  background: var(--c-ink);
  color: var(--c-paper);
  font-family: var(--font-sans);
  overflow-x: clip;
}

/* ---------- 首屏 HERO ---------- */
.page-home__hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 48px;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-ink);
}

.page-home__hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.32;
  z-index: -2;
}

.page-home__hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.16) 0%, rgba(14, 59, 46, 0.38) 55%, rgba(11, 31, 26, 0.82) 100%);
  clip-path: polygon(100% 0, 100% 100%, 25% 100%, 0 0);
  z-index: -1;
  pointer-events: none;
}

.page-home__hero::after {
  content: '';
  position: absolute;
  top: 24%;
  right: 16%;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(0, 232, 143, 0.28);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.page-home__hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.page-home__hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-neon);
  margin-bottom: 20px;
}

.page-home__hero-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--c-gold);
}

.page-home__hero-title {
  font-size: clamp(42px, 9vw, 88px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--c-paper);
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35);
}

.page-home__hero-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0.06em;
  color: var(--c-gold);
  margin: 0 0 18px;
}

.page-home__hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-mist);
  max-width: 36em;
  margin: 0 0 28px;
}

.page-home__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.page-home__hero-actions .btn {
  min-width: 164px;
  justify-content: center;
}

.page-home__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.page-home__hero-meta span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-mist);
  position: relative;
  padding-right: 12px;
}

.page-home__hero-meta span:not(:last-child)::after {
  content: '/';
  position: absolute;
  right: 0;
  color: var(--c-gold);
  opacity: 0.55;
}

/* ---------- 数据入口总览 ---------- */
.page-home__modules {
  position: relative;
  background: var(--c-ink);
  background-image:
    linear-gradient(rgba(0, 232, 143, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 76px 0;
  border-top: 2px solid rgba(212, 175, 55, 0.22);
}

.page-home__modules::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 8%;
  width: 160px;
  height: 2px;
  background: var(--c-gold);
}

.page-home__head {
  max-width: 600px;
  margin-bottom: 44px;
}

.page-home__kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.06);
}

.page-home__head h2 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--c-paper);
}

.page-home__head p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-mist);
  margin: 0;
}

.page-home__module-grid {
  display: grid;
  gap: 22px;
}

.page-home__module {
  display: flex;
  flex-direction: column;
  padding: 32px 26px 28px;
  position: relative;
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-pine) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.page-home__module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 52px;
  background: var(--c-gold);
}

.page-home__module::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--c-neon);
  opacity: 0.7;
}

.page-home__module-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.page-home__module-num {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--c-neon);
  letter-spacing: 0.12em;
}

.page-home__cards {
  display: inline-flex;
  gap: 5px;
}

.page-home__card {
  display: inline-block;
  width: 10px;
  height: 14px;
  border-radius: 2px;
}

.page-home__card--yellow {
  background: var(--c-gold);
}

.page-home__card--red {
  background: var(--c-red);
}

.page-home__module h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
  margin: 0 0 6px;
  color: var(--c-paper);
}

.page-home__module-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-gold);
  margin-bottom: 12px;
}

.page-home__module-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-mist);
  margin: 0 0 20px;
}

.page-home__module:hover {
  transform: translateY(-5px);
}

.page-home__module:hover .page-home__module::after {
  opacity: 1;
}

/* ---------- 历史交锋 ---------- */
.page-home__versus {
  background: var(--c-pine);
  padding: 76px 0;
}

.page-home__versus-grid {
  display: grid;
  gap: 44px;
}

.page-home__versus-content h2 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--c-paper);
}

.page-home__versus-content p {
  color: var(--c-mist);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 28px;
}

.page-home__versus-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 460px;
}

.page-home__versus-media {
  position: relative;
}

.page-home__versus-media::before {
  content: '';
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 58%;
  height: 58%;
  border: 2px solid rgba(212, 175, 55, 0.35);
  z-index: 0;
}

.page-home__versus-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ---------- 服务范围切换 ---------- */
.page-home__switch {
  background: var(--c-ink);
  padding: 76px 0;
}

.page-home__switch-panel {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 42px 26px 36px;
  background: linear-gradient(140deg, rgba(14, 59, 46, 0.38), rgba(11, 31, 26, 0.92));
}

.page-home__switch-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 6%;
  width: 72px;
  height: 2px;
  background: var(--c-neon);
}

.page-home__switch-text {
  max-width: 580px;
  margin-bottom: 34px;
}

.page-home__switch-text h2 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--c-paper);
}

.page-home__switch-text p {
  color: var(--c-mist);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.page-home__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home__steps-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.25);
}

.page-home__steps-item:first-child {
  border-top: 1px dashed rgba(212, 175, 55, 0.25);
}

.page-home__step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
  background: var(--c-gold);
  transform: rotate(3deg);
}

.page-home__step-body h3 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--c-paper);
}

.page-home__step-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-mist);
  margin: 0;
}

.page-home__switch-cta {
  margin-top: 30px;
}

/* ---------- 近五个赛季观测 ---------- */
.page-home__season {
  background: var(--c-carbon);
  padding: 76px 0;
  position: relative;
}

.page-home__season::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 0;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.page-home__season-grid {
  display: grid;
  gap: 44px;
}

.page-home__season-media {
  position: relative;
}

.page-home__season-media img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.page-home__season-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-ink);
  background: var(--c-gold);
  padding: 6px 14px;
  transform: skewX(-8deg);
}

.page-home__season-content h2 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--c-paper);
}

.page-home__season-content > p {
  color: var(--c-mist);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 28px;
}

.page-home__season-chart {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.page-home__chart-item {
  display: grid;
  grid-template-columns: 64px 1fr 44px;
  gap: 10px;
  align-items: center;
}

.page-home__chart-label {
  font-size: 12px;
  color: var(--c-paper);
  white-space: nowrap;
}

.page-home__chart-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.page-home__chart-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-gold), rgba(0, 232, 143, 0.28));
}

.page-home__chart-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-neon);
  text-align: right;
}

/* ---------- 同好按语 ---------- */
.page-home__note {
  position: relative;
  background: var(--c-ink);
  padding: 88px 0;
  isolation: isolate;
}

.page-home__note-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: -1;
}

.page-home__note-panel {
  max-width: 660px;
  padding: 42px 32px;
  background: rgba(11, 31, 26, 0.86);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(3px);
}

.page-home__note-panel h2 {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--c-paper);
}

.page-home__note-panel > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-mist);
  margin: 0 0 24px;
}

.page-home__note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.page-home__note-meta span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-gold);
}

.page-home__note-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---------- 桌面断点 ---------- */
@media (min-width: 900px) {
  .page-home__hero {
    padding-bottom: 64px;
  }

  .page-home__hero-actions .btn {
    min-width: 180px;
  }

  .page-home__module-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-home__versus-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .page-home__versus-stats {
    gap: 20px;
  }

  .page-home__switch-panel {
    padding: 56px 48px 48px;
  }

  .page-home__steps {
    grid-template-columns: 1fr 1fr;
    gap: 0 36px;
  }

  .page-home__steps-item:first-child {
    border-top: none;
  }

  .page-home__steps-item {
    padding-top: 0;
  }

  .page-home__season-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .page-home__note-panel {
    padding: 52px 48px;
  }
}

/* ---------- 更大桌面宽度调整 ---------- */
@media (min-width: 1280px) {
  .page-home__hero-content {
    max-width: 720px;
  }

  .page-home__hero-title {
    font-size: 96px;
  }
}

/* ---------- 减少动画 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }

  .page-home__module:hover {
    transform: none;
  }
}
