.page-home {
  --ph-gold-line: rgba(211, 175, 78, 0.28);
  --ph-card-bg: rgba(11, 61, 46, 0.72);
  background: var(--night-black);
}

/* ---------- 核心入口 Hero ---------- */
.page-home .ph-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 720px;
  padding-bottom: 56px;
  overflow: hidden;
  color: var(--text-light);
}

.page-home .ph-hero-media,
.page-home .ph-stats-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .ph-hero-media img,
.page-home .ph-stats-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .ph-hero-media img {
  object-position: center 30%;
}

.page-home .ph-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 18, 0.72) 0%, rgba(10, 14, 18, 0.32) 46%, rgba(10, 14, 18, 0.94) 92%),
    linear-gradient(90deg, rgba(11, 61, 46, 0.68) 0%, rgba(10, 14, 18, 0.18) 100%);
}

.page-home .ph-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(211, 175, 78, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 175, 78, 0.10) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.page-home .ph-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-height) + 30px);
}

.page-home .ph-hero-top {
  max-width: 940px;
  padding-bottom: 40px;
}

.page-home .ph-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(211, 175, 78, 0.5);
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.page-home .ph-hero-top h1 {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text-light);
}

.page-home .ph-h1-suffix {
  display: inline-block;
  margin-left: 12px;
  color: var(--gold-light);
  font-size: 0.52em;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.page-home .ph-hero-lead {
  max-width: 780px;
  margin: 0;
  color: rgba(232, 240, 234, 0.86);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* ---------- 核心入口卡片组 ---------- */
.page-home .ph-entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .ph-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 148px;
  padding: 26px 24px;
  color: var(--text-light);
  background: rgba(11, 61, 46, 0.72);
  border: 1px solid var(--ph-gold-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.page-home .ph-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(235, 203, 117, 0.28), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 1;
  transition: left 0.65s ease;
}

.page-home .ph-entry:hover::before,
.page-home .ph-entry:focus-visible::before {
  left: 130%;
}

.page-home .ph-entry:hover,
.page-home .ph-entry:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(235, 203, 117, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.page-home .ph-entry-tag {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(211, 175, 78, 0.35);
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.page-home .ph-entry-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--text-light);
}

.page-home .ph-entry-caption {
  color: rgba(232, 240, 234, 0.72);
  font-size: 0.92rem;
}

.page-home .ph-entry-arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(211, 175, 78, 0.55);
  color: var(--gold-light);
  font-size: 1rem;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}

.page-home .ph-entry:hover .ph-entry-arrow {
  transform: translate(-4px, -4px);
  background: rgba(211, 175, 78, 0.2);
}

.page-home .ph-entry-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .ph-divider-track {
  position: relative;
  height: 76px;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 100%, 26px 100%);
}

.page-home .ph-divider-track img {
  display: block;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center 42%;
}

.page-home .ph-divider-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 18, 0.75), rgba(11, 61, 46, 0.3), rgba(10, 14, 18, 0.75));
  pointer-events: none;
}

/* ---------- 实时数据总览 ---------- */
.page-home .ph-stats {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  background: var(--night-black);
}

.page-home .ph-stats-media img {
  object-position: 50% 18%;
  opacity: 0.28;
}

.page-home .ph-stats-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--night-black) 18%, rgba(10, 14, 18, 0.86) 52%, rgba(11, 61, 46, 0.55) 100%);
}

.page-home .ph-stats-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(211, 175, 78, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 175, 78, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-home .ph-stats-inner {
  position: relative;
  z-index: 1;
}

.page-home .ph-stats-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 42px;
}

.page-home .ph-stats-head h2,
.page-home .ph-index-head h2,
.page-home .ph-about-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15;
  color: var(--text-light);
}

.page-home .ph-stats-lead {
  max-width: 640px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.page-home .ph-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .ph-stat-card {
  padding: 22px 20px 18px;
  background: rgba(20, 104, 75, 0.26);
  border: 1px solid rgba(211, 175, 78, 0.18);
  border-top: 4px solid var(--victory-gold);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.32s var(--ease-out), border-color 0.32s;
}

.page-home .ph-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(235, 203, 117, 0.5);
  border-top-color: var(--gold-light);
}

.page-home .ph-stat-label {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.page-home .ph-stat-number {
  display: flex;
  align-items: baseline;
  margin: 0;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.page-home .ph-stat-unit {
  margin-left: 4px;
  color: var(--text-light);
  font-size: 0.44em;
  letter-spacing: 0.04em;
}

.page-home .ph-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.page-home .ph-note summary {
  display: inline-block;
  padding: 2px 0;
  cursor: pointer;
  color: var(--data-blue);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.page-home .ph-note[open] summary {
  color: var(--gold-light);
}

/* ---------- 内容索引 ---------- */
.page-home .ph-index {
  padding: 72px 0;
  background: linear-gradient(135deg, rgba(11, 61, 46, 0.98), rgba(20, 104, 75, 0.86));
  color: var(--text-light);
}

.page-home .ph-index-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .ph-index-head p:last-child {
  margin: 14px 0 0;
  color: rgba(232, 240, 234, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

.page-home .ph-index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

.page-home .ph-index-card {
  position: relative;
  display: block;
  padding: 26px 24px 24px;
  background: rgba(10, 14, 18, 0.44);
  border: 1px solid rgba(211, 175, 78, 0.24);
  color: var(--text-light);
  text-decoration: none;
  transition: transform 0.34s var(--ease-out), background 0.34s, border-color 0.34s;
}

.page-home .ph-index-card:hover,
.page-home .ph-index-card:focus-visible {
  transform: translateY(-6px);
  background: rgba(10, 14, 18, 0.56);
  border-color: rgba(235, 203, 117, 0.66);
}

.page-home .ph-index-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  color: var(--victory-gold);
}

.page-home .ph-index-card h3 {
  margin: 0 0 12px;
  padding-right: 56px;
  font-family: var(--font-heading);
  font-size: 1.36rem;
  line-height: 1.3;
  color: var(--text-light);
}

.page-home .ph-index-card p {
  margin: 0 0 18px;
  color: rgba(232, 240, 234, 0.8);
  font-size: 0.94rem;
  line-height: 1.68;
}

.page-home .ph-index-go {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.page-home .ph-index-card:hover .ph-index-go {
  border-color: var(--gold-light);
}

/* ---------- 内容索引侧栏 ---------- */
.page-home .ph-index-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .ph-side-media {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .ph-side-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .ph-side-note {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 16px;
  background: rgba(10, 14, 18, 0.76);
  border-left: 3px solid var(--victory-gold);
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.5;
}

.page-home .ph-side-quote {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .ph-side-quote p {
  flex-basis: 100%;
  margin: 0 0 6px;
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.page-home .ph-side-quote span {
  padding: 6px 12px;
  border: 1px solid rgba(211, 175, 78, 0.38);
  color: rgba(232, 240, 234, 0.92);
  font-size: 0.8rem;
}

/* ---------- 服务说明 ---------- */
.page-home .ph-about {
  padding: 72px 0;
  background: var(--night-black);
  color: var(--text-light);
}

.page-home .ph-about-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.page-home .ph-about-head h2 {
  color: var(--text-light);
}

.page-home .ph-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .ph-about-card {
  padding: 26px 24px;
  background: rgba(10, 14, 18, 0.82);
  border: 1px solid rgba(211, 175, 78, 0.18);
  border-left: 4px solid var(--victory-gold);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.page-home .ph-about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(235, 203, 117, 0.6);
}

.page-home .ph-about-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--gold-light);
}

.page-home .ph-about-card p {
  margin: 0;
  color: rgba(232, 240, 234, 0.82);
  font-size: 0.96rem;
  line-height: 1.72;
}

/* ---------- 平板端 ---------- */
@media (min-width: 768px) {
  .page-home .ph-hero {
    min-height: 760px;
  }

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

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

  .page-home .ph-index-inner {
    grid-template-columns: 1fr 0.82fr;
    gap: 44px;
  }

  .page-home .ph-index-side {
    padding-top: 76px;
  }

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

/* ---------- 桌面端 ---------- */
@media (min-width: 1080px) {
  .page-home .ph-entry-grid {
    grid-template-columns: 1.28fr 0.72fr;
    gap: 24px;
  }

  .page-home .ph-entry-large {
    justify-content: center;
    padding: 34px 32px;
  }

  .page-home .ph-entry-title {
    font-size: 1.85rem;
  }

  .page-home .ph-divider-track {
    height: 92px;
  }

  .page-home .ph-stats {
    padding: 88px 0;
  }

  .page-home .ph-stats-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

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

  .page-home .ph-stat-card {
    padding: 28px 26px 22px;
  }

  .page-home .ph-index {
    padding: 88px 0;
  }

  .page-home .ph-about {
    padding: 88px 0;
  }

  .page-home .ph-about-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

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