/* ==========================================================
   K1体育 中国主页 · 首页专属样式
   作用域: .page-home
   移动端优先 / 断点 768px / 1100px
   ========================================================== */

.page-home {
  display: block;
  background: var(--c-black);
  color: var(--c-light);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home section,
.page-home nav {
  position: relative;
}

/* ---------- 区域标题的页面内间距控制 ---------- */
.page-home .section-label {
  margin-bottom: 12px;
}

.page-home .section-title {
  margin: 8px 0 20px;
  line-height: 1.28;
}

/* ==========================================================
   1. 主题声明区
   ========================================================== */
.page-home .home-opening {
  padding: 48px 0 64px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
}

.page-home .home-opening__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.page-home .home-opening__title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}

.page-home .home-opening__lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-mid);
  max-width: 30em;
  margin: 0 0 24px;
}

.page-home .home-opening__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

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

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

.page-home .home-opening__stat dt {
  font-size: 12px;
  color: var(--c-mid);
  letter-spacing: 0.05em;
}

.page-home .home-opening__stat dd {
  margin: 2px 0 0;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--c-light);
}

.page-home .home-opening__bg {
  position: absolute;
  top: 0;
  right: -100px;
  width: 280px;
  height: 100%;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-home .home-opening__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
}

/* ==========================================================
   2. 内容目录区
   ========================================================== */
.page-home .home-toc {
  background: var(--c-dark);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  padding: 40px 0;
}

.page-home .home-toc__inner {
  display: grid;
  gap: 24px;
}

.page-home .home-toc__heading .section-title {
  margin-bottom: 0;
}

.page-home .home-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #2a2a2a;
}

.page-home .home-toc__list li {
  border-bottom: 1px solid #2a2a2a;
}

.page-home .home-toc__list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  color: var(--c-light);
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.page-home .home-toc__list a:hover {
  color: var(--c-red);
  background: rgba(230, 57, 70, 0.05);
}

.page-home .home-toc__num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
  color: var(--c-red);
  width: 26px;
  flex-shrink: 0;
}

.page-home .home-toc__name {
  font-size: 14px;
  font-weight: 500;
}

.page-home .home-toc__arrow {
  margin-left: auto;
  color: var(--c-mid);
  font-size: 14px;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.page-home .home-toc__list a:hover .home-toc__arrow {
  transform: translateX(4px);
  color: var(--c-red);
}

/* ==========================================================
   3. 免费阵容与转会
   ========================================================== */
.page-home .home-free {
  padding: 64px 0;
}

.page-home .home-free__lead {
  color: var(--c-mid);
  max-width: 34em;
  margin-bottom: 28px;
}

.page-home .home-free__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.page-home .home-free__figure {
  margin: 0 0 12px;
}

.page-home .home-free__caption {
  font-size: 12px;
  color: var(--c-mid);
  line-height: 1.5;
}

/* ==========================================================
   4. 赛程排布
   ========================================================== */
.page-home .home-schedule {
  padding: 56px 0;
  background:
    linear-gradient(120deg, rgba(230, 57, 70, 0.08) 0%, transparent 28%),
    linear-gradient(180deg, var(--c-dark) 0%, #151515 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-home .home-schedule__heading {
  max-width: 720px;
}

.page-home .home-schedule__lead {
  color: var(--c-mid);
  max-width: 34em;
  margin-bottom: 28px;
}

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

.page-home .home-schedule__board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .home-schedule__board-head h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}

.page-home .home-schedule__hint {
  font-size: 12px;
  color: var(--c-mid);
}

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

.page-home .home-schedule__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .home-schedule__row:last-child {
  border-bottom: 0;
}

.page-home .home-schedule__day {
  min-width: 60px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
}

.page-home .home-schedule__type {
  flex: 1;
  font-size: 14px;
  color: var(--c-mid);
}

.page-home .home-schedule__board .link {
  display: inline-block;
  margin-top: 16px;
}

/* ==========================================================
   5. 检索与帮助中心升级
   ========================================================== */
.page-home .home-search {
  padding: 64px 0;
}

.page-home .home-search__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .home-search__lead {
  color: var(--c-mid);
  max-width: 34em;
  margin-bottom: 20px;
}

.page-home .home-search__points {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.page-home .home-search__points li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 15px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.page-home .home-search__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--c-blue);
  transform: translateY(-50%);
}

.page-home .home-search__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

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

/* ==========================================================
   6. 手机浏览器访问
   ========================================================== */
.page-home .home-mobile {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--c-black) 0%, var(--c-dark) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-home .home-mobile__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .home-mobile__figure {
  margin: 0;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .home-mobile__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-mobile__lead {
  color: var(--c-mid);
  max-width: 32em;
  margin-bottom: 20px;
}

.page-home .home-mobile__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

/* ==========================================================
   7. 立即收藏
   ========================================================== */
.page-home .home-bookmark {
  padding: 40px 0;
}

.page-home .home-bookmark__panel {
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
  padding: 36px 28px;
  display: grid;
  gap: 24px;
  border-radius: 2px;
}

.page-home .home-bookmark__content {
  color: #ffffff;
}

.page-home .home-bookmark__content .section-label {
  color: rgba(255, 255, 255, 0.85);
}

.page-home .home-bookmark__content .section-title {
  margin-top: 8px;
  color: #ffffff;
}

.page-home .home-bookmark__lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 34em;
  margin-bottom: 20px;
}

.page-home .home-bookmark__content .link {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.page-home .home-bookmark__content .link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.page-home .home-bookmark__tip {
  background: rgba(0, 0, 0, 0.18);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  padding: 20px;
  text-align: center;
  align-self: center;
}

.page-home .home-bookmark__tip p {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 4px;
  line-height: 1.4;
}

.page-home .home-bookmark__tip span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================
   8. 资质与生态
   ========================================================== */
.page-home .home-trust {
  padding: 40px 0 64px;
  background: var(--c-black);
}

.page-home .home-trust__heading {
  margin-bottom: 24px;
}

.page-home .home-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: #2a2a2a;
  border: 1px solid #2a2a2a;
}

.page-home .home-trust__item {
  background: var(--c-dark);
  padding: 18px 16px;
}

.page-home .home-trust__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c-red);
  border: 1px solid rgba(230, 57, 70, 0.4);
  padding: 2px 8px;
  margin-bottom: 8px;
}

.page-home .home-trust__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================
   响应式
   ========================================================== */
@media (min-width: 768px) {
  .page-home .home-toc__inner {
    grid-template-columns: 4fr 8fr;
    align-items: start;
    gap: 40px;
  }

  .page-home .home-toc__name {
    font-size: 15px;
  }

  .page-home .home-mobile__grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }

  .page-home .home-mobile__figure {
    max-width: 280px;
  }

  .page-home .home-search__grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }

  .page-home .home-bookmark__panel {
    grid-template-columns: 3fr 1fr;
    align-items: center;
    padding: 44px 40px;
  }

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

@media (min-width: 1100px) {
  .page-home .home-opening {
    padding: 88px 0 104px;
  }

  .page-home .home-opening__inner {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
    gap: 0;
  }

  .page-home .home-opening__content {
    grid-column: 1 / 9;
  }

  .page-home .home-opening__aside {
    grid-column: 10 / 13;
    margin-top: 12px;
  }

  .page-home .home-opening__title {
    font-size: 64px;
  }

  .page-home .home-opening__lead {
    font-size: 17px;
    max-width: 28em;
  }

  .page-home .home-opening__bg {
    right: -60px;
    width: 480px;
    opacity: 0.22;
  }

  .page-home .home-free {
    padding: 104px 0;
  }

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

  .page-home .home-free__figure {
    margin-top: 12px;
  }

  .page-home .home-schedule {
    padding: 80px 0;
  }

  .page-home .home-schedule__board {
    padding: 32px 36px;
  }

  .page-home .home-search,
  .page-home .home-mobile {
    padding: 96px 0;
  }

  .page-home .home-bookmark {
    padding: 56px 0;
  }

  .page-home .home-bookmark__panel {
    grid-template-columns: 7fr 3fr;
    padding: 48px 56px;
  }

  .page-home .home-bookmark__tip p {
    font-size: 22px;
  }

  .page-home .home-trust {
    padding: 56px 0 88px;
  }

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

  .page-home .home-trust__item {
    padding: 20px 14px;
  }
}
