/* ======================================================
   首页 Home —— 专属样式
   作用域限定 .page-home，避免污染其他页面
   ====================================================== */
.page-home {
  /* ---- 页面级设计变量 ---- */
  --home-deep-grad: linear-gradient(145deg, rgba(255, 90, 54, 0.16) 0%, transparent 32%), linear-gradient(135deg, #0b1f3a 0%, #07162b 100%);
  --home-paper-bg: radial-gradient(circle at 88% 12%, rgba(255, 90, 54, 0.12) 0%, transparent 42%), #f2e8d0;
  --home-stripe-light: repeating-linear-gradient(135deg, #ff5a36 0 8px, rgba(11, 31, 58, 0.72) 8px 16px, #00ff88 16px 24px);
  --home-stripe-dark: repeating-linear-gradient(135deg, #ff5a36 0 8px, rgba(242, 232, 208, 0.58) 8px 16px, #00ff88 16px 24px);
}

/* ============ 首屏：章节预览长卷 ============ */
.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--c-deep);
  display: flex;
  align-items: center;
  padding: 130px 0 72px;
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  z-index: 0;
}

.page-home .home-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(11, 31, 58, 0.96) 0%, rgba(11, 31, 58, 0.84) 52%, rgba(7, 22, 43, 0.70) 100%);
}

.page-home .home-hero-veil::after {
  content: '';
  position: absolute;
  left: -14%;
  top: -12%;
  width: 58%;
  height: 135%;
  background: linear-gradient(115deg, rgba(255, 90, 54, 0.20) 0%, rgba(255, 90, 54, 0) 72%);
  transform: skewX(-14deg);
  pointer-events: none;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-home .home-hero-topline {
  max-width: 760px;
}

.page-home .home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-green);
  margin: 0 0 18px;
}

.page-home .home-hero-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(38px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--c-paper);
  margin: 0 0 22px;
}

.page-home .home-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.75;
  color: rgba(242, 232, 208, 0.78);
  margin: 0;
  border-left: 3px solid var(--c-orange);
  padding-left: 18px;
  max-width: 640px;
}

.page-home .home-hero-layout {
  display: grid;
  gap: 28px;
  margin-top: 52px;
}

.page-home .home-chapter-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .chapter-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 18px;
  border: 2px solid rgba(242, 232, 208, 0.30);
  border-radius: 0;
  background: rgba(11, 31, 58, 0.52);
  color: var(--c-paper);
  text-decoration: none;
  position: relative;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.page-home .chapter-card::after {
  content: '→';
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--c-orange);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.page-home .chapter-card:hover,
.page-home .chapter-card:focus-visible {
  outline: none;
  border-color: var(--c-orange);
  background: rgba(255, 90, 54, 0.12);
  transform: translateY(-3px);
}

.page-home .chapter-card:hover::after,
.page-home .chapter-card:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.page-home .chapter-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-orange);
  letter-spacing: 0.08em;
}

.page-home .chapter-title {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.15;
}

.page-home .chapter-desc {
  font-size: 13px;
  color: rgba(242, 232, 208, 0.62);
}

.page-home .home-hero-panel {
  align-self: start;
}

.page-home .home-hero-panel .data-panel--dark {
  border: 2px solid rgba(242, 232, 208, 0.20);
  box-shadow: 10px 10px 0 rgba(0, 255, 136, 0.16);
}

.page-home .home-status-row {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-green);
  padding: 10px 0 8px;
  border-bottom: 1px solid rgba(242, 232, 208, 0.12);
  margin-bottom: 8px;
}

.page-home .home-status-list {
  margin: 0;
}

.page-home .home-status-list .data-row {
  padding: 6px 0;
}

/* ============ 产品线面板 · 第十轮概览 ============ */
.page-home .home-panel-round {
  position: relative;
  overflow: hidden;
  background: var(--home-paper-bg);
  color: var(--c-ink);
  padding: 64px 0;
}

.page-home .home-panel-round::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--home-stripe-light);
  z-index: 2;
}

.page-home .home-panel-round::after {
  content: '01';
  position: absolute;
  right: 10px;
  bottom: -34px;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: clamp(150px, 24vw, 280px);
  line-height: 1;
  color: rgba(11, 31, 58, 0.06);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-panel-round > .container {
  position: relative;
  z-index: 1;
}

.page-home .home-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 32px;
}

.page-home .home-stat-card {
  background: var(--c-paper);
  border: 2px solid var(--c-ink);
  border-radius: 0;
  box-shadow: 5px 5px 0 var(--c-ink);
  padding: 18px 16px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.page-home .home-stat-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 9px 9px 0 var(--c-orange);
}

.page-home .home-stat-num {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: var(--c-ink);
  margin: 8px 0 6px;
}

.page-home .home-stat-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-gray-dark);
  margin: 0;
}

.page-home .home-panel-round-extra {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.page-home .home-panel-highlight {
  background: var(--c-deep);
  border: 2px solid var(--c-deep);
  border-radius: 0;
  box-shadow: 8px 8px 0 var(--c-ink);
  color: var(--c-paper);
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
}

.page-home .home-panel-highlight::before {
  content: '';
  position: absolute;
  right: -26px;
  top: -34px;
  width: 120px;
  height: 120px;
  background: var(--c-green);
  opacity: 0.10;
  transform: rotate(18deg);
  pointer-events: none;
}

.page-home .home-panel-highlight .data-number {
  font-size: 28px;
  margin: 8px 0 6px;
}

.page-home .home-panel-highlight p:last-child {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(242, 232, 208, 0.72);
  margin-bottom: 0;
}

/* ============ 历史交锋数据对照 ============ */
.page-home .home-history {
  position: relative;
  overflow: hidden;
  background: var(--home-deep-grad);
  color: var(--c-paper);
  padding: 72px 0;
}

.page-home .home-history::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--home-stripe-dark);
  z-index: 2;
}

.page-home .home-history::after {
  content: '02';
  position: absolute;
  right: 8px;
  bottom: -24px;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: clamp(140px, 20vw, 240px);
  line-height: 1;
  color: rgba(255, 90, 54, 0.10);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-history > .container {
  position: relative;
  z-index: 1;
}

.page-home .home-history-inner {
  display: grid;
  gap: 30px;
}

.page-home .home-history-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--c-paper);
  border-radius: 0;
  box-shadow: 12px 12px 0 rgba(0, 255, 136, 0.22);
}

.page-home .home-history-features {
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-history-features li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(242, 232, 208, 0.82);
}

.page-home .home-history-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  background: var(--c-orange);
  transform: skewX(-18deg);
  box-shadow: 2px 2px 0 rgba(0, 255, 136, 0.6);
}

/* ============ 桌面版博业看多联赛 ============ */
.page-home .home-desktop-league {
  position: relative;
  overflow: hidden;
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 72px 0;
}

.page-home .home-desktop-league::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--home-stripe-dark);
  z-index: 2;
}

.page-home .home-desktop-league::after {
  content: '03';
  position: absolute;
  right: -8px;
  bottom: -44px;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: clamp(150px, 22vw, 260px);
  line-height: 1;
  color: rgba(255, 90, 54, 0.10);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-desktop-league > .container {
  position: relative;
  z-index: 1;
}

.page-home .home-desktop-inner {
  display: grid;
  gap: 30px;
}

.page-home .home-desktop-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}

.page-home .home-desktop-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid rgba(242, 232, 208, 0.24);
  border-radius: 0;
  box-shadow: 12px 12px 0 rgba(255, 90, 54, 0.20);
}

/* ============ CN内容中心 · 逐轮战报 ============ */
.page-home .home-content-center {
  position: relative;
  overflow: hidden;
  background: var(--home-paper-bg);
  color: var(--c-ink);
  padding: 64px 0 72px;
}

.page-home .home-content-center::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--home-stripe-light);
  z-index: 2;
}

.page-home .home-content-center::after {
  content: '04';
  position: absolute;
  right: 8px;
  bottom: -34px;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: clamp(140px, 20vw, 240px);
  line-height: 1;
  color: rgba(11, 31, 58, 0.06);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-content-center > .container {
  position: relative;
  z-index: 1;
}

.page-home .home-content-layout {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.page-home .home-content-item {
  padding: 18px 0;
  border-bottom: 1px dashed rgba(11, 31, 58, 0.28);
}

.page-home .home-content-item:first-child {
  padding-top: 0;
}

.page-home .home-content-item h3 {
  font-family: var(--font-headline);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  margin: 10px 0 8px;
}

.page-home .home-content-item h3 a {
  color: var(--c-ink);
  text-decoration: none;
  transition: color var(--t-fast);
}

.page-home .home-content-item h3 a:hover {
  color: var(--c-orange);
}

.page-home .home-content-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-gray-dark);
  margin: 0;
}

.page-home .home-content-cover {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .home-content-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--c-ink);
  border-radius: 0;
  box-shadow: 8px 8px 0 var(--c-orange);
}

/* ============ 底部内容入口矩阵 ============ */
.page-home .home-entry-matrix {
  position: relative;
  overflow: hidden;
  color: var(--c-paper);
  padding: 64px 0 80px;
}

.page-home .home-entry-matrix::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--home-stripe-dark);
  z-index: 2;
}

.page-home .home-entry-matrix::after {
  content: '05';
  position: absolute;
  right: 10px;
  bottom: -34px;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: clamp(120px, 18vw, 220px);
  line-height: 1;
  color: rgba(0, 255, 136, 0.08);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-entry-matrix > .container {
  position: relative;
  z-index: 1;
}

.page-home .home-entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

.page-home .home-entry-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  background: linear-gradient(145deg, rgba(255, 90, 54, 0.10) 0%, rgba(255, 90, 54, 0) 48%), var(--c-deep-2);
  border: 2px solid rgba(242, 232, 208, 0.22);
  border-radius: 0;
  color: var(--c-paper);
  text-decoration: none;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.page-home .home-entry-card .data-number {
  font-size: 32px;
  line-height: 1;
}

.page-home .home-entry-card h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 800;
  margin: 4px 0 0;
}

.page-home .home-entry-card p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(242, 232, 208, 0.64);
  margin: 0;
}

.page-home .home-entry-card:hover,
.page-home .home-entry-card:focus-visible {
  outline: none;
  border-color: var(--c-green);
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 rgba(0, 255, 136, 0.18);
}

/* ============ 章节标题适配 ============ */
.page-home .section-index {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--c-orange);
}

.page-home .section-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 8px 0 6px;
}

.page-home .section-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-gray-dark);
  max-width: 600px;
}

.page-home .section-head--light .section-title {
  color: var(--c-paper);
}

.page-home .section-head--light .section-sub {
  color: rgba(242, 232, 208, 0.65);
}

/* ============ 响应式 ============ */
@media (min-width: 560px) {
  .page-home .home-chapter-preview {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

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

@media (min-width: 900px) {
  .page-home .home-panel-round-extra {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .page-home .home-content-layout {
    grid-template-columns: 1fr 320px;
    gap: 44px;
    align-items: start;
  }

  .page-home .home-panel-round,
  .page-home .home-history,
  .page-home .home-desktop-league,
  .page-home .home-content-center,
  .page-home .home-entry-matrix {
    padding-top: 84px;
    padding-bottom: 84px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero-layout {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 48px;
    align-items: start;
  }

  .page-home .home-hero-panel {
    margin-top: 0;
  }

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

  .page-home .home-history-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 52px;
    align-items: center;
  }

  .page-home .home-desktop-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
    align-items: center;
  }

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

@media (min-width: 1280px) {
  .page-home .home-hero {
    min-height: calc(100vh - var(--header-h));
  }

  .page-home .home-hero-title {
    font-size: 86px;
  }

  .page-home .home-stat-num {
    font-size: 48px;
  }
}
