.page-home {
  --hm-gap: clamp(1.75rem, 4vw, 3.5rem);
  --hm-soft: rgba(14, 47, 74, 0.72);
  --hm-line-soft: rgba(138, 154, 168, 0.18);
  background: var(--bf-deep-900);
  color: var(--bf-ice-50);
  font-family: var(--bf-font-body);
  overflow-x: hidden;
  padding-bottom: 3rem;
}

.page-home .hm-crumbs {
  max-width: var(--bf-max);
  margin: 0 auto;
  padding: 1.25rem var(--bf-gutter) 0.5rem;
  font-size: 0.8125rem;
  color: var(--bf-rock-400);
}

.page-home .bf-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .bf-crumbs__list > li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--bf-rock-400);
}

.page-home .hm-crumbs a {
  color: var(--bf-rock-400);
  text-decoration: none;
  transition: color var(--bf-ease);
}

.page-home .hm-crumbs a:hover {
  color: var(--bf-cyan-500);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 3rem) var(--bf-gutter) clamp(2.5rem, 7vw, 4.5rem);
  border-bottom: 1px solid var(--hm-line-soft);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 78%;
  height: 150%;
  background: linear-gradient(155deg, rgba(43, 227, 198, 0.16), rgba(7, 26, 43, 0) 62%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hm-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -30%;
  width: 46%;
  height: 90%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 107, 74, 0.16), transparent 68%);
  pointer-events: none;
}

.page-home .hm-hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hm-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

.page-home .hm-hero__grid {
  position: relative;
  z-index: 1;
  max-width: var(--bf-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.25rem);
}

.page-home .hm-lead__kicker {
  margin: 0 0 0.875rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bf-cyan-500);
}

.page-home .hm-lead__title {
  margin: 0;
  font-family: var(--bf-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--bf-cream-100);
  max-width: 18ch;
}

.page-home .hm-lead__sub {
  margin: 1rem 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--bf-ice-50);
}

.page-home .hm-anchors {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.page-home .hm-anchor {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  padding: 0.8125rem 0.875rem;
  border: 1px solid var(--bf-line-cyan);
  border-radius: 12px;
  background: rgba(14, 47, 74, 0.6);
  text-decoration: none;
  color: var(--bf-ice-50);
  transition: border-color var(--bf-ease), transform var(--bf-ease), background var(--bf-ease);
}

.page-home .hm-anchor:hover,
.page-home .hm-anchor:focus-visible {
  border-color: var(--bf-cyan-500);
  background: rgba(14, 47, 74, 0.95);
  transform: translateY(-2px);
}

.page-home .hm-anchor__idx {
  font-size: 0.75rem;
  color: var(--bf-coral-500);
}

.page-home .hm-anchor__label {
  font-family: var(--bf-font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-home .hm-anchor__note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--bf-rock-400);
}

.page-home .hm-dash {
  position: relative;
  padding: 1.25rem 1.25rem 1.375rem;
  border: 1px solid var(--bf-line-cyan);
  border-radius: var(--bf-radius);
  background: linear-gradient(168deg, rgba(14, 47, 74, 0.96), rgba(3, 11, 18, 0.9));
  box-shadow: 0 18px 40px rgba(3, 11, 18, 0.45);
  align-self: start;
}

.page-home .hm-dash__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--bf-rock-400);
}

.page-home .hm-dash__ver {
  margin: 0.25rem 0 1rem;
  font-size: clamp(2rem, 8vw, 2.6rem);
  line-height: 1;
  color: var(--bf-coral-500);
  letter-spacing: -0.01em;
}

.page-home .hm-dash__list {
  list-style: none;
  margin: 0 0 1.125rem;
  padding: 0;
  border-top: 1px solid var(--hm-line-soft);
}

.page-home .hm-dash__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--hm-line-soft);
  font-size: 0.875rem;
}

.page-home .hm-dash__key {
  color: var(--bf-rock-400);
}

.page-home .hm-dash__val {
  color: var(--bf-ice-50);
}

.page-home .hm-dash__cta {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--bf-cyan-500);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--bf-ease), color var(--bf-ease);
}

.page-home .hm-dash__cta:hover {
  border-color: var(--bf-cyan-500);
}

/* ---------- 页内索引 ---------- */
.page-home .hm-jump {
  max-width: var(--bf-max);
  margin: 0 auto;
  padding: 0 var(--bf-gutter);
}

.page-home .hm-jump__list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--hm-line-soft);
}

.page-home .hm-jump__list::-webkit-scrollbar {
  display: none;
}

.page-home .hm-jump a {
  display: inline-block;
  white-space: nowrap;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--hm-line-soft);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--bf-rock-400);
  text-decoration: none;
  transition: color var(--bf-ease), border-color var(--bf-ease), background var(--bf-ease);
}

.page-home .hm-jump a:hover,
.page-home .hm-jump a[aria-current="true"] {
  color: var(--bf-cyan-500);
  border-color: var(--bf-cyan-500);
  background: rgba(43, 227, 198, 0.08);
}

/* ---------- 通用章节 ---------- */
.page-home .hm-sec {
  position: relative;
  padding: clamp(2.25rem, 6vw, 4.5rem) var(--bf-gutter);
}

.page-home .hm-sec__inner {
  max-width: var(--bf-max);
  margin: 0 auto;
}

.page-home .hm-sec__head {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.page-home .bf-secnum {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.page-home .bf-secnum__index {
  font-size: 0.875rem;
  color: var(--bf-cyan-500);
  border: 1px solid var(--bf-line-cyan);
  border-radius: 6px;
  padding: 0.125rem 0.375rem;
}

.page-home .bf-secnum__title {
  margin: 0;
  font-family: var(--bf-font-display);
  font-size: clamp(1.375rem, 4.2vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--bf-cream-100);
}

.page-home .hm-sec__lede {
  margin: 0.75rem 0 0;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--bf-rock-400);
}

/* ---------- 01 赛程与费用 ---------- */
.page-home .hm-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.page-home .hm-fixtures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}

.page-home .hm-fixture {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 0.875rem;
  align-items: center;
  padding: 0.875rem 1rem;
  border: 1px solid var(--hm-line-soft);
  border-left: 2px solid var(--bf-cyan-500);
  border-radius: 12px;
  background: var(--hm-soft);
  text-decoration: none;
  color: var(--bf-ice-50);
  transition: border-color var(--bf-ease), transform var(--bf-ease), background var(--bf-ease);
}

.page-home .hm-fixture:hover {
  border-color: var(--bf-cyan-500);
  transform: translateX(3px);
  background: rgba(14, 47, 74, 0.95);
}

.page-home .hm-fixture__time {
  font-size: 1rem;
  color: var(--bf-cyan-500);
  align-self: start;
}

.page-home .hm-fixture__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.page-home .hm-fixture__name {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.page-home .hm-fixture__meta {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--bf-rock-400);
}

.page-home .hm-fixture .bf-tag {
  grid-column: 2;
  justify-self: start;
  font-size: 0.6875rem;
}

.page-home .hm-side {
  display: grid;
  gap: 1rem;
}

.page-home .hm-pricetag {
  display: block;
  padding: 1rem 1.125rem;
  border: 1px solid rgba(255, 107, 74, 0.42);
  border-radius: 12px;
  background: rgba(255, 107, 74, 0.1);
  text-decoration: none;
  color: var(--bf-cream-100);
  transition: transform var(--bf-ease), box-shadow var(--bf-ease), background var(--bf-ease);
}

.page-home .hm-pricetag:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(3, 11, 18, 0.5);
  background: rgba(255, 107, 74, 0.18);
}

.page-home .hm-pricetag__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--bf-coral-500);
}

.page-home .hm-pricetag__val {
  display: block;
  margin: 0.25rem 0 0.375rem;
  font-size: 1.5rem;
  color: var(--bf-cream-100);
}

.page-home .hm-pricetag__hint {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--bf-rock-400);
}

.page-home .hm-sideart {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hm-line-soft);
}

.page-home .hm-sideart img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-home .hm-sideart figcaption {
  padding: 0.625rem 0.8125rem;
  font-size: 0.75rem;
  color: var(--bf-rock-400);
  background: var(--bf-deep-700);
}

.page-home .hm-panel {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hm-line-soft);
  border: 1px solid var(--hm-line-soft);
  border-radius: 12px;
  overflow: hidden;
}

.page-home .hm-panel__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.875rem 1rem;
  background: var(--bf-deep-700);
}

.page-home .hm-panel__num {
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--bf-cyan-500);
}

.page-home .hm-panel__lab {
  font-size: 0.75rem;
  color: var(--bf-rock-400);
}

/* ---------- 02 小屏登录 ---------- */
.page-home .hm-sec--mobile {
  background: linear-gradient(180deg, rgba(14, 47, 74, 0.55), rgba(7, 26, 43, 0));
  border-top: 1px solid var(--hm-line-soft);
  border-bottom: 1px solid var(--hm-line-soft);
}

.page-home .hm-mobile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.page-home .hm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

.page-home .hm-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.page-home .hm-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid var(--bf-cyan-500);
  color: var(--bf-cyan-500);
  font-size: 0.8125rem;
}

.page-home .hm-step__t {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--bf-ice-50);
}

.page-home .hm-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--bf-cyan-500);
  text-decoration: none;
  border-bottom: 1px solid var(--bf-line-cyan);
  padding-bottom: 2px;
  transition: border-color var(--bf-ease), color var(--bf-ease);
}

.page-home .hm-link:hover {
  border-color: var(--bf-cyan-500);
}

.page-home .hm-mobile__art {
  margin: 0;
  border-radius: var(--bf-radius);
  overflow: hidden;
  border: 1px solid var(--bf-line-cyan);
}

.page-home .hm-mobile__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- 03 版本更新 ---------- */
.page-home .hm-sec--release {
  overflow: hidden;
}

.page-home .hm-release__art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hm-release__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-home .hm-release__body {
  position: relative;
  z-index: 1;
  max-width: var(--bf-max);
  margin: 0 auto;
}

.page-home .hm-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

.page-home .hm-note {
  padding: 1rem 1.125rem;
  border: 1px solid var(--hm-line-soft);
  border-radius: 12px;
  background: rgba(3, 11, 18, 0.72);
  transition: border-color var(--bf-ease);
}

.page-home .hm-note:hover {
  border-color: var(--bf-coral-500);
}

.page-home .hm-note__title {
  margin: 0.5rem 0 0.375rem;
  font-family: var(--bf-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bf-cream-100);
}

.page-home .hm-note__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--bf-rock-400);
}

.page-home .hm-release__foot {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--bf-rock-400);
}

.page-home .hm-release__foot a {
  color: var(--bf-cyan-500);
  text-decoration: none;
  border-bottom: 1px solid var(--bf-line-cyan);
}

/* ---------- 04 费用速查 ---------- */
.page-home .hm-feetags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.page-home .hm-feetag {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  height: 100%;
  padding: 1rem 1.125rem;
  border: 1px solid rgba(255, 107, 74, 0.38);
  border-radius: 12px;
  background: rgba(255, 107, 74, 0.07);
  text-decoration: none;
  color: var(--bf-ice-50);
  transition: transform var(--bf-ease), background var(--bf-ease), border-color var(--bf-ease);
}

.page-home .hm-feetag:hover {
  transform: translateY(-3px);
  background: rgba(255, 107, 74, 0.16);
  border-color: var(--bf-coral-500);
}

.page-home .hm-feetag__name {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--bf-coral-500);
}

.page-home .hm-feetag__price {
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--bf-cream-100);
}

.page-home .hm-feetag__desc {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--bf-rock-400);
}

.page-home .hm-fees__note {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--bf-rock-400);
}

.page-home .hm-fees__note a {
  color: var(--bf-cyan-500);
  text-decoration: none;
  border-bottom: 1px solid var(--bf-line-cyan);
}

/* ---------- 05 专题 ---------- */
.page-home .hm-topicgrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.page-home .hm-topic {
  display: block;
  height: 100%;
  padding: 1rem 1.125rem;
  border: 1px solid var(--hm-line-soft);
  border-radius: 12px;
  background: var(--hm-soft);
  text-decoration: none;
  color: var(--bf-ice-50);
  transition: border-color var(--bf-ease), transform var(--bf-ease);
}

.page-home .hm-topic:hover {
  border-color: var(--bf-cyan-500);
  transform: translateY(-2px);
}

.page-home .hm-topic__num {
  font-size: 0.75rem;
  color: var(--bf-clay-500);
}

.page-home .hm-topic__name {
  margin: 0.375rem 0 0.25rem;
  font-family: var(--bf-font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bf-cream-100);
}

.page-home .hm-topic__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--bf-rock-400);
}

.page-home .hm-topic--lib {
  border-color: rgba(95, 140, 106, 0.5);
  background: rgba(95, 140, 106, 0.12);
}

.page-home .hm-trust {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hm-line-soft);
  display: grid;
  gap: 0.75rem;
}

.page-home .hm-trust__text {
  margin: 0;
  max-width: 66ch;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--bf-rock-400);
}

.page-home .hm-trust .hm-link {
  margin-top: 0;
  justify-self: start;
}

/* ---------- 悬浮小屏入口 ---------- */
.page-home .hm-float {
  position: fixed;
  right: 0.875rem;
  bottom: 0.875rem;
  z-index: 20;
  padding: 0.5625rem 0.875rem;
  border-radius: 999px;
  border: 1px solid var(--bf-cyan-500);
  background: rgba(3, 11, 18, 0.92);
  color: var(--bf-cyan-500);
  font-size: 0.8125rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(3, 11, 18, 0.55);
  transition: background var(--bf-ease), color var(--bf-ease);
}

.page-home .hm-float:hover {
  background: var(--bf-cyan-500);
  color: var(--bf-deep-900);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .hm-fixture {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .page-home .hm-fixture .bf-tag {
    grid-column: 3;
    justify-self: end;
  }

  .page-home .hm-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .hm-topicgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .hm-feetags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .hm-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home {
    padding-bottom: 4rem;
  }

  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .page-home .hm-anchors {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .hm-dash {
    margin-top: 2.5rem;
    position: sticky;
    top: 6rem;
  }

  .page-home .hm-board {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 1.75rem;
    align-items: start;
  }

  .page-home .hm-mobile {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 2.5rem;
    align-items: center;
  }

  .page-home .hm-topicgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .hm-trust {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
  }

  .page-home .hm-float {
    right: 1.75rem;
    bottom: 1.75rem;
  }
}

@media (min-width: 1180px) {
  .page-home .hm-lead__title {
    max-width: 20ch;
  }

  .page-home .hm-fixture {
    padding: 1rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-anchor,
  .page-home .hm-fixture,
  .page-home .hm-pricetag,
  .page-home .hm-feetag,
  .page-home .hm-topic,
  .page-home .hm-float {
    transition: none;
  }

  .page-home .hm-anchor:hover,
  .page-home .hm-fixture:hover,
  .page-home .hm-pricetag:hover,
  .page-home .hm-feetag:hover,
  .page-home .hm-topic:hover {
    transform: none;
  }
}
