/* ========== 首页专属样式 .page-home ========== */
.page-home {
  --hero-tilt: -1.2deg;
  --hero-tilt-rev: 1deg;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 540px at 85% -5%, rgba(0, 255, 136, 0.07), transparent 60%),
    radial-gradient(900px 520px at -5% 35%, rgba(255, 94, 0, 0.06), transparent 60%);
}

/* ---------- 面包屑 ---------- */
.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--text-muted);
}

.page-home .breadcrumb__item + .breadcrumb__item::before {
  content: "／";
  margin-right: 8px;
  color: var(--border);
}

.page-home .breadcrumb__item[aria-current="page"] {
  color: var(--text-main);
}

/* ---------- 首屏 Bento ---------- */
.page-home .home-hero {
  position: relative;
  padding: 132px 0 48px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 85%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 85%);
  pointer-events: none;
}

.page-home .home-hero__bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* 主标签卡 */
.page-home .home-hero__main {
  position: relative;
  padding: 28px 24px;
  border-left: 3px solid var(--accent-green);
  transform: rotate(var(--hero-tilt));
}

.page-home .home-hero__main h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.5px;
  margin: 18px 0 12px;
}

.page-home .home-hero__lead {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}

.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 26px;
}

.page-home .home-hero__stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .home-hero__stat .data-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--accent-green);
  line-height: 1;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

.page-home .home-hero__stat span:last-child {
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* hero 小卡 */
.page-home .home-hero__tech,
.page-home .home-hero__rating,
.page-home .home-hero__feedback {
  padding: 20px;
  transform: rotate(var(--hero-tilt-rev));
}

.page-home .home-hero__tech {
  border-top: 2px solid var(--accent-green);
}

.page-home .home-hero__rating {
  border-bottom: 2px solid var(--accent-orange);
}

.page-home .home-hero__feedback {
  border-right: 2px solid var(--accent-green);
}

.page-home .home-hero__card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 14px;
}

.page-home .home-hero__data-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-home .home-hero__data-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(42, 74, 106, 0.5);
}

.page-home .home-hero__data-list li:last-child {
  border-bottom: 0;
}

.page-home .home-hero__data-list .data-num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--accent-green);
}

.page-home .home-hero__feedback-quote {
  margin: 4px 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
}

/* hero 图 */
.page-home .home-hero__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  transform: rotate(var(--hero-tilt));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

/* SVG 数据流 */
.page-home .home-hero__stream {
  position: absolute;
  inset: auto 0 -20px 0;
  z-index: 0;
  width: 100%;
  height: 240px;
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- 通用章节标题 ---------- */
.page-home .section-heading {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .section-index {
  flex-shrink: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 94, 0, 0.4);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.2em;
  color: var(--accent-orange);
}

.page-home .section-heading__text {
  flex: 1;
}

.page-home .section-heading h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.3;
}

.page-home .section-heading .text-muted {
  margin: 0;
}

/* ---------- 01 赛事回访录 ---------- */
.page-home .home-replay__panel {
  position: relative;
  overflow: hidden;
  padding: 24px 20px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(20, 36, 61, 0.9), rgba(10, 20, 40, 0.85));
}

.page-home .home-replay__panel::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 20px;
  width: 44px;
  height: 3px;
  background: var(--gradient);
}

.page-home .home-replay__switch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}

.page-home .home-replay__switch-hint {
  font-size: 13px;
  color: var(--accent-orange);
}

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

.page-home .home-replay__version {
  padding: 18px;
  background: var(--bg-tag);
  border-left: 3px solid var(--border);
}

.page-home .home-replay__version--v4 {
  border-left-color: var(--accent-green);
  background: linear-gradient(120deg, rgba(0, 255, 136, 0.06), var(--bg-tag) 60%);
}

.page-home .home-replay__version h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.page-home .home-replay__version p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .home-replay__figure {
  margin: 20px 0 0;
}

.page-home .home-replay__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.page-home .home-replay__figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
}

/* 数据矩阵 */
.page-home .home-replay__matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.page-home .home-replay__matrix .card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 16px;
  text-align: center;
  background: rgba(20, 36, 61, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transform: rotate(-0.4deg);
  transition: border-color var(--speed), box-shadow var(--speed);
}

.page-home .home-replay__matrix .card:hover {
  border-color: var(--accent-green);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}

.page-home .home-replay__matrix .data-num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent-green);
}

/* ---------- 02 战报与数据对照表 ---------- */
.page-home .home-compare__content {
  padding: 8px 0;
}

.page-home .home-compare__lead {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-main);
}

.page-home .home-compare__list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.page-home .home-compare__list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-main);
}

.page-home .home-compare__list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--gradient);
  transform: rotate(45deg);
}

.page-home .home-compare__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-compare__chart {
  padding: 16px;
  margin: 24px 0 0;
  background: var(--bg-panel);
  border: 1px solid var(--border);
}

.page-home .home-compare__chart img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.page-home .home-compare__chart figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- 03 收藏夹同步 ---------- */
.page-home .home-sync__figure {
  padding: 16px;
  margin: 0 0 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
}

.page-home .home-sync__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.page-home .home-sync__figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.page-home .home-sync__lead {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-main);
}

.page-home .home-sync__list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.page-home .home-sync__list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-main);
}

.page-home .home-sync__list li::before {
  content: "★";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent-green);
}

.page-home .home-sync__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 04 用户反馈整合 ---------- */
.page-home .home-feedback__timeline {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-home .home-feedback__step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  transition: border-color var(--speed), box-shadow var(--speed);
}

.page-home .home-feedback__step:hover {
  border-color: var(--accent-green);
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.08);
}

.page-home .home-feedback__step--current {
  border-left-color: var(--accent-orange);
  background: linear-gradient(120deg, rgba(255, 94, 0, 0.07), var(--bg-panel) 55%);
}

.page-home .home-feedback__step .tag {
  flex-shrink: 0;
  margin-top: 4px;
}

.page-home .home-feedback__desc h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.page-home .home-feedback__desc p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- 05 下载与开始 ---------- */
.page-home .home-start__panel {
  position: relative;
  padding: 36px 24px;
  text-align: center;
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(0, 255, 136, 0.1), transparent 60%),
    linear-gradient(140deg, rgba(20, 36, 61, 0.7), var(--bg-panel));
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.page-home .home-start__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--gradient);
  opacity: 0.7;
}

.page-home .home-start__panel .tag {
  margin-bottom: 16px;
}

.page-home .home-start__panel h2 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.3;
}

.page-home .home-start__lead {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-home .home-start__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-home .home-start__note {
  margin: 24px 0 0;
}

/* ========== 桌面增强 ========== */
@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 140px 0 72px;
  }

  .page-home .home-hero__bento {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .home-hero__main {
    grid-column: span 8;
    padding: 32px 28px;
  }

  .page-home .home-hero__tech {
    grid-column: span 4;
  }

  .page-home .home-hero__rating {
    grid-column: span 4;
  }

  .page-home .home-hero__feedback {
    grid-column: span 4;
  }

  .page-home .home-hero__media {
    grid-column: span 4;
  }

  .page-home .home-hero__media img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .page-home .section-heading {
    margin-bottom: 36px;
  }

  .page-home .home-replay__panel {
    padding: 32px;
  }

  .page-home .home-replay__versions {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-home .home-compare__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .page-home .home-compare__chart {
    margin: 0;
  }

  .page-home .home-sync__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .home-sync__figure {
    margin: 0;
  }

  .page-home .home-feedback__timeline {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-start__panel {
    padding: 48px 40px;
  }
}
