.page-home {
  --page-ink: var(--color-charcoal);
  --page-line: rgba(10, 30, 46, .1);
  --page-glass: rgba(245, 247, 250, .06);
  background: var(--color-paper);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

/* ===== 01 Hero ===== */
.page-home .hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--color-bg);
  color: var(--color-paper);
  overflow: hidden;
  padding: 72px 0 56px;
  isolation: isolate;
}

.page-home .hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  transform: scale(1.02);
}

.page-home .hero__bg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(6, 21, 38, .97) 0%, rgba(10, 30, 46, .92) 46%, rgba(212, 175, 55, .22) 100%);
}

.page-home .hero__shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(148deg, rgba(212, 175, 55, .34) 0%, rgba(255, 107, 53, .08) 100%);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hero__ghost-num {
  position: absolute;
  right: -2%;
  bottom: -4%;
  z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(10rem, 22vw, 19rem);
  line-height: 1;
  color: rgba(245, 247, 250, .04);
  -webkit-text-stroke: 2px rgba(212, 175, 55, .3);
  pointer-events: none;
}

.page-home .hero__flow {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .8;
  pointer-events: none;
}

.page-home .hero__flow svg {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.page-home .hero__inner {
  position: relative;
  z-index: 3;
}

.page-home .page-home__crumb {
  margin-bottom: 22px;
}

.page-home .hero__meta {
  margin-bottom: 14px;
}

.page-home .hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 8vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  color: var(--color-paper);
}

.page-home .hero__line-break {
  display: block;
}

.page-home .hero__sub {
  max-width: 520px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: rgba(245, 247, 250, .8);
  margin: 0 0 30px;
}

.page-home .hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.page-home .btn--lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.page-home .hero__facts {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(245, 247, 250, .14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.page-home .hero__fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .hero__fact-num {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
  color: var(--color-gold-bright);
}

.page-home .hero__fact-label {
  font-size: .82rem;
  letter-spacing: .04em;
  color: rgba(245, 247, 250, .64);
}

.page-home .hero__fact-sep {
  width: 1px;
  height: 36px;
  background: rgba(245, 247, 250, .16);
}

.page-home .hero__scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: block;
  width: 2px;
  height: 40px;
}

.page-home .hero__scroll-line {
  display: block;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: home-hero-pulse 2.2s ease-in-out infinite;
}

@keyframes home-hero-pulse {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}

/* ===== 02 赛事导航 ===== */
.page-home .leagues {
  background: var(--color-paper);
  padding: 72px 0 76px;
}

.page-home .leagues__lead {
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-steel);
  margin: 24px 0 36px;
}

.page-home .leagues__layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .leagues__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.page-home .leagues__caption {
  margin-top: 12px;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--color-steel);
}

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

.page-home .league-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--color-card);
  border: 1px solid rgba(10, 30, 46, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: var(--color-charcoal);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.page-home .league-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--color-gold);
}

.page-home .league-card__index {
  font-family: var(--font-head);
  font-size: .78rem;
  line-height: 1;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 6px;
  padding: 5px 6px;
  flex-shrink: 0;
}

.page-home .league-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-home .league-card__title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  margin: 0;
}

.page-home .league-card__meta {
  font-size: .8rem;
  color: var(--color-steel);
}

.page-home .league-card__arrow {
  margin-left: auto;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-orange);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}

.page-home .league-card:hover .league-card__arrow {
  transform: translateX(4px);
}

/* ===== 03 最新集锦 ===== */
.page-home .highlights {
  background: var(--color-bg);
  padding: 72px 0 76px;
}

.page-home .highlights__grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.page-home .video-card {
  display: flex;
  flex-direction: column;
  background: rgba(245, 247, 250, .05);
  border: 1px solid rgba(245, 247, 250, .1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.page-home .video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, .45);
  background: rgba(245, 247, 250, .08);
}

.page-home .video-card__frame {
  margin: 0;
}

.page-home .video-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 20px;
  flex: 1;
}

.page-home .video-card__title {
  font-family: var(--font-head);
  font-size: .96rem;
  line-height: 1.5;
  margin: 0;
  color: var(--color-paper);
}

.page-home .video-card__meta {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--color-steel-light);
  margin: 0;
}

.page-home .highlights__more {
  margin-top: 32px;
  text-align: center;
}

/* ===== 04 数据面板预览 ===== */
.page-home .dataview {
  background: var(--color-bg-soft);
  padding: 72px 0 76px;
}

.page-home .dataview__layout {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

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

.page-home .dataview__frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.page-home .media-frame--16x10 {
  aspect-ratio: 16 / 10;
}

.page-home .dataview__float-card {
  position: absolute;
  right: -8px;
  bottom: -16px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: var(--color-card);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 14px 18px;
}

.page-home .dataview__float-label {
  font-size: .8rem;
  color: var(--color-steel);
}

.page-home .dataview__float-value {
  font-family: var(--font-head);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-charcoal);
}

.page-home .dataview__float-unit {
  font-size: .82rem;
  color: var(--color-steel);
}

.page-home .dataview__lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(245, 247, 250, .82);
  margin: 0 0 24px;
}

.page-home .dataview .data-panel {
  background: rgba(245, 247, 250, .06);
  border: 1px solid rgba(245, 247, 250, .1);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}

.page-home .dataview .data-panel__head {
  padding: 14px 18px;
  font-family: var(--font-head);
  font-size: .95rem;
  color: var(--color-paper);
  border-bottom: 1px solid rgba(245, 247, 250, .12);
}

.page-home .dataview .data-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(245, 247, 250, .08);
}

.page-home .dataview .data-panel__row:last-child {
  border-bottom: none;
}

.page-home .dataview .data-panel__label {
  font-size: .9rem;
  color: var(--color-steel-light);
}

.page-home .dataview .data-panel__value {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--color-paper);
}

/* ===== 05 更新节奏 ===== */
.page-home .update {
  background: var(--color-bg-deep);
  color: var(--color-paper);
  padding: 76px 0 80px;
  overflow: hidden;
}

.page-home .update__band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-orange) 55%, var(--color-cyan) 100%);
}

.page-home .update__glow {
  position: absolute;
  right: -180px;
  top: 62%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(212, 175, 55, .12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .update__inner {
  position: relative;
  max-width: 860px;
}

.page-home .update__inner .section-head__index {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, .4);
  margin-bottom: 20px;
}

.page-home .update__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--color-paper);
}

.page-home .update__desc {
  max-width: 660px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(245, 247, 250, .76);
  margin: 0 0 36px;
}

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

.page-home .update-step {
  display: flex;
  gap: 14px;
  padding: 22px 20px;
  background: rgba(245, 247, 250, .05);
  border: 1px solid rgba(245, 247, 250, .09);
  border-radius: var(--radius);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

.page-home .update-step:hover {
  background: rgba(212, 175, 55, .08);
  border-color: rgba(212, 175, 55, .3);
}

.page-home .update-step__num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-gold);
  flex-shrink: 0;
}

.page-home .update-step__title {
  font-family: var(--font-head);
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--color-paper);
}

.page-home .update-step__text {
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(245, 247, 250, .7);
  margin: 0;
}

/* ===== 06 首次访问指引 ===== */
.page-home .guide {
  background: var(--color-paper);
  padding: 72px 0 72px;
}

.page-home .guide__grid {
  display: grid;
  gap: 20px;
  margin-top: 38px;
}

.page-home .guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: 30px 22px 22px;
  background: var(--color-card);
  border: 1px solid rgba(10, 30, 46, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .guide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2);
}

.page-home .guide-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, transparent 50%, rgba(212, 175, 55, .16) 50%);
  border-radius: 0 0 0 14px;
  pointer-events: none;
}

.page-home .guide-card__num {
  display: block;
  font-family: var(--font-head);
  font-size: 3.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-gold);
  margin-bottom: 18px;
}

.page-home .guide-card__content {
  flex: 1;
}

.page-home .guide-card__title {
  font-family: var(--font-head);
  font-size: 1.12rem;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--color-charcoal);
}

.page-home .guide-card__text {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--color-steel);
  margin: 0;
}

.page-home .guide-card__link {
  display: inline-block;
  align-self: flex-start;
  margin-top: 18px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--color-orange);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 107, 53, .3);
  transition: border-color .3s var(--ease);
}

.page-home .guide-card__link:hover {
  border-color: var(--color-orange);
}

.page-home .guide__help {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 36px;
  padding: 18px 24px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  color: var(--color-paper);
}

.page-home .guide__help a {
  color: var(--color-gold-bright);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(212, 175, 55, .35);
  transition: border-color .3s var(--ease);
}

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

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-home .highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .update__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .page-home .leagues,
  .page-home .highlights,
  .page-home .dataview,
  .page-home .guide {
    padding: 88px 0 92px;
  }

  .page-home .update {
    padding: 96px 0 100px;
  }

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

  .page-home .leagues__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .page-home .dataview__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 52px;
    align-items: center;
  }

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

  .page-home .guide-card {
    min-height: 260px;
  }
}

@media (min-width: 1080px) {
  .page-home .hero {
    min-height: 88vh;
    padding: 120px 0 80px;
  }

  .page-home .hero__line-break {
    display: inline;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__scroll-line {
    animation: none;
  }

  .page-home .league-card,
  .page-home .video-card,
  .page-home .guide-card,
  .page-home .update-step {
    transition: none;
  }
}
