.page-home {
  --home-muted-blue: #AFC4E8;
  --home-line-soft: rgba(245, 241, 234, 0.16);
  --home-grid-line: rgba(245, 241, 234, 0.05);
  --home-shadow-card: rgba(17, 17, 17, 0.08);
  --home-extra-stroke: rgba(17, 17, 17, 0.55);
  color: var(--hb-ink);
  background: var(--hb-paper);
  overflow-x: clip;
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-home a:focus-visible {
  outline: 2px solid var(--hb-red);
  outline-offset: 2px;
  border-radius: var(--hb-radius);
}

/* ===== 专题封面 ===== */
.page-home .hero-cover {
  position: relative;
  background: var(--hb-deep-blue);
  color: var(--hb-paper);
  padding: 3rem 0 3rem;
  overflow: hidden;
}

.page-home .hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.page-home .hero-cover::after {
  content: "HB/SITE://CN";
  position: absolute;
  right: -2.5rem;
  bottom: 2.2rem;
  transform: rotate(-90deg);
  font-family: var(--hb-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: rgba(245, 241, 234, 0.14);
  pointer-events: none;
}

.page-home .hero-cover__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.page-home .hero-cover__mono {
  font-family: var(--hb-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--hb-gold);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.page-home .hero-cover__title {
  font-size: clamp(2.3rem, 7vw, 4.3rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  color: var(--hb-paper);
}

.page-home .hero-cover__subtitle {
  font-family: var(--hb-font-mono);
  font-size: 0.85rem;
  color: var(--home-muted-blue);
  margin-bottom: 0.9rem;
}

.page-home .hero-cover__lead {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hb-red);
  margin-bottom: 1rem;
}

.page-home .hero-cover__desc {
  max-width: 58ch;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(245, 241, 234, 0.86);
  margin-bottom: 1.75rem;
}

.page-home .hero-cover__index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  border-top: 1px solid var(--home-line-soft);
  padding-top: 1.4rem;
}

.page-home .hero-cover__index-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--hb-radius);
  color: var(--hb-paper);
  text-decoration: none;
  font-family: var(--hb-font-mono);
  font-size: 0.78rem;
  transition: background-color var(--hb-transition), border-color var(--hb-transition), color var(--hb-transition);
}

.page-home .hero-cover__index-link:hover,
.page-home .hero-cover__index-link:focus-visible {
  background: var(--hb-red);
  border-color: var(--hb-red);
  color: #fff;
}

.page-home .hero-cover__index-num {
  color: var(--hb-blue);
  transition: color var(--hb-transition);
}

.page-home .hero-cover__index-link:hover .hero-cover__index-num,
.page-home .hero-cover__index-link:focus-visible .hero-cover__index-num {
  color: #fff;
}

.page-home .hero-cover__visual {
  position: relative;
}

.page-home .hero-cover__media {
  margin: 0;
}

.page-home .hero-cover__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--hb-radius);
  transform: rotate(-1.2deg);
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.5);
}

.page-home .hero-cover__caption {
  margin-top: 0.8rem;
  font-family: var(--hb-font-mono);
  font-size: 0.72rem;
  color: var(--home-muted-blue);
  letter-spacing: 0.06em;
  text-align: right;
}

/* ===== 实时数据板 ===== */
.page-home .data-board {
  position: relative;
  background: var(--hb-ink);
  color: var(--hb-paper);
  padding: 4rem 0;
  overflow: hidden;
}

.page-home .data-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(224, 42, 42, 0.06) 0,
    transparent 24px,
    transparent 48px
  );
  pointer-events: none;
}

.page-home .data-board__title {
  color: var(--hb-paper);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.8rem;
}

.page-home .data-board__lead {
  color: rgba(245, 241, 234, 0.72);
  max-width: 62ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.page-home .data-board__layout {
  display: grid;
  gap: 1.25rem;
}

.page-home .data-board__card {
  position: relative;
  background: var(--hb-deep-blue);
  border: 1px solid rgba(245, 241, 234, 0.12);
  border-radius: 10px;
  padding: 1.25rem 1rem 1rem;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
}

.page-home .data-board__card-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hb-paper);
  margin-bottom: 0.9rem;
}

.page-home .data-board__card-title::before {
  content: "";
  width: 4px;
  height: 1.2em;
  background: var(--hb-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.page-home .data-board__badge {
  font-family: var(--hb-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(245, 241, 234, 0.2);
  border-radius: 999px;
  color: var(--hb-gold);
  text-transform: uppercase;
}

.page-home .data-board__chart {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .data-board__chart-line {
  stroke: rgba(245, 241, 234, 0.14);
  stroke-width: 1;
}

.page-home .data-board__chart-line--dash {
  stroke-dasharray: 4 4;
}

.page-home .chart-row__rank {
  font-family: var(--hb-font-mono);
  font-size: 12px;
  fill: rgba(245, 241, 234, 0.5);
}

.page-home .chart-row__name {
  font-family: var(--hb-font-sans);
  font-size: 13px;
  font-weight: 600;
  fill: var(--hb-paper);
}

.page-home .chart-row__link {
  cursor: pointer;
}

.page-home .chart-row__link:focus-visible rect {
  stroke: var(--hb-red);
  stroke-width: 3;
  fill-opacity: 0.7;
}

.page-home .chart-row__link:hover rect {
  fill-opacity: 0.72;
}

.page-home .chart-row__extra {
  font-family: var(--hb-font-mono);
  font-size: 11px;
  fill: #fff;
  text-anchor: middle;
  opacity: 0;
  transition: opacity var(--hb-transition);
  paint-order: stroke;
  stroke: var(--home-extra-stroke);
  stroke-width: 2px;
  stroke-linejoin: round;
}

.page-home .chart-row:hover .chart-row__extra {
  opacity: 1;
}

.page-home .chart-row__value {
  font-family: var(--hb-font-mono);
  font-size: 12px;
  font-weight: 700;
  fill: var(--hb-paper);
  text-anchor: end;
}

.page-home .data-board__hint {
  margin-top: 0.8rem;
  font-family: var(--hb-font-mono);
  font-size: 0.68rem;
  color: rgba(245, 241, 234, 0.5);
  letter-spacing: 0.03em;
}

.page-home .data-board__panorama {
  position: relative;
  margin: 2.5rem 0 0;
}

.page-home .data-board__panorama img {
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
}

.page-home .data-board__panorama-caption {
  margin-top: 0.6rem;
  font-family: var(--hb-font-mono);
  font-size: 0.72rem;
  color: rgba(245, 241, 234, 0.55);
}

/* ===== 观赛攻略索引 ===== */
.page-home .guide-index {
  background: var(--hb-paper);
  color: var(--hb-ink);
  padding: 4rem 0;
}

.page-home .guide-index__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.page-home .guide-index__lead {
  color: var(--hb-gray-600);
  max-width: 62ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.page-home .guide-index__layout {
  display: grid;
  gap: 2rem;
}

.page-home .guide-index__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.page-home .guide-index__item {
  background: #fff;
  border: 1px solid var(--hb-gray-300);
  border-left: 4px solid var(--hb-red);
  border-radius: 8px;
  transition: transform var(--hb-transition), box-shadow var(--hb-transition), border-left-color var(--hb-transition);
}

.page-home .guide-index__item:nth-child(2),
.page-home .guide-index__item:nth-child(4) {
  border-left-color: var(--hb-blue);
}

.page-home .guide-index__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -12px var(--home-shadow-card);
  border-left-color: var(--hb-gold);
}

.page-home .guide-index__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: var(--hb-ink);
}

.page-home .guide-index__tag {
  align-self: flex-start;
  font-family: var(--hb-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding: 0.14rem 0.45rem;
  border-radius: 3px;
  background: var(--hb-red);
  color: #fff;
}

.page-home .guide-index__item:nth-child(2) .guide-index__tag,
.page-home .guide-index__item:nth-child(3) .guide-index__tag {
  background: var(--hb-blue);
}

.page-home .guide-index__item:nth-child(5) .guide-index__tag {
  background: var(--hb-gold);
  color: var(--hb-ink);
}

.page-home .guide-index__item-title {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.5;
}

.page-home .guide-index__meta {
  font-family: var(--hb-font-mono);
  font-size: 0.7rem;
  color: var(--hb-gray-600);
}

.page-home .guide-index__media {
  margin: 0;
}

.page-home .guide-index__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  transform: rotate(-0.8deg);
  box-shadow: 0 14px 30px -14px var(--home-shadow-card);
}

.page-home .guide-index__caption {
  margin-top: 0.6rem;
  font-family: var(--hb-font-mono);
  font-size: 0.72rem;
  color: var(--hb-gray-600);
}

/* ===== 升级版服务说明 ===== */
.page-home .upgrade-service {
  position: relative;
  background: var(--hb-deep-blue);
  color: var(--hb-paper);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.page-home .upgrade-service::after {
  content: "UPGRADE";
  position: absolute;
  right: -1rem;
  top: 1.5rem;
  transform: rotate(90deg);
  font-family: var(--hb-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: rgba(245, 241, 234, 0.12);
}

.page-home .upgrade-service__title {
  color: var(--hb-paper);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.page-home .upgrade-service__lead {
  color: rgba(245, 241, 234, 0.78);
  max-width: 64ch;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.page-home .upgrade-service__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-home .upgrade-service__card {
  background: rgba(245, 241, 234, 0.06);
  border: 1px solid rgba(245, 241, 234, 0.14);
  border-radius: 10px;
  padding: 1.4rem 1.2rem 1.2rem;
  position: relative;
  transition: background-color var(--hb-transition), transform var(--hb-transition);
}

.page-home .upgrade-service__card:hover {
  background: rgba(245, 241, 234, 0.1);
  transform: translateY(-3px);
}

.page-home .upgrade-service__card-num {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  font-family: var(--hb-font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hb-gold);
  opacity: 0.8;
}

.page-home .upgrade-service__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hb-paper);
  margin-bottom: 0.6rem;
}

.page-home .upgrade-service__card-title::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 0.5rem;
  background: var(--hb-blue);
  border-radius: 50%;
}

.page-home .upgrade-service__card-text {
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(245, 241, 234, 0.72);
}

.page-home .upgrade-service__cta {
  margin-top: 0.5rem;
}

/* ===== 资料专区入口 ===== */
.page-home .resource-area {
  background: var(--hb-paper);
  color: var(--hb-ink);
  padding: 4rem 0;
}

.page-home .resource-area__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.page-home .resource-area__lead {
  color: var(--hb-gray-600);
  max-width: 62ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.page-home .resource-area__grid {
  display: grid;
  gap: 2rem;
}

.page-home .resource-area__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.page-home .resource-area__card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--hb-gray-300);
  border-top: 3px solid var(--hb-red);
  border-radius: 8px;
  text-decoration: none;
  color: var(--hb-ink);
  transition: transform var(--hb-transition), box-shadow var(--hb-transition), border-top-color var(--hb-transition);
}

.page-home .resource-area__card:nth-child(2) {
  border-top-color: var(--hb-blue);
}

.page-home .resource-area__card:nth-child(3) {
  border-top-color: var(--hb-gold);
}

.page-home .resource-area__card:nth-child(4) {
  border-top-color: var(--hb-ink);
}

.page-home .resource-area__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px var(--home-shadow-card);
}

.page-home .resource-area__card-type {
  font-family: var(--hb-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hb-blue);
}

.page-home .resource-area__card:nth-child(1) .resource-area__card-type {
  color: var(--hb-red);
}

.page-home .resource-area__card:nth-child(3) .resource-area__card-type {
  color: var(--hb-gold);
}

.page-home .resource-area__card:nth-child(4) .resource-area__card-type {
  color: var(--hb-gray-600);
}

.page-home .resource-area__card-name {
  font-size: 1rem;
  font-weight: 700;
}

.page-home .resource-area__card-desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--hb-gray-600);
}

.page-home .resource-area__preview {
  margin: 0;
  align-self: center;
}

.page-home .resource-area__preview img {
  width: 100%;
  aspect-ratio: 9 / 5;
  object-fit: cover;
  border-radius: 12px;
  transform: rotate(1deg);
  box-shadow: 0 18px 38px -14px var(--home-shadow-card);
}

.page-home .resource-area__preview-caption {
  margin-top: 0.6rem;
  font-family: var(--hb-font-mono);
  font-size: 0.72rem;
  color: var(--hb-gray-600);
}

.page-home .resource-area__note {
  margin-top: 2rem;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--hb-gray-600);
  max-width: 72ch;
}

.page-home .resource-area__note a {
  color: var(--hb-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .resource-area__note a:hover {
  color: var(--hb-red);
}

/* ===== 桌面端布局 ===== */
@media (min-width: 900px) {
  .page-home .hero-cover {
    padding: 4.5rem 0 4rem;
  }

  .page-home .hero-cover__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }

  .page-home .hero-cover__media img {
    transform: rotate(-1.5deg) scale(1.02);
  }

  .page-home .data-board {
    padding: 5rem 0;
  }

  .page-home .data-board__layout {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .page-home .data-board__card {
    padding: 1.5rem 1.2rem 1.2rem;
  }

  .page-home .guide-index {
    padding: 5rem 0;
  }

  .page-home .guide-index__layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 3rem;
  }

  .page-home .guide-index__media {
    position: sticky;
    top: 2rem;
  }

  .page-home .upgrade-service {
    padding: 5.5rem 0 4rem;
  }

  .page-home .upgrade-service__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .page-home .resource-area {
    padding: 5rem 0;
  }

  .page-home .resource-area__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3rem;
  }

  .page-home .resource-area__list {
    grid-template-columns: 1fr 1fr;
  }
}
