/* ===== page-home 专属样式 ===== */
.page-home {
  --ph-accent: var(--accent-orange);
  --ph-accent-grad: var(--accent-orange-gradient);
  --ph-dark: var(--primary-dark-blue);
  --ph-blue: var(--primary-blue);
  --ph-text-dim: var(--text-secondary);
  --ph-white: var(--white);
  --ph-font-head: var(--font-head);
  --ph-font-mono: var(--font-mono);
  --ph-card-gap: 1.5rem;
  position: relative;
}

/* breadcrumb 适配首页 */
.page-home .breadcrumb {
  padding-top: calc(var(--header-height, 68px) + 0.75rem);
  padding-bottom: 0;
  margin-bottom: 0;
  background: transparent;
  position: relative;
  z-index: 6;
}
.page-home .breadcrumb .breadcrumb-item {
  color: var(--ph-text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== HERO 首屏 ===== */
.ph-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -2.5rem;
}
.ph-hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.ph-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.ph-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.92) 30%, rgba(13,27,42,0.60) 70%, rgba(13,27,42,0.40) 100%);
  z-index: 2;
}
.ph-hero-diagonal {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(158deg, transparent 58%, rgba(255,111,0,0.15) 58.5%, rgba(255,111,0,0.08) 62%, transparent 62.5%);
  pointer-events: none;
}
.ph-hero-inner {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0 5rem;
  width: 100%;
}
.ph-hero-header {
  text-align: center;
  max-width: 720px;
}
.ph-hero-title {
  font-family: var(--ph-font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.08;
  color: var(--ph-white);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15em;
  letter-spacing: -0.02em;
}
.ph-hero-brand {
  background: var(--ph-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ph-hero-sub-brand {
  font-weight: 400;
  font-size: 0.55em;
  color: var(--ph-white);
  opacity: 0.85;
  align-self: flex-end;
  margin-bottom: 0.12em;
}
.ph-hero-desc {
  font-family: var(--ph-font-head);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--ph-text-dim);
  letter-spacing: 0.08em;
  margin: 0.5rem 0 0;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.75rem;
  display: inline-block;
}

/* 倒计时模块 */
.ph-countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.ph-countdown-ring-wrap {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(255,111,0,0.25));
}
.ph-ring-bg {
  stroke: rgba(255,255,255,0.08);
}
.ph-ring-fg {
  stroke: url(#orangeGrad);
  filter: drop-shadow(0 0 8px rgba(255,111,0,0.3));
}
.ph-countdown-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  z-index: 2;
  text-align: center;
}
.ph-countdown-label {
  font-family: var(--ph-font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ph-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.ph-countdown-time {
  font-family: var(--ph-font-mono);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  color: var(--ph-white);
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(255,111,0,0.2);
}
.ph-countdown-unit {
  font-family: var(--ph-font-head);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--ph-text-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ph-countdown-deco {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  opacity: 0.3;
  pointer-events: none;
  transform: rotate(15deg);
}
.ph-match-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  font-family: var(--ph-font-head);
  font-size: 1rem;
  color: var(--ph-white);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
}
.ph-match-round {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ph-match-divider {
  color: var(--ph-accent);
  font-weight: 700;
}
.ph-match-note {
  font-size: 0.85rem;
  color: var(--ph-text-dim);
  letter-spacing: 0.02em;
}

/* ===== 阵容确认 ===== */
.ph-lineup {
  position: relative;
  padding: 4rem 0 3rem;
  background: var(--ph-dark);
}
.ph-lineup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ph-accent-grad);
  opacity: 0.6;
}
.ph-lineup-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.5rem;
}
.ph-section-label {
  font-family: var(--ph-font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ph-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
}
.ph-version-tag {
  font-family: var(--ph-font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ph-accent);
  background: rgba(255,111,0,0.12);
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(255,111,0,0.2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ph-lineup-intro {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ph-text-dim);
  margin: 0 0 2rem;
  border-left: 3px solid var(--ph-accent);
  padding-left: 1rem;
}
.ph-lineup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 700px;
}
.ph-lineup-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  cursor: default;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  animation: ph-cardFadeIn 0.5s ease backwards;
}
.ph-lineup-card:nth-child(1) { animation-delay: 0.05s; }
.ph-lineup-card:nth-child(2) { animation-delay: 0.15s; }
.ph-lineup-card:nth-child(3) { animation-delay: 0.25s; }
.ph-lineup-card:nth-child(4) { animation-delay: 0.35s; }

.ph-lineup-card:hover {
  transform: translateX(6px) scale(1.01);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.ph-lineup-card-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
}
.ph-player-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  object-fit: cover;
  flex-shrink: 0;
}
.ph-player-pos {
  font-family: var(--ph-font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ph-white);
  min-width: 3em;
}
.ph-player-count {
  font-family: var(--ph-font-mono);
  font-size: 0.85rem;
  color: var(--ph-text-dim);
  font-weight: 500;
}
.ph-player-status {
  margin-left: auto;
  font-family: var(--ph-font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: #4CAF50;
  background: rgba(76,175,80,0.12);
  padding: 0.15rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ph-lineup-footnote {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ph-text-dim);
  margin: 1.5rem 0 0;
  opacity: 0.7;
}

/* ===== 核心功能速览 ===== */
.ph-features {
  position: relative;
  padding: 4rem 0 5rem;
  background: var(--neutral-light);
}
.ph-features .ph-section-label {
  color: var(--ph-dark);
  margin-bottom: 2.5rem;
}
.ph-features-stack {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
}
.ph-feature-card {
  position: relative;
  background: var(--ph-white);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  box-shadow: 0 4px 24px rgba(13,27,42,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 6px solid var(--ph-accent);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
  overflow: hidden;
}
.ph-feature-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 12px 40px rgba(13,27,42,0.12);
}
.ph-feature-card-body {
  flex: 1;
  min-width: 200px;
}
.ph-feature-title {
  font-family: var(--ph-font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ph-dark);
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.ph-feature-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin: 0 0 1.2rem;
  max-width: 480px;
}
.ph-feature-card .btn {
  font-size: 0.85rem;
}
.ph-feature-card-shape {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--ph-accent-grad);
  opacity: 0.06;
  position: absolute;
  right: -20px;
  top: -20px;
  pointer-events: none;
}
.ph-feature-card--first .ph-feature-card-shape {
  width: 120px;
  height: 120px;
  right: -30px;
  top: -30px;
  opacity: 0.05;
}
.ph-feature-card--second .ph-feature-card-shape {
  width: 100px;
  height: 100px;
  right: -15px;
  bottom: -15px;
  top: auto;
  opacity: 0.07;
}
.ph-feature-card--third .ph-feature-card-shape {
  width: 60px;
  height: 60px;
  left: -10px;
  bottom: -10px;
  top: auto;
  right: auto;
  opacity: 0.08;
}

/* ===== 数据亮点 ===== */
.ph-stats {
  position: relative;
  padding: 4rem 0 5rem;
  background: var(--ph-dark);
  color: var(--ph-white);
}
.ph-stats .ph-section-label {
  margin-bottom: 2rem;
}
.ph-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.ph-stat-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ph-stat-block:hover {
  background: rgba(255,255,255,0.07);
  transform: scale(1.02);
}
.ph-stat-number {
  display: block;
  font-family: var(--ph-font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ph-accent);
  line-height: 1.1;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.ph-stat-caption {
  display: block;
  font-family: var(--ph-font-head);
  font-size: 0.85rem;
  color: var(--ph-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ph-stats-visual {
  position: relative;
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.ph-stats-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.ph-stats-visual-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13,27,42,0.85));
  padding: 2rem 1.25rem 0.9rem;
  font-family: var(--ph-font-head);
  font-size: 0.75rem;
  color: var(--ph-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ===== 动画 ===== */
@keyframes ph-cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 移动端优先 ===== */
@media (max-width: 767px) {
  .ph-hero {
    min-height: 90vh;
    align-items: flex-start;
    padding-top: 2rem;
  }
  .ph-hero-inner {
    padding: 3rem 0 4rem;
    gap: 1.5rem;
  }
  .ph-hero-title {
    font-size: clamp(1.6rem, 8vw, 2.6rem);
  }
  .ph-hero-brand {
    font-size: 1em;
  }
  .ph-hero-sub-brand {
    font-size: 0.5em;
  }
  .ph-hero-desc {
    font-size: 0.85rem;
    padding-top: 0.5rem;
  }
  .ph-countdown-ring-wrap {
    width: 180px;
    height: 180px;
  }
  .ph-countdown-time {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
  .ph-match-meta {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    flex-wrap: wrap;
  }
  .ph-lineup {
    padding: 2.5rem 0 2rem;
  }
  .ph-lineup-grid {
    max-width: 100%;
  }
  .ph-lineup-card-inner {
    padding: 0.6rem 1rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .ph-player-pos {
    font-size: 0.9rem;
    min-width: 2.5em;
  }
  .ph-player-count {
    font-size: 0.75rem;
  }
  .ph-player-status {
    font-size: 0.6rem;
    padding: 0.1rem 0.5rem;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .ph-features {
    padding: 2.5rem 0 3rem;
  }
  .ph-feature-card {
    padding: 1.5rem 1.2rem;
    border-left-width: 4px;
  }
  .ph-feature-title {
    font-size: 1.1rem;
  }
  .ph-feature-desc {
    font-size: 0.85rem;
  }
  .ph-stats {
    padding: 2.5rem 0 3rem;
  }
  .ph-stats-grid {
    gap: 1rem;
  }
  .ph-stat-block {
    padding: 1.2rem 1rem;
  }
  .ph-stat-number {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .ph-stats-visual-label {
    font-size: 0.65rem;
    padding: 1.5rem 0.75rem 0.6rem;
  }
}

/* ===== 桌面端 ===== */
@media (min-width: 768px) {
  .ph-hero-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: 5rem 0 6rem;
  }
  .ph-hero-header {
    text-align: left;
    max-width: 45%;
  }
  .ph-hero-title {
    justify-content: flex-start;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
  }
  .ph-hero-desc {
    text-align: left;
    font-size: 1.1rem;
  }
  .ph-countdown-block {
    align-items: center;
    flex-shrink: 0;
  }
  .ph-countdown-ring-wrap {
    width: 260px;
    height: 260px;
  }
  .ph-countdown-time {
    font-size: clamp(2.6rem, 4vw, 3.8rem);
  }
  .ph-countdown-deco {
    width: 100px;
    height: 100px;
    top: -16px;
    right: -16px;
  }
  .ph-lineup-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
  .ph-lineup-card-inner {
    flex-wrap: nowrap;
  }
  .ph-player-status {
    margin-left: auto;
    width: auto;
  }
  .ph-features-stack {
    gap: 2.2rem;
  }
  .ph-feature-card {
    padding: 2.2rem 2.5rem;
    border-left-width: 8px;
  }
  .ph-feature-card--first {
    margin-right: 4%;
  }
  .ph-feature-card--second {
    margin-left: 4%;
  }
  .ph-feature-card--third {
    margin-right: 2%;
  }
  .ph-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .ph-stat-block {
    padding: 2.2rem 1.8rem;
  }
}

@media (min-width: 1024px) {
  .ph-hero {
    min-height: 80vh;
  }
  .ph-hero-inner {
    padding: 3rem 0 6rem;
  }
  .ph-hero-header {
    max-width: 50%;
  }
  .ph-hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
  }
  .ph-countdown-ring-wrap {
    width: 300px;
    height: 300px;
  }
  .ph-countdown-time {
    font-size: clamp(3rem, 4.5vw, 4.4rem);
  }
  .ph-lineup-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
  }
  .ph-lineup-card {
    animation: ph-cardFadeIn 0.5s ease backwards;
  }
  .ph-features-stack {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.8rem;
  }
  .ph-feature-card {
    flex: 1;
    min-width: 280px;
    max-width: calc(50% - 1rem);
    padding: 2rem 2rem;
  }
  .ph-feature-card--first {
    margin-right: 0;
  }
  .ph-feature-card--second {
    margin-left: 0;
  }
  .ph-feature-card--third {
    margin-right: 0;
    max-width: 100%;
    flex-basis: 100%;
  }
  .ph-stats-grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .ph-features-stack {
    flex-wrap: nowrap;
    gap: 2rem;
  }
  .ph-feature-card {
    flex: 1;
    min-width: 0;
    max-width: none;
    padding: 2.2rem 2.2rem;
  }
  .ph-feature-card--third {
    flex-basis: auto;
  }
}

/* ===== reduced-motion 兼容 ===== */
@media (prefers-reduced-motion: reduce) {
  .ph-lineup-card {
    animation: none;
    transition: none;
  }
  .ph-lineup-card:hover {
    transform: none;
  }
  .ph-feature-card {
    transition: none;
  }
  .ph-feature-card:hover {
    transform: none;
  }
  .ph-stat-block {
    transition: none;
  }
  .ph-stat-block:hover {
    transform: none;
  }
  .ph-countdown-time {
    text-shadow: none;
  }
}
