.page-home {
  background: var(--c-deep);
  color: var(--c-white);
  overflow-x: hidden;
}

/* ===== 首屏 Hero ===== */
.page-home .h-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--header-top-offset) + 28px) 0 48px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-deep);
}

.page-home .h-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .h-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(1.25) contrast(1.06);
}

.page-home .h-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 17, 40, 0.96) 0%, rgba(10, 17, 40, 0.84) 45%, rgba(13, 18, 24, 0.72) 100%);
}

.page-home .h-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-home .h-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .h-hero-cols {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .h-split {
  display: none;
}

.page-home .h-hero-left,
.page-home .h-hero-right {
  border: var(--border-thick) solid rgba(0, 229, 255, 0.22);
  background: rgba(10, 17, 40, 0.94);
  box-shadow: var(--shadow-hard-md);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.page-home .h-hero-left {
  position: relative;
}

.page-home .h-hero-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--c-green), var(--c-cyan));
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.page-home .h-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.page-home .h-file-name {
  font-size: 12px;
  color: var(--c-ash);
  letter-spacing: 0.04em;
}

.page-home .h-img-box {
  border: var(--border-thin) solid rgba(0, 229, 255, 0.28);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-hard-cyan);
}

.page-home .h-img-box img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .h-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--c-white);
  position: relative;
}

.page-home .h-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--c-green), var(--c-cyan));
  border-radius: var(--radius-pill);
}

.page-home .h-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-ash);
  margin: 0 0 16px;
}

.page-home .h-table-wrap {
  border: var(--border-thin) solid rgba(138, 148, 166, 0.35);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
  background: rgba(13, 18, 24, 0.6);
}

.page-home .h-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
}

.page-home .h-table th {
  background: rgba(0, 229, 255, 0.12);
  color: var(--c-cyan);
  padding: 8px 6px;
  text-align: center;
  border-bottom: 2px solid rgba(0, 229, 255, 0.35);
  font-weight: 700;
}

.page-home .h-table td {
  padding: 8px 6px;
  text-align: center;
  border-bottom: 1px solid rgba(138, 148, 166, 0.14);
  color: var(--c-white);
}

.page-home .h-row-gold td {
  background: rgba(255, 195, 0, 0.08);
  color: var(--c-white);
}

.page-home .h-row-gold td:first-child {
  color: var(--c-gold);
  font-weight: 800;
}

.page-home .h-row-silver td:first-child {
  color: var(--c-ash);
  font-weight: 800;
}

.page-home .h-row-bronze td:first-child {
  color: #c77b3f;
  font-weight: 800;
}

.page-home .h-dl-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.page-home .h-dl-btn {
  width: 100%;
}

.page-home .h-dl-count {
  font-size: 12px;
  color: var(--c-ash);
}

.page-home .h-footnote {
  font-size: 12px;
  color: var(--c-ash);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(138, 148, 166, 0.25);
  letter-spacing: 0.04em;
}

/* 右列视频 */
.page-home .h-video-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--c-white);
}

.page-home .h-carousel {
  position: relative;
}

.page-home .h-c-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--c-black);
  border: var(--border-thin) solid rgba(0, 229, 255, 0.22);
}

.page-home .h-c-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hCarouselCycle 18s infinite;
}

.page-home .h-c-slide:nth-child(1) {
  animation-delay: 0s;
}

.page-home .h-c-slide:nth-child(2) {
  animation-delay: 6s;
}

.page-home .h-c-slide:nth-child(3) {
  animation-delay: 12s;
}

.page-home .h-c-viewport:hover .h-c-slide {
  animation-play-state: paused;
}

.page-home .h-c-poster {
  position: relative;
  height: 100%;
}

.page-home .h-c-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .h-c-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 17, 40, 0.94) 0%, rgba(10, 17, 40, 0.2) 55%, transparent 100%);
}

.page-home .h-c-time {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  background: rgba(13, 18, 24, 0.85);
  color: var(--c-cyan);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.page-home .h-c-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  background: rgba(255, 90, 31, 0.9);
  color: var(--c-white);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.page-home .h-c-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 16px 14px;
}

.page-home .h-c-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--c-white);
}

.page-home .h-c-info p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(242, 245, 250, 0.75);
  margin: 0;
}

.page-home .h-c-lights {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.page-home .h-c-light {
  width: 34px;
  height: 6px;
  border-radius: 3px;
  background: rgba(138, 148, 166, 0.35);
  transition: background var(--duration) var(--ease-out);
}

.page-home .h-c-light:nth-child(1) {
  animation: hLight1 18s infinite;
}

.page-home .h-c-light:nth-child(2) {
  animation: hLight2 18s infinite;
}

.page-home .h-c-light:nth-child(3) {
  animation: hLight3 18s infinite;
}

.page-home .h-video-note {
  font-size: 12px;
  color: var(--c-ash);
  margin-top: 14px;
  letter-spacing: 0.04em;
}

/* ===== 01 数据速览 ===== */
.page-home .h-stats {
  background: var(--c-midnight);
  padding: 56px 0;
  border-top: var(--border-thick) solid rgba(0, 229, 255, 0.5);
  border-bottom: var(--border-thin) solid rgba(138, 148, 166, 0.2);
}

.page-home .h-chapter-text {
  min-width: 0;
}

.page-home .h-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.page-home .h-stat-item {
  background: rgba(10, 17, 40, 0.72);
  border: 2px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-hard-sm);
}

.page-home .h-stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 8px;
}

.page-home .h-stat-num span {
  color: var(--c-cyan);
  font-size: 0.6em;
  margin-left: 2px;
}

.page-home .h-stat-item p {
  font-size: 12px;
  color: var(--c-ash);
  margin: 0;
  letter-spacing: 0.06em;
}

/* ===== 02 联赛资源标签云 ===== */
.page-home .h-leagues {
  background: var(--c-deep);
  padding: 56px 0;
}

.page-home .h-league-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.page-home .h-league-block {
  border-left: 4px solid var(--c-green);
  padding-left: 20px;
}

.page-home .h-league-label {
  font-size: 13px;
  color: var(--c-cyan);
  letter-spacing: 0.1em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.page-home .h-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .h-tags .tag {
  display: inline-block;
  padding: 9px 18px;
  font-size: 15px;
  font-weight: 700;
  border-width: 2px;
  cursor: pointer;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.page-home .h-tags .tag:hover {
  transform: rotate(-3deg) translateY(-3px);
  box-shadow: var(--shadow-hard-sm);
}

.page-home .h-league-footer {
  margin-top: 40px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(30, 42, 90, 0.7), rgba(13, 18, 24, 0.8));
  border: var(--border-thin) solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.page-home .h-league-footer p {
  margin: 0;
  color: var(--c-ash);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== 03 旧版赛程时间线 ===== */
.page-home .h-legacy {
  position: relative;
  padding: 56px 0;
  background: var(--c-black);
  border-top: var(--border-thick) solid rgba(255, 90, 31, 0.6);
}

.page-home .h-legacy-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
}

.page-home .h-legacy-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.5) saturate(0.7);
}

.page-home .h-legacy .container {
  position: relative;
  z-index: 2;
}

.page-home .h-legacy-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 36px;
}

.page-home .h-timeline {
  position: relative;
  padding-left: 28px;
}

.page-home .h-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-orange), var(--c-cyan), transparent);
}

.page-home .h-tl-item {
  position: relative;
  padding-bottom: 26px;
}

.page-home .h-tl-item:last-child {
  padding-bottom: 0;
}

.page-home .h-tl-dot {
  position: absolute;
  left: -27px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-orange);
  border: 3px solid var(--c-black);
  box-shadow: 0 0 0 2px var(--c-orange), 0 0 12px rgba(255, 90, 31, 0.6);
}

.page-home .h-tl-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--c-white);
}

.page-home .h-tl-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ash);
  margin: 0;
}

.page-home .h-legacy-card {
  background: rgba(10, 17, 40, 0.88);
  border: var(--border-thick) solid rgba(255, 90, 31, 0.5);
  box-shadow: var(--shadow-hard-md);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-home .h-legacy-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  margin: 4px 0 0;
  color: var(--c-white);
}

.page-home .h-legacy-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ash);
  margin: 0;
}

/* ===== 服务通道 ===== */
.page-home .h-channels {
  background: var(--c-deep);
  padding: 56px 0 72px;
}

.page-home .h-channels-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--c-white);
  margin: 0 0 28px;
  position: relative;
  display: inline-block;
}

.page-home .h-channels-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-orange));
}

.page-home .h-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.page-home .h-channel-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(30, 42, 90, 0.55);
  border: 2px solid rgba(138, 148, 166, 0.25);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-decoration: none;
  transition: transform var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.page-home .h-channel-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-cyan);
  box-shadow: var(--shadow-hard-md);
}

.page-home .h-channel-index {
  font-size: 12px;
  color: var(--c-gold);
  letter-spacing: 0.1em;
}

.page-home .h-channel-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-white);
  margin: 0;
}

.page-home .h-channel-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-ash);
  margin: 0;
}

/* ===== 轮播动画 ===== */
@keyframes hCarouselCycle {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }
  4% {
    opacity: 1;
    transform: scale(1);
  }
  28% {
    opacity: 1;
  }
  34% {
    opacity: 0;
    transform: scale(0.99);
  }
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@keyframes hLight1 {
  0%, 28% {
    background: var(--c-cyan);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
  }
  34%, 100% {
    background: rgba(138, 148, 166, 0.35);
    box-shadow: none;
  }
}

@keyframes hLight2 {
  0%, 28% {
    background: rgba(138, 148, 166, 0.35);
    box-shadow: none;
  }
  34%, 61% {
    background: var(--c-cyan);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
  }
  67%, 100% {
    background: rgba(138, 148, 166, 0.35);
    box-shadow: none;
  }
}

@keyframes hLight3 {
  0%, 61% {
    background: rgba(138, 148, 166, 0.35);
    box-shadow: none;
  }
  67%, 100% {
    background: var(--c-cyan);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .h-c-slide {
    animation: none;
  }

  .page-home .h-c-slide:nth-child(1) {
    opacity: 1;
  }

  .page-home .h-c-slide:nth-child(2),
  .page-home .h-c-slide:nth-child(3) {
    opacity: 0;
  }

  .page-home .h-c-light {
    animation: none;
  }

  .page-home .h-c-light:nth-child(1) {
    background: var(--c-cyan);
  }
}

/* ===== 平板及以上 ===== */
@media (min-width: 768px) {
  .page-home .h-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .h-channel-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .h-dl-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home .h-dl-btn {
    width: auto;
  }

  .page-home .h-league-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home .h-league-footer p {
    max-width: 420px;
  }
}

/* ===== 桌面端 ===== */
@media (min-width: 992px) {
  .page-home .h-hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + var(--header-top-offset) + 36px);
  }

  .page-home .h-hero-top {
    margin-bottom: 32px;
  }

  .page-home .h-hero-cols {
    display: grid;
    grid-template-columns: 42fr 58fr;
    gap: 0;
    align-items: stretch;
  }

  .page-home .h-split {
    display: block;
    position: absolute;
    left: 41%;
    top: -4%;
    width: 4px;
    height: 108%;
    background: linear-gradient(to bottom, transparent, var(--c-cyan) 18%, rgba(57, 255, 20, 0.55) 82%, transparent);
    transform: rotate(14deg);
    z-index: 6;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
  }

  .page-home .h-hero-left {
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0% 100%);
    padding: 38px 60px 48px 36px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    box-shadow: none;
    border-right: none;
  }

  .page-home .h-hero-right {
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
    padding: 38px 36px 48px 64px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: none;
    border-left: none;
    background: rgba(13, 18, 24, 0.9);
  }

  .page-home .h-hero-left::before {
    left: 0;
    top: 0;
  }

  .page-home .h-c-info h3 {
    font-size: 18px;
  }

  .page-home .h-legacy-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: start;
    gap: 40px;
  }

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

  .page-home .h-league-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1200px) {
  .page-home .h-hero-inner {
    max-width: var(--container-max);
  }

  .page-home .h-stat-item {
    padding: 28px 20px;
  }
}
