.page-home {
  --home-accent: #E53935;
  --home-accent-glow: #FF8A80;
  --home-dark: #0D0D0D;
  --home-bg-card: #1A1A2E;
  --home-text-light: #F5F5F5;
  --home-text-muted: #B0B0C0;
  display: block;
  width: 100%;
  font-family: var(--font-body, 'Noto Sans SC', sans-serif);
}
/* ===== 首屏 ===== */
.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0F1F2E 0%, #1A3A5C 50%, #0D0D0D 100%);
  color: var(--home-text-light);
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('{zhanqunpic:h:1080w:1920}');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.15;
  mix-blend-mode: screen;
  pointer-events: none;
}
.page-home .home-hero__mtn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  pointer-events: none;
  z-index: 1;
}
.page-home .home-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.page-home .home-hero__label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-highlight, #FFD700);
  border-left: 3px solid var(--color-highlight, #FFD700);
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  opacity: 0.9;
}
.page-home .home-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.page-home .home-hero__content {
  flex: 1 1 55%;
}
.page-home .home-hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading, 'PingFang SC', sans-serif);
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
}
.page-home .home-hero__title-line1 {
  display: block;
  font-size: 3.2rem;
  color: var(--home-text-light);
  letter-spacing: 0.05em;
}
.page-home .home-hero__title-line2 {
  display: block;
  font-size: 3.8rem;
  background: linear-gradient(135deg, var(--home-accent), var(--home-accent-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(229,57,53,0.3);
  letter-spacing: 0.08em;
}
.page-home .home-hero__desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--home-text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-home .home-hero__visual {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .home-hero__img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius, 4px);
  box-shadow: 12px 12px 0 rgba(0,0,0,0.35);
  border: 3px solid rgba(255,255,255,0.12);
  object-fit: cover;
  aspect-ratio: 600/400;
}
/* 赛事热度榜 */
.page-home .home-hero__board {
  margin-top: 3rem;
  padding: 1.5rem 1.25rem;
  background: rgba(0,0,0,0.45);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius, 4px);
}
.page-home .board__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-highlight, #FFD700);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.page-home .board__bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.page-home .board-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: default;
}
.page-home .board-bar__label {
  width: 5.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--home-text-light);
  flex-shrink: 0;
}
.page-home .board-bar__track {
  flex: 1;
  height: 1.25rem;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.page-home .board-bar__fill {
  display: block;
  height: 100%;
  width: var(--bar-width, 50%);
  background: linear-gradient(90deg, var(--color-secondary, #4CAF50), var(--home-accent));
  border-radius: 2px;
  transition: width 0.3s ease;
  position: relative;
}
.page-home .board-bar__fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: rgba(255,255,255,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.page-home .board-bar:hover .board-bar__fill::after {
  opacity: 1;
}
.page-home .board-bar__value {
  width: 3rem;
  text-align: right;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-highlight, #FFD700);
  flex-shrink: 0;
}
.page-home .board-bar:hover .board-bar__fill {
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(229,57,53,0.3);
}
/* 积分条波动动画 */
@keyframes barPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}
.page-home .board-bar:nth-child(1) .board-bar__fill { animation: barPulse 2.4s ease-in-out infinite; }
.page-home .board-bar:nth-child(2) .board-bar__fill { animation: barPulse 3.0s ease-in-out infinite 0.3s; }
.page-home .board-bar:nth-child(3) .board-bar__fill { animation: barPulse 2.0s ease-in-out infinite 0.6s; }
.page-home .board-bar:nth-child(4) .board-bar__fill { animation: barPulse 2.8s ease-in-out infinite 0.9s; }

/* ===== 三大升级 ===== */
.page-home .home-upgrades {
  padding: 4rem 0;
  background: var(--home-dark);
  color: var(--home-text-light);
}
.page-home .home-upgrades .container {
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.page-home .section-title {
  font-family: var(--font-heading, 'PingFang SC', sans-serif);
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  margin: 0 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--home-text-light);
}
.page-home .section-title__num {
  font-size: 1.2rem;
  color: var(--home-accent);
  border: 2px solid var(--home-accent);
  padding: 0.15rem 0.6rem;
  font-style: normal;
  font-weight: 700;
}
.page-home .upgrade-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.page-home .upgrade-card {
  background: var(--home-bg-card);
  border: 3px solid rgba(255,255,255,0.06);
  border-radius: var(--radius, 4px);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}
.page-home .upgrade-card:hover {
  border-color: var(--home-accent);
  box-shadow: 8px 8px 0 rgba(229,57,53,0.15);
}
.page-home .upgrade-card__num {
  font-family: var(--font-heading, 'PingFang SC', sans-serif);
  font-size: 2.8rem;
  font-weight: 900;
  font-style: italic;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
  pointer-events: none;
}
.page-home .upgrade-card__title {
  font-family: var(--font-heading, 'PingFang SC', sans-serif);
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  margin: 0 0 0.75rem;
  color: var(--home-text-light);
}
.page-home .upgrade-card--entry .upgrade-card__title { color: var(--color-primary-light, #2B5A8C); }
.page-home .upgrade-card--scoreboard .upgrade-card__title { color: var(--home-accent); }
.page-home .upgrade-card--recap .upgrade-card__title { color: var(--color-secondary, #4CAF50); }
.page-home .upgrade-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--home-text-muted);
  margin: 0 0 1rem;
  flex: 1;
}
.page-home .upgrade-card__img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius, 4px);
  border: 2px solid rgba(255,255,255,0.08);
  object-fit: cover;
  aspect-ratio: 400/300;
  margin-top: 1rem;
}

/* ===== 对接窗口 ===== */
.page-home .home-window {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #0F1F2E, #1A3A5C);
  color: var(--home-text-light);
}
.page-home .home-window .container {
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.page-home .home-window__inner {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 3px solid rgba(255,255,255,0.08);
  border-radius: var(--radius, 4px);
  background: rgba(0,0,0,0.25);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.25);
}
.page-home .home-window__title {
  font-family: var(--font-heading, 'PingFang SC', sans-serif);
  font-size: 1.8rem;
  font-weight: 900;
  font-style: italic;
  margin: 0 0 1rem;
  color: var(--home-text-light);
}
.page-home .home-window__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--home-text-muted);
  max-width: 36rem;
  margin: 0 auto 1.8rem;
}

/* ===== 最新战报轮播 ===== */
.page-home .home-recap {
  padding: 4rem 0;
  background: var(--home-dark);
  color: var(--home-text-light);
}
.page-home .home-recap .container {
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.page-home .recap-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--home-accent) rgba(255,255,255,0.06);
}
.page-home .recap-carousel::-webkit-scrollbar {
  height: 6px;
}
.page-home .recap-carousel::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}
.page-home .recap-carousel::-webkit-scrollbar-thumb {
  background: var(--home-accent);
  border-radius: 3px;
}
.page-home .recap-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--home-bg-card);
  border: 3px solid rgba(255,255,255,0.06);
  border-radius: var(--radius, 4px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
}
.page-home .recap-card:hover {
  border-color: var(--home-accent);
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 rgba(229,57,53,0.12);
}
.page-home .recap-card__img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 2px solid rgba(255,255,255,0.04);
}
.page-home .recap-card__body {
  padding: 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-home .recap-card__title {
  font-family: var(--font-heading, 'PingFang SC', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  margin: 0 0 0.5rem;
  color: var(--home-text-light);
}
.page-home .recap-card__summary {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--home-text-muted);
  margin: 0 0 0.75rem;
  flex: 1;
}
.page-home .recap-card__link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--home-accent);
  letter-spacing: 0.05em;
  transition: gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.page-home .recap-card:hover .recap-card__link {
  gap: 0.6rem;
  color: var(--home-accent-glow);
}

/* ===== 按钮（页面内限定） ===== */
.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  font-family: var(--font-body, 'Noto Sans SC', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 3px solid transparent;
  border-radius: var(--radius, 4px);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}
.page-home .btn-primary {
  background: var(--home-accent);
  color: #fff;
  border-color: var(--home-accent);
}
.page-home .btn-primary:hover {
  background: #c62828;
  border-color: #c62828;
  box-shadow: 6px 6px 0 rgba(198,40,40,0.3);
  transform: translate(-1px, -1px);
}
.page-home .btn-outline {
  background: transparent;
  color: var(--home-text-light);
  border-color: rgba(255,255,255,0.25);
}
.page-home .btn-outline:hover {
  border-color: var(--color-highlight, #FFD700);
  color: var(--color-highlight, #FFD700);
  box-shadow: 4px 4px 0 rgba(255,215,0,0.15);
  transform: translate(-1px, -1px);
}
.page-home .btn-secondary {
  background: var(--color-secondary, #4CAF50);
  color: #fff;
  border-color: var(--color-secondary, #4CAF50);
}
.page-home .btn-secondary:hover {
  background: #388E3C;
  border-color: #388E3C;
  box-shadow: 6px 6px 0 rgba(56,142,60,0.3);
  transform: translate(-1px, -1px);
}

/* ===== 响应式：桌面端 ≥768px ===== */
@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 8rem 0 5rem;
  }
  .page-home .home-hero__inner {
    flex-direction: row;
    align-items: center;
  }
  .page-home .home-hero__title-line1 {
    font-size: 4.8rem;
  }
  .page-home .home-hero__title-line2 {
    font-size: 5.6rem;
  }
  .page-home .home-hero__desc {
    font-size: 1.15rem;
  }
  .page-home .home-hero__board {
    padding: 1.75rem 2rem;
  }
  .page-home .board__bars {
    gap: 1rem;
  }
  .page-home .board-bar__label {
    width: 7rem;
    font-size: 0.95rem;
  }
  .page-home .board-bar__track {
    height: 1.5rem;
  }
  .page-home .board-bar__value {
    width: 3.5rem;
    font-size: 0.95rem;
  }

  .page-home .home-upgrades {
    padding: 5rem 0;
  }
  .page-home .section-title {
    font-size: 2.5rem;
  }
  .page-home .upgrade-cards {
    flex-direction: row;
    align-items: stretch;
  }
  .page-home .upgrade-card {
    flex: 1 1 0;
    min-width: 0;
  }
  .page-home .upgrade-card--scoreboard {
    flex: 1.25 1 0;
  }

  .page-home .home-window {
    padding: 4rem 0;
  }
  .page-home .home-window__title {
    font-size: 2.2rem;
  }
  .page-home .home-window__inner {
    padding: 3rem 2.5rem;
  }

  .page-home .home-recap {
    padding: 5rem 0;
  }
  .page-home .recap-card {
    flex: 0 0 320px;
  }
}

/* ===== 宽桌面 ≥1024px ===== */
@media (min-width: 1024px) {
  .page-home .home-hero__title-line1 {
    font-size: 5.6rem;
  }
  .page-home .home-hero__title-line2 {
    font-size: 6.8rem;
  }
  .page-home .home-hero__desc {
    font-size: 1.25rem;
  }
  .page-home .home-hero__visual {
    justify-content: flex-end;
  }
  .page-home .home-hero__board {
    margin-top: 4rem;
  }
  .page-home .upgrade-cards {
    gap: 2rem;
  }
  .page-home .upgrade-card {
    padding: 2rem 1.75rem;
  }
  .page-home .recap-carousel {
    gap: 2rem;
  }
  .page-home .recap-card {
    flex: 0 0 340px;
  }
}

/* ===== 超大桌面 ≥1280px ===== */
@media (min-width: 1280px) {
  .page-home .home-hero__title-line1 {
    font-size: 6.4rem;
  }
  .page-home .home-hero__title-line2 {
    font-size: 7.6rem;
  }
}

.page-home {
  --bar-width: var(--max-width);
}
