/* ========== 页面专属：首页 ========== */
.page-home {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(123, 97, 255, 0.10), transparent 60%),
    radial-gradient(800px 420px at -10% 25%, rgba(32, 214, 199, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg-abyss) 0%, var(--bg-deep) 42%, var(--bg-deep) 100%);
}

/* ---------- 01 首屏 ---------- */
.page-home .ph-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 44px;
  padding-bottom: 64px;
}

.page-home .ph-hero__main {
  min-width: 0;
}

.page-home .ph-hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.page-home .ph-hero__kicker::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.page-home .ph-hero h1 {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 7.5vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--text-cold);
}

.page-home .ph-hero__lead {
  max-width: 560px;
  margin: 0 0 30px;
  padding-left: 18px;
  border-left: 2px solid var(--accent-cyan);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-fog);
}

.page-home .ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 36px;
}

.page-home .ph-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  margin: 0;
  padding: 20px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .ph-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .ph-hero__facts strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-light);
}

.page-home .ph-hero__facts span {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-fog);
}

/* 状态面板 */
.page-home .ph-status {
  align-self: start;
  padding: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.page-home .ph-status__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.page-home .ph-status__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-cold);
}

.page-home .ph-status__live {
  padding: 4px 10px;
  border: 1px solid rgba(32, 214, 199, 0.45);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent-cyan);
}

.page-home .ph-status__live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  vertical-align: 2px;
}

.page-home .ph-status__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  object-fit: cover;
}

.page-home .ph-status__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .ph-status__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}

.page-home .ph-status__list li:last-child {
  border-bottom: none;
}

.page-home .ph-status__list span {
  font-size: 14px;
  color: var(--text-fog);
}

.page-home .ph-status__list em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
}

/* ---------- 02 功能索引 ---------- */
.page-home .ph-index {
  padding-top: 72px;
  padding-bottom: 72px;
}

.page-home .ph-index__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.page-home .ph-index__header-text {
  flex: 1;
  min-width: 0;
}

.page-home .ph-index__tag {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
}

.page-home .ph-index__header h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  color: var(--text-cold);
}

.page-home .ph-index__lead {
  max-width: 460px;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-fog);
}

.page-home .ph-index__img {
  display: none;
}

.page-home .ph-index__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .ph-index__card {
  padding: 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.page-home .ph-index__card:hover {
  border-color: var(--accent-cyan);
  background: rgba(32, 214, 199, 0.04);
  transform: translateY(-2px);
}

.page-home .ph-index__badge {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold);
}

.page-home .ph-index__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--text-cold);
}

.page-home .ph-index__card p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-fog);
}

.page-home .ph-index__card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(32, 214, 199, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.page-home .ph-index__card a:hover {
  border-color: var(--accent-cyan);
}

/* ---------- 03 更新日志 ---------- */
.page-home .ph-updates {
  padding-top: 40px;
  padding-bottom: 72px;
}

.page-home .ph-updates__header {
  margin-bottom: 32px;
}

.page-home .ph-updates__tag {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
}

.page-home .ph-updates__header h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  color: var(--text-cold);
}

.page-home .ph-updates__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-fog);
}

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

.page-home .ph-update-card {
  position: relative;
  padding: 24px;
  background: var(--bg-ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
}

.page-home .ph-update-card h3 {
  margin: 14px 0 8px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--text-cold);
}

.page-home .ph-update-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-fog);
}

.page-home .ph-update-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(32, 214, 199, 0.35);
  padding-bottom: 2px;
}

.page-home .ph-updates__archive {
  padding: 24px;
  background: linear-gradient(135deg, var(--bg-ink), var(--bg-abyss));
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-purple);
  border-radius: var(--radius);
}

.page-home .ph-updates__archive h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-cold);
}

.page-home .ph-updates__archive ul {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-fog);
}

.page-home .ph-updates__archive a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-cold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .ph-updates__archive a:hover {
  color: var(--gold-light);
}

/* ---------- 04 记录摘要 ---------- */
.page-home .ph-records {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 64px;
}

.page-home .ph-records__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  object-fit: cover;
}

.page-home .ph-records__tag {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-light);
}

.page-home .ph-records__text h2 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.25;
  color: var(--text-cold);
}

.page-home .ph-records__desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-fog);
}

/* ---------- 05 书签 ---------- */
.page-home .ph-bookmark {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 72px;
}

.page-home .ph-bookmark__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  object-fit: cover;
}

.page-home .ph-bookmark__tag {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-light);
}

.page-home .ph-bookmark__text h2 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.25;
  color: var(--text-cold);
}

.page-home .ph-bookmark__desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-fog);
}

/* ---------- 06 信任 ---------- */
.page-home .ph-trust {
  padding-top: 48px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(212, 167, 44, 0.03));
}

.page-home .ph-trust__inner p {
  margin: 0 0 24px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-fog);
}

.page-home .ph-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.page-home .ph-trust__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-cold);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .ph-trust__links a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ---------- 响应式：平板 ---------- */
@media (min-width: 768px) {
  .page-home .ph-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .page-home .ph-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
  }

  .page-home .ph-index__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .page-home .ph-index__img {
    display: block;
    width: 280px;
    height: 210px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
  }

  .page-home .ph-records,
  .page-home .ph-bookmark {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ---------- 响应式：桌面 ---------- */
@media (min-width: 1024px) {
  .page-home .ph-hero {
    gap: 64px;
    padding-top: 88px;
    padding-bottom: 104px;
  }

  .page-home .ph-hero h1 {
    font-size: 4.5rem;
  }

  .page-home .ph-hero__lead {
    font-size: 16px;
  }

  .page-home .ph-index {
    padding-top: 96px;
    padding-bottom: 72px;
  }

  .page-home .ph-index__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .page-home .ph-index__img {
    width: 320px;
    height: 240px;
  }

  .page-home .ph-updates {
    padding-top: 56px;
    padding-bottom: 96px;
  }

  .page-home .ph-updates__body {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }

  .page-home .ph-records {
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .page-home .ph-bookmark {
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 96px;
  }

  .page-home .ph-trust {
    padding-top: 64px;
    padding-bottom: 80px;
  }
}
