/* 奇异果体育首页 · page-home */
.page-home {
  background: var(--bg-cream);
  overflow: clip;
}

/* ── 首屏英雄区 ───────────────── */
.page-home .home-hero {
  position: relative;
  padding: 52px 0 64px;
  background: var(--bg-cream);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -12%;
  width: 70%;
  height: 380px;
  background: var(--kiwi-pale);
  transform: rotate(-14deg);
  z-index: 0;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: 56%;
  left: -6%;
  width: 44%;
  height: 120px;
  background: var(--yellow-soft);
  transform: rotate(6deg);
  z-index: 0;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-home .home-hero__title {
  margin: 18px 0 20px;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.04;
  color: var(--ink);
  letter-spacing: -0.01em;
  border-bottom: 4px solid var(--yellow);
  padding-bottom: 18px;
}

.page-home .home-hero__title span {
  display: block;
  color: var(--kiwi-deep);
}

.page-home .home-hero__lead {
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
}

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

.page-home .home-hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.page-home .home-hero__anchor {
  color: var(--orange-strong);
  font-weight: 600;
  text-decoration: none;
}

.page-home .home-hero__visual {
  position: relative;
}

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  top: -14px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 50%;
  z-index: 2;
}

.page-home .home-hero__imgwrap {
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 18px 18px 18px 4px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--kiwi);
}

.page-home .home-hero__imgwrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px 10px 10px 2px;
}

.page-home .home-hero__caption {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── 章节统一标题 ─────────────── */
.page-home .home-section__head {
  margin-bottom: 26px;
}

.page-home .home-section__title {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.12;
  color: var(--ink);
}

.page-home .home-section__desc {
  max-width: 52ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ── 联赛覆盖 ────────────────── */
.page-home .home-leagues {
  padding: 24px 0 72px;
}

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

.page-home .home-league-card {
  position: relative;
  padding: 22px 22px 24px;
  border: 2px solid var(--ink);
  border-radius: 16px 16px 6px 16px;
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(24, 26, 20, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-league-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.page-home .home-league-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 6px;
  border-radius: 99px;
  background: var(--kiwi);
  margin-bottom: 16px;
}

.page-home .home-league-card:nth-child(3n + 2)::before {
  background: var(--yellow);
}

.page-home .home-league-card:nth-child(3n)::before {
  background: var(--orange);
}

.page-home .home-league-card__num {
  position: absolute;
  top: 18px;
  right: 18px;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 8px 2px 8px 2px;
  background: var(--yellow-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .home-league-card--highlight .home-league-card__num {
  background: var(--orange);
  color: var(--paper);
}

.page-home .home-league-card__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
}

.page-home .home-league-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-home .home-league-card--highlight {
  background: var(--kiwi-pale);
  border-color: var(--kiwi-deep);
}

.page-home .home-league-card--highlight::before {
  background: var(--orange);
}

/* ── 安卓导航版 ───────────────── */
.page-home .home-android {
  position: relative;
  background: var(--dark-surface);
  color: var(--paper);
  padding: 72px 0;
  overflow: hidden;
}

.page-home .home-android::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  background: rgba(92, 184, 75, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .home-android::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 20%;
  width: 120px;
  height: 120px;
  background: var(--kiwi);
  transform: rotate(-14deg);
  pointer-events: none;
}

.page-home .home-android .section-tag {
  color: var(--yellow);
  border-color: var(--yellow);
}

.page-home .home-android__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-home .home-android__desc {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
}

.page-home .home-android .home-section__title {
  color: var(--paper);
}

.page-home .home-android__list {
  list-style: none;
  margin: 24px 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-android__list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.page-home .home-android__list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--kiwi);
  font-size: 13px;
}

.page-home .home-android__visual img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border: 2px solid var(--yellow);
  border-radius: 16px 16px 4px 16px;
  box-shadow: 8px 8px 0 rgba(242, 193, 78, 0.32);
}

/* ── 功能亮点 ────────────────── */
.page-home .home-features {
  padding: 72px 0;
}

.page-home .home-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
}

.page-home .home-feature {
  position: relative;
  padding: 26px 22px 22px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px 14px 4px 14px;
  box-shadow: 5px 5px 0 var(--yellow);
}

.page-home .home-feature__index {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--orange-strong);
  text-transform: uppercase;
}

.page-home .home-feature__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

.page-home .home-feature__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ── 帮助中心 ────────────────── */
.page-home .home-help {
  background: var(--yellow-soft);
  padding: 72px 0;
}

.page-home .home-help__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-home .home-help__visual img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 16px 16px 16px 4px;
  box-shadow: 8px 8px 0 var(--orange);
}

.page-home .home-help__desc {
  margin: 12px 0 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ── 服务中心 ────────────────── */
.page-home .home-service {
  padding: 72px 0;
}

.page-home .home-service__card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 24px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px 20px 6px 20px;
  box-shadow: 10px 10px 0 var(--kiwi);
}

.page-home .home-service__desc {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .home-service__meta {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  margin: 20px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-service__meta span {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .home-service__meta span::before {
  content: "→";
  color: var(--orange-strong);
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-home .home-service__visual img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 14px 14px 4px 14px;
}

/* ── 快捷导读 ────────────────── */
.page-home .home-guide {
  background: var(--ink);
  padding: 72px 0;
  color: var(--paper);
}

.page-home .home-guide .section-tag {
  color: var(--yellow);
  border-color: var(--yellow);
}

.page-home .home-guide .home-section__title {
  color: var(--paper);
}

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

.page-home .home-guide__card {
  display: block;
  padding: 24px 20px;
  border: 2px solid var(--ink);
  border-radius: 16px 16px 4px 16px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-guide__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 rgba(255, 255, 255, 0.18);
}

.page-home .home-guide__card--green {
  background: var(--kiwi);
}

.page-home .home-guide__card--yellow {
  background: var(--yellow);
}

.page-home .home-guide__card--ink {
  background: var(--dark-surface-2);
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--paper);
}

.page-home .home-guide__card--kiwi {
  background: var(--kiwi-pale);
}

.page-home .home-guide__num {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.page-home .home-guide__card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  color: inherit;
}

.page-home .home-guide__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

/* ── 数据地带 ────────────────── */
.page-home .home-stats {
  background: var(--kiwi-deep);
  padding: 52px 0;
  color: var(--paper);
}

.page-home .home-stats__heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.page-home .home-stat .stat-number {
  display: block;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 42px;
  line-height: 1;
  color: var(--yellow);
}

.page-home .home-stat .stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}

/* ── 响应式增强 ───────────────── */
@media (min-width: 720px) {
  .page-home .home-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 36px;
  }

  .page-home .home-hero__copy {
    flex: 1.06;
  }

  .page-home .home-hero__visual {
    flex: 1;
  }

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

  .page-home .home-android__inner,
  .page-home .home-help__inner {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .page-home .home-android__copy,
  .page-home .home-help__copy {
    flex: 1.05;
  }

  .page-home .home-android__visual,
  .page-home .home-help__visual {
    flex: 1;
  }

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

  .page-home .home-service__card {
    flex-direction: row;
    align-items: center;
    padding: 36px 32px;
    gap: 40px;
  }

  .page-home .home-service__copy {
    flex: 1.05;
  }

  .page-home .home-service__visual {
    flex: 1;
  }

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

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

  .page-home .home-android__visual img,
  .page-home .home-help__visual img,
  .page-home .home-service__visual img {
    height: 280px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 88px 0 96px;
  }

  .page-home .home-hero__title {
    font-size: 54px;
  }

  .page-home .home-hero__lead {
    font-size: 17px;
  }

  .page-home .home-section__title {
    font-size: 36px;
  }

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

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