.page-home {
  --home-space: clamp(48px, 7vw, 88px);
  --home-space--tight: clamp(32px, 4vw, 56px);
  overflow-x: hidden;
  background: var(--c-cream);
}

/* ========== Hero 框景首屏 ========== */
.page-home .hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  background: var(--c-deep);
  overflow: hidden;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.15) contrast(1.05);
}

.page-home .hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26, 42, 58, 0.96) 0%, rgba(26, 42, 58, 0.78) 44%, rgba(26, 42, 58, 0.36) 82%, rgba(26, 42, 58, 0.68) 100%);
}

.page-home .hero-gridline {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 84%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 720px;
  margin-left: clamp(16px, 5vw, 72px);
  padding: 88px clamp(16px, 4vw, 40px) 92px 16px;
}

.page-home .hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(26, 42, 58, 0.82);
  border-left: 3px solid var(--c-primary);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  white-space: nowrap;
}

.page-home .hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-primary);
  animation: page-home-pulse 1.8s infinite;
}

.page-home .hero-meta-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.page-home .hero-title {
  margin: 28px 0 20px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(48px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--c-white);
  text-shadow: 4px 4px 0 var(--c-primary);
  transform: skewX(-6deg);
}

.page-home .hero-subtitle {
  margin: 0 0 14px;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-yellow);
}

.page-home .hero-copy {
  max-width: 500px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 243, 232, 0.88);
}

.page-home .hero-num {
  color: var(--c-accent);
  font-family: var(--font-data);
  font-weight: 700;
}

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

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
  gap: 1px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.page-home .hero-stat {
  padding: 12px 10px;
  background: rgba(26, 42, 58, 0.82);
  backdrop-filter: blur(4px);
}

.page-home .hero-stat b {
  display: block;
  font-family: var(--font-data);
  font-size: 20px;
  color: var(--c-accent);
  line-height: 1.2;
}

.page-home .hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(247, 243, 232, 0.78);
}

.page-home .hero-scale {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 46%;
  height: 16px;
  z-index: 6;
  pointer-events: none;
}

.page-home .hero-scale::before,
.page-home .hero-scale::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-home .hero-scale::before {
  background-image: linear-gradient(to right, var(--c-primary) 0 2px, transparent 2px);
  background-size: 56px 100%;
}

.page-home .hero-scale::after {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8) 0 1px, transparent 1px);
  background-size: 14px 100%;
}

.page-home .hero-corner--tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border-top: 5px solid var(--c-primary);
  border-left: 5px solid var(--c-primary);
  z-index: 6;
}

.page-home .hero-corner--br {
  position: absolute;
  right: 0;
  bottom: 44px;
  width: 50px;
  height: 50px;
  border-right: 5px solid var(--c-primary);
  border-bottom: 5px solid var(--c-primary);
  z-index: 6;
}

.page-home .hero-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  height: 44px;
  overflow: hidden;
  background: rgba(26, 42, 58, 0.88);
  border-top: 2px solid rgba(255, 78, 0, 0.5);
  backdrop-filter: blur(8px);
}

.page-home .ticker-track {
  display: flex;
  width: max-content;
  animation: page-home-ticker-scroll 30s linear infinite;
}

.page-home .ticker-seg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 26px;
  white-space: nowrap;
  font-size: 13px;
  color: rgba(247, 243, 232, 0.88);
}

.page-home .ticker-seg::before {
  content: "";
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--c-accent);
}

.page-home .ticker-league {
  color: var(--c-light-orange);
  font-weight: 700;
}

.page-home .ticker-time {
  color: var(--c-gray-lite);
}

.page-home .ticker-score {
  color: var(--c-yellow);
  font-size: 14px;
}

/* ========== 章节标题体系 ========== */
.page-home .home-section-head {
  margin-bottom: 30px;
}

.page-home .home-section-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .section-transfer .section-kicker {
  color: var(--c-accent);
}

.page-home .section-transfer .section-title {
  color: var(--c-white);
}

.page-home .section-transfer .section-desc {
  color: var(--c-light-orange);
}

/* ========== 联赛风云榜 ========== */
.page-home .section-ranking {
  padding: var(--home-space) 0;
}

.page-home .ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.page-home .league-card {
  overflow-x: auto;
  background: var(--c-cream);
  border-top: 4px solid var(--c-primary);
  box-shadow: var(--shadow-card);
}

.page-home .league-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--c-deep);
}

.page-home .league-card__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-home .league-card__mark {
  padding: 4px 8px;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

.page-home .league-card__title h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: var(--c-white);
}

.page-home .rank-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .rank-table th {
  padding: 10px 9px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-gray-blue);
  border-bottom: 1px solid rgba(26, 42, 58, 0.14);
}

.page-home .rank-table td {
  padding: 11px 9px;
  border-bottom: 1px solid rgba(26, 42, 58, 0.08);
  color: var(--c-dark-gray);
}

.page-home .rank-table tbody tr {
  transition: background 0.18s ease;
}

.page-home .rank-table tbody tr:hover {
  background: var(--c-light-orange);
}

.page-home .rank-pos {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-primary-deep);
}

.page-home .rank-club {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.page-home .rank-points {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-deep);
}

.page-home .rank-table tbody tr:nth-child(-n + 3) .rank-points {
  color: var(--c-primary-deep);
  border-bottom: 3px solid var(--c-accent);
}

.page-home .ranking-side {
  display: grid;
  gap: 24px;
}

.page-home .mini-rank-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .mini-rank {
  padding: 16px 18px 8px;
  background: var(--c-deep);
  box-shadow: var(--shadow-card);
  color: var(--c-cream);
}

.page-home .mini-rank__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--c-primary);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-yellow);
}

.page-home .mini-rank__head .data-mono {
  font-size: 12px;
  color: var(--c-gray-lite);
}

.page-home .mini-rank ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .mini-rank li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.page-home .mini-rank li:last-child {
  border-bottom: 0;
}

.page-home .mini-rank li b {
  font-family: var(--font-data);
  font-size: 15px;
  color: var(--c-accent);
}

.page-home .fan-figure {
  margin: 0;
  padding: 8px;
  background: var(--c-deep);
  border-left: 4px solid var(--c-primary);
}

.page-home .fan-figure figcaption {
  padding: 10px 6px 6px;
  font-size: 13px;
  color: var(--c-dark-gray);
}

.page-home .ranking-fan-img .media-frame {
  margin: 0;
}

/* ========== 阵容变动播报 ========== */
.page-home .section-transfer {
  padding: var(--home-space) 0;
  background: var(--c-deep);
}

.page-home .transfer-board {
  padding: 18px 14px;
  background: linear-gradient(145deg, #1e3142 0%, #14212e 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .transfer-board__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .transfer-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-light-orange);
}

.page-home .transfer-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: page-home-pulse 1.8s infinite;
}

.page-home .transfer-count {
  font-size: 13px;
  color: var(--c-gray-lite);
}

.page-home .transfer-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: start;
  padding: 14px 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.page-home .transfer-item:last-child {
  border-bottom: 0;
}

.page-home .transfer-item:hover {
  background: rgba(198, 255, 0, 0.06);
}

.page-home .transfer-time {
  grid-row: 1 / span 2;
  font-size: 13px;
  color: var(--c-gray-lite);
  padding-top: 3px;
}

.page-home .transfer-team {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
  color: var(--c-white);
}

.page-home .transfer-team::before {
  content: "";
  width: 8px;
  height: 8px;
  transform: skewX(-20deg);
  background: var(--c-primary);
}

.page-home .transfer-note {
  grid-column: 2;
  grid-row: 2;
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(247, 243, 232, 0.78);
}

.page-home .transfer-item > .tag {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  white-space: nowrap;
}

.page-home .transfer-type {
  font-size: 12px;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid transparent;
}

.page-home .transfer-type--injury {
  color: var(--c-yellow);
  border-color: rgba(255, 230, 0, 0.5);
}

.page-home .transfer-type--transfer {
  color: var(--c-accent);
  border-color: rgba(198, 255, 0, 0.4);
}

.page-home .transfer-type--ban {
  color: var(--c-light-orange);
  border-color: rgba(255, 209, 179, 0.5);
}

.page-home .transfer-type--lineup {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ========== 核心能力卡群 ========== */
.page-home .section-capability {
  padding: var(--home-space) 0;
  border-top: 4px solid var(--c-primary);
}

.page-home .capability-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 42, 58, 0.08);
}

.page-home .capability-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .capability-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26, 42, 58, 0.94) 0%, rgba(26, 42, 58, 0.68) 100%);
}

.page-home .capability-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 28px 20px;
}

.page-home .capability-card {
  position: relative;
  padding: 24px 22px;
  background: var(--c-cream);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  filter: drop-shadow(0 10px 14px rgba(26, 42, 58, 0.22));
  transition: transform 0.26s var(--ease-sport);
}

.page-home .capability-card:hover {
  transform: translateY(-6px);
}

.page-home .capability-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  margin-bottom: 18px;
  padding: 0 8px;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 15px;
  transform: skewX(-12deg);
}

.page-home .capability-pin::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  background: var(--c-accent);
}

.page-home .capability-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--c-deep);
}

.page-home .capability-card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-gray-blue);
}

.page-home .capability-meta {
  display: block;
  padding-top: 10px;
  border-top: 1px dashed rgba(26, 42, 58, 0.2);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-primary-deep);
}

/* ========== 版本动态 ========== */
.page-home .section-version {
  padding: var(--home-space) 0 var(--home-space--tight);
}

.page-home .version-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .version-main {
  overflow: hidden;
  background: var(--c-cream);
  border-top: 6px solid var(--c-primary);
  box-shadow: var(--shadow-card);
}

.page-home .version-media {
  position: relative;
  background: var(--c-deep);
}

.page-home .version-media .media-frame {
  aspect-ratio: 16 / 10;
  margin: 0;
}

.page-home .version-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.page-home .version-body {
  padding: 24px 22px;
}

.page-home .version-body h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 900;
  color: var(--c-deep);
}

.page-home .version-body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .version-body li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-dark-gray);
}

.page-home .version-body li::before {
  content: "";
  flex: 0 0 auto;
  align-self: center;
  width: 12px;
  height: 4px;
  transform: skewX(-30deg);
  background: var(--c-primary);
}

.page-home .article-picks {
  padding: 24px 20px;
  background: var(--c-white);
  border-top: 6px solid var(--c-primary);
  box-shadow: var(--shadow-card);
}

.page-home .article-picks__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .article-picks__head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--c-deep);
}

.page-home .article-picks__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary-deep);
  text-decoration: none;
  white-space: nowrap;
}

.page-home .article-picks__more:hover {
  text-decoration: underline;
}

.page-home .article-picks__desc {
  margin: 8px 0 16px;
  font-size: 13px;
  color: var(--c-gray-blue);
}

.page-home .article-pick-item {
  display: block;
  padding: 16px 0;
  border-top: 1px solid rgba(26, 42, 58, 0.12);
  text-decoration: none;
  transition: padding-left 0.2s ease;
}

.page-home .article-pick-item:hover {
  padding-left: 8px;
}

.page-home .article-pick-item .tag {
  margin-bottom: 8px;
}

.page-home .article-pick-item h4 {
  margin: 8px 0 6px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-dark-gray);
}

.page-home .article-pick-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-gray-blue);
}

/* ========== 支持条 ========== */
.page-home .support-strip {
  padding: var(--home-space--tight) 0 var(--home-space);
}

.page-home .support-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 28px 24px;
  background: var(--c-deep);
  color: var(--c-cream);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-home .support-strip__text h2 {
  margin: 12px 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: var(--c-white);
}

.page-home .support-strip__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-light-orange);
}

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

/* ========== 响应式 ========== */
@media (min-width: 640px) and (max-width: 1023px) {
  .page-home .mini-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .page-home .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 560px;
  }

  .page-home .support-strip__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-home .hero-section {
    min-height: 720px;
  }

  .page-home .hero-inner {
    padding-top: 112px;
    padding-bottom: 96px;
  }

  .page-home .home-section-head--row {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 2fr);
    align-items: end;
  }

  .page-home .rank-table td {
    padding: 12px 10px;
  }

  .page-home .transfer-board {
    padding: 20px 18px;
  }
}

@media (min-width: 1024px) {
  .page-home .ranking-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
    align-items: start;
    gap: 32px;
  }

  .page-home .version-layout {
    grid-template-columns: minmax(0, 1.25fr) clamp(280px, 30%, 380px);
    align-items: start;
    gap: 28px;
  }

  .page-home .capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 48px 48px 52px;
  }

  .page-home .transfer-item {
    padding: 16px 10px;
  }
}

@media (min-width: 1200px) {
  .page-home .hero-section {
    min-height: 780px;
  }

  .page-home .hero-inner {
    max-width: 760px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-live-dot,
  .page-home .transfer-live i,
  .page-home .ticker-track {
    animation: none !important;
  }

  .page-home .capability-card {
    transition: none;
  }
}
