/* ========== 首页专属样式 ========== */
.page-home {
  overflow-x: hidden;
  color: var(--c-text);
}

/* ========== 面包屑 ========== */
.page-home .ph-hero__crumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-text-2);
  letter-spacing: 0.04em;
}
.page-home .ph-hero__crumb a {
  color: var(--c-silver);
  text-decoration: none;
  transition: color 0.3s ease;
}
.page-home .ph-hero__crumb a:hover {
  color: var(--c-accent);
}

/* ========== 首屏动态 ========== */
.page-home .ph-hero {
  padding: 28px clamp(20px, 4vw, 48px) 64px;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(42, 27, 61, 0.55) 0%, rgba(10, 14, 26, 0) 60%),
    linear-gradient(180deg, rgba(10, 14, 26, 0) 0%, rgba(18, 26, 47, 0.4) 100%);
}
.page-home .ph-hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.page-home .ph-hero__badge {
  margin-bottom: 20px;
}
.page-home .ph-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
  color: var(--c-text);
}
.page-home .ph-hero__title-accent {
  color: var(--c-accent);
}
.page-home .ph-hero__lede {
  color: var(--c-text-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  max-width: 58ch;
  margin: 0 0 32px;
}
.page-home .ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.page-home .ph-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.page-home .ph-hero__stat {
  min-width: 120px;
}
.page-home .ph-hero__stat dt {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-text-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-home .ph-hero__stat-value {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
  color: var(--c-accent);
  margin-top: 6px;
}
.page-home .ph-hero__stage {
  position: relative;
}
.page-home .ph-hero__frame {
  position: relative;
  margin: 0;
  padding: 0;
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  clip-path: polygon(0 0, 100% 8%, 100% 92%, 0 100%);
}
.page-home .ph-hero__frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}
.page-home .ph-hero__frame figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(10, 14, 26, 0.82);
  color: var(--c-accent);
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-left: 3px solid var(--c-accent);
}
.page-home .ph-hero__stream {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.page-home .ph-hero__path--1,
.page-home .ph-hero__path--2 {
  stroke-dashoffset: 0;
  animation: phHeroFlow 8s linear infinite;
}
.page-home .ph-hero:hover .ph-hero__path--1 {
  animation-duration: 3s;
}
.page-home .ph-hero:hover .ph-hero__path--2 {
  animation-duration: 2s;
}
@keyframes phHeroFlow {
  to {
    stroke-dashoffset: -80;
  }
}

/* ========== 平台公告 ========== */
.page-home .ph-bulletin {
  padding: 72px 0;
  background: var(--c-bg-panel);
  border-top: 1px solid var(--c-line);
}
.page-home .ph-bulletin__header {
  max-width: 860px;
  margin-bottom: 40px;
}
.page-home .ph-bulletin__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 16px 0 12px;
}
.page-home .ph-bulletin__lead {
  color: var(--c-text-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
}
.page-home .ph-bulletin__cards {
  display: grid;
  gap: 16px;
}
.page-home .ph-card {
  position: relative;
  padding: 24px;
  background: linear-gradient(160deg, rgba(42, 27, 61, 0.55), rgba(18, 26, 47, 0.9));
  border: 1px solid var(--c-line);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.page-home .ph-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.6);
  box-shadow: var(--shadow-1);
}
.page-home .ph-card__index {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--c-accent);
  letter-spacing: 0.12em;
  margin: 0;
}
.page-home .ph-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.3;
  margin: 8px 0 10px;
}
.page-home .ph-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text-2);
  margin: 0 0 20px;
}
.page-home .ph-card__more {
  color: var(--c-accent);
  font-family: var(--font-body);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 0, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}
.page-home .ph-card__more:hover {
  border-color: var(--c-accent);
}
.page-home .ph-bulletin__visual {
  margin: 40px 0 0;
}
.page-home .ph-bulletin__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}
.page-home .ph-bulletin__timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  margin-top: 32px;
  padding: 18px 20px;
  border-left: 3px solid var(--c-accent);
  background: rgba(10, 14, 26, 0.6);
  color: var(--c-text);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  transition: background 0.3s ease;
}
.page-home .ph-bulletin__timeline:hover {
  background: rgba(10, 14, 26, 0.85);
}
.page-home .ph-bulletin__timeline strong {
  color: var(--c-accent);
  font-weight: 600;
}
.page-home .ph-bulletin__timeline-dot {
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ========== 本周赛程 ========== */
.page-home .ph-matches {
  padding: 72px 0 0;
}
.page-home .ph-matches__head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
  margin: 16px 0 20px;
}
.page-home .ph-matches__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 16px 0 8px;
}
.page-home .ph-matches__desc {
  color: var(--c-text-2);
  font-family: var(--font-body);
  margin: 0;
}
.page-home .ph-matches__round {
  flex-shrink: 0;
}
.page-home .ph-matches__bar {
  height: 6px;
  background: var(--c-line);
  margin: 12px 0 36px;
  overflow: hidden;
}
.page-home .ph-matches__bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent), #FF9A44);
}
.page-home .ph-matches__rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.page-home .ph-match {
  flex: 0 0 min(260px, 84vw);
  scroll-snap-align: start;
  padding: 22px;
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.page-home .ph-match:hover {
  border-color: rgba(255, 107, 0, 0.5);
  transform: translateY(-3px);
}
.page-home .ph-match__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--c-text-2);
  font-family: var(--font-body);
  font-size: 13px;
}
.page-home .ph-match__slot {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-size: 13px;
}
.page-home .ph-match__teams {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 26px 0 22px;
}
.page-home .ph-match__team {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.2;
  color: var(--c-text);
}
.page-home .ph-match__vs {
  color: var(--c-accent);
  font-family: var(--font-heading);
  font-size: 14px;
  opacity: 0.8;
}
.page-home .ph-match__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  color: var(--c-text-2);
  font-family: var(--font-body);
  font-size: 12px;
}
.page-home .ph-matches__aside {
  margin-top: 48px;
  padding: 48px 0;
  background: linear-gradient(120deg, var(--c-purple) 0%, var(--c-bg) 60%);
}
.page-home .ph-matches__aside-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}
.page-home .ph-matches__aside-title {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--c-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.page-home .ph-matches__aside-copy h3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  margin: 12px 0 12px;
}
.page-home .ph-matches__aside-copy p {
  color: var(--c-text-2);
  font-family: var(--font-body);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 24px;
}
.page-home .ph-matches__phone {
  margin: 0;
}
.page-home .ph-matches__phone img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 2;
  object-fit: cover;
  border: 1px solid var(--c-line);
}

/* ========== 功能导航 ========== */
.page-home .ph-entry {
  padding: 72px 0;
}
.page-home .ph-entry__head {
  max-width: 720px;
  margin-bottom: 36px;
}
.page-home .ph-entry__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  margin: 16px 0 8px;
}
.page-home .ph-entry__intro {
  color: var(--c-text-2);
  font-family: var(--font-body);
  line-height: 1.7;
  margin: 0;
}
.page-home .ph-entry__grid {
  display: grid;
  gap: 16px;
}
.page-home .ph-entry__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.page-home .ph-entry__item::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  background: var(--c-purple);
  transform: rotate(45deg);
  opacity: 0.4;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.page-home .ph-entry__item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.55);
  box-shadow: var(--shadow-1);
}
.page-home .ph-entry__item:hover::after {
  transform: rotate(45deg) scale(1.15);
  opacity: 0.6;
}
.page-home .ph-entry__index {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--c-accent);
}
.page-home .ph-entry__item h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}
.page-home .ph-entry__item p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text-2);
  margin: 0;
  flex: 1;
}
.page-home .ph-entry__go {
  color: var(--c-accent);
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-home .ph-entry__visual {
  display: grid;
  gap: 16px;
  align-items: center;
  margin: 36px 0 0;
  padding: 20px;
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
}
.page-home .ph-entry__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.page-home .ph-entry__visual figcaption {
  color: var(--c-text-2);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.page-home .ph-entry__visual figcaption span {
  font-size: 18px;
  line-height: 1.5;
}
.page-home .ph-entry__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  margin-top: 24px;
  padding: 16px 20px;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  color: var(--c-text-2);
  font-family: var(--font-body);
  font-size: 14px;
}
.page-home .ph-entry__foot p {
  margin: 0;
}
.page-home .ph-entry__foot a {
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 0, 0.4);
}

/* ========== 响应式：平板与桌面 ========== */
@media (min-width: 768px) {
  .page-home .ph-bulletin__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .ph-matches__rail {
    flex-wrap: wrap;
    overflow: visible;
  }
  .page-home .ph-match {
    flex: 1 1 calc(50% - 7px);
  }
  .page-home .ph-entry__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .ph-entry__visual {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .page-home .ph-hero {
    padding-top: 48px;
  }
  .page-home .ph-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    min-height: 600px;
  }
  .page-home .ph-bulletin__cards {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .ph-match {
    flex: 1 1 calc(33.333% - 10px);
  }
  .page-home .ph-matches__aside-inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .page-home .ph-entry__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
