.page-home {
  --home-bg-alt: color-mix(in srgb, var(--neutral-light) 95%, var(--primary) 5%);
  --home-card-shadow: 0 4px 12px rgba(0,0,0,0.06);
  --home-radius-lg: 12px;
  --home-transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  width: 100%;
}

/* ── 面包屑 / 页面上下文 ── */
.page-home .home-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--neutral-dark);
  opacity: 0.75;
}
.page-home .home-breadcrumb__sep {
  color: var(--primary);
  font-weight: 700;
}
.page-home .home-breadcrumb__current {
  color: var(--secondary);
  font-weight: 500;
}

/* ── 介绍区 ── */
.page-home .home-intro {
  padding-top: 32px;
  padding-bottom: 24px;
  background: var(--secondary);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.page-home .home-intro::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(230,57,70,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-home .home-intro__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.page-home .home-intro__title .brand-highlight {
  color: var(--accent);
  display: inline-block;
  position: relative;
}
.page-home .home-intro__subtitle {
  font-size: clamp(16px, 2.4vw, 20px);
  font-family: var(--font-body);
  opacity: 0.92;
  margin: 0 0 20px;
  max-width: 640px;
}
.page-home .home-steps-visual {
  margin-top: 12px;
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.page-home .home-steps-visual__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

/* ── 通用章节标题 ── */
.page-home .section__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 28px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.page-home .section__title--with-line::after {
  content: '';
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
  max-width: 180px;
}

/* ── 三步流程卡片 ── */
.page-home .home-steps {
  background: var(--home-bg-alt);
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
}
.page-home .home-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 680px) {
  .page-home .home-steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.page-home .home-step-card {
  background: var(--text-light);
  border: 2px dashed var(--neutral-dark);
  border-radius: var(--home-radius-lg);
  padding: 28px 24px 24px;
  position: relative;
  transition: transform var(--home-transition), box-shadow var(--home-transition);
  cursor: default;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-home .home-step-card:hover,
.page-home .home-step-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--home-card-shadow), 0 8px 20px rgba(230,57,70,0.12);
  border-color: var(--primary);
}
.page-home .home-step-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.page-home .home-step-card__badge {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  letter-spacing: -0.04em;
}
.page-home .home-step-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.page-home .home-step-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--secondary);
}
.page-home .home-step-card__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--neutral-dark);
  margin: 0;
  flex: 1;
}
.page-home .home-step-card .tag--flow {
  align-self: flex-start;
  background: var(--secondary);
  color: var(--text-light);
  font-size: 12px;
  padding: 2px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.page-home .home-steps__action {
  margin-top: 32px;
  text-align: center;
}

/* ── 热门联赛入口 ── */
.page-home .home-leagues {
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--text-light);
}
.page-home .home-leagues__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 480px) {
  .page-home .home-leagues__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  .page-home .home-leagues__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.page-home .home-league-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px 16px;
  background: var(--neutral-light);
  border: 2px solid transparent;
  border-radius: var(--home-radius-lg);
  text-decoration: none;
  color: var(--neutral-dark);
  transition: transform var(--home-transition), border-color var(--home-transition), box-shadow var(--home-transition);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
.page-home .home-league-card:hover,
.page-home .home-league-card:focus-visible {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--home-card-shadow);
}
.page-home .home-league-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.page-home .home-league-card__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--text-light);
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.page-home .home-league-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
}
.page-home .home-league-card .tag {
  background: var(--accent);
  color: var(--secondary);
  font-size: 11px;
  padding: 2px 14px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.page-home .home-leagues__action {
  margin-top: 28px;
  text-align: center;
}

/* ── 最新战报 ── */
.page-home .home-reports {
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--home-bg-alt);
}
.page-home .home-reports__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .page-home .home-reports__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .page-home .home-reports__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.page-home .home-report-card {
  background: var(--text-light);
  border: 1px solid rgba(43,45,66,0.12);
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  transition: transform var(--home-transition), box-shadow var(--home-transition);
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
.page-home .home-report-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-card-shadow), 0 6px 16px rgba(230,57,70,0.08);
}
.page-home .home-report-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 8px;
  border-bottom: 1px solid var(--neutral-light);
}
.page-home .home-report-card__header .tag--league {
  background: var(--primary);
  color: var(--text-light);
  font-size: 12px;
  padding: 2px 14px;
  border-radius: 20px;
  font-weight: 600;
}
.page-home .home-report-card__time {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  background: var(--neutral-light);
  padding: 2px 10px;
  border-radius: 6px;
}
.page-home .home-report-card__body {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 14px;
}
.page-home .home-report-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 80px;
}
.page-home .home-report-card__team-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-dark);
  text-align: center;
  line-height: 1.3;
}
.page-home .home-report-card__score {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}
.page-home .home-report-card__vs {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
  letter-spacing: 0.06em;
}
.page-home .home-report-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px 14px;
  border-top: 1px solid var(--neutral-light);
}
.page-home .home-report-card__footer .tag--status {
  background: var(--success);
  color: var(--text-light);
  font-size: 11px;
  padding: 2px 14px;
  border-radius: 20px;
  font-weight: 600;
}
.page-home .home-report-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--home-transition);
}
.page-home .home-report-card__link:hover,
.page-home .home-report-card__link:focus-visible {
  border-bottom-color: var(--primary);
}
.page-home .home-reports__action {
  margin-top: 28px;
  text-align: center;
}

/* ── 底部品牌横幅 ── */
.page-home .home-banner {
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}
.page-home .home-banner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(244,162,97,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-home .home-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) {
  .page-home .home-banner__inner {
    flex-direction: row;
    text-align: left;
    gap: 32px;
  }
}
.page-home .home-banner__img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--home-radius-lg);
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.page-home .home-banner__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media (min-width: 640px) {
  .page-home .home-banner__content {
    align-items: flex-start;
  }
}
.page-home .home-banner__text {
  font-size: clamp(16px, 2.6vw, 22px);
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
  max-width: 480px;
}
.page-home .home-banner .btn {
  background: var(--accent);
  color: var(--secondary);
  border-color: var(--accent);
  font-weight: 700;
}
.page-home .home-banner .btn:hover {
  background: transparent;
  color: var(--accent);
}

/* ── 装饰剪影 ── */
.page-home .home-decor {
  position: relative;
  height: 0;
  pointer-events: none;
  z-index: 0;
}
.page-home .home-decor__silhouette {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 120px;
  height: auto;
  opacity: 0.15;
  transform: rotate(-6deg);
}
@media (min-width: 768px) {
  .page-home .home-decor__silhouette {
    width: 180px;
    right: 24px;
  }
}

/* ── 按钮变体 ── */
.page-home .btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 3px solid var(--primary);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  background: var(--primary);
  color: var(--text-light);
  transition: background var(--home-transition), color var(--home-transition), transform var(--home-transition);
  cursor: pointer;
}
.page-home .btn:hover,
.page-home .btn:focus-visible {
  background: transparent;
  color: var(--primary);
  transform: scale(1.03);
}
.page-home .btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.page-home .btn-outline {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.page-home .btn-outline:hover,
.page-home .btn-outline:focus-visible {
  background: var(--secondary);
  color: var(--text-light);
}

/* ── 容器适配 ── */
.page-home .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .page-home .container {
    padding: 0 24px;
  }
}

/* ── section 间距统一 ── */
.page-home .section {
  padding-left: 0;
  padding-right: 0;
}

/* ── 移动端微调 ── */
@media (max-width: 400px) {
  .page-home .home-step-card {
    padding: 20px 16px 18px;
  }
  .page-home .home-report-card__body {
    flex-wrap: wrap;
    gap: 8px;
  }
  .page-home .home-report-card__team {
    min-width: 60px;
  }
  .page-home .home-report-card__score {
    font-size: 22px;
  }
  .page-home .home-league-card {
    padding: 14px 8px 12px;
  }
  .page-home .home-league-card__icon {
    width: 48px;
    height: 48px;
  }
}
