/* ================= 首页 page-home ================= */

.page-home {
  --ph-line: rgba(233, 238, 246, 0.14);
  --ph-num-size: clamp(38px, 9.4vw, 74px);
  display: block;
  color: var(--wk-text);
  background:
    radial-gradient(920px 480px at 84% -8%, rgba(255, 106, 26, 0.17), transparent 62%),
    radial-gradient(700px 420px at 2% 34%, rgba(127, 212, 240, 0.08), transparent 62%),
    var(--wk-ink);
  overflow-x: hidden;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

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

.page-home ol,
.page-home ul {
  list-style: none;
}

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

.page-home .ph-h2 {
  font-size: clamp(23px, 3.2vw, 32px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--wk-text);
}

/* ---------- 首屏 ---------- */

.page-home .ph-hero {
  position: relative;
  padding: clamp(22px, 3.6vw, 40px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}

.page-home .ph-hero::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  top: 5%;
  height: 560px;
  background: linear-gradient(100deg,
    transparent 32%,
    rgba(255, 106, 26, 0.30) 46%,
    rgba(216, 169, 59, 0.36) 55%,
    transparent 70%);
  transform: rotate(-7deg);
  filter: blur(3px);
  opacity: 0.72;
  pointer-events: none;
}

.page-home .ph-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.page-home .ph-hero__crumbs {
  margin-bottom: 14px;
}

.page-home .ph-hero__title {
  font-size: clamp(34px, 7.4vw, 60px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 40px rgba(255, 106, 26, 0.28), 0 1px 0 rgba(216, 169, 59, 0.4);
}

.page-home .ph-hero__lede {
  max-width: 46ch;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.66;
  color: rgba(233, 238, 246, 0.8);
}

.page-home .ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .ph-hero__board {
  padding: 18px 18px 6px;
  border: 1px solid var(--ph-line);
  border-radius: var(--wk-radius);
  background: linear-gradient(160deg, rgba(20, 28, 38, 0.97), rgba(14, 42, 49, 0.9));
  box-shadow:
    0 34px 80px -48px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-home .ph-board__caption {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--wk-ice);
}

.page-home .ph-board__caption::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wk-neon);
  box-shadow: 0 0 10px var(--wk-neon);
}

.page-home .ph-score {
  padding: 15px 2px 14px;
  border-top: 1px solid var(--ph-line);
}

.page-home .ph-score:first-child {
  border-top: 0;
}

.page-home .ph-score__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(233, 238, 246, 0.56);
}

.page-home .ph-score--fresh .ph-score__meta {
  color: var(--wk-neon);
}

.page-home .ph-score__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
}

.page-home .ph-score__team {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(233, 238, 246, 0.9);
}

.page-home .ph-score__line > .ph-score__team:last-child {
  text-align: right;
}

.page-home .ph-score__num {
  font-family: var(--wk-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--ph-num-size);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.page-home .ph-score--fresh .ph-score__num {
  color: var(--wk-neon);
  text-shadow: 0 0 28px rgba(77, 255, 158, 0.35);
}

.page-home .ph-score__dash {
  font-family: var(--wk-mono);
  font-size: 20px;
  color: var(--wk-gold);
}

.page-home .ph-score__note {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(233, 238, 246, 0.62);
}

.page-home .ph-hero__stage {
  position: relative;
  min-height: 240px;
  border: 1px solid var(--ph-line);
  border-radius: var(--wk-radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--wk-indigo), var(--wk-deep));
}

.page-home .ph-hero__stage img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(1.08) contrast(1.04);
}

.page-home .ph-hero__notes {
  display: none;
  position: absolute;
  top: 16px;
  right: 12px;
  bottom: 16px;
  gap: 13px;
  align-items: flex-start;
}

.page-home .ph-note {
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(233, 238, 246, 0.74);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

/* ---------- 栏目索引板 ---------- */

.page-home .ph-index {
  padding: clamp(46px, 6.5vw, 82px) 0;
  background: linear-gradient(180deg,
    transparent,
    rgba(14, 42, 49, 0.45) 34%,
    rgba(14, 42, 49, 0.45) 66%,
    transparent);
}

.page-home .ph-index__head {
  max-width: 62ch;
  margin-bottom: 24px;
}

.page-home .ph-index__head::before {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--wk-lava), var(--wk-gold));
}

.page-home .ph-index__sub {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(233, 238, 246, 0.62);
}

.page-home .ph-index__grid {
  align-items: stretch;
}

.page-home .ph-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 196px;
  padding: 22px 20px;
  overflow: hidden;
  border-radius: var(--wk-radius);
  text-decoration: none;
  color: var(--wk-text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .ph-tile:hover,
.page-home .ph-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    0 28px 60px -34px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 106, 26, 0.42);
}

.page-home .ph-tile__num {
  font-family: var(--wk-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--wk-gold);
}

.page-home .ph-tile__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-home .ph-tile--lead .ph-tile__title {
  font-size: clamp(26px, 4vw, 32px);
}

.page-home .ph-tile__desc {
  font-size: 14px;
  line-height: 1.62;
  color: rgba(233, 238, 246, 0.74);
}

.page-home .ph-tile__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: rgba(233, 238, 246, 0.56);
}

.page-home .ph-tile__facts li {
  position: relative;
  padding-left: 12px;
}

.page-home .ph-tile__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wk-ice);
}

.page-home .ph-tile__go {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--wk-lava);
}

.page-home .ph-tile:hover .ph-tile__go {
  color: var(--wk-neon);
}

/* ---------- 最近两场战报 ---------- */

.page-home .ph-reports {
  padding: clamp(46px, 6.5vw, 82px) 0;
}

.page-home .ph-reports__head {
  max-width: 60ch;
  margin-bottom: 26px;
}

.page-home .ph-reports__sub {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(233, 238, 246, 0.62);
}

.page-home .ph-reports__list {
  display: grid;
  gap: 22px;
}

.page-home .ph-report {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ph-line);
  border-radius: var(--wk-radius);
  overflow: hidden;
  background: linear-gradient(168deg, rgba(20, 28, 38, 0.98), rgba(10, 16, 23, 0.98));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .ph-report::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(233, 238, 246, 0.24);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.page-home .ph-report:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px -36px rgba(255, 106, 26, 0.5);
}

.page-home .ph-report:hover::after {
  background: var(--wk-neon);
  box-shadow: 0 0 12px var(--wk-neon);
}

.page-home .ph-report__fig {
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: linear-gradient(140deg, var(--wk-wine), var(--wk-indigo));
}

.page-home .ph-report__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.5s ease;
}

.page-home .ph-report:hover .ph-report__fig img {
  transform: scale(1.04);
}

.page-home .ph-report__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 20px 22px;
}

.page-home .ph-report__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--wk-ice);
}

.page-home .ph-report__score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--wk-mono);
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.page-home .ph-report__score em {
  font-style: normal;
  font-size: 18px;
  color: var(--wk-gold);
}

.page-home .ph-report__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .ph-report__text {
  font-size: 14px;
  line-height: 1.66;
  color: rgba(233, 238, 246, 0.68);
}

.page-home .ph-report__link {
  align-self: flex-start;
  margin-top: 4px;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wk-lava);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 26, 0.45);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.page-home .ph-report__link:hover {
  color: var(--wk-neon);
  border-color: var(--wk-neon);
}

/* ---------- 通勤场景 ---------- */

.page-home .ph-commute {
  padding: clamp(46px, 6.5vw, 82px) 0;
}

.page-home .ph-commute__inner {
  display: grid;
  gap: 26px;
  align-items: center;
}

.page-home .ph-commute__text {
  max-width: 52ch;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(233, 238, 246, 0.72);
}

.page-home .ph-commute__list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.page-home .ph-commute__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(233, 238, 246, 0.7);
}

.page-home .ph-commute__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(140deg, var(--wk-lava), var(--wk-gold));
}

.page-home .ph-commute__list strong {
  font-weight: 700;
  color: var(--wk-text);
}

.page-home .ph-commute__copy .wk-btn {
  margin-top: 24px;
}

.page-home .ph-commute__fig {
  position: relative;
  border: 1px solid var(--ph-line);
  border-radius: var(--wk-radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--wk-deep), var(--wk-indigo));
}

.page-home .ph-commute__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.page-home .ph-commute__fig::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(10, 16, 23, 0.85), transparent);
  pointer-events: none;
}

/* ---------- 赛季节奏条 ---------- */

.page-home .ph-season {
  padding: clamp(46px, 6.5vw, 82px) 0 clamp(60px, 8vw, 100px);
}

.page-home .ph-season__bar {
  display: grid;
  gap: 26px;
  padding: clamp(24px, 3.6vw, 38px);
  border: 1px solid var(--ph-line);
  border-radius: calc(var(--wk-radius) + 4px);
  background: linear-gradient(135deg,
    rgba(92, 27, 43, 0.5),
    rgba(14, 42, 49, 0.72) 52%,
    rgba(20, 28, 38, 0.95));
  box-shadow: 0 40px 90px -56px rgba(0, 0, 0, 0.95);
}

.page-home .ph-season__lead p {
  max-width: 46ch;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(233, 238, 246, 0.72);
}

.page-home .ph-season__btn {
  margin-top: 22px;
}

.page-home .ph-season__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-home .ph-stat {
  padding-left: 14px;
  border-left: 2px solid rgba(216, 169, 59, 0.5);
}

.page-home .ph-stat dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(233, 238, 246, 0.58);
}

.page-home .ph-stat dd {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--wk-text);
}

.page-home .ph-stat__num {
  margin-right: 4px;
  font-family: var(--wk-mono);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 700;
  color: var(--wk-gold);
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .page-home .ph-hero__notes {
    display: flex;
  }

  .page-home .ph-hero__stage {
    min-height: 300px;
  }

  .page-home .ph-hero__stage img {
    min-height: 300px;
  }

  .page-home .ph-commute__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 32px;
  }

  .page-home .ph-season__bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 32px;
  }

  .page-home .ph-season__stats {
    gap: 22px 26px;
  }
}

@media (min-width: 860px) {
  .page-home .ph-reports__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
  }

  .page-home .ph-report:nth-child(2) {
    margin-top: 52px;
  }
}

@media (min-width: 960px) {
  .page-home .ph-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas:
      "copy stage"
      "board stage";
    gap: 24px 32px;
  }

  .page-home .ph-hero__copy {
    grid-area: copy;
  }

  .page-home .ph-hero__board {
    grid-area: board;
  }

  .page-home .ph-hero__stage {
    grid-area: stage;
    align-self: stretch;
    min-height: 420px;
  }

  .page-home .ph-hero__stage img {
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-tile,
  .page-home .ph-report,
  .page-home .ph-report__fig img {
    transition: none;
  }

  .page-home .ph-tile:hover,
  .page-home .ph-tile:focus-visible,
  .page-home .ph-report:hover {
    transform: none;
  }

  .page-home .ph-report:hover .ph-report__fig img {
    transform: none;
  }
}
