/* ========== 首页专属样式 ========== */
.page-home {
  background: var(--ink);
  color: var(--white);
}

.page-home a:focus-visible,
.page-home .tag:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 英雄区 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 28px) 0 64px;
  background: var(--ink);
  color: var(--white);
  scroll-margin-top: var(--header-h);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
}

.page-home .home-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 17, 40, 0.97) 15%, rgba(10, 17, 40, 0.82) 55%, rgba(10, 17, 40, 0.45) 100%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-hero__copy {
  max-width: 44em;
}

.page-home .home-hero__breadcrumbs {
  margin-bottom: 16px;
}

.page-home .home-hero__title {
  margin: 14px 0 22px;
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  transform: skewX(-3deg);
  transform-origin: left center;
}

.page-home .home-hero__title span {
  display: block;
  color: var(--gold);
  transform: skewX(-6deg);
  transform-origin: left center;
  padding-right: 0.2em;
}

.page-home .home-hero__lead {
  max-width: 34em;
  margin-bottom: 28px;
  color: var(--gray);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-cta {
  height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .home-cta:hover {
  transform: translateY(-2px);
}

.page-home .home-cta--ghost {
  border: 2px solid rgba(201, 162, 39, 0.55);
  color: var(--paper);
}

.page-home .home-cta--ghost:hover {
  background: rgba(201, 162, 39, 0.12);
  border-color: var(--gold);
}

.page-home .home-cta--ink {
  border: 2px solid var(--ink);
  color: var(--ink);
}

.page-home .home-cta--ink:hover {
  background: var(--ink);
  color: var(--paper);
}

.page-home .home-hero__board {
  position: relative;
  background: rgba(28, 37, 65, 0.86);
  border: 2px solid rgba(201, 162, 39, 0.55);
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.4);
  padding: 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

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

.page-home .home-hero__svg text {
  font-family: var(--font-data), sans-serif;
}

/* ---------- 面包屑 ---------- */
.page-home .breadcrumbs {
  margin-bottom: 20px;
}

.page-home .breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .breadcrumbs__item {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--gray);
}

.page-home .breadcrumbs__item a {
  color: var(--gold);
  text-decoration: none;
}

/* ---------- 赛程中心预览 ---------- */
.page-home .section--paper {
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-schedule {
  padding: 72px 0;
  scroll-margin-top: var(--header-h);
}

.page-home .home-schedule__heading {
  display: grid;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.page-home .home-schedule__title {
  margin: 10px 0 8px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  transform: skewX(-3deg);
  transform-origin: left center;
}

.page-home .home-schedule__heading-note {
  color: var(--ink-2);
  font-size: 14px;
}

.page-home .home-schedule__poster img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(10, 17, 40, 0.16);
}

.page-home .home-schedule__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.page-home .home-schedule__tags .tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-schedule__tags .tag:hover,
.page-home .home-schedule__tags .tag:focus-visible {
  background: var(--ink);
  color: var(--gold);
  transform: translateY(-2px);
}

.page-home .home-schedule__tags .tag--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.page-home .home-schedule__tags .tag--gold:hover,
.page-home .home-schedule__tags .tag--gold:focus-visible {
  background: var(--ink);
  color: var(--gold);
}

.page-home .home-schedule__grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.page-home .home-schedule__card {
  position: relative;
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(10, 17, 40, 0.12);
  padding: 18px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-home .home-schedule__card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  background: var(--gold);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.page-home .home-schedule__league {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--gold);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
}

.page-home .home-schedule__league span {
  font-size: 0.68em;
  color: var(--ink-2);
  letter-spacing: 0.08em;
}

.page-home .home-schedule__card .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--paper);
}

.page-home .home-schedule__card .data-table th {
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  text-align: left;
  padding: 9px 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.page-home .home-schedule__card .data-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(10, 17, 40, 0.12);
  vertical-align: middle;
}

.page-home .home-schedule__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px solid rgba(74, 90, 122, 0.35);
}

.page-home .home-schedule__foot p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- 追比分指南入口 ---------- */
.page-home .home-guide {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: var(--ink-2);
  color: var(--white);
  scroll-margin-top: var(--header-h);
}

.page-home .home-guide::before {
  content: "GUIDE";
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: var(--font-data);
  font-size: clamp(6rem, 16vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
}

.page-home .home-guide__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-guide__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.35);
}

.page-home .home-guide__title {
  margin: 16px 0 20px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-home .home-guide__text {
  color: var(--gray);
  max-width: 34em;
  line-height: 1.7;
}

.page-home .home-guide__quote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  background: rgba(10, 17, 40, 0.35);
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 15px;
}

.page-home .home-guide__steps {
  counter-reset: guide-step;
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-guide__steps li {
  counter-increment: guide-step;
  position: relative;
  padding-left: 34px;
  color: var(--gray);
  line-height: 1.6;
}

.page-home .home-guide__steps li::before {
  content: counter(guide-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--gold);
}

/* ---------- 数据能力统计 ---------- */
.page-home .home-stats {
  position: relative;
  padding: 72px 0;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  scroll-margin-top: var(--header-h);
}

.page-home .home-stats::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -40px;
  width: 280px;
  height: 180px;
  background: var(--red);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  opacity: 0.2;
}

.page-home .home-stats::after {
  content: "DATA";
  position: absolute;
  left: -24px;
  bottom: -50px;
  font-family: var(--font-data);
  font-size: clamp(6rem, 16vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.05em;
  pointer-events: none;
}

.page-home .home-stats__heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-stats__title {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-home .home-stats__heading-note {
  color: var(--gray);
  font-size: 14px;
}

.page-home .home-stats__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-home .home-stats__item {
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--ink-2);
  border: 2px solid var(--blue-gray);
  padding: 32px 20px;
}

.page-home .home-stats__item--gold {
  border-color: var(--gold);
}

.page-home .home-stats__item--red {
  border-color: var(--red);
}

.page-home .home-stats__num,
.page-home .home-stats__plus {
  font-family: var(--font-data);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.page-home .home-stats__num {
  font-size: clamp(3rem, 8vw, 5rem);
}

.page-home .home-stats__plus {
  font-size: 2rem;
  color: var(--gold);
  margin-left: 4px;
}

.page-home .home-stats__label {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 0.04em;
}

.page-home .home-stats__foot {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
  background: rgba(28, 37, 65, 0.5);
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- 最新动态 ---------- */
.page-home .home-news {
  padding: 72px 0;
  background: var(--paper);
  color: var(--ink);
  scroll-margin-top: var(--header-h);
}

.page-home .home-news__heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.page-home .home-news__title {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  transform: skewX(-3deg);
  transform-origin: left center;
}

.page-home .home-news__more {
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.page-home .home-news__more:hover {
  opacity: 0.75;
}

.page-home .home-news__inner {
  display: grid;
  gap: 28px;
}

.page-home .home-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .home-news__item {
  background: var(--paper-deep);
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  display: grid;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-news__item:hover {
  transform: translateX(4px);
  box-shadow: 4px 4px 0 rgba(10, 17, 40, 0.12);
}

.page-home .home-news__item h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.02rem;
  line-height: 1.45;
}

.page-home .home-news__item h3 a {
  color: inherit;
  text-decoration: none;
}

.page-home .home-news__item h3 a:hover {
  color: var(--red);
}

.page-home .home-news__time {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
}

.page-home .home-news__visual {
  position: relative;
}

.page-home .home-news__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(10, 17, 40, 0.16);
}

/* ---------- 信任与备案 ---------- */
.page-home .home-trust {
  padding: 72px 0 80px;
  background: var(--black);
  color: var(--gray);
  border-top: 4px solid var(--gold);
  scroll-margin-top: var(--header-h);
}

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

.page-home .home-trust__title {
  margin: 16px 0 16px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-home .home-trust__statement {
  max-width: 38em;
  line-height: 1.7;
}

.page-home .home-trust__meta {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
}

.page-home .home-trust__meta li {
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  line-height: 1.6;
}

.page-home .home-trust__support {
  font-size: 14px;
  color: var(--gray);
  border: 1px dashed var(--blue-gray);
  padding: 12px 16px;
  line-height: 1.6;
}

.page-home .home-trust__aside {
  background: var(--ink);
  border: 2px solid var(--blue-gray);
  padding: 24px;
}

.page-home .home-trust__aside-title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 1.1rem;
}

.page-home .home-trust__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-trust__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .home-trust__links a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ========== 响应式 ========== */
@media (min-width: 768px) {
  .page-home .home-schedule__heading {
    grid-template-columns: 1fr 260px;
  }

  .page-home .home-schedule__poster img {
    max-height: 260px;
    object-fit: cover;
    width: 100%;
    height: auto;
  }

  .page-home .home-stats__heading {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .home-stats__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-news__heading {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

@media (max-width: 767px) {
  .page-home .home-schedule__card .data-table thead {
    display: none;
  }

  .page-home .home-schedule__card .data-table tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid rgba(10, 17, 40, 0.2);
    background: var(--paper);
  }

  .page-home .home-schedule__card .data-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid rgba(10, 17, 40, 0.1);
  }

  .page-home .home-schedule__card .data-table td:last-child {
    border-bottom: 0;
  }

  .page-home .home-schedule__card .data-table td::before {
    content: attr(data-label) "：";
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 12px;
    color: var(--ink-2);
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 620px;
    display: flex;
    align-items: center;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    width: 100%;
  }

  .page-home .home-schedule__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-guide__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
  }

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

  .page-home .home-trust__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 48px;
  }

  .page-home .home-trust__aside {
    align-self: start;
  }
}
