.page-home {
  --hero-min-height: 520px;
  --timeline-node-size: 80px;
  --card-radius: 18px;
  --gold-glow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.page-home .breadcrumb {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text, #E0E0E0);
}
.page-home .breadcrumb__current {
  color: var(--color-accent, #D4AF37);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ===== Hero 首屏 ===== */
.page-home .hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: var(--hero-min-height);
  overflow: hidden;
  background: var(--color-bg-main, #0B0C10);
}
.page-home .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}
.page-home .hero__left,
.page-home .hero__right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  flex: 1 1 auto;
}
.page-home .hero__left {
  background: rgba(90, 45, 140, 0.92);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.page-home .hero__right {
  background: rgba(11, 12, 16, 0.88);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.page-home .hero__brand {
  text-align: center;
  max-width: 420px;
}
.page-home .hero__brand-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent, #D4AF37);
  border: 1px solid var(--color-accent, #D4AF37);
  border-radius: var(--radius-capsule, 9999px);
  padding: 0.3rem 1.2rem;
  margin-bottom: 1.2rem;
  background: rgba(212, 175, 55, 0.08);
}
.page-home .hero__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-white, #FFFFFF);
  margin: 0 0 0.6rem 0;
  text-shadow: 0 2px 20px rgba(90, 45, 140, 0.6);
  background: linear-gradient(135deg, #FFFFFF 60%, var(--color-accent, #D4AF37));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-home .hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-text, #E0E0E0);
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* 版本卡片 */
.page-home .version-card {
  background: var(--color-bg-overlay, #1A0A2E);
  border-radius: var(--card-radius);
  border: 1px solid rgba(212, 175, 55, 0.25);
  max-width: 400px;
  width: 100%;
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: default;
}
.page-home .version-card[data-expandable]:hover {
  box-shadow: var(--gold-glow);
  border-color: var(--color-accent, #D4AF37);
}
.page-home .version-card__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-home .version-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
}
.page-home .version-card__number {
  display: inline-block;
  font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent, #D4AF37);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}
.page-home .version-card__brief {
  font-size: 1.05rem;
  color: var(--color-text-white, #FFFFFF);
  margin: 0 0 0.6rem 0;
  font-weight: 600;
}
.page-home .version-card__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.page-home .version-card[data-expandable]:hover .version-card__detail {
  max-height: 200px;
  opacity: 1;
}
.page-home .version-card__detail p {
  font-size: 0.9rem;
  color: var(--color-text, #E0E0E0);
  margin: 0.3rem 0;
  padding-left: 0.8rem;
  border-left: 2px solid var(--color-accent-dark, #B8860B);
  line-height: 1.5;
}
.page-home .version-card__detail p + p {
  margin-top: 0.2rem;
}

/* ===== 最新动态 ===== */
.page-home .latest-updates {
  padding: 3rem 0;
}
.page-home .section-panel__heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-white, #FFFFFF);
  margin: 0 0 1.8rem 0;
  position: relative;
  padding-bottom: 0.6rem;
}
.page-home .section-panel__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-accent, #D4AF37);
  border-radius: 2px;
}
.page-home .updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}
.page-home .update-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card, #5A2D8C);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: default;
}
.page-home .update-card[data-expandable]:hover {
  box-shadow: 0 8px 40px rgba(90, 45, 140, 0.45);
  border-color: rgba(212, 175, 55, 0.35);
}
.page-home .update-card__visual {
  flex: 0 0 auto;
  background: var(--color-bg-overlay, #1A0A2E);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 220px;
}
.page-home .update-card__mockup {
  width: auto;
  height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.15));
}
.page-home .update-card__content {
  padding: 1.5rem;
  flex: 1 1 auto;
}
.page-home .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-capsule, 9999px);
  background: var(--color-link, #9B59B6);
  color: var(--color-text-white, #FFFFFF);
  margin-bottom: 0.7rem;
}
.page-home .tag--accent {
  background: var(--color-accent, #D4AF37);
  color: var(--color-bg-main, #0B0C10);
}
.page-home .tag--gold {
  background: rgba(212, 175, 55, 0.18);
  color: var(--color-accent, #D4AF37);
  border: 1px solid var(--color-accent, #D4AF37);
}
.page-home .update-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-white, #FFFFFF);
  margin: 0 0 0.6rem 0;
  line-height: 1.3;
}
.page-home .update-card__desc {
  font-size: 0.95rem;
  color: var(--color-text, #E0E0E0);
  line-height: 1.7;
  margin: 0 0 0.8rem 0;
}
.page-home .update-card__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.35s ease;
  opacity: 0;
}
.page-home .update-card[data-expandable]:hover .update-card__detail {
  max-height: 300px;
  opacity: 1;
}
.page-home .update-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-home .update-card__list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.2rem;
  font-size: 0.9rem;
  color: var(--color-text, #E0E0E0);
  line-height: 1.55;
}
.page-home .update-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  background: var(--color-accent, #D4AF37);
  border-radius: 50%;
}

/* ===== 更新时间线 ===== */
.page-home .timeline {
  padding: 3rem 0;
  background: var(--color-bg-overlay, #1A0A2E);
}
.page-home .timeline__rail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.page-home .timeline__node {
  background: rgba(11, 12, 16, 0.65);
  border-radius: var(--radius-card, 16px);
  border: 1px solid rgba(212, 175, 55, 0.12);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.page-home .timeline__node[open] {
  border-color: rgba(212, 175, 55, 0.35);
}
.page-home .timeline__node-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.25s ease;
}
.page-home .timeline__node-summary::-webkit-details-marker {
  display: none;
}
.page-home .timeline__node-summary:hover {
  background: rgba(90, 45, 140, 0.18);
}
.page-home .timeline__node-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-capsule, 9999px);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: var(--color-bg-overlay, #1A0A2E);
}
.page-home .timeline__node-version {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-white, #FFFFFF);
  flex: 1 1 auto;
  letter-spacing: 0.02em;
}
.page-home .timeline__node-body {
  padding: 0 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  margin-top: 0;
}
.page-home .timeline__node-body p {
  font-size: 0.92rem;
  color: var(--color-text, #E0E0E0);
  line-height: 1.65;
  margin: 0.8rem 0 0 0;
}

/* ===== 快速入口 ===== */
.page-home .quick-entry {
  padding: 3rem 0;
}
.page-home .entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.page-home .entry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--color-bg-card, #5A2D8C);
  border-radius: var(--card-radius);
  padding: 2rem 1.5rem;
  text-decoration: none;
  border: 1px solid rgba(212, 175, 55, 0.12);
  transition: transform 0.3s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}
.page-home .entry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(90, 45, 140, 0.5);
  border-color: var(--color-accent, #D4AF37);
}
.page-home .entry-card__icon {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
}
.page-home .entry-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-white, #FFFFFF);
  margin: 0 0 0.4rem 0;
}
.page-home .entry-card__desc {
  font-size: 0.88rem;
  color: var(--color-text, #E0E0E0);
  margin: 0;
  line-height: 1.5;
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-home .hero__title {
    font-size: 2.4rem;
  }
  .page-home .update-card__visual {
    min-height: 260px;
  }
  .page-home .update-card__mockup {
    height: 380px;
  }
}

@media (min-width: 768px) {
  .page-home .hero {
    flex-direction: row;
    min-height: 580px;
  }
  .page-home .hero__left {
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    padding: 3rem 4rem;
    flex: 1 1 50%;
  }
  .page-home .hero__right {
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    padding: 3rem 4rem;
    flex: 1 1 50%;
    margin-left: -1px;
  }
  .page-home .hero__brand {
    text-align: left;
    max-width: 460px;
  }
  .page-home .hero__title {
    font-size: 2.8rem;
  }
  .page-home .hero__subtitle {
    font-size: 1.15rem;
  }
  .page-home .version-card {
    max-width: 420px;
  }

  .page-home .updates-grid {
    grid-template-columns: 1fr;
  }
  .page-home .update-card {
    flex-direction: row;
  }
  .page-home .update-card__visual {
    flex: 0 0 280px;
    min-height: auto;
    padding: 2rem;
  }
  .page-home .update-card__mockup {
    height: 360px;
  }
  .page-home .update-card__content {
    padding: 2rem;
  }
  .page-home .update-card__title {
    font-size: 1.5rem;
  }

  .page-home .timeline__node-summary {
    padding: 1rem 1.5rem;
  }
  .page-home .timeline__node-icon {
    width: var(--timeline-node-size);
    height: var(--timeline-node-size);
  }
  .page-home .timeline__node-version {
    font-size: 1.15rem;
  }

  .page-home .entry-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .page-home .entry-card {
    padding: 2.4rem 1.8rem;
  }
}

@media (min-width: 1024px) {
  .page-home .hero {
    min-height: 640px;
  }
  .page-home .hero__left {
    padding: 4rem 6rem;
  }
  .page-home .hero__right {
    padding: 4rem 6rem;
  }
  .page-home .hero__title {
    font-size: 3.2rem;
  }
  .page-home .hero__subtitle {
    font-size: 1.25rem;
  }
  .page-home .update-card__visual {
    flex: 0 0 320px;
  }
  .page-home .section-panel__heading {
    font-size: 2rem;
  }
  .page-home .entry-card__icon {
    font-size: 2.8rem;
  }
}
