.page-home {
  overflow-x: clip;
  background: var(--c-pitch);
  color: var(--c-sand);
}

/* ===== Hero 首屏对角错位色块 ===== */
.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(94vh, 880px);
  padding: clamp(3rem, 7vw, 6rem) 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(201, 162, 39, .13) 0, transparent 44%),
    var(--c-pitch);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.16) brightness(.5);
  z-index: 0;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(118deg,
    rgba(15, 36, 26, .97) 0%,
    rgba(15, 36, 26, .9) 40%,
    rgba(30, 61, 43, .7) 62%,
    rgba(15, 36, 26, .84) 100%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(-62deg,
    transparent 0 22px,
    rgba(201, 162, 39, .05) 22px 26px,
    transparent 26px 52px);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 2.5rem;
}

.page-home .home-hero__content {
  max-width: 700px;
}

.page-home .home-hero__content h1 {
  font-family: var(--f-headline);
  font-size: clamp(1.72rem, 5vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: .01em;
  color: var(--c-sand);
  margin: .5em 0 .6em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .38);
}

.page-home .home-hero__lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(216, 207, 184, .92);
  max-width: 58ch;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

.page-home .home-hero__panel {
  position: relative;
  max-width: 640px;
}

.page-home .live-ticker {
  border: 1px solid rgba(201, 162, 39, .36);
  background: linear-gradient(160deg, rgba(30, 61, 43, .94) 0%, rgba(15, 36, 26, .97) 100%);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow);
}

.page-home .live-ticker__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(201, 162, 39, .3);
  margin-bottom: .4rem;
  font-family: var(--f-data);
  font-size: .78rem;
  letter-spacing: .08em;
}

.page-home .live-ticker__live {
  color: var(--c-gold);
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 700;
}

.page-home .live-ticker__live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-wine);
  animation: page-home-pulse 1.6s ease-out infinite;
}

.page-home .live-ticker__freq {
  color: rgba(216, 207, 184, .62);
}

.page-home .live-ticker__row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: .6rem;
  align-items: center;
  padding: .55rem .45rem;
  border-radius: 2px;
  font-family: var(--f-data);
  font-size: .78rem;
  color: var(--c-sand-dark);
  animation: page-home-flicker 8s infinite;
}

.page-home .live-ticker__row:nth-child(2n + 2) {
  animation-delay: .2s;
}

.page-home .live-ticker__row:nth-child(3n) {
  animation-delay: 1.4s;
}

.page-home .live-ticker__row:nth-child(4n) {
  animation-delay: 2.6s;
}

.page-home .live-ticker__row:nth-child(5n) {
  animation-delay: 3.8s;
}

.page-home .live-ticker__row:nth-child(6n) {
  animation-delay: 5s;
}

.page-home .live-ticker__league {
  color: var(--c-gold);
  font-weight: 700;
  background: rgba(201, 162, 39, .1);
  padding: .18em .3em;
  text-align: center;
  border-radius: 2px;
}

.page-home .live-ticker__match {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .live-ticker__stat {
  color: rgba(216, 207, 184, .78);
}

@keyframes page-home-flicker {
  0%, 88%, 100% {
    background: transparent;
  }
  91%, 97% {
    background: rgba(201, 162, 39, .13);
  }
}

@keyframes page-home-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(122, 46, 28, .5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(122, 46, 28, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(122, 46, 28, 0);
  }
}

/* ===== 通用章节节奏 ===== */
.page-home .home-board,
.page-home .home-league,
.page-home .home-download,
.page-home .home-expert,
.page-home .home-why {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.page-home .home-board::before,
.page-home .home-league::before,
.page-home .home-download::before,
.page-home .home-expert::before,
.page-home .home-why::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
  z-index: 2;
}

/* ===== 01 赛况情报看板 ===== */
.page-home .home-board {
  background:
    radial-gradient(circle at 84% 18%, rgba(62, 142, 126, .18) 0, transparent 46%),
    var(--c-turf);
  clip-path: polygon(0 3%, 100% 0, 100% 96%, 0 100%);
}

.page-home .home-board__inner,
.page-home .home-download__inner,
.page-home .home-expert__inner {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.page-home .home-board__text p,
.page-home .home-download__text p,
.page-home .home-expert__text p {
  line-height: 1.8;
  color: rgba(232, 224, 208, .92);
}

.page-home .home-board__facts,
.page-home .home-download__list {
  list-style: none;
  margin: 1.3rem 0;
  padding: 0;
}

.page-home .home-board__facts li {
  position: relative;
  padding: .42rem 0 .42rem 1.6rem;
  border-bottom: 1px solid rgba(201, 162, 39, .16);
  line-height: 1.6;
}

.page-home .home-board__facts li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: .55em;
  color: var(--c-gold);
  font-size: .72rem;
}

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

.page-home .home-board__pitch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .38;
  z-index: 0;
}

.page-home .home-board__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  box-shadow: var(--shadow);
}

/* ===== 02 联赛筛选与订阅 ===== */
.page-home .home-league {
  background: var(--c-mesh);
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
}

.page-home .home-league__head {
  margin-bottom: 1.4rem;
}

.page-home .home-league__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.8rem;
}

.page-home .home-league__tags .tag[aria-pressed="true"] {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: rgba(201, 162, 39, .12);
}

.page-home .home-league__steps {
  display: grid;
  gap: 1.2rem;
}

.page-home .home-league__steps .card {
  background: var(--c-turf);
  border-left: 3px solid var(--c-gold);
  padding: 1.6rem;
  min-height: 100%;
}

.page-home .home-league__steps h3 {
  color: var(--c-sand);
  font-size: 1.15rem;
  margin: .35rem 0 .5rem;
}

.page-home .home-league__steps p {
  color: rgba(216, 207, 184, .82);
  line-height: 1.7;
  font-size: .95rem;
  margin: 0;
}

.page-home .home-league__num {
  display: inline-block;
  font-family: var(--f-data);
  font-size: .85rem;
  color: var(--c-gold);
  border: 1px solid rgba(201, 162, 39, .4);
  padding: .2em .55em;
  margin-bottom: .8em;
}

/* ===== 03 射门统计资料下载 ===== */
.page-home .home-download {
  background: var(--c-pitch);
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 98%);
}

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

.page-home .home-download__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, 96% 0, 100% 10%, 100% 100%, 4% 100%, 0 90%);
  box-shadow: var(--shadow);
  display: block;
}

.page-home .home-download__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .55rem;
  line-height: 1.7;
}

.page-home .home-download__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  background: var(--c-gold);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* ===== 04 内地专家专栏 ===== */
.page-home .home-expert {
  background:
    repeating-linear-gradient(-62deg, transparent 0 26px, rgba(201, 162, 39, .04) 26px 30px),
    var(--c-turf);
  clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 98%);
}

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

.page-home .home-expert__img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
  clip-path: polygon(4% 0, 100% 0, 100% 96%, 0 100%);
  box-shadow: var(--shadow);
}

/* ===== 05 为什么选择爱游戏娱乐 ===== */
.page-home .home-why {
  background:
    linear-gradient(120deg, rgba(201, 162, 39, .09) 0, transparent 40%),
    var(--c-turf);
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
}

.page-home .home-why__stats {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.page-home .home-why__stat {
  background: var(--c-turf);
  text-align: center;
  padding: 2rem 1.2rem;
}

.page-home .home-why__num {
  display: block;
  font-family: var(--f-data);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--c-gold);
  font-weight: 700;
  line-height: 1.1;
}

.page-home .home-why__stat p {
  margin: .45rem 0 0;
  color: rgba(216, 207, 184, .8);
}

.page-home .home-why__trust {
  max-width: 76ch;
  margin: 1.8rem auto 0;
  text-align: center;
  color: rgba(232, 224, 208, .9);
  line-height: 1.8;
}

.page-home .home-why__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 1.4rem;
}

/* ===== 桌面端增强 ===== */
@media (max-width: 767px) {
  .page-home .home-hero__content h1 {
    text-align: left;
  }

  .page-home .home-expert__img {
    aspect-ratio: 4 / 5;
  }

  .page-home .home-board__pitch {
    display: none;
  }
}

@media (min-width: 768px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
  }

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

  .page-home .home-board__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .page-home .home-download__inner {
    grid-template-columns: .95fr 1.05fr;
    gap: 3rem;
  }

  .page-home .home-expert__inner {
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
  }

  .page-home .home-expert__img {
    max-height: 640px;
  }
}

@media (min-width: 1100px) {
  .page-home .home-hero {
    min-height: 880px;
  }

  .page-home .home-hero__panel {
    margin-left: auto;
  }

  .page-home .home-why__stats {
    margin-top: 2.2rem;
  }
}

/* ===== 动效降级 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-home .live-ticker__live::before,
  .page-home .live-ticker__row {
    animation: none;
  }
}
