/* ============ Home 页面专属样式 ============ */
.page-home {
  --home-gold: #D4AF37;
  --home-gold-bright: #F0D060;
  --home-red: #8B0000;
  --home-bg: #F4F6F9;
  --home-bg-alt: #E8ECF1;
  --home-navy: #0A1F44;
  --home-navy-deep: #071326;
  --home-cut: 18px;
  --home-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 首屏专题封面 ===== */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #0A1F44 0%, #071326 55%, #0d2247 100%);
  color: #FFFFFF;
  padding: 48px 0 56px;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -12%;
  width: 55%;
  height: 180%;
  background: linear-gradient(112deg, transparent 0% 58%, rgba(212, 175, 55, 0.10) 58% 60%, transparent 60% 100%);
  transform: rotate(12deg);
  pointer-events: none;
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}
.page-home .home-hero__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  display: grid;
  gap: 36px;
}
.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 8px 16px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.06);
  color: var(--home-gold);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(44px, 9vw, 92px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  overflow-wrap: break-word;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.page-home .home-hero__subtitle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 24px;
  color: var(--home-gold-bright);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: 0.02em;
}
.page-home .home-hero__subtitle::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--home-gold);
  flex: 0 0 auto;
}
.page-home .home-hero__lead {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.7;
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.page-home .home-hero__aside {
  display: grid;
  gap: 18px;
}
.page-home .home-hero__index {
  background: rgba(7, 19, 38, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.24);
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, var(--home-cut) 100%, 0 calc(100% - var(--home-cut)));
  padding: 24px;
}
.page-home .home-hero__index-label {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.page-home .home-hero__keywords {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.page-home .home-hero__keywords .index-key {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--home-gold-bright);
  text-decoration: none;
  padding: 7px 12px;
  border: 1px solid rgba(212, 175, 55, 0.36);
  background: rgba(212, 175, 55, 0.06);
  display: inline-block;
  transition: background 0.25s var(--home-ease), color 0.25s var(--home-ease), transform 0.25s var(--home-ease);
}
.page-home .home-hero__keywords .index-key:hover {
  background: var(--home-gold);
  color: #071326;
  transform: translateY(-2px);
}
.page-home .home-hero__media {
  position: relative;
}
.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 19, 38, 0.34) 0%, transparent 68%);
  pointer-events: none;
}
.page-home .home-hero__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.page-home .home-hero__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.page-home .home-hero__badge .meta-tag--red {
  background: #8B0000;
  color: #FFFFFF;
  border-color: #8B0000;
}
.page-home .home-hero__badge-text {
  font-size: 13px;
  font-weight: 600;
  color: #F0D060;
  background: rgba(7, 19, 38, 0.7);
  padding: 6px 10px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

/* ===== 三大板块 ===== */
.page-home .home-board {
  padding: 64px 0 48px;
  background: var(--home-bg);
  position: relative;
}
.page-home .home-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 4px;
  background: linear-gradient(90deg, var(--home-gold), transparent);
}
.page-home .home-section-eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--home-gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.page-home .home-section-eyebrow--gold {
  color: var(--home-gold-bright);
}
.page-home .home-board__title,
.page-home .home-index__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--home-navy);
  margin: 0 0 12px;
}
.page-home .home-board__lead,
.page-home .home-index__desc {
  max-width: 680px;
  color: #444;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.page-home .home-board__list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.page-home .home-board__item {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--home-bg-alt);
  box-shadow: 0 8px 30px rgba(7, 19, 38, 0.06);
  padding: 36px 26px;
}
.page-home .home-board__item--wide,
.page-home .home-board__item--split {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.page-home .home-board__item--slim {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.page-home .home-board__item--split {
  background: linear-gradient(145deg, #0A1F44 0%, #071326 100%);
  border-color: #0A1F44;
  color: #FFFFFF;
}
.page-home .home-board__num {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--home-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 2;
}
.page-home .home-board__eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--home-gold);
  margin: 0 0 8px;
  display: inline-block;
}
.page-home .home-board__heading {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--home-navy);
}
.page-home .home-board__item--split .home-board__heading {
  color: #FFFFFF;
}
.page-home .home-board__desc {
  margin: 0 0 16px;
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}
.page-home .home-board__item--split .home-board__desc {
  color: rgba(255, 255, 255, 0.86);
}
.page-home .home-board__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.page-home .home-board__tags .meta-tag {
  background: var(--home-bg-alt);
  color: var(--home-navy);
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 13px;
}
.page-home .home-board__item--split .home-board__tags .meta-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #F0D060;
}
.page-home .home-board__more {
  margin-top: 22px;
}
.page-home .home-board__chart {
  position: relative;
  min-height: 180px;
  margin-top: 26px;
  background:
    linear-gradient(160deg, rgba(212, 175, 55, 0.20) 0%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 26px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  overflow: hidden;
}
.page-home .home-board__chart-num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: rgba(212, 175, 55, 0.55);
}
.page-home .home-board__chart-line {
  position: absolute;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #F0D060);
  transform: skewX(-24deg);
}
.page-home .home-board__chart-line--1 {
  top: 54px;
  width: 62%;
}
.page-home .home-board__chart-line--2 {
  top: 94px;
  width: 42%;
  opacity: 0.75;
}
.page-home .home-board__chart-line--3 {
  top: 134px;
  width: 76%;
  opacity: 0.5;
}
.page-home .home-board__media {
  margin-top: 18px;
}
.page-home .home-board__media--dark {
  background: var(--home-navy-deep);
  padding: 12px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.page-home .home-board__media--dark img {
  opacity: 0.92;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .home-board__img--mobile {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: 18px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* ===== 更新日志时间轴 ===== */
.page-home .home-timeline {
  position: relative;
  background: var(--home-navy-deep);
  color: #FFFFFF;
  padding: 64px 0;
  overflow: hidden;
}
.page-home .home-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  background: linear-gradient(225deg, rgba(212, 175, 55, 0.10) 0%, transparent 52%);
  pointer-events: none;
}
.page-home .home-timeline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--home-gold), transparent 80%);
  opacity: 0.6;
}
.page-home .home-timeline__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  margin: 0 0 12px;
  color: #FFFFFF;
}
.page-home .home-timeline__lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.page-home .home-timeline__list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  position: relative;
}
.page-home .home-timeline__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
  background: linear-gradient(to bottom, #D4AF37 0%, rgba(212, 175, 55, 0.10) 100%);
}
.page-home .home-timeline__item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 32px;
}
.page-home .home-timeline__item:last-child {
  padding-bottom: 0;
}
.page-home .home-timeline__item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #071326;
  border: 3px solid #D4AF37;
  transform: rotate(45deg);
}
.page-home .home-timeline__item::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 20px;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.7), transparent);
  transform: rotate(-18deg);
}
.page-home .home-timeline__marker {
  display: inline-block;
  background: #D4AF37;
  color: #071326;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  margin-bottom: 10px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.page-home .home-timeline__desc {
  margin: 0;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.7;
}
.page-home .home-timeline__more {
  margin-top: 40px;
  text-align: left;
}

/* ===== 站内索引快捷区 ===== */
.page-home .home-index {
  background: var(--home-bg);
  padding: 64px 0;
}
.page-home .home-index__grid {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.page-home .home-index__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--home-bg-alt);
  color: var(--home-navy);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(7, 19, 38, 0.04);
  transition: border-color 0.25s var(--home-ease), transform 0.25s var(--home-ease), box-shadow 0.25s var(--home-ease), background 0.25s var(--home-ease);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.page-home .home-index__link::after {
  content: "→";
  color: #B8860B;
  font-size: 16px;
  flex: 0 0 auto;
}
.page-home .home-index__link:hover {
  border-color: var(--home-gold);
  background: #FFFDF6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7, 19, 38, 0.10);
}
.page-home .home-index__cta {
  margin-top: 32px;
}

/* ===== 纹理色带 ===== */
.page-home .home-metal {
  position: relative;
  height: 110px;
  overflow: hidden;
}
.page-home .home-metal__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 刷新时滚动显现的兼容降级 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-home [data-scroll-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== 平板与桌面布局 ===== */
@media (min-width: 768px) {
  .page-home .home-hero__aside {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: end;
  }
  .page-home .home-index__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .page-home .home-board__list {
    gap: 28px;
  }
  .page-home .home-board__item {
    padding: 40px 32px;
  }
  .page-home .home-timeline__list::before {
    left: 12px;
  }
  .page-home .home-timeline__item {
    padding-left: 48px;
  }
  .page-home .home-timeline__item::before {
    left: 5px;
  }
  .page-home .home-timeline__item::after {
    left: 26px;
    width: 28px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 88px 0 80px;
  }
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
    align-items: center;
  }
  .page-home .home-hero__lead {
    font-size: 17px;
  }
  .page-home .home-board {
    padding: 88px 0 64px;
  }
  .page-home .home-board__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .page-home .home-board__item--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
    align-items: center;
    padding: 48px 40px;
  }
  .page-home .home-board__item--slim {
    grid-column: 1;
    max-width: 520px;
    align-self: start;
    padding: 40px 32px;
  }
  .page-home .home-board__item--split {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 48px 40px;
  }
  .page-home .home-board__item--split .home-board__img {
    order: 2;
    margin-top: 0;
    max-height: 340px;
    object-fit: cover;
  }
  .page-home .home-board__chart {
    margin-top: 0;
    min-height: 220px;
  }
  .page-home .home-timeline {
    padding: 88px 0;
  }
  .page-home .home-timeline__list {
    margin-top: 52px;
  }
  .page-home .home-timeline__desc {
    font-size: 16px;
  }
  .page-home .home-index {
    padding: 88px 0;
  }
  .page-home .home-index__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .page-home .home-index__link {
    min-height: 58px;
  }
  .page-home .home-metal {
    height: 140px;
  }
}
