.page-home {
  --home-transition: .3s ease;
}

/* 页面区块标题 */
.page-home .home-section-head {
  margin-bottom: 8px;
  position: relative;
}

.page-home .home-section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 8px 0 4px;
}

.page-home .home-section-desc {
  color: rgba(34,34,34,.72);
  font-size: 16px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0;
}

.page-home .home-section-head--light .home-section-title {
  color: var(--paper);
}

.page-home .home-section-head--light .home-section-desc {
  color: rgba(245,240,230,.75);
}

/* 首屏海报 */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--inkblue) 100%);
  color: var(--paper);
}

.page-home .home-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(135deg, transparent 42px, rgba(255,107,53,.9) 42px);
  pointer-events: none;
  z-index: 1;
}

.page-home .home-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}

.page-home .home-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,240,230,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,240,230,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
  align-items: center;
  min-height: auto;
  padding-top: 64px;
  padding-bottom: 56px;
}

.page-home .home-hero .site-breadcrumb {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--orange);
  background: rgba(255,107,53,.14);
  border: 1px solid rgba(255,107,53,.4);
  padding: 4px 12px;
}

.page-home .home-hero__title {
  font-size: clamp(44px, 9vw, 88px);
  line-height: .95;
  letter-spacing: -.03em;
  margin: 10px 0 8px;
  color: var(--paper);
  font-family: var(--font-head);
  text-transform: uppercase;
}

.page-home .home-hero__sub {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--orange);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.page-home .home-hero__desc {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(245,240,230,.85);
  margin: 0 0 22px;
}

.page-home .home-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(245,240,230,.9);
  background: rgba(245,240,230,.08);
  border: 1px solid rgba(245,240,230,.18);
  padding: 8px 14px;
  margin-bottom: 24px;
}

.page-home .home-hero__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  animation: home-pulse 1.6s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34,197,94,.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34,197,94,0);
  }
}

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

.page-home .home-hero .site-btn--ghost {
  border-color: var(--paper);
  color: var(--paper);
}

.page-home .home-hero .site-btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

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

.page-home .home-livecard {
  background: var(--orange);
  color: var(--navy);
  padding: 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  box-shadow: 14px 14px 0 rgba(245,240,230,.14);
}

.page-home .home-livecard__row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 18px 0 10px;
}

.page-home .home-livecard__team {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
}

.page-home .home-livecard__team:last-of-type {
  text-align: right;
}

.page-home .home-livecard__score {
  font-family: var(--font-head);
  font-size: 42px;
  line-height: 1;
}

.page-home .home-livecard__sep {
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1;
}

.page-home .home-livecard__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(13,31,60,.75);
  border-top: 1px solid rgba(13,31,60,.25);
  padding-top: 10px;
  margin-bottom: 4px;
}

.page-home .home-livecard__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
  text-decoration: none;
  margin-top: 12px;
  padding-bottom: 2px;
  transition: color var(--home-transition), border-color var(--home-transition);
}

.page-home .home-livecard__link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* 维护倒计时 */
.page-home .home-countdown__panel {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-top: 6px solid var(--navy);
  padding: 22px;
  box-shadow: var(--shadow);
}

.page-home .home-countdown__bar {
  position: relative;
  height: 26px;
  background: var(--gray);
}

.page-home .home-countdown__fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--navy), var(--blue));
}

.page-home .home-countdown__mark {
  position: absolute;
  top: -20px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: var(--orange);
  padding: 2px 8px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 var(--navy);
}

.page-home .home-countdown__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 18px;
}

.page-home .home-countdown__meta span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  padding-left: 12px;
  border-left: 4px solid var(--orange);
}

.page-home .home-countdown__steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-home .home-countdown__step {
  position: relative;
  padding: 8px 0 16px 20px;
  border-left: 3px solid var(--gray);
}

.page-home .home-countdown__step.is-done {
  border-left-color: var(--navy);
}

.page-home .home-countdown__step.is-active {
  border-left-color: var(--orange);
}

.page-home .home-countdown__step::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gray);
}

.page-home .home-countdown__step.is-done::before {
  background: var(--navy);
}

.page-home .home-countdown__step.is-active::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,107,53,.18);
}

.page-home .home-countdown__step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--navy);
  line-height: 1;
}

.page-home .home-countdown__step h3 {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--navy);
  margin: 8px 0 4px;
}

.page-home .home-countdown__step p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

/* 升级亮点 */
.page-home .home-features__grid {
  display: grid;
  gap: 48px;
  margin-top: 20px;
}

.page-home .home-feature {
  display: grid;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray);
  box-shadow: var(--shadow);
  padding: 16px;
}

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

.page-home .home-feature__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border: 1px solid var(--gray);
}

.page-home .home-feature__num {
  position: absolute;
  top: -14px;
  left: 14px;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1;
  padding: 6px 14px;
  box-shadow: 4px 4px 0 var(--navy);
  transform: rotate(-2deg);
}

.page-home .home-feature__text {
  padding: 6px 8px 10px;
}

.page-home .home-feature__text h3 {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--navy);
  margin: 10px 0 8px;
}

.page-home .home-feature__text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
}

/* 实时数据总览 */
.page-home .home-live {
  background: var(--inkblue);
  color: var(--paper);
}

.page-home .home-live__grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.page-home .home-match {
  background: var(--paper);
  color: var(--ink);
  padding: 22px 18px;
  border-top: 6px solid var(--orange);
  box-shadow: 8px 8px 0 rgba(0,0,0,.18);
  transition: transform var(--home-transition), box-shadow var(--home-transition);
}

.page-home .home-match:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0 rgba(0,0,0,.26);
}

.page-home .home-match__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.page-home .home-match__league {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--inkblue);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.page-home .home-match__live {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: var(--orange);
  padding: 2px 8px;
}

.page-home .home-match__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
}

.page-home .home-match__team {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.2;
}

.page-home .home-match__team:last-of-type {
  text-align: right;
}

.page-home .home-match__score {
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--navy);
  line-height: 1;
}

.page-home .home-match__sep {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--orange);
  line-height: 1;
}

.page-home .home-match__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(34,34,34,.7);
  border-top: 1px solid var(--gray);
  padding-top: 10px;
  margin: 0;
}

.page-home .home-live__foot {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  background: var(--navy);
  padding: 24px;
  align-items: center;
}

.page-home .home-live__foot h3 {
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 20px;
  margin: 0 0 8px;
}

.page-home .home-live__foot p {
  color: rgba(245,240,230,.8);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.page-home .home-live__foot .site-btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

.page-home .home-live__foot .site-btn--primary:hover {
  background: #ff8255;
}

/* 内容目录 */
.page-home .home-directory__layout {
  display: grid;
  gap: 28px;
  margin-top: 24px;
  align-items: center;
}

.page-home .home-directory__lead {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin: 0 0 10px;
}

.page-home .home-directory__intro p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
}

.page-home .home-directory__visual img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray);
}

.page-home .home-directory__switch {
  margin: 22px 0;
}

.page-home .home-directory__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .home-directory__tabs {
  display: flex;
  border: 1px solid var(--gray);
  border-bottom: 0;
  background: var(--gray);
}

.page-home .home-directory__tab {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--gray);
  transition: background .2s ease, color .2s ease;
}

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

.page-home #home-dir-player:checked ~ .home-directory__tabs label[for="home-dir-player"],
.page-home #home-dir-season:checked ~ .home-directory__tabs label[for="home-dir-season"] {
  background: var(--navy);
  color: var(--paper);
}

.page-home .home-directory__panels {
  background: var(--white);
  border: 1px solid var(--gray);
  padding: 18px;
}

.page-home .home-directory__panel h3 {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 6px;
}

.page-home .home-directory__panel p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.page-home .home-directory__panel--season {
  display: none;
}

.page-home #home-dir-season:checked ~ .home-directory__panels .home-directory__panel--player {
  display: none;
}

.page-home #home-dir-season:checked ~ .home-directory__panels .home-directory__panel--season {
  display: block;
}

/* 常见问题入口 */
.page-home .home-faq__grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.page-home .home-faq-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray);
  border-bottom: 5px solid var(--navy);
  padding: 22px 18px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--home-transition), transform var(--home-transition), box-shadow var(--home-transition);
}

.page-home .home-faq-card:hover {
  border-bottom-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.page-home .home-faq-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
  margin: 14px 0 8px;
}

.page-home .home-faq-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 16px;
}

.page-home .home-faq-card__more {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .home-faq__more {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 5px solid var(--orange);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 15px;
  color: var(--ink);
}

.page-home .home-faq__more p {
  margin: 0;
}

.page-home .home-faq__more p:last-child {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--gray);
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(34,34,34,.7);
}

.page-home .home-faq__more a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  transition: color var(--home-transition);
}

.page-home .home-faq__more a:hover {
  color: var(--orange);
}

/* 桌面端布局 */
@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) 420px;
    min-height: 640px;
    padding-top: 96px;
    padding-bottom: 88px;
  }

  .page-home .home-hero__title {
    font-size: clamp(64px, 8vw, 104px);
  }

  .page-home .home-countdown__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .page-home .home-features__grid {
    gap: 64px;
    margin-top: 32px;
  }

  .page-home .home-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    padding: 24px;
  }

  .page-home .home-feature--schedule .home-feature__text {
    order: 2;
  }

  .page-home .home-feature--schedule .home-feature__visual {
    order: 1;
  }

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

  .page-home .home-live__foot {
    grid-template-columns: 1fr auto;
  }

  .page-home .home-directory__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 48px;
  }

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

/* 动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__status-dot {
    animation: none;
  }

  .page-home .home-match,
  .page-home .home-faq-card,
  .page-home .home-livecard__link {
    transition: none;
  }
}
