.page-home {
  display: block;
  background: var(--ink);
  color: var(--ice);
  overflow-x: hidden;
}

.page-home .p-home-head {
  max-width: 62ch;
}

.page-home .p-home-head .section__lead {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(232, 241, 248, 0.74);
}

.page-home .section--arena {
  background: var(--arena);
}

.page-home .section--paper {
  background: var(--paper);
}

/* ================= 首屏 ================= */

.page-home .p-home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 60px) 0 clamp(40px, 7vw, 88px);
  background:
    radial-gradient(118% 88% at 86% 10%, rgba(18, 42, 74, 0.92) 0%, rgba(10, 20, 32, 0) 64%),
    linear-gradient(152deg, var(--ink) 0%, var(--ink-2) 46%, var(--arena) 100%);
}

.page-home .p-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(39, 73, 111, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(39, 73, 111, 0.55) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.5;
  pointer-events: none;
}

.page-home .p-home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 5vw, 52px);
}

.page-home .p-home-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--orange-2);
}

.page-home .p-home-hero__title {
  margin: 16px 0 0;
  font-size: clamp(2.05rem, 8.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home .p-home-hero__lead {
  margin: 20px 0 0;
  max-width: 36em;
  font-size: clamp(0.95rem, 2.7vw, 1.0625rem);
  line-height: 1.88;
  color: rgba(232, 241, 248, 0.78);
}

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

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

.page-home .p-home-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--mute);
}

.page-home .p-home-hero__facts b {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.page-home .p-home-hero__visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: var(--ink-2);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.page-home .p-home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .p-home-hero__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .p-home-hero__vlabel {
  position: absolute;
  top: 16px;
  right: 8px;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  color: var(--orange-2);
  z-index: 2;
}

/* ================= 三步进入 ================= */

.page-home .p-home-steps {
  padding: clamp(44px, 8vw, 88px) 0;
  background: var(--ink);
}

.page-home .p-home-steps__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .p-home-step {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 24px;
  background: linear-gradient(160deg, var(--arena) 0%, var(--ink-2) 100%);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  transition: transform 0.2s var(--ease);
}

.page-home .p-home-step::after {
  content: "";
  position: absolute;
  top: -42%;
  right: -14%;
  width: 58%;
  height: 184%;
  background: linear-gradient(90deg, rgba(255, 106, 26, 0) 0%, rgba(255, 106, 26, 0.09) 100%);
  transform: rotate(18deg);
  pointer-events: none;
}

.page-home .p-home-step__no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-home .p-home-step__title {
  margin: 14px 0 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ice);
}

.page-home .p-home-step__text {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(232, 241, 248, 0.72);
}

.page-home .p-home-step__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 163, 92, 0.45);
  padding-bottom: 2px;
}

.page-home .p-home-step__link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ================= 联赛筛选矩阵 ================= */

.page-home .p-home-matrix {
  padding: clamp(44px, 8vw, 88px) 0;
}

.page-home .p-home-matrix__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 30px;
}

.page-home .p-home-cat {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  background: linear-gradient(168deg, var(--ink-2) 0%, var(--ink) 100%);
  border-top: 2px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-home .p-home-cat--lead {
  padding: 0;
  border-top: none;
  background: linear-gradient(168deg, var(--arena) 0%, var(--ink) 100%);
}

.page-home .p-home-cat__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.page-home .p-home-cat__media .media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .p-home-cat__body {
  padding: 20px 20px 22px;
}

.page-home .p-home-cat__count {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.page-home .p-home-cat__count b {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  margin-right: 4px;
}

.page-home .p-home-cat__title {
  margin: 8px 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ice);
}

.page-home .p-home-cat__desc {
  margin: 10px 0 0;
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(232, 241, 248, 0.7);
}

.page-home .p-home-cat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
}

.page-home .p-home-cat__tags span {
  padding: 3px 9px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--mute);
  border: 1px solid var(--line);
}

/* ================= 赛程下载 ================= */

.page-home .p-home-dl {
  padding: clamp(44px, 8vw, 88px) 0;
  background: var(--ink);
}

.page-home .p-home-dl__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5vw, 46px);
}

.page-home .p-home-dl__lead {
  margin: 16px 0 0;
  max-width: 36em;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(232, 241, 248, 0.74);
}

.page-home .p-home-dl__formats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .p-home-fmt {
  padding: 18px 18px 20px;
  background: var(--ink-2);
}

.page-home .p-home-fmt__key {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-home .p-home-fmt__txt {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(232, 241, 248, 0.7);
}

.page-home .p-home-dl__copy .btn {
  margin-top: 28px;
}

.page-home .p-home-dl__media {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  overflow: hidden;
  background: var(--ink-2);
}

.page-home .p-home-dl__media .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ================= 统计指标带 ================= */

.page-home .p-home-band {
  padding: clamp(44px, 8vw, 84px) 0;
}

.page-home .p-home-band__title {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ice);
}

.page-home .p-home-band__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .p-home-band__item {
  padding: 24px 20px 26px;
  background: var(--ink-2);
}

.page-home .p-home-band__item .stat__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 8vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-home .p-home-band__suf {
  margin-left: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--orange-2);
}

.page-home .p-home-band__item .stat__label {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ice);
}

.page-home .p-home-band__note {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--mute);
}

/* ================= 近期战绩 ================= */

.page-home .p-home-form {
  padding: clamp(44px, 8vw, 88px) 0;
}

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

.page-home .p-home-form__copy .section__title {
  margin-top: 12px;
  color: var(--ink-text);
}

.page-home .p-home-form__lead {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ink-text-soft);
}

.page-home .p-home-form__timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .p-home-form__timeline li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-text-soft);
}

.page-home .p-home-form__timeline b {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-home .p-home-form__copy .btn {
  margin-top: 28px;
}

.page-home .p-home-form__chart {
  align-self: start;
  padding: 20px 18px 16px;
  background: var(--paper-2);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.page-home .p-home-form__svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .p-home-form__cap {
  margin: 12px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-text-soft);
}

/* ================= 新疆本地支持 ================= */

.page-home .p-home-xj {
  padding: clamp(44px, 8vw, 88px) 0;
  background: var(--ink);
}

.page-home .p-home-xj__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5vw, 44px);
  align-items: center;
}

.page-home .p-home-xj__media {
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-home .p-home-xj__media .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .p-home-xj__lead {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(232, 241, 248, 0.74);
}

.page-home .p-home-xj__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .p-home-xj__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.875rem;
  color: rgba(232, 241, 248, 0.76);
}

.page-home .p-home-xj__list b {
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--green);
}

.page-home .p-home-xj__copy .btn {
  margin-top: 26px;
}

/* ================= 收尾入口 ================= */

.page-home .p-home-routes {
  padding: clamp(44px, 8vw, 84px) 0;
}

.page-home .p-home-routes__title {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  color: var(--ice);
}

.page-home .p-home-routes__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .p-home-route {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 22px;
  background: linear-gradient(165deg, var(--ink-2) 0%, var(--ink) 100%);
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px);
  transition: transform 0.2s var(--ease);
}

.page-home .p-home-route__title {
  margin: 14px 0 0;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ice);
}

.page-home .p-home-route__text {
  margin: 10px 0 0;
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(232, 241, 248, 0.7);
}

.page-home .p-home-route__link {
  display: inline-block;
  align-self: flex-start;
  margin-top: 18px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--orange);
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.page-home .p-home-route__link:hover {
  background: var(--orange-2);
}

.page-home .p-home-routes__more {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--mute);
}

.page-home .p-home-routes__more a {
  color: var(--orange-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 163, 92, 0.4);
}

.page-home .p-home-routes__more a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ================= 响应式 ================= */

@media (hover: hover) {
  .page-home .p-home-step:hover,
  .page-home .p-home-route:hover {
    transform: translate(4px, -4px);
  }
}

@media (min-width: 700px) {
  .page-home .p-home-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 900px) {
  .page-home .p-home-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .page-home .p-home-hero__visual {
    min-height: 440px;
  }

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

  .page-home .p-home-cat--lead {
    grid-column: span 2;
    grid-row: span 2;
  }

  .page-home .p-home-cat--lead .p-home-cat__body {
    padding: 24px 24px 26px;
  }

  .page-home .p-home-dl__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }

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

  .page-home .p-home-form__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .page-home .p-home-xj__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  }

  .page-home .p-home-xj__list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .p-home-step,
  .page-home .p-home-route,
  .page-home .p-home-route__link {
    transition: none;
  }

  .page-home .p-home-step:hover,
  .page-home .p-home-route:hover {
    transform: none;
  }
}
