.page-home {
  --page-gap: 72px;
  --corner-sm: 12px;
  --corner-lg: 20px;
  background: var(--c-primary);
  color: var(--c-white);
  overflow-x: hidden;
}

/* ============ 面包屑 ============ */
.page-home .breadcrumb {
  padding-top: 18px;
  color: var(--c-muted);
}

/* ============ 首屏直达 Hero ============ */
.page-home .hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c-surface);
  margin-bottom: var(--page-gap);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -6%;
  width: 56%;
  height: 112%;
  background: linear-gradient(135deg, transparent 44%, rgba(255, 107, 53, .18) 46%, rgba(255, 107, 53, .08) 50%, transparent 52%);
  z-index: 1;
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(15, 15, 26, .78) 72%, rgba(15, 15, 26, .96) 100%),
    linear-gradient(100deg, rgba(15, 15, 26, .9) 0%, rgba(26, 26, 46, .48) 58%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.page-home .hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 136, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, .05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 44px;
  padding-bottom: 44px;
  display: grid;
  gap: 28px;
}

.page-home .hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-green);
  font-family: var(--f-data);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-home .hero__tag::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--c-green);
  display: inline-block;
  flex: none;
}

.page-home .hero__title {
  font-family: var(--f-headline);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 66px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}

.page-home .hero__title-sub {
  display: block;
  color: var(--c-orange);
  font-size: clamp(20px, 4.6vw, 42px);
  letter-spacing: -.01em;
  margin-top: 6px;
}

.page-home .hero__lead {
  color: var(--c-text-secondary);
  font-size: 16px;
  line-height: 1.75;
  max-width: 440px;
  margin: 0;
}

/* 常用入口卡片 */
.page-home .quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.page-home .quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px 15px;
  background: rgba(15, 15, 26, .84);
  border: 1px solid rgba(255, 255, 255, .08);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  color: var(--c-white);
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  min-height: 100%;
}

.page-home .quick-card:hover,
.page-home .quick-card:focus-visible {
  background: rgba(26, 26, 46, .96);
  border-color: rgba(255, 107, 53, .55);
  transform: translateY(-3px);
}

.page-home .quick-card__index {
  font-family: var(--f-data);
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: .06em;
}

.page-home .quick-card__label {
  font-family: var(--f-headline);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}

.page-home .quick-card__desc {
  font-size: 12px;
  color: var(--c-text-secondary);
  line-height: 1.4;
}

.page-home .quick-card--subscribe {
  border-color: rgba(0, 255, 136, .28);
}

.page-home .quick-card--subscribe::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 8px rgba(0, 255, 136, .6);
  animation: leyu-pulse 2s ease-in-out infinite;
}

@keyframes leyu-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.4); }
}

/* ============ 实时提醒 ============ */
.page-home .live-alert {
  background: var(--c-secondary);
  margin-bottom: var(--page-gap);
}

.page-home .live-alert .section-eyebrow {
  color: var(--c-orange);
}

.page-home .live-alert__grid {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

.page-home .live-alert__copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .live-alert__copy > p {
  margin: 0;
  line-height: 1.8;
}

.page-home .live-alert__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .live-alert__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-white);
}

.page-home .live-alert__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--c-orange);
  transform: rotate(45deg);
}

.page-home .live-alert__note {
  color: var(--c-muted);
  font-size: 13px;
  border-left: 2px solid var(--c-green);
  padding-left: 12px;
}

.page-home .live-alert__media {
  margin: 0;
  overflow: hidden;
  background: var(--c-surface);
  line-height: 0;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .live-alert__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============ 数据看点 ============ */
.page-home .data-focus {
  margin-bottom: var(--page-gap);
}

.page-home .data-focus .section-eyebrow {
  color: var(--c-green);
}

.page-home .data-focus__grid {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.page-home .section-head__aside {
  color: var(--c-text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0 0;
  max-width: 480px;
}

.page-home .data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-home .data-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px 16px;
  background: var(--c-secondary);
  border: 1px solid rgba(255, 255, 255, .07);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%, 0 0);
  transition: background .25s ease, transform .25s ease;
}

.page-home .data-card--wide {
  grid-column: 1 / -1;
}

.page-home .data-card--accent {
  background: linear-gradient(135deg, rgba(255, 107, 53, .18), rgba(26, 26, 46, .86));
}

.page-home .data-card__label {
  font-family: var(--f-data);
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: .04em;
}

.page-home .data-card__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--f-headline);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
}

.page-home .data-card__num {
  font-family: var(--f-data);
  font-size: 34px;
  font-weight: 500;
  color: var(--c-white);
  line-height: 1;
}

.page-home .data-card--accent .data-card__num {
  color: var(--c-orange);
}

.page-home .data-card__unit {
  color: var(--c-text-secondary);
  font-size: 13px;
}

.page-home .data-focus__chart {
  margin: 0;
  overflow: hidden;
  background: var(--c-surface);
  line-height: 0;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-home .data-focus__chart img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============ 内容中心 ============ */
.page-home .content-hub {
  background: var(--c-surface);
  margin-bottom: var(--page-gap);
}

.page-home .content-hub .section-eyebrow {
  color: var(--c-highlight);
}

.page-home .content-hub__grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.page-home .content-hub__media {
  margin: 0;
  overflow: hidden;
  background: var(--c-primary);
  line-height: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%, 0 0);
}

.page-home .content-hub__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .content-hub__body {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .content-hub__body > p {
  margin: 0;
  line-height: 1.85;
  color: var(--c-text-secondary);
}

.page-home .content-hub__body > p:first-of-type {
  color: var(--c-white);
  font-size: 17px;
}

.page-home .content-hub__actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.page-home .content-hub__actions .btn {
  justify-self: start;
}

/* ============ 历史记录 ============ */
.page-home .history {
  padding-bottom: 60px;
}

.page-home .history .section-eyebrow {
  color: var(--c-orange);
}

.page-home .history__grid {
  display: grid;
  gap: 36px;
  margin-top: 28px;
}

.page-home .history__copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .history__copy > p {
  margin: 0;
  line-height: 1.85;
  color: var(--c-text-secondary);
}

.page-home .history__links {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.page-home .history__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 28px;
}

.page-home .history__timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-orange), var(--c-green));
}

.page-home .history__item {
  position: relative;
  padding-left: 38px;
  display: grid;
  gap: 4px;
}

.page-home .history__item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--c-orange);
  background: var(--c-primary);
  transform: rotate(45deg);
}

.page-home .history__year {
  font-family: var(--f-data);
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: .06em;
}

.page-home .history__item p {
  margin: 2px 0 0;
  line-height: 1.7;
  color: var(--c-text-secondary);
  font-size: 15px;
}

.page-home .history__item strong {
  color: var(--c-white);
  font-weight: 700;
}

/* ============ 桌面端布局 ============ */
@media (min-width: 1024px) {
  .page-home {
    --page-gap: 96px;
  }

  .page-home .hero {
    min-height: 660px;
    align-items: center;
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .page-home .hero__title {
    font-size: clamp(48px, 5.5vw, 80px);
  }

  .page-home .hero__title-sub {
    font-size: clamp(26px, 3.4vw, 46px);
  }

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

  .page-home .quick-grid {
    gap: 16px;
  }

  .page-home .live-alert__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .section-head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
  }

  .page-home .section-head__aside {
    margin: 0;
    max-width: 420px;
  }

  .page-home .data-focus__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .content-hub__grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .content-hub__actions {
    grid-template-columns: auto auto;
  }

  .page-home .history__grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
  }

  .page-home .history__links {
    grid-template-columns: auto auto;
  }
}

@media (hover: hover) {
  .page-home .data-card:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, .22), rgba(26, 26, 46, .94));
    transform: translateY(-2px);
  }

  .page-home .quick-card--schedule:hover {
    border-color: rgba(0, 255, 136, .5);
  }

  .page-home .quick-card--score:hover {
    border-color: rgba(255, 195, 0, .55);
  }
}
