/* ===== 首页专属样式 ===== */
.page-home {
  --home-glow-orange: rgba(255, 107, 53, 0.16);
  --home-glow-gold: rgba(255, 201, 76, 0.1);
  --home-line: rgba(242, 240, 255, 0.08);
  --home-card-bg: rgba(42, 36, 99, 0.72);
  --home-card-bg-hover: rgba(58, 50, 128, 0.86);
  background: var(--primary-dark);
  color: var(--text-light);
  overflow-x: hidden;
  min-width: 0;
}

/* 面包屑 */
.page-home .breadcrumbs {
  padding: 18px 20px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.page-home .breadcrumbs a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.page-home .breadcrumbs a:hover {
  color: var(--accent-gold);
}
.page-home .breadcrumbs-sep {
  margin: 0 8px;
  color: var(--accent-orange);
}

/* ===== 首屏 Hero ===== */
.page-home .home-hero {
  position: relative;
  padding: 36px 0 48px;
  background:
    radial-gradient(ellipse at 78% 18%, var(--home-glow-gold), transparent 52%),
    radial-gradient(ellipse at 12% 82%, var(--home-glow-orange), transparent 42%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-bottom: 1px solid var(--home-line);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--home-glow-orange), transparent 70%);
  top: 6%;
  right: -8%;
  pointer-events: none;
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 42px,
    rgba(242, 240, 255, 0.018) 42px 43px,
    transparent 43px 86px
  );
  pointer-events: none;
}
.page-home .hero-cover {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}
.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.page-home .hero-meta-note {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}
.page-home .hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 7vw, 54px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--text-light);
  max-width: 12em;
}
.page-home .hero-highlight {
  color: var(--accent-gold);
  position: relative;
  white-space: nowrap;
}
.page-home .hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
  margin: 0 0 24px;
  max-width: 34em;
}
.page-home .hero-lead strong {
  color: var(--text-light);
  font-weight: 600;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.page-home .hero-actions .btn-ghost {
  border-color: rgba(242, 240, 255, 0.35);
  color: var(--text-light);
}
.page-home .hero-actions .btn-ghost:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 22px rgba(255, 201, 76, 0.12);
}
.page-home .hero-footnote {
  margin: 20px 0 0;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.page-home .hero-visual {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.page-home .hero-screen {
  position: relative;
  overflow: hidden;
  background: var(--primary-light);
  box-shadow: var(--shadow);
}
.page-home .hero-screen img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.page-home .hero-index-panel {
  background: linear-gradient(145deg, rgba(42, 36, 99, 0.92), rgba(21, 18, 46, 0.96));
  padding: 18px 18px 14px;
  border: 1px solid rgba(255, 201, 76, 0.2);
}
.page-home .hero-index-title {
  display: block;
  font-size: 12px;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--home-line);
}
.page-home .hero-index-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 2px;
  color: var(--text-dim);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 240, 255, 0.04);
  transition: padding-left var(--duration) var(--ease), color var(--duration) var(--ease);
}
.page-home .hero-index-item:last-child {
  border-bottom: 0;
}
.page-home .hero-index-item .mono {
  color: var(--accent-orange);
  font-size: 13px;
  min-width: 1.8em;
}
.page-home .hero-index-item:hover {
  color: var(--text-light);
  padding-left: 8px;
}

/* ===== 通用章节 ===== */
.page-home .home-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--home-line);
}
.page-home .section-head {
  margin-bottom: 28px;
}
.page-home .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.page-home .section-kicker::before {
  content: "//";
  color: var(--accent-orange);
  font-weight: 700;
}
.page-home .section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--text-light);
}
.page-home .section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
  max-width: 38em;
}

/* ===== 当季索引 Bento ===== */
.page-home .index-bento {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.page-home .index-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(148deg, var(--home-card-bg), rgba(21, 18, 46, 0.82));
  border: 1px solid rgba(242, 240, 255, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-light);
  min-height: 180px;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.page-home .index-card:hover {
  background: var(--home-card-bg-hover);
  border-color: rgba(255, 201, 76, 0.35);
  box-shadow: var(--shadow);
}
.page-home .index-card-media {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--primary-light);
}
.page-home .index-card-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}
.page-home .index-card:hover .index-card-media img {
  transform: scale(1.04);
}
.page-home .index-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21, 18, 46, 0.6));
}
.page-home .index-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  flex: 1;
}
.page-home .index-card-num {
  font-size: 24px;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 10px;
}
.page-home .index-card-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text-light);
}
.page-home .index-card-body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.page-home .index-card-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-gold);
  transition: letter-spacing var(--duration) var(--ease);
}
.page-home .index-card:hover .index-card-link {
  letter-spacing: 0.05em;
}
.page-home .index-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

/* ===== 更新动态 ===== */
.page-home .updates-layout {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.page-home .updates-feature {
  background: linear-gradient(148deg, rgba(42, 36, 99, 0.8), rgba(21, 18, 46, 0.9));
  border: 1px solid rgba(255, 107, 53, 0.22);
  padding: 26px 22px;
}
.page-home .updates-feature-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.page-home .updates-feature h3 {
  font-family: var(--font-head);
  font-size: 21px;
  line-height: 1.4;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text-light);
}
.page-home .updates-feature > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0 0 18px;
}
.page-home .updates-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .updates-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
.page-home .updates-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);
}
.page-home .updates-timeline {
  background: linear-gradient(200deg, rgba(42, 36, 99, 0.7), rgba(21, 18, 46, 0.92));
  border: 1px solid rgba(242, 240, 255, 0.08);
  padding: 22px 20px;
}
.page-home .updates-timeline h4 {
  font-size: 13px;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin: 0 0 20px;
}
.page-home .timeline-item {
  position: relative;
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
}
.page-home .timeline-item:last-child {
  padding-bottom: 0;
}
.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 16px;
  bottom: -2px;
  width: 1px;
  background: rgba(255, 201, 76, 0.18);
}
.page-home .timeline-item:last-child::before {
  display: none;
}
.page-home .timeline-dot {
  position: relative;
  top: 4px;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  background: var(--accent-orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  z-index: 1;
}
.page-home .timeline-content {
  flex: 1;
}
.page-home .timeline-content .mono {
  display: block;
  font-size: 12px;
  color: var(--accent-gold);
  margin-bottom: 3px;
}
.page-home .timeline-content p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}

/* ===== 信任与数据 ===== */
.page-home .trust-grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.page-home .trust-city {
  position: relative;
  overflow: hidden;
  background: var(--primary-light);
  border: 1px solid rgba(242, 240, 255, 0.08);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.page-home .trust-city img {
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.page-home .trust-city-note {
  padding: 16px 18px 18px;
  background: linear-gradient(145deg, rgba(42, 36, 99, 0.85), rgba(21, 18, 46, 0.9));
  flex: 1;
}
.page-home .trust-city-note .mono {
  display: block;
  font-size: 12px;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.page-home .trust-city-note p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}
.page-home .trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.page-home .stat-item {
  background: linear-gradient(148deg, rgba(42, 36, 99, 0.7), rgba(21, 18, 46, 0.9));
  border: 1px solid rgba(242, 240, 255, 0.07);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 96px;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.page-home .stat-item:hover {
  border-color: rgba(255, 201, 76, 0.35);
  transform: translateY(-2px);
}
.page-home .stat-num {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
}
.page-home .stat-label {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}
.page-home .trust-note {
  background: linear-gradient(200deg, rgba(42, 36, 99, 0.8), rgba(21, 18, 46, 0.94));
  border: 1px solid rgba(255, 201, 76, 0.2);
  padding: 20px;
  min-width: 0;
}
.page-home .trust-note img {
  width: 100%;
  max-width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
}
.page-home .trust-note h3 {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text-light);
}
.page-home .trust-note p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 16px;
}

/* ===== 常见入口 ===== */
.page-home .entry-grid {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.page-home .entry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 18px;
  background: linear-gradient(148deg, rgba(42, 36, 99, 0.66), rgba(21, 18, 46, 0.84));
  border: 1px solid rgba(242, 240, 255, 0.07);
  text-decoration: none;
  color: var(--text-light);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.page-home .entry-card:hover {
  border-color: rgba(255, 107, 53, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.page-home .entry-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-orange);
  background: rgba(255, 107, 53, 0.1);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  margin-bottom: 12px;
}
.page-home .entry-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--text-light);
}
.page-home .entry-card p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

/* ===== 平板：768px ===== */
@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 48px 0 56px;
  }
  .page-home .hero-cover {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 36px;
  }
  .page-home .hero-visual {
    grid-template-columns: 1fr 190px;
    align-items: end;
  }
  .page-home .hero-screen {
    margin-bottom: -10px;
  }
  .page-home .hero-index-panel {
    transform: translateY(14px);
  }
  .page-home .home-section {
    padding: 60px 0;
  }
  .page-home .index-bento {
    grid-template-columns: 1.05fr 1fr;
  }
  .page-home .index-card-new {
    grid-row: span 2;
  }
  .page-home .index-card-media {
    height: 190px;
  }
  .page-home .updates-layout {
    grid-template-columns: 7fr 5fr;
    align-items: stretch;
  }
  .page-home .entry-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== 桌面：1024px ===== */
@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 56px 0 72px;
  }
  .page-home .hero-copy h1 {
    font-size: 52px;
  }
  .page-home .hero-visual {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .page-home .home-section {
    padding: 72px 0;
  }
  .page-home .index-bento {
    grid-template-columns: 1.1fr 1fr;
    gap: 22px;
  }
  .page-home .index-card-body {
    padding: 24px 26px;
  }
  .page-home .index-card-body h3 {
    font-size: 20px;
  }
  .page-home .trust-grid {
    grid-template-columns: 5fr 4fr 5fr;
    align-items: stretch;
    gap: 22px;
  }
  .page-home .trust-city img {
    height: 210px;
  }
  .page-home .trust-note img {
    height: 160px;
  }
  .page-home .entry-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .page-home .entry-card {
    padding: 28px 22px;
  }
}
