/* ===== page-home 专属样式 ===== */
.page-home {
  --ph-hero-min-height: 480px;
  --ph-sidebar-width: 280px;
  --ph-card-shadow: 0 4px 12px rgba(10, 47, 68, 0.08);
  --ph-card-shadow-hover: 0 8px 24px rgba(10, 47, 68, 0.16);
  --ph-border-radius: 12px;
  --ph-frame-accent: #FF6B35;
  --ph-frame-inner: #E2E8F0;
  --ph-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: var(--snow-white, #F8F9FA);
  color: var(--dark-blue, #0A2F44);
  font-family: var(--body-font, "Inter", sans-serif);
  line-height: 1.5;
  min-height: 80vh;
}

/* ========== 框景首屏 ========== */
.ph-hero {
  position: relative;
  width: 100%;
  padding: 24px 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ph-hero__frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  min-height: var(--ph-hero-min-height);
  border-radius: var(--ph-border-radius);
  overflow: hidden;
  isolation: isolate;
  background-color: var(--dark-blue, #0A2F44);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 框景四角刻度装饰 */
.ph-hero__border {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  width: 40px;
  height: 40px;
  border-color: var(--ph-frame-accent);
  border-style: solid;
  border-width: 0;
}
.ph-hero__border--tl {
  top: 12px;
  left: 12px;
  border-top-width: 3px;
  border-left-width: 3px;
}
.ph-hero__border--tr {
  top: 12px;
  right: 12px;
  border-top-width: 3px;
  border-right-width: 3px;
}
.ph-hero__border--bl {
  bottom: 12px;
  left: 12px;
  border-bottom-width: 3px;
  border-left-width: 3px;
}
.ph-hero__border--br {
  bottom: 12px;
  right: 12px;
  border-bottom-width: 3px;
  border-right-width: 3px;
}

.ph-hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.ph-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ph-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(10, 47, 68, 0.85) 0%, rgba(10, 47, 68, 0.40) 100%);
}

.ph-hero__content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  text-align: center;
  color: #fff;
  max-width: 560px;
  width: 100%;
}

.ph-hero__label {
  display: inline-block;
  font-family: var(--caption-font, "Inter", sans-serif);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--ph-frame-accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.ph-hero__title {
  font-family: var(--heading-font, "Inter", sans-serif);
  font-weight: var(--heading-weight, 700);
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.ph-hero__desc {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 20px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.ph-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.ph-feature-item {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  padding: 6px 18px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.20);
}

.ph-hero__cta {
  display: inline-block;
  padding: 12px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 32px;
  transition: transform var(--ph-transition), box-shadow var(--ph-transition);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}
.ph-hero__cta:hover,
.ph-hero__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45);
}

.ph-hero__quick-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.ph-quick-link {
  font-family: var(--caption-font, "Inter", sans-serif);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--primary-blue, #1E90FF);
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid var(--light-gray, #E2E8F0);
  border-radius: 24px;
  transition: background var(--ph-transition), color var(--ph-transition);
  background: var(--glass-white, rgba(255,255,255,0.7));
}
.ph-quick-link:hover,
.ph-quick-link:focus-visible {
  background: var(--primary-blue, #1E90FF);
  color: #fff;
  border-color: var(--primary-blue, #1E90FF);
}

/* ========== 非对称布局容器 ========== */
.ph-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 16px 48px;
  gap: 32px;
}

/* ========== 侧栏 - 更新记录 ========== */
.ph-sidebar {
  width: 100%;
}

.ph-sidebar__inner {
  background: var(--glass-white, rgba(255,255,255,0.7));
  backdrop-filter: blur(6px);
  border: 1px solid var(--light-gray, #E2E8F0);
  border-radius: var(--ph-border-radius);
  padding: 24px 20px;
  box-shadow: var(--ph-card-shadow);
}

.ph-sidebar__title {
  font-family: var(--heading-font, "Inter", sans-serif);
  font-weight: var(--heading-weight, 700);
  font-size: 1.25rem;
  color: var(--dark-blue, #0A2F44);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-blue, #1E90FF);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ph-sidebar__title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-orange, #FF6B35);
  border-radius: 50%;
}

.ph-update-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ph-update-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ph-update-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-blue, #1E90FF);
  margin-top: 5px;
  position: relative;
}
.ph-update-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 2px;
  height: 24px;
  background: var(--light-gray, #E2E8F0);
  transform: translateX(-50%);
}
.ph-update-item:last-child .ph-update-dot::after {
  display: none;
}
.ph-update-dot--highlight {
  background: var(--accent-orange, #FF6B35);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.ph-update-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ph-update-text strong {
  font-weight: 600;
  color: var(--dark-blue, #0A2F44);
}
.ph-update-text span {
  color: #5a6b7a;
}

.ph-sidebar__trust {
  margin: 24px 0 16px;
  font-size: 0.85rem;
  color: var(--primary-blue, #1E90FF);
  font-weight: 500;
  text-align: center;
  padding: 12px 0;
  border-top: 1px dashed var(--light-gray, #E2E8F0);
  border-bottom: 1px dashed var(--light-gray, #E2E8F0);
}

.ph-sidebar__more {
  display: block;
  text-align: center;
  font-size: 0.875rem;
}

/* ========== 主内容区 ========== */
.ph-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ========== 数据速览带 ========== */
.ph-data-strip {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ph-strip__header {
  text-align: center;
}

.ph-strip__title {
  font-family: var(--heading-font, "Inter", sans-serif);
  font-weight: var(--heading-weight, 700);
  font-size: 1.5rem;
  margin: 0 0 6px;
  color: var(--dark-blue, #0A2F44);
}

.ph-strip__sub {
  font-size: 0.95rem;
  color: #5a6b7a;
  margin: 0;
}

.ph-strip__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

.ph-strip-card {
  padding: 20px 18px;
  border-radius: var(--ph-border-radius);
  border: 1px solid var(--light-gray, #E2E8F0);
  transition: transform var(--ph-transition), box-shadow var(--ph-transition);
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  background: var(--glass-white, rgba(255,255,255,0.7));
}
.ph-strip-card:hover,
.ph-strip-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--ph-card-shadow-hover);
}

.ph-strip-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--snow-white, #F8F9FA);
  border-radius: 10px;
}

.ph-strip-card__title {
  font-family: var(--heading-font, "Inter", sans-serif);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
  color: var(--dark-blue, #0A2F44);
}

.ph-strip-card__desc {
  font-size: 0.9rem;
  color: #5a6b7a;
  margin: 0;
  line-height: 1.5;
}
.ph-strip-card__desc strong {
  color: var(--accent-orange, #FF6B35);
  font-weight: 600;
}

.ph-strip-card .badge {
  align-self: flex-start;
  font-size: 0.7rem;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ph-strip-card__link {
  font-size: 0.85rem;
  color: var(--primary-blue, #1E90FF);
  text-decoration: none;
  font-weight: 500;
  margin-top: auto;
  transition: color var(--ph-transition);
}
.ph-strip-card__link:hover,
.ph-strip-card__link:focus-visible {
  color: var(--accent-orange, #FF6B35);
  text-decoration: underline;
}

.ph-strip__visual {
  display: none;
}

/* ========== 约场次精选 ========== */
.ph-matches {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ph-matches__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ph-matches__title {
  font-family: var(--heading-font, "Inter", sans-serif);
  font-weight: var(--heading-weight, 700);
  font-size: 1.5rem;
  margin: 0;
  color: var(--dark-blue, #0A2F44);
}

.ph-matches__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.ph-filter-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #5a6b7a;
}

.ph-filter-btn {
  font-family: var(--body-font, "Inter", sans-serif);
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--light-gray, #E2E8F0);
  background: #fff;
  color: var(--dark-blue, #0A2F44);
  cursor: pointer;
  transition: all var(--ph-transition);
}
.ph-filter-btn:hover,
.ph-filter-btn:focus-visible {
  border-color: var(--primary-blue, #1E90FF);
  color: var(--primary-blue, #1E90FF);
}
.ph-filter-btn--active {
  background: var(--primary-blue, #1E90FF);
  color: #fff;
  border-color: var(--primary-blue, #1E90FF);
}
.ph-filter-btn--active:hover {
  background: #1a7de6;
  color: #fff;
  border-color: #1a7de6;
}

.ph-matches__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ph-match-card {
  padding: 16px 18px;
  border-radius: var(--ph-border-radius);
  border: 1px solid var(--light-gray, #E2E8F0);
  background: #fff;
  transition: transform var(--ph-transition), box-shadow var(--ph-transition);
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.ph-match-card:hover,
.ph-match-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--ph-card-shadow-hover);
}

.ph-match-card__season {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--primary-blue, #1E90FF);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ph-match-card__teams {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-blue, #0A2F44);
}

.ph-match-card__team {
  flex: 1;
}
.ph-match-card__team:last-child {
  text-align: right;
}

.ph-match-card__vs {
  font-weight: 300;
  color: #a0aec0;
  font-size: 0.85rem;
}

.ph-match-card__meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: #5a6b7a;
}

.ph-match-card__status {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  background: var(--light-gray, #E2E8F0);
  color: #5a6b7a;
}
.ph-match-card__status--live {
  background: var(--success-green, #28A745);
  color: #fff;
  animation: ph-pulse 2s ease-in-out infinite;
}

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

.ph-match-card__result {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--data-font, "Courier New", monospace);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-orange, #FF6B35);
  background: rgba(255, 107, 53, 0.08);
  padding: 2px 10px;
  border-radius: 8px;
}

.ph-matches__cta {
  text-align: center;
  margin-top: 8px;
}
.ph-matches__cta .btn-primary {
  padding: 10px 32px;
  border-radius: 32px;
  font-weight: 600;
}

/* ========== 射手榜数据对比 ========== */
.ph-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 18px;
  background: #fff;
  border-radius: var(--ph-border-radius);
  border: 1px solid var(--light-gray, #E2E8F0);
  box-shadow: var(--ph-card-shadow);
}

.ph-chart__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ph-chart__title {
  font-family: var(--heading-font, "Inter", sans-serif);
  font-weight: var(--heading-weight, 700);
  font-size: 1.3rem;
  margin: 0;
  color: var(--dark-blue, #0A2F44);
}

.ph-chart__desc {
  font-size: 0.95rem;
  color: #5a6b7a;
  margin: 0;
  line-height: 1.6;
}

.ph-chart__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.ph-chart-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ph-chart-stat__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ph-chart-stat__value {
  font-family: var(--data-font, "Courier New", monospace);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange, #FF6B35);
  margin: 0;
  line-height: 1.2;
}

.ph-chart__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ph-chart__img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* ========== 服务承诺 ========== */
.ph-trust {
  background: var(--dark-blue, #0A2F44);
  color: #fff;
  padding: 48px 16px;
  margin-top: 16px;
}

.ph-trust__inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ph-trust__title {
  font-family: var(--heading-font, "Inter", sans-serif);
  font-weight: var(--heading-weight, 700);
  font-size: 1.35rem;
  text-align: center;
  margin: 0;
  letter-spacing: -0.01em;
}

.ph-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.ph-trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px 18px;
  border-radius: var(--ph-border-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--ph-transition);
}
.ph-trust-item:hover {
  background: rgba(255, 255, 255, 0.10);
}

.ph-trust-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-trust-item__text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  font-weight: 400;
}

.ph-trust__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.ph-trust__pattern {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.7;
}

.ph-trust__note {
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.60);
  max-width: 480px;
  margin: 0;
  line-height: 1.6;
}

/* ========== 响应式：平板 768px ========== */
@media (min-width: 768px) {
  .ph-hero {
    padding: 32px 24px 40px;
  }
  .ph-hero__frame {
    min-height: 520px;
  }
  .ph-hero__content {
    padding: 48px 32px;
  }
  .ph-hero__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .ph-layout {
    padding: 0 24px 56px;
    gap: 40px;
  }

  .ph-strip__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .ph-matches__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ph-matches__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .ph-chart {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .ph-chart__content {
    flex: 1;
  }
  .ph-chart__visual {
    flex: 0 0 320px;
  }

  .ph-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ph-trust__footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ========== 响应式：桌面 1024px ========== */
@media (min-width: 1024px) {
  .ph-hero {
    padding: 40px 32px 48px;
  }
  .ph-hero__frame {
    min-height: 580px;
    border-radius: 16px;
  }
  .ph-hero__border--tl {
    top: 16px;
    left: 16px;
    width: 56px;
    height: 56px;
    border-width: 3px;
  }
  .ph-hero__border--tr {
    top: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-width: 3px;
  }
  .ph-hero__border--bl {
    bottom: 16px;
    left: 16px;
    width: 56px;
    height: 56px;
    border-width: 3px;
  }
  .ph-hero__border--br {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-width: 3px;
  }
  .ph-hero__content {
    padding: 64px 48px;
  }
  .ph-hero__quick-links {
    gap: 20px;
  }

  .ph-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    padding: 0 32px 64px;
  }

  .ph-sidebar {
    flex: 0 0 var(--ph-sidebar-width);
    position: sticky;
    top: calc(var(--header-height, 64px) + 24px);
  }
  .ph-sidebar__inner {
    padding: 28px 22px;
  }

  .ph-main {
    flex: 1;
    min-width: 0;
  }

  .ph-strip__visual {
    display: flex;
    justify-content: center;
    margin-top: 8px;
  }
  .ph-strip__phone {
    max-width: 200px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(10, 47, 68, 0.12);
  }

  .ph-matches__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ph-chart__visual {
    flex: 0 0 380px;
  }

  .ph-trust {
    padding: 60px 32px;
  }
  .ph-trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ph-trust__title {
    font-size: 1.5rem;
  }
}

/* ========== 响应式：大桌面 1280px ========== */
@media (min-width: 1280px) {
  .ph-layout {
    padding: 0 40px 72px;
    gap: 48px;
  }
  .ph-sidebar {
    flex-basis: 300px;
  }
  .ph-hero__frame {
    border-radius: 20px;
  }
}
