/* ===== 页面专属：.page-home ===== */
.page-home {
  background-color: var(--dark-black, #0A0A0A);
  color: var(--text-white, #FFFFFF);
  font-family: var(--font-body, 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif);
  overflow-x: hidden;
}

/* ---- 容器 ---- */
.page-home .container {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---- 章节标题 ---- */
.page-home .section-title {
  font-family: var(--font-heading, 'KaiTi', '楷体', 'STKaiti', serif);
  font-size: 2rem;
  color: var(--wukong-gold, #F0B90B);
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--wukong-gold, #F0B90B);
  display: inline-block;
  position: relative;
}

.page-home .section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40%;
  height: 2px;
  background: var(--data-green, #39FF14);
}

/* ============================= */
/* 英雄区：框景 + 超大标题       */
/* ============================= */
.page-home .hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.page-home .hero-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-height: 80vh;
  border: 2px solid var(--wukong-gold, #F0B90B);
  background: var(--dark-black, #0A0A0A);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(240, 185, 11, 0.15);
}

/* 边框刻度 */
.page-home .hero-scale-marks {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--wukong-gold, #F0B90B);
  border-style: solid;
  z-index: 3;
}
.page-home .hero-scale-marks.top-left {
  top: -1px;
  left: -1px;
  border-width: 3px 0 0 3px;
}
.page-home .hero-scale-marks.top-right {
  top: -1px;
  right: -1px;
  border-width: 3px 3px 0 0;
}
.page-home .hero-scale-marks.bottom-left {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 3px 3px;
}
.page-home .hero-scale-marks.bottom-right {
  bottom: -1px;
  right: -1px;
  border-width: 0 3px 3px 0;
}

/* 背景图 + 网格覆盖 */
.page-home .hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-home .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  display: block;
}
.page-home .hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

/* 英雄内容 */
.page-home .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.page-home .hero-context {
  font-family: var(--font-body, 'Noto Sans SC', sans-serif);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--data-green, #39FF14);
  margin: 0 0 1rem 0;
  opacity: 0.8;
}

.page-home .hero-title {
  font-family: var(--font-heading, 'KaiTi', '楷体', 'STKaiti', serif);
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--wukong-gold, #F0B90B);
  margin: 0 0 1rem 0;
  text-shadow: 0 0 30px rgba(240, 185, 11, 0.3);
  letter-spacing: 0.05em;
}

.page-home .hero-subtitle {
  font-family: var(--font-body, 'Noto Sans SC', sans-serif);
  font-size: 1.1rem;
  color: var(--text-gray, #B0B0B0);
  margin: 0 0 2rem 0;
  letter-spacing: 0.15em;
}

.page-home .hero-cta {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.page-home .hero-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px rgba(240, 185, 11, 0.4);
}

/* 斜切装饰 */
.page-home .hero-diagonal {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(240, 185, 11, 0.12) 50%);
  z-index: 2;
  pointer-events: none;
}

/* ============================= */
/* 赛程滚动条                    */
/* ============================= */
.page-home .schedule-section {
  padding: 3rem 0 2rem 0;
  position: relative;
}

.page-home .schedule-scroll-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-home .schedule-pause-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--wukong-gold, #F0B90B);
  background: var(--card-gray, #1A1A1A);
  color: var(--wukong-gold, #F0B90B);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .schedule-pause-btn:hover {
  background: rgba(240, 185, 11, 0.15);
}

.page-home .schedule-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 0;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--wukong-gold, #F0B90B) var(--card-gray, #1A1A1A);
}
.page-home .schedule-scroll::-webkit-scrollbar {
  height: 4px;
}
.page-home .schedule-scroll::-webkit-scrollbar-track {
  background: var(--card-gray, #1A1A1A);
}
.page-home .schedule-scroll::-webkit-scrollbar-thumb {
  background: var(--wukong-gold, #F0B90B);
  border-radius: 2px;
}

.page-home .schedule-item {
  flex-shrink: 0;
  min-width: 200px;
  background: var(--card-gray, #1A1A1A);
  border: 1px solid #2A2A2A;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}
.page-home .schedule-item:hover {
  border-color: var(--wukong-gold, #F0B90B);
  transform: translateY(-2px);
}

.page-home .schedule-date {
  font-size: 0.8rem;
  color: var(--text-gray, #B0B0B0);
  font-weight: 600;
}
.page-home .schedule-name {
  font-size: 0.95rem;
  color: var(--text-white, #FFFFFF);
  font-weight: 500;
}
.page-home .schedule-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  display: inline-block;
  width: fit-content;
}
.page-home .status-live {
  color: var(--dark-black, #0A0A0A);
  background: var(--data-green, #39FF14);
}
.page-home .status-upcoming {
  color: var(--text-gray, #B0B0B0);
  border: 1px solid var(--text-gray, #B0B0B0);
}

.page-home .schedule-link {
  font-size: 0.8rem;
  color: var(--wukong-gold, #F0B90B);
  text-decoration: none;
  margin-top: 0.25rem;
  align-self: flex-end;
  transition: color 0.2s;
}
.page-home .schedule-link:hover {
  color: var(--bright-gold, #FFD700);
}

.page-home .schedule-deco {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
.page-home .schedule-deco-icon {
  width: 60px;
  height: auto;
  opacity: 0.5;
}

/* ============================= */
/* 实时比分卡片                  */
/* ============================= */
.page-home .scores-section {
  padding: 3rem 0;
}

.page-home .scores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-home .score-card {
  background: var(--card-gray, #1A1A1A);
  border: 1px solid #2A2A2A;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.page-home .score-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.15);
  border-color: var(--data-green, #39FF14);
}

.page-home .score-card-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.page-home .score-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.page-home .score-card:hover .score-card-img {
  transform: scale(1.05);
}

.page-home .score-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.page-home .score-card-title {
  font-family: var(--font-heading, 'KaiTi', '楷体', 'STKaiti', serif);
  font-size: 1.15rem;
  color: var(--wukong-gold, #F0B90B);
  margin: 0;
  font-weight: 600;
}

.page-home .score-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
}
.page-home .score-team {
  font-size: 0.9rem;
  color: var(--text-white, #FFFFFF);
  font-weight: 500;
}
.page-home .score-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--data-green, #39FF14);
  font-family: var(--font-body, 'Noto Sans SC', sans-serif);
  min-width: 2ch;
  text-align: center;
}
.page-home .score-divider {
  font-size: 1.5rem;
  color: var(--text-gray, #B0B0B0);
  font-weight: 300;
}

.page-home .score-status {
  font-size: 0.8rem;
  color: var(--text-gray, #B0B0B0);
  text-align: center;
  border-top: 1px solid #2A2A2A;
  padding-top: 0.5rem;
}

.page-home .score-detail-link {
  font-size: 0.85rem;
  color: var(--data-green, #39FF14);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
  font-weight: 500;
}
.page-home .score-detail-link:hover {
  color: var(--bright-gold, #FFD700);
}

/* ============================= */
/* 热门赛事对比                  */
/* ============================= */
.page-home .comparison-section {
  padding: 3rem 0;
}

.page-home .comparison-intro {
  font-size: 1rem;
  color: var(--text-gray, #B0B0B0);
  margin: -0.5rem 0 1.5rem 0;
  max-width: 600px;
}

.page-home .comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #2A2A2A;
}

.page-home .comparison-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.page-home .comparison-table th {
  background: var(--card-gray, #1A1A1A);
  color: var(--wukong-gold, #F0B90B);
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--wukong-gold, #F0B90B);
  font-family: var(--font-heading, 'KaiTi', '楷体', 'STKaiti', serif);
}

.page-home .comparison-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #2A2A2A;
  color: var(--text-white, #FFFFFF);
}

.page-home .comparison-table tbody tr:hover td {
  background: rgba(240, 185, 11, 0.04);
}

.page-home .comp-event {
  font-weight: 500;
  color: var(--text-white, #FFFFFF);
}

.page-home .comp-price {
  font-family: var(--font-body, 'Noto Sans SC', sans-serif);
  font-weight: 600;
  color: var(--data-green, #39FF14);
  font-size: 1.05rem;
}

.page-home .comp-query-link {
  color: var(--wukong-gold, #F0B90B);
  text-decoration: none;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border: 1px solid var(--wukong-gold, #F0B90B);
  transition: background 0.2s, color 0.2s;
  font-size: 0.85rem;
}
.page-home .comp-query-link:hover {
  background: var(--wukong-gold, #F0B90B);
  color: var(--dark-black, #0A0A0A);
}

.page-home .comparison-note {
  font-size: 0.85rem;
  color: var(--text-gray, #B0B0B0);
  margin-top: 1rem;
  font-style: italic;
}

/* ============================= */
/* CTA收藏入口                   */
/* ============================= */
.page-home .cta-section {
  padding: 4rem 0 5rem 0;
}

.page-home .cta-content {
  text-align: center;
  background: linear-gradient(135deg, var(--card-gray, #1A1A1A) 0%, #0F0F0F 100%);
  border: 1px solid var(--wukong-gold, #F0B90B);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.page-home .cta-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 185, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 185, 11, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.page-home .cta-icon-wrap {
  margin-bottom: 1rem;
}
.page-home .cta-icon {
  width: 50px;
  height: 50px;
  opacity: 0.9;
}

.page-home .cta-title {
  font-family: var(--font-heading, 'KaiTi', '楷体', 'STKaiti', serif);
  font-size: 2rem;
  color: var(--wukong-gold, #F0B90B);
  margin: 0 0 0.75rem 0;
}

.page-home .cta-desc {
  font-size: 1.05rem;
  color: var(--text-gray, #B0B0B0);
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}

.page-home .cta-btn {
  display: inline-block;
  padding: 0.9rem 3rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.page-home .cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(240, 185, 11, 0.35);
}

/* ============================= */
/* 通用按钮样式                  */
/* ============================= */
.page-home .btn-gold {
  background: var(--wukong-gold, #F0B90B);
  color: var(--dark-black, #0A0A0A);
  border: none;
  font-family: var(--font-body, 'Noto Sans SC', sans-serif);
}
.page-home .btn-gold:hover {
  background: var(--bright-gold, #FFD700);
  color: var(--dark-black, #0A0A0A);
}

/* ============================= */
/* 滚动观察淡入动画              */
/* ============================= */
.page-home [data-observe] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-home [data-observe][data-visible] {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/* 移动端优先：≥ 768px 桌面增强  */
/* ============================= */
@media (min-width: 768px) {
  .page-home .hero-title {
    font-size: clamp(4rem, 8vw, 5.5rem);
  }

  .page-home .hero-content {
    padding: 3rem 2.5rem;
  }

  .page-home .schedule-item {
    min-width: 230px;
    padding: 1rem 1.25rem;
  }

  .page-home .scores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .page-home .score-card-img-wrap {
    height: 180px;
  }

  .page-home .cta-content {
    padding: 3rem 3rem;
  }
  .page-home .cta-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-section {
    padding: 2rem;
  }
  .page-home .hero-frame {
    min-height: 85vh;
  }

  .page-home .scores-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .page-home .score-card-img-wrap {
    height: 150px;
  }

  .page-home .comparison-table {
    min-width: auto;
    font-size: 1rem;
  }

  .page-home .section-title {
    font-size: 2.25rem;
  }
}

/* ============================= */
/* 超大屏微调                    */
/* ============================= */
@media (min-width: 1400px) {
  .page-home .hero-title {
    font-size: 6rem;
  }
  .page-home .hero-frame {
    min-height: 75vh;
  }
}
