/* ===== 首页（page-home）专属样式 ===== */
.page-home {
  --home-bg-deep: var(--primary-900);
  --home-bg-mid: var(--primary-700);
  --home-gold: var(--secondary-500);
  --home-gold-light: var(--secondary-300);
  --home-red: var(--accent-600);
  --home-paper: var(--neutral-100);
  --home-ink: var(--neutral-800);
  --home-line: rgba(255, 255, 255, .08);
  background: var(--home-paper);
  overflow-x: hidden;
}

/* ===== 章节指示器 ===== */
.page-home .chapter-tracker {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1px solid rgba(212, 167, 44, .4);
  border-radius: 2px;
  background: rgba(11, 59, 46, .9);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: .12em;
  opacity: 0;
  transition: opacity .3s var(--ease-out), background .3s var(--ease-out);
  backdrop-filter: blur(4px);
}
.page-home .chapter-tracker.is-visible {
  opacity: 1;
}
.page-home .chapter-tracker.is-chapter-active {
  background: rgba(11, 59, 46, .96);
}
.page-home .chapter-tracker__label {
  font-size: 10px;
  color: var(--secondary-300);
  writing-mode: horizontal-tb;
}
.page-home .chapter-tracker__value {
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .2em;
}

/* ===== 首屏封面 ===== */
.page-home .home-cover {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 60px) 0 64px;
  background:
    linear-gradient(var(--home-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px),
    radial-gradient(circle at 80% 18%, rgba(212, 167, 44, .14), transparent 42%),
    linear-gradient(135deg, var(--home-bg-deep) 0%, var(--home-bg-mid) 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%, 100% 100%;
  overflow: hidden;
}
.page-home .home-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 12px);
  pointer-events: none;
}
.page-home .home-cover__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 48px;
  align-items: center;
}
.page-home .home-cover__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 16px 8px 12px;
  border-left: 3px solid var(--home-gold);
  background: rgba(255, 255, 255, .06);
  color: var(--secondary-300);
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: .06em;
}
.page-home .home-cover__mark {
  width: 16px;
  height: 16px;
  color: var(--home-gold);
  flex: none;
}
.page-home .home-cover__title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .02em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .3);
}
.page-home .home-cover__lead {
  margin: 24px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  line-height: 1.75;
}
.page-home .home-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.page-home .home-cover__ghost {
  border-color: rgba(255, 255, 255, .5);
}
.page-home .home-cover__visual {
  position: relative;
  min-width: 0;
}
.page-home .home-cover__imgwrap {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(212, 167, 44, .5);
  background: rgba(11, 59, 46, .6);
  transform: skewX(-2deg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}
.page-home .home-cover__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}
.page-home .home-cover__coord {
  position: absolute;
  padding: 4px 8px;
  background: rgba(11, 59, 46, .85);
  color: var(--secondary-300);
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: .08em;
  border: 1px solid rgba(212, 167, 44, .35);
}
.page-home .home-cover__coord--a {
  top: -12px;
  right: 20px;
}
.page-home .home-cover__coord--b {
  bottom: -12px;
  left: 20px;
}
.page-home .home-cover__gridline {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(212, 167, 44, .4);
  pointer-events: none;
}
.page-home .home-cover__scroll {
  position: absolute;
  right: 28px;
  bottom: 22px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: .16em;
  text-align: center;
  line-height: 1.6;
}

/* ===== 三张斜切功能卡片 ===== */
.page-home .home-cards {
  position: relative;
  z-index: 5;
  padding: 72px 0 56px;
  background: var(--home-paper);
}
.page-home .home-cards__grid {
  display: grid;
  gap: 28px;
}
.page-home .home-card {
  min-width: 0;
}
.page-home .home-card__inner {
  position: relative;
  height: 100%;
  padding: 28px 24px 24px;
  background: var(--white);
  border: 1px solid rgba(11, 59, 46, .12);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out);
}
.page-home .home-card__inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 3px;
  background: var(--home-gold);
  transform: skewX(-45deg);
  transform-origin: right top;
}
.page-home .home-card__inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(11, 59, 46, .16);
  background: var(--neutral-100);
}
.page-home .home-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.page-home .home-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--home-gold);
  color: var(--home-gold);
  background: rgba(212, 167, 44, .08);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 14px;
  transform: rotate(-6deg);
}
.page-home .home-card__title {
  margin: 0 0 12px;
  color: var(--home-bg-deep);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}
.page-home .home-card__text {
  margin: 0 0 18px;
  color: var(--neutral-500);
  font-size: 15px;
  line-height: 1.7;
}
.page-home .home-card__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border: 1px solid rgba(11, 59, 46, .1);
}
.page-home .home-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-bg-deep);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 2px solid var(--home-gold);
  padding-bottom: 3px;
  transition: color .2s var(--ease-out), gap .2s var(--ease-out);
}
.page-home .home-card__link:hover {
  color: var(--home-gold);
  gap: 12px;
}
.page-home .home-card--feedback .home-card__inner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4px;
  height: 40px;
  background: var(--home-red);
}

/* ===== 品牌数据带 ===== */
.page-home .home-stats {
  padding: 32px 0;
  background:
    linear-gradient(var(--home-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px),
    var(--home-bg-deep);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  border-top: 1px solid rgba(212, 167, 44, .3);
  border-bottom: 1px solid rgba(212, 167, 44, .3);
}
.page-home .home-stats__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.page-home .home-stats__note {
  margin: 0;
  color: var(--secondary-300);
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: .18em;
}
.page-home .home-stats__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}
.page-home .home-stats__item {
  padding: 12px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.page-home .home-stats__num {
  margin: 0;
  color: var(--home-gold);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}
.page-home .home-stats__label {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

/* ===== 01 今晚看什么 ===== */
.page-home .home-now {
  background: var(--home-paper);
}
.page-home .home-now__grid {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}
.page-home .home-now__item {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--white);
  border: 1px solid rgba(11, 59, 46, .14);
  border-top: 3px solid var(--home-gold);
  box-shadow: 0 6px 24px rgba(11, 59, 46, .05);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.page-home .home-now__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 59, 46, .12);
}
.page-home .home-now__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.page-home .home-now__league {
  color: var(--home-bg-deep);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
}
.page-home .home-now__name {
  margin: 0 0 10px;
  color: var(--home-ink);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}
.page-home .home-now__desc {
  margin: 0 0 18px;
  color: var(--neutral-500);
  font-size: 15px;
  line-height: 1.7;
}
.page-home .home-now__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.page-home .home-now__meta li {
  padding: 5px 12px;
  background: rgba(11, 59, 46, .06);
  border: 1px solid rgba(11, 59, 46, .1);
  color: var(--home-bg-deep);
  font-size: 13px;
}
.page-home .home-now__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-bg-deep);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid var(--home-gold);
  padding-bottom: 3px;
  transition: color .2s var(--ease-out), gap .2s var(--ease-out);
}
.page-home .home-now__link:hover {
  color: var(--home-red);
  gap: 12px;
}

/* ===== 02 安卓版视频集锦 ===== */
.page-home .home-video {
  background:
    linear-gradient(var(--home-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px),
    radial-gradient(circle at 12% 20%, rgba(212, 167, 44, .1), transparent 40%),
    var(--home-bg-deep);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
}
.page-home .home-video__inner {
  display: grid;
  gap: 48px;
  align-items: center;
}
.page-home .home-video__content {
  min-width: 0;
}
.page-home .section--deep .home-video__lead {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .85);
  font-size: 17px;
  line-height: 1.8;
}
.page-home .home-video__list {
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.page-home .home-video__list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  line-height: 1.6;
}
.page-home .home-video__list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--home-gold);
  font-size: 12px;
}
.page-home .home-video__visual {
  position: relative;
  padding: 28px 24px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(212, 167, 44, .4);
  transform: skewX(-1deg);
}
.page-home .home-video__chart {
  display: grid;
  gap: 22px;
  padding: 8px 4px;
}
.page-home .home-video__chart-row {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  align-items: center;
  gap: 12px;
}
.page-home .home-video__chart-label {
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}
.page-home .home-video__chart-track {
  position: relative;
  display: block;
  height: 14px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.page-home .home-video__chart-track i {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  background: linear-gradient(90deg, var(--home-gold), var(--home-gold-light));
  box-shadow: 0 0 12px rgba(212, 167, 44, .4);
}
.page-home .home-video__chart-row--yellow .home-video__chart-track i {
  background: linear-gradient(90deg, var(--secondary-500), var(--secondary-300));
  width: 24%;
}
.page-home .home-video__chart-row--red .home-video__chart-track i {
  background: linear-gradient(90deg, var(--home-red), #c65a48);
  width: 6%;
}
.page-home .home-video__chart-num {
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}
.page-home .home-video__caption {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  font-family: var(--font-accent);
  letter-spacing: .06em;
  text-align: right;
}

/* ===== 03 有问题三分钟响应 ===== */
.page-home .home-feedback {
  position: relative;
  background:
    linear-gradient(180deg, var(--neutral-100) 0%, rgba(230, 200, 79, .12) 100%);
}
.page-home .home-feedback::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(166, 58, 43, .12), transparent 70%);
  pointer-events: none;
}
.page-home .home-feedback__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.page-home .home-feedback__lead {
  margin: 24px 0 0;
  color: var(--neutral-500);
  font-size: 17px;
  line-height: 1.8;
}
.page-home .home-feedback__channels {
  display: grid;
  gap: 16px;
  margin: 36px 0;
}
.page-home .home-feedback__channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid rgba(11, 59, 46, .12);
  border-left: 4px solid var(--home-red);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.page-home .home-feedback__channel:hover {
  transform: translateX(6px);
  box-shadow: 0 10px 28px rgba(11, 59, 46, .08);
}
.page-home .home-feedback__channel-name {
  color: var(--home-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}
.page-home .home-feedback__channel-value {
  color: var(--home-red);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
}

/* ===== 04 快捷导航 ===== */
.page-home .home-explore {
  background:
    linear-gradient(var(--home-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px),
    linear-gradient(160deg, var(--home-bg-deep), var(--home-bg-mid));
  background-size: 28px 28px, 28px 28px, 100% 100%;
}
.page-home .home-explore__grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}
.page-home .home-explore__item {
  position: relative;
  display: block;
  padding: 28px 24px 24px 30px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-left: 3px solid var(--home-gold);
  text-decoration: none;
  transition: background .3s var(--ease-out), transform .3s var(--ease-out), border-color .3s var(--ease-out);
}
.page-home .home-explore__item:hover {
  background: rgba(212, 167, 44, .1);
  border-color: var(--home-gold);
  transform: translateX(6px);
}
.page-home .home-explore__num {
  display: block;
  margin-bottom: 8px;
  color: var(--home-gold);
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: .14em;
}
.page-home .home-explore__title {
  margin: 0 0 8px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
}
.page-home .home-explore__text {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== 响应式增强 ===== */
@media (min-width: 640px) {
  .page-home .home-stats__list {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .home-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .home-card--feedback {
    grid-column: 1 / -1;
  }
  .page-home .home-now__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .home-now__item:last-child {
    grid-column: 1 / -1;
  }
  .page-home .home-explore__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .home-feedback__channels {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .home-feedback__channel {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-cover__inner {
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
  }
  .page-home .home-cards__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .home-card {
    grid-column: auto !important;
  }
  .page-home .home-now__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .home-now__item:last-child {
    grid-column: auto;
  }
  .page-home .home-video__inner {
    grid-template-columns: 1.05fr .95fr;
    gap: 72px;
  }
  .page-home .home-explore__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .page-home .home-cover__scroll {
    right: 36px;
    bottom: 28px;
  }
}

@media (min-width: 1280px) {
  .page-home .chapter-tracker {
    display: flex;
  }
}
