/* ============ 首页专属样式 ============ */
.page-home {
  --ph-accent-grid: rgba(200, 207, 216, .08);
  --ph-neon-soft: rgba(0, 255, 157, .12);
  background: var(--bg-deep);
  color: var(--white);
  overflow-x: hidden;
}

/* ---------- 首屏数据看板 ---------- */
.page-home .ph-hero {
  position: relative;
  min-height: 92vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6rem 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
}

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

.page-home .ph-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .ph-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 15, 20, .72) 0%, rgba(11, 15, 20, .88) 55%, rgba(11, 15, 20, .97) 100%),
    linear-gradient(135deg, rgba(0, 255, 157, .08) 0%, transparent 40%);
}

.page-home .ph-hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 207, 216, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 207, 216, .045) 1px, transparent 1px);
  background-size: 56px 56px;
}

.page-home .ph-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
}

.page-home .ph-hero-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.page-home .ph-round {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--silver);
  background: rgba(19, 26, 35, .78);
  border: 1px dashed rgba(200, 207, 216, .35);
  padding: .38rem .65rem;
}

.page-home .ph-round::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(0, 255, 157, .6);
}

.page-home .ph-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 1.1rem;
  letter-spacing: .01em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-home .ph-title-en {
  color: var(--neon);
}

.page-home .ph-hero-desc {
  max-width: 62ch;
  color: var(--gray-blue);
  font-size: .95rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.page-home .ph-league-filter {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  margin-bottom: 1.75rem;
  padding-bottom: .25rem;
  white-space: nowrap;
}

.page-home .ph-league-btn {
  flex: 0 0 auto;
  background: rgba(19, 26, 35, .82);
  border: 1px solid rgba(200, 207, 216, .28);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .05em;
  padding: .55rem 1rem;
  cursor: pointer;
  transition: all var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.page-home .ph-league-btn:hover {
  border-color: var(--neon);
  color: var(--white);
}

.page-home .ph-league-btn.is-active {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--bg-deep);
  box-shadow: 0 0 16px rgba(0, 255, 157, .22);
}

.page-home .ph-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin: 0;
}

.page-home .ph-stat {
  background: rgba(19, 26, 35, .85);
  border: 1px solid rgba(200, 207, 216, .16);
  padding: 1.1rem .9rem;
  margin: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  backdrop-filter: blur(6px);
}

.page-home .ph-stat dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-blue);
  margin-bottom: .45rem;
}

.page-home .ph-stat dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  color: var(--white);
}

.page-home .ph-stat dd sup {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--gray-blue);
  margin-left: .2rem;
}

.page-home .ph-stat-primary {
  background: linear-gradient(135deg, rgba(0, 255, 157, .14), rgba(19, 26, 35, .92) 62%);
  border-color: rgba(0, 255, 157, .45);
}

.page-home .ph-stat-primary dd,
.page-home .ph-stat-primary dd sup {
  color: var(--neon);
}

.page-home .ph-scroll-hint {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--gray-blue);
  letter-spacing: .1em;
  z-index: 2;
}

.page-home .ph-scroll-hint span {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--neon), transparent);
  animation: ph-pulse 1.6s ease-in-out infinite;
}

@keyframes ph-pulse {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}

/* ---------- 区块通用头部 ---------- */
.page-home .ph-section-head {
  margin-bottom: 2rem;
}

.page-home .section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--neon);
  background: rgba(0, 255, 157, .07);
  border: 1px solid rgba(0, 255, 157, .32);
  padding: .35rem .8rem;
  margin-bottom: .9rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}

.page-home .ph-section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 .75rem;
  line-height: 1.2;
}

.page-home .ph-section-desc {
  color: var(--gray-blue);
  max-width: 70ch;
  line-height: 1.7;
  margin: 0;
}

/* ---------- 卡片通用 ---------- */
.page-home .card {
  background: var(--bg-card);
  border: 1px solid rgba(200, 207, 216, .1);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.page-home .card:hover {
  border-color: rgba(0, 255, 157, .38);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 255, 157, .06);
  transform: translateY(-2px);
}

.page-home .card-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--neon), var(--cyan), transparent);
}

.page-home .card-title {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--white);
  margin: 0 0 .75rem;
}

.page-home .card-desc {
  color: var(--gray-blue);
  font-size: .875rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.page-home .fig-cap {
  color: var(--gray-blue);
  font-size: .75rem;
  line-height: 1.5;
  margin: .75rem 0 0;
}

.page-home .data-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neon);
}

/* ---------- 数据看板区 ---------- */
.page-home .ph-dashboard {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(0, 255, 157, .08), transparent 55%),
    var(--bg-deep);
  padding: 4.5rem 0 4rem;
}

.page-home .ph-dash-grid {
  display: grid;
  gap: 1rem;
}

.page-home .ph-chart-card {
  background:
    linear-gradient(160deg, rgba(0, 255, 157, .04), transparent 40%),
    var(--bg-card);
  padding: 1.4rem;
}

.page-home .ph-chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

.page-home .ph-chart-legend {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--silver);
  margin-bottom: .5rem;
}

.page-home .ph-legend-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.page-home .ph-legend-swatch {
  width: 10px;
  height: 10px;
  display: inline-block;
  flex: 0 0 auto;
}

.page-home .ph-legend-goal {
  background: var(--neon);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%);
}

.page-home .ph-legend-conceded {
  background: var(--cyan);
}

.page-home .ph-chart-svg {
  width: 100%;
  height: auto;
  display: block;
  margin: .5rem 0 0;
}

.page-home .ph-chart-grid line {
  stroke: rgba(200, 207, 216, .16);
  stroke-width: 1;
}

.page-home .ph-chart-grid line:last-child {
  stroke: rgba(200, 207, 216, .3);
  stroke-dasharray: none;
}

.page-home .ph-chart-grid text {
  fill: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  text-anchor: end;
}

.page-home .ph-bar-goal {
  fill: var(--neon);
  opacity: .92;
}

.page-home .ph-bar-conceded {
  fill: var(--cyan);
  opacity: .88;
}

.page-home .ph-chart-series rect {
  transition: opacity .2s, transform .2s;
  transform-box: fill-box;
  transform-origin: center bottom;
}

.page-home .ph-chart-series rect:hover {
  opacity: 1;
  transform: scaleY(1.04);
}

.page-home .ph-bar-value {
  fill: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  text-anchor: middle;
}

.page-home .ph-bar-legend {
  fill: var(--silver);
  font-family: var(--font-body);
  font-size: 13px;
  text-anchor: middle;
  font-weight: 600;
}

.page-home .ph-chart-title-txt {
  fill: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 10px;
  text-anchor: start;
}

.page-home .ph-update-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: flex-start;
}

.page-home .ph-update-media {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: .75rem;
}

.page-home .ph-update-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: saturate(.9) contrast(1.06);
}

.page-home .ph-update-card .card-title {
  margin-bottom: 0;
}

.page-home .ph-update-card .content-link {
  margin-top: auto;
}

.page-home .ph-key-card {
  background: linear-gradient(135deg, rgba(0, 255, 157, .13), rgba(19, 26, 35, .94) 62%);
  border-color: rgba(0, 255, 157, .28);
}

.page-home .ph-key-card .card-title {
  margin-bottom: .5rem;
}

.page-home .ph-key-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .85rem 0;
  border-bottom: 1px dashed rgba(0, 255, 157, .2);
}

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

.page-home .ph-key-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--silver);
}

.page-home .ph-key-value {
  font-size: .9rem;
  color: var(--white);
}

.page-home .ph-key-value .data-num {
  font-size: 1.45rem;
  color: var(--neon);
}

/* ---------- 五大联赛对照区 ---------- */
.page-home .ph-compare {
  position: relative;
  background:
    linear-gradient(180deg, rgba(19, 26, 35, .35), rgba(11, 15, 20, 0) 8%),
    repeating-linear-gradient(45deg, rgba(255, 77, 0, .03) 0 2px, transparent 2px 26px);
  border-top: 1px solid rgba(200, 207, 216, .08);
  border-bottom: 1px solid rgba(200, 207, 216, .08);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.page-home .ph-compare-grid {
  display: grid;
  gap: 1rem;
}

.page-home .ph-table-scroll {
  overflow-x: auto;
}

.page-home .ph-compare-table {
  min-width: 640px;
  width: 100%;
  border-collapse: collapse;
}

.page-home .ph-compare-table th,
.page-home .ph-compare-table td {
  padding: .9rem .6rem;
  text-align: right;
  border-bottom: 1px solid rgba(200, 207, 216, .12);
}

.page-home .ph-compare-table th:first-child,
.page-home .ph-compare-table td:first-child {
  text-align: left;
}

.page-home .ph-compare-table thead th {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-blue);
  background: rgba(200, 207, 216, .05);
  border-bottom: 1px solid rgba(200, 207, 216, .2);
}

.page-home .ph-compare-table tbody th {
  color: var(--silver);
  font-weight: 600;
}

.page-home .ph-compare-table .num {
  font-family: var(--font-mono);
  color: var(--white);
  white-space: nowrap;
}

.page-home .ph-compare-table tbody tr:hover {
  background: rgba(0, 255, 157, .04);
}

.page-home .ph-meter {
  display: inline-block;
  width: 44px;
  height: 4px;
  background: rgba(200, 207, 216, .14);
  vertical-align: middle;
  margin-left: .4rem;
  overflow: hidden;
  border-radius: 2px;
}

.page-home .ph-meter-inner {
  display: block;
  height: 100%;
  border-radius: 2px;
}

.page-home .ph-meter-goal {
  background: var(--neon);
}

.page-home .ph-meter-conceded {
  background: var(--cyan);
}

.page-home .ph-compare-note {
  background:
    linear-gradient(145deg, rgba(255, 77, 0, .08), transparent 70%),
    var(--bg-card);
  border-color: rgba(255, 77, 0, .2);
}

.page-home .ph-compare-note h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--white);
  margin: 0 0 .75rem;
}

.page-home .ph-compare-note p {
  color: var(--gray-blue);
  font-size: .875rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.page-home .ph-compare-note .content-link {
  margin-top: .25rem;
  display: inline-block;
}

.page-home .ph-watermark {
  position: absolute;
  right: -2rem;
  bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 4.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 207, 216, .06);
  letter-spacing: .08em;
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

/* ---------- 会员看赛指南区 ---------- */
.page-home .ph-membership {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(0, 212, 255, .07), transparent 50%),
    var(--bg-deep);
  padding: 4.5rem 0;
}

.page-home .ph-member-grid {
  display: grid;
  gap: 1rem;
}

.page-home .ph-member-card {
  overflow: hidden;
  padding: 0;
}

.page-home .ph-member-card > div,
.page-home .ph-member-card > p,
.page-home .ph-member-card > h3,
.page-home .ph-member-card > .btn,
.page-home .ph-member-card > .ph-member-tag-row {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.page-home .ph-member-card .ph-member-img {
  margin: 0 0 1.25rem;
  overflow: hidden;
}

.page-home .ph-member-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform var(--ease);
}

.page-home .ph-member-card:hover .ph-member-img img {
  transform: scale(1.02);
}

.page-home .ph-member-headline {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
}

.page-home .ph-member-headline h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  margin: 0;
}

.page-home .ph-member-no {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--neon);
  opacity: .75;
}

.page-home .ph-member-card p {
  color: var(--gray-blue);
  font-size: .875rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.page-home .ph-feature-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: .5rem;
}

.page-home .ph-feature-list li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .875rem;
  color: var(--gray-blue);
  line-height: 1.5;
}

.page-home .ph-feature-list li::before {
  content: "▸";
  color: var(--neon);
  font-family: var(--font-mono);
  flex: 0 0 auto;
}

.page-home .ph-member-tall {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .5rem;
}

.page-home .ph-member-tag-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}

.page-home .ph-member-last-card {
  display: flex;
  flex-direction: column;
}

/* ---------- 最新内容动态区 ---------- */
.page-home .ph-latest {
  background: linear-gradient(180deg, var(--bg-deep), rgba(19, 26, 35, .5) 50%, var(--bg-deep));
  padding: 4.5rem 0 3.5rem;
}

.page-home .ph-latest-grid {
  display: grid;
  gap: 1rem;
}

.page-home .ph-article-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.page-home .ph-article-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}

.page-home .ph-article-num {
  color: var(--gray-blue);
  font-size: .8rem;
}

.page-home .ph-article-card h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--white);
  margin: 0;
}

.page-home .ph-article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.page-home .ph-article-card h3 a:hover {
  color: var(--neon);
}

.page-home .ph-article-card p {
  color: var(--gray-blue);
  font-size: .875rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.page-home .ph-article-meta {
  font-size: .7rem;
  color: var(--silver);
  border-top: 1px dashed rgba(200, 207, 216, .25);
  padding-top: .75rem;
}

.page-home .ph-latest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

/* ---------- 响应式布局 ---------- */
@media (min-width: 768px) {
  .page-home .ph-hero-inner {
    padding-top: 2rem;
  }

  .page-home .ph-hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .ph-latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .ph-member-last-card {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .page-home .ph-member-last-card .ph-member-img {
    flex: 0 0 45%;
    margin: 0;
  }

  .page-home .ph-member-last-card .ph-member-last-text {
    flex: 1;
    padding-right: 1rem;
  }
}

@media (min-width: 992px) {
  .page-home .ph-dash-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .ph-chart-card {
    grid-column: span 8;
    grid-row: span 2;
    padding: 1.8rem;
  }

  .page-home .ph-update-card {
    grid-column: span 4;
  }

  .page-home .ph-key-card {
    grid-column: span 4;
  }

  .page-home .ph-compare-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .ph-table-card {
    grid-column: span 8;
  }

  .page-home .ph-compare-note {
    grid-column: span 4;
  }

  .page-home .ph-member-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .ph-member-card:nth-child(1) {
    grid-column: span 7;
  }

  .page-home .ph-member-card:nth-child(2) {
    grid-column: span 5;
  }

  .page-home .ph-member-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .page-home .ph-latest-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .ph-chart-card {
    padding: 2rem;
  }

  .page-home .ph-hero {
    padding-top: 6.5rem;
  }
}
