/* ==========================================================
   178赛事通 · 首页 page-home
   ========================================================== */

.page-home {
  --ph-gap: clamp(16px, 2.4vw, 28px);
  --ph-card-bg: rgba(27, 74, 60, .34);
  --ph-card-bg-2: rgba(10, 21, 36, .62);
  background: var(--ink-900);
  padding-top: var(--header-h);
  color: var(--white);
}

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

.page-home .ph-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 44px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(27, 74, 60, .85) 0%, rgba(10, 21, 36, 0) 62%),
    linear-gradient(168deg, var(--ink-900) 0%, var(--ink-800) 52%, var(--ink-900) 100%);
}

.page-home .ph-hero::before {
  content: "";
  position: absolute;
  top: 12%;
  left: -18%;
  width: 58%;
  height: 88%;
  background: var(--ink-700);
  border-radius: 50%;
  filter: blur(90px);
  opacity: .42;
  pointer-events: none;
}

.page-home .ph-hero__slash {
  position: absolute;
  right: -10%;
  bottom: -46px;
  width: 68%;
  height: 96px;
  background: var(--ember);
  opacity: .16;
  transform: rotate(-3.2deg);
  pointer-events: none;
}

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

.page-home .ph-hero__copy .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.page-home .ph-hero__copy .lede {
  margin-top: 18px;
  max-width: 46ch;
}

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

.page-home .ph-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .ph-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .ph-hero__facts-k {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--haze);
}

.page-home .ph-hero__facts-v {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.page-home .ph-hero__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  background: var(--ink-700);
}

.page-home .ph-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .86;
}

.page-home .ph-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(198deg, rgba(10, 21, 36, 0) 38%, rgba(10, 21, 36, .78) 100%);
  pointer-events: none;
}

.page-home .ph-hero__cap {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--amber);
}

/* ---------- 第二栏 · 重点场次 ---------- */

.page-home .ph-board {
  background: var(--ink-900);
  position: relative;
}

.page-home .ph-board::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--ember), rgba(255, 122, 26, 0) 62%);
  opacity: .5;
}

.page-home .ph-board__head {
  display: grid;
  gap: 24px;
  align-items: start;
}

.page-home .ph-board__lead .lede {
  margin-top: 14px;
  max-width: 44ch;
}

.page-home .ph-board__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-700);
  max-width: 220px;
}

.page-home .ph-board__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: .8;
}

.page-home .ph-board__list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .ph-board__item {
  position: relative;
  padding: 18px 16px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(178deg, var(--ph-card-bg), var(--ph-card-bg-2));
  transition: transform .28s var(--ease), border-color .28s var(--ease);
}

.page-home .ph-board__item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  border-radius: 2px;
  background: var(--ember);
  opacity: .75;
}

.page-home .ph-board__item:hover,
.page-home .ph-board__item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, .48);
}

.page-home .ph-board__item .card__title {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.4;
}

.page-home .ph-board__item .card__meta {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--white-72);
}

.page-home .ph-board__path {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--haze);
  overflow: hidden;
  transition: color .24s var(--ease);
}

/* ---------- 时间轴 + 转会流 ---------- */

.page-home .ph-track {
  background:
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 46%, var(--ink-900) 100%);
}

.page-home .ph-track__intro .lede {
  margin-top: 14px;
  max-width: 58ch;
}

.page-home .ph-track__banner {
  margin: 30px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-700);
}

.page-home .ph-track__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 32 / 9;
  object-fit: cover;
  opacity: .72;
}

.page-home .ph-timeline {
  position: relative;
  list-style: none;
  margin: 36px 0 0;
  padding: 0 0 0 34px;
}

.page-home .ph-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--ember) 0%, var(--ink-700) 68%, rgba(27, 74, 60, 0) 100%);
}

.page-home .ph-timeline__item {
  position: relative;
  padding-bottom: 26px;
}

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

.page-home .ph-timeline__item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, .13);
}

.page-home .ph-timeline__day {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--amber);
}

.page-home .ph-timeline__title {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.page-home .ph-timeline__meta {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--white-72);
}

.page-home .ph-timeline__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ember);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 26, .4);
  padding-bottom: 2px;
  transition: border-color .24s var(--ease), color .24s var(--ease);
}

.page-home .ph-timeline__link:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.page-home .ph-transfers {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.page-home .ph-transfers__head .h3 {
  margin: 0;
}

.page-home .ph-transfers__note {
  margin: 10px 0 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--white-72);
}

.page-home .ph-transfers__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(238px, 78%);
  gap: 14px;
  margin-top: 22px;
  padding-bottom: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .ph-transfers__rail::-webkit-scrollbar {
  height: 4px;
}

.page-home .ph-transfers__rail::-webkit-scrollbar-thumb {
  background: rgba(255, 122, 26, .4);
  border-radius: 4px;
}

.page-home .ph-transfer {
  scroll-snap-align: start;
  padding: 18px 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(176deg, rgba(27, 74, 60, .38), rgba(10, 21, 36, .68));
  transition: transform .28s var(--ease), border-color .28s var(--ease);
}

.page-home .ph-transfer:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 69, 111, .45);
}

.page-home .ph-transfer__fig {
  margin: 0 0 14px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-700);
}

.page-home .ph-transfer__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: .78;
}

.page-home .ph-transfer__title {
  margin: 12px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.page-home .ph-transfer__meta {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--haze);
}

/* ---------- 稳定版板块 ---------- */

.page-home .ph-stable {
  background: var(--paper);
  color: var(--ink-900);
  position: relative;
  overflow: hidden;
}

.page-home .ph-stable::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: 46%;
  height: 140%;
  background: rgba(16, 49, 41, .07);
  transform: rotate(9deg);
  pointer-events: none;
}

.page-home .ph-stable__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.page-home .ph-stable .eyebrow {
  color: rgba(16, 49, 41, .55);
}

.page-home .ph-stable .h2 {
  color: var(--ink-900);
  margin-top: 12px;
}

.page-home .ph-stable .lede {
  color: rgba(10, 21, 36, .72);
  margin-top: 16px;
  max-width: 58ch;
}

.page-home .ph-stable__list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-home .ph-stable__list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 21, 36, .12);
}

.page-home .ph-stable__k {
  font-size: 20px;
  font-weight: 600;
  color: #BF5A0F;
  letter-spacing: .04em;
}

.page-home .ph-stable__list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(10, 21, 36, .8);
}

.page-home .ph-stable__list strong {
  color: var(--ink-900);
  font-weight: 700;
}

.page-home .ph-stable .btn {
  margin-top: 34px;
  border-color: rgba(10, 21, 36, .28);
  color: var(--ink-900);
}

/* ---------- 三步 ---------- */

.page-home .ph-steps {
  background: var(--ink-900);
}

.page-home .ph-steps__head .h2 {
  margin-top: 12px;
}

.page-home .ph-steps__list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.page-home .ph-steps__item {
  position: relative;
  padding: 0 0 0 0;
}

.page-home .ph-steps__num {
  display: block;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--ember);
  letter-spacing: -.02em;
}

.page-home .ph-steps__title {
  margin: 14px 0 0;
  font-size: 19px;
  font-weight: 700;
}

.page-home .ph-steps__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--white-72);
}

/* ---------- 常见问答 ---------- */

.page-home .ph-faq {
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
}

.page-home .ph-faq__grid {
  display: grid;
  gap: 32px;
}

.page-home .ph-faq__text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--white-72);
  max-width: 42ch;
}

.page-home .ph-faq__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-home .ph-faq__list {
  margin: 0;
  padding: 0;
}

.page-home .ph-faq__item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.page-home .ph-faq__item:first-child {
  border-top: 1px solid var(--line-strong);
}

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

.page-home .ph-faq__item dt {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
}

.page-home .ph-faq__item dd {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--white-72);
  max-width: 62ch;
}

/* ---------- 数据条目进入视口的轻量节奏 ---------- */

.page-home [data-stagger] > * {
  transition-delay: var(--step-delay, 0ms);
}

/* ---------- 平板 ---------- */

@media (min-width: 700px) {
  .page-home .ph-hero {
    padding: 52px 0 60px;
  }

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

  .page-home .ph-transfers__rail {
    grid-auto-columns: minmax(0, 31%);
  }

  .page-home .ph-faq__grid {
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    gap: 40px;
  }
}

/* ---------- 桌面 ---------- */

@media (min-width: 980px) {
  .page-home .ph-hero {
    padding: 70px 0 82px;
  }

  .page-home .ph-hero__grid {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    align-items: center;
    gap: 52px;
  }

  .page-home .ph-hero__figure {
    clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .ph-board__head {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 40px;
  }

  .page-home .ph-board__figure {
    max-width: 220px;
    justify-self: end;
  }

  .page-home .ph-board__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .ph-board__item {
    padding: 20px 16px 20px 22px;
  }

  .page-home .ph-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    padding-left: 36px;
  }

  .page-home .ph-timeline::before {
    left: 6px;
  }

  .page-home .ph-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 40px;
  }

  .page-home .ph-steps__item {
    padding: 0 32px;
    border-left: 1px solid var(--line);
  }

  .page-home .ph-steps__item:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .page-home .ph-steps__item:last-child {
    padding-right: 0;
  }
}

@media (min-width: 1180px) {
  .page-home .ph-transfers__rail {
    grid-auto-columns: minmax(0, 23.5%);
  }
}

/* ---------- 悬停才展开场次路径 ---------- */

@media (hover: hover) and (min-width: 700px) {
  .page-home .ph-board__path {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transition: max-height .28s var(--ease), opacity .28s var(--ease), margin-top .28s var(--ease);
  }

  .page-home .ph-board__item:hover .ph-board__path,
  .page-home .ph-board__item:focus-within .ph-board__path {
    max-height: 56px;
    opacity: 1;
    margin-top: 10px;
  }
}

/* ---------- 降低动效 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-board__item,
  .page-home .ph-transfer,
  .page-home .ph-board__path,
  .page-home .ph-timeline__link {
    transition: none;
  }

  .page-home .ph-board__item:hover,
  .page-home .ph-transfer:hover {
    transform: none;
  }

  .page-home .ph-transfers__rail {
    scroll-behavior: auto;
  }
}

.page-home {
  --step-delay: 0.3s;
}
