/* ================= 页面基础 ================= */
.page-home {
  --home-hair: rgba(47, 54, 70, .9);
  --home-grid: rgba(47, 54, 70, .34);
  position: relative;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--home-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--home-grid) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .5) 40%, transparent 86%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .5) 40%, transparent 86%);
}

.page-home > * {
  position: relative;
  z-index: 1;
}

.page-home dl,
.page-home dt,
.page-home dd,
.page-home ol,
.page-home ul,
.page-home p,
.page-home h1,
.page-home h2,
.page-home h3 {
  margin: 0;
}

.page-home .blk {
  padding-top: clamp(46px, 5.8vw, 90px);
  padding-bottom: clamp(46px, 5.8vw, 90px);
}

.page-home .page-title-2 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ice);
}

.page-home .section-lede {
  max-width: 62ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--slate);
}

/* ================= 首屏框景 ================= */
.page-home .hero-frame {
  padding-top: clamp(18px, 2.6vw, 34px);
  padding-bottom: clamp(46px, 6vw, 88px);
}

.page-home .hero-frame__shell {
  position: relative;
  margin-top: clamp(16px, 2.2vw, 28px);
  padding: clamp(20px, 3vw, 44px);
  border: 1px solid var(--home-hair);
  background:
    radial-gradient(115% 90% at 100% 0%, rgba(255, 90, 31, .14), transparent 58%),
    linear-gradient(180deg, rgba(18, 22, 32, .92), rgba(10, 12, 16, .55));
}

.page-home .hero-frame__shell::before,
.page-home .hero-frame__shell::after {
  content: "";
  position: absolute;
  width: clamp(32px, 5vw, 60px);
  height: clamp(32px, 5vw, 60px);
  border: 2px solid var(--flame);
  pointer-events: none;
}

.page-home .hero-frame__shell::before {
  top: -1px;
  left: -1px;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.page-home .hero-frame__shell::after {
  right: -1px;
  bottom: -1px;
  border-left-color: transparent;
  border-top-color: transparent;
}

.page-home .hero-frame__rule {
  height: 7px;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  background-image: repeating-linear-gradient(to right, var(--steel) 0 1px, transparent 1px 10px);
  opacity: .85;
}

.page-home .hero-frame__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.2vw, 46px);
}

.page-home .hero-frame__title {
  margin-bottom: 18px;
  font-size: clamp(36px, 6.2vw, 74px);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--ice);
}

.page-home .hero-frame__lede {
  max-width: 52ch;
  margin-bottom: 26px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
  color: var(--slate);
}

.page-home .hero-frame__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(26px, 3.2vw, 42px);
  border-top: 1px solid var(--home-hair);
}

.page-home .hero-stats__item {
  padding: 16px 10px 2px 0;
  border-right: 1px solid var(--home-hair);
}

.page-home .hero-stats__item:last-child {
  border-right: 0;
}

.page-home .hero-stats__label {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--slate);
}

.page-home .hero-stats__num {
  margin-top: 6px;
  display: block;
  font-family: var(--mono);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--flame);
}

.page-home .hero-stats__unit {
  margin-left: 3px;
  font-size: 12px;
  font-weight: 400;
  color: var(--slate);
}

.page-home .hero-frame__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-hair);
  background: var(--char);
}

.page-home .hero-frame__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .pulse-card {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 13px 16px 15px;
  border-top: 1px solid var(--flame);
  background: linear-gradient(to top, rgba(10, 12, 16, .97), rgba(10, 12, 16, .72));
}

.page-home .pulse-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-home .pulse-card__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ice);
}

.page-home .pulse-card__meta {
  font-size: 11px;
  color: var(--neon);
}

.page-home .pulse {
  display: block;
  width: 100%;
  height: 40px;
  margin: 8px 0 6px;
}

.page-home .pulse-card__note {
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--slate);
}

/* ================= 更新记录时间线 ================= */
.page-home .updates {
  border-top: 1px solid var(--home-hair);
}

.page-home .updates__head {
  max-width: 68ch;
  margin-bottom: clamp(30px, 3.6vw, 52px);
}

.page-home .updates__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3.4vw, 48px);
}

.page-home .timeline {
  position: relative;
  padding: 0 0 0 28px;
  list-style: none;
  border-left: 1px solid var(--steel);
}

.page-home .timeline__item {
  position: relative;
  padding-bottom: clamp(24px, 3vw, 38px);
}

.page-home .timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -33px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, .16);
}

.page-home .timeline__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.page-home .timeline__year {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--flame);
}

.page-home .timeline__title {
  margin-bottom: 7px;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ice);
}

.page-home .timeline__text {
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--slate);
}

.page-home .updates__aside img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--home-hair);
  background: var(--char);
}

.page-home .aside-note {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--flame-deep);
  font-size: 13px;
  line-height: 1.75;
  color: var(--slate);
}

/* ================= 选手数据选择 ================= */
.page-home .data-pick {
  border-top: 1px solid var(--home-hair);
  background:
    radial-gradient(80% 60% at 0% 100%, rgba(45, 156, 255, .1), transparent 62%);
}

.page-home .data-pick__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3.4vw, 48px);
}

.page-home .dims {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(22px, 2.6vw, 32px) 0 clamp(20px, 2.4vw, 28px);
}

.page-home .dim {
  appearance: none;
  padding: 9px 15px;
  border: 1px solid var(--steel);
  background: rgba(18, 22, 32, .85);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--slate);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .dim:hover {
  border-color: var(--slate);
  color: var(--ice);
}

.page-home .dim[aria-pressed="true"] {
  border-color: var(--data);
  background: rgba(45, 156, 255, .16);
  color: var(--ice);
}

.page-home .dim--playoff[aria-pressed="true"] {
  border-color: var(--neon);
  background: var(--neon);
  color: var(--ink);
  font-weight: 700;
}

.page-home .cap-list {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 2.8vw, 34px);
  padding: 0;
  list-style: none;
}

.page-home .cap-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .cap-list li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 11px;
  height: 1px;
  background: var(--data);
}

.page-home .data-pick__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--home-hair);
  background: var(--char);
}

/* ================= 会员权益 ================= */
.page-home .member {
  border-top: 1px solid var(--home-hair);
}

.page-home .member__head {
  max-width: 66ch;
  margin-bottom: clamp(28px, 3.4vw, 46px);
}

.page-home .tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--home-hair);
  background: var(--home-hair);
}

.page-home .tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--char);
}

.page-home .tier--hot {
  background: linear-gradient(160deg, rgba(255, 90, 31, .17), var(--char) 64%);
}

.page-home .tier--hot::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--flame), transparent);
}

.page-home .tier__idx {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--flame);
}

.page-home .tier__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ice);
}

.page-home .tier__desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
}

.page-home .member__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(22px, 2.6vw, 32px);
  padding-top: clamp(18px, 2.2vw, 26px);
  border-top: 1px solid var(--home-hair);
}

.page-home .member__note {
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
}

/* ================= 季后赛评测 ================= */
.page-home .reviews {
  border-top: 1px solid var(--home-hair);
}

.page-home .reviews__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.2vw, 46px);
}

.page-home .reviews__media {
  position: relative;
  margin: 0;
  border: 1px solid var(--home-hair);
  background: var(--char);
}

.page-home .reviews__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .quotes {
  display: grid;
  gap: 18px;
  margin: clamp(22px, 2.6vw, 30px) 0 clamp(20px, 2.4vw, 26px);
  padding: 0;
  list-style: none;
}

.page-home .quotes li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .quotes li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .quotes__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--neon);
  padding-top: 3px;
}

.page-home .quotes p {
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.page-home .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

/* ================= 合作与信任 ================= */
.page-home .connect {
  border-top: 1px solid var(--home-hair);
}

.page-home .connect__panel {
  position: relative;
  padding: clamp(24px, 3.2vw, 46px);
  border: 1px solid rgba(255, 90, 31, .34);
  background:
    radial-gradient(110% 120% at 0% 0%, rgba(255, 90, 31, .16), transparent 60%),
    linear-gradient(180deg, var(--char-2), var(--ink));
}

.page-home .connect__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 3.2vw, 46px);
  width: clamp(60px, 9vw, 120px);
  height: 2px;
  background: var(--flame);
}

.page-home .connect__head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 3.2vw, 40px);
}

.page-home .trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(26px, 3.2vw, 40px);
  border: 1px solid var(--home-hair);
  background: var(--home-hair);
}

.page-home .trust__item {
  padding: clamp(16px, 2vw, 22px);
  background: rgba(10, 12, 16, .72);
}

.page-home .trust__item dt {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--slate);
}

.page-home .trust__item dd {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ice);
}

.page-home .trust__item dd span {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--flame);
}

.page-home .connect__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--home-hair);
}

.page-home .connect__contact p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--slate);
}

.page-home .connect__contact .num {
  margin-left: 8px;
  color: var(--ice);
  letter-spacing: .01em;
}

.page-home .connect__note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--slate);
  opacity: .85;
}

.page-home .connect__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ================= 焦点与动效 ================= */
.page-home .dim:focus-visible,
.page-home a:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ================= 平板 ================= */
@media (min-width: 680px) {
  .page-home .tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* ================= 桌面 ================= */
@media (min-width: 960px) {
  .page-home .hero-frame__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .updates__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .data-pick__layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: center;
  }

  .page-home .reviews__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

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

  .page-home .updates__aside {
    position: sticky;
    top: calc(var(--bar-h) + 28px);
  }
}

@media (min-width: 1200px) {
  .page-home .hero-frame__layout {
    gap: clamp(40px, 4vw, 64px);
  }
}

/* ================= 窄屏兜底 ================= */
@media (max-width: 420px) {
  .page-home .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .hero-stats__item:nth-child(2) {
    border-right: 0;
  }

  .page-home .hero-stats__item:nth-child(3) {
    padding-top: 14px;
    border-top: 1px solid var(--home-hair);
  }

  .page-home .quotes li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .page-home .member__foot,
  .page-home .connect__foot {
    flex-direction: column;
    align-items: stretch;
  }
}
