.page-home {
  --home-primary-glow: rgba(0, 180, 255, 0.14);
  --home-secondary-glow: rgba(57, 255, 20, 0.08);
  --home-gold-glow: rgba(255, 215, 0, 0.1);
  overflow-x: hidden;
}

/* ===================== 首屏封面 ===================== */
.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: min(100vh, 900px);
  overflow: hidden;
  background: var(--c-bg);
}
.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.2) contrast(1.1);
}
.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 14, 23, 0.96) 0%, rgba(10, 14, 23, 0.72) 42%, rgba(10, 14, 23, 0.35) 100%);
}
.page-home .hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  z-index: 2;
  pointer-events: none;
}
.page-home .hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 80px;
  width: 100%;
}
.page-home .home-hero .breadcrumbs {
  margin-bottom: 28px;
  justify-content: flex-start;
}
.page-home .hero-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-mid);
}
.page-home .hero-tag {
  padding: 5px 12px;
  border: 1px solid var(--c-border);
  border-left: 2px solid var(--c-primary);
  color: var(--c-primary);
}
.page-home .hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-secondary);
  font-family: var(--font-mono);
}
.page-home .hero-live .live-dot {
  animation: home-live-pulse 2s ease-in-out infinite;
}
@keyframes home-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(57, 255, 20, 0); }
}
.page-home .hero-layout {
  display: grid;
  gap: 36px;
  align-items: end;
}
.page-home .hero-title {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.page-home .hero-title br {
  display: none;
}
.page-home .hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text-mid);
  max-width: 520px;
  margin-bottom: 30px;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.page-home .hero-index {
  border: 1px solid var(--c-border);
  background: rgba(17, 24, 39, 0.68);
  backdrop-filter: blur(10px);
  padding: 24px 22px;
}
.page-home .hero-index-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-text-low);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}
.page-home .index-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--c-border);
  text-decoration: none;
  transition: background 0.3s ease;
}
.page-home .index-item:last-child {
  border-bottom: none;
}
.page-home .index-item:hover {
  background: rgba(0, 180, 255, 0.06);
}
.page-home .index-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-primary);
  width: 30px;
  flex-shrink: 0;
}
.page-home .index-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  transition: color 0.3s;
}
.page-home .index-item:hover .index-label {
  color: var(--c-secondary);
}

/* ===================== 实时比分滚动 ===================== */
.page-home .home-livescores {
  position: relative;
  padding-top: var(--section-space);
  padding-bottom: calc(var(--section-space) + 20px);
}
.page-home .home-livescores::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}
.page-home .score-board {
  margin-top: 44px;
  border: 1px solid var(--c-border);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.6), rgba(17, 24, 39, 0.2));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.page-home .score-board-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--c-border);
}
.page-home .score-refresh {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-mid);
}
.page-home .score-refresh .live-dot {
  animation: home-live-pulse 2s ease-in-out infinite;
}
.page-home .refresh-count {
  color: var(--c-secondary);
  font-weight: 700;
}
.page-home .score-filter {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}
.page-home .score-filter .filter-button {
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-text-mid);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.page-home .score-filter .filter-button:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.page-home .score-filter .filter-button[aria-pressed="true"] {
  background: rgba(0, 180, 255, 0.12);
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.page-home .score-list {
  display: grid;
  grid-template-columns: 1fr;
}
.page-home .score-row {
  padding: 16px 18px;
  border-bottom: 1px solid var(--c-border);
  transition: background 0.25s ease, transform 0.25s ease;
}
.page-home .score-row:last-child {
  border-bottom: none;
}
.page-home .score-row:hover {
  background: rgba(0, 180, 255, 0.05);
  transform: translateX(4px);
}
.page-home .score-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 10px;
}
.page-home .score-league {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid var(--c-border);
  border-left: 2px solid var(--c-primary);
  color: var(--c-primary);
  text-transform: uppercase;
}
.page-home .score-clock {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-text-low);
}
.page-home .score-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.page-home .score-team {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .score-team:last-child {
  text-align: right;
}
.page-home .score-vs {
  font-family: var(--font-mono);
  color: var(--c-primary);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.page-home .score-num {
  min-width: 26px;
  display: inline-block;
  text-align: center;
  animation: home-score-blink 2.6s ease-in-out infinite;
}
.page-home .score-row:nth-child(2n) .score-num {
  animation-delay: 1.3s;
}
@keyframes home-score-blink {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.55; }
}
.page-home .score-colon {
  color: var(--c-text-low);
  font-weight: 400;
}
.page-home .score-board-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--c-border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-text-low);
}
.page-home .score-footer-note {
  letter-spacing: 0.05em;
}
.page-home .score-footer-status {
  color: var(--c-secondary);
}
.page-home .score-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding: 0 4px;
}
.page-home .score-footnote p {
  font-size: 14px;
  color: var(--c-text-mid);
  margin: 0;
  line-height: 1.6;
}

/* ===================== 重点场次推荐 ===================== */
.page-home .home-featured {
  position: relative;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  background: linear-gradient(160deg, var(--home-primary-glow), transparent 38%);
}
.page-home .home-featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 255, 0.35), transparent);
}
.page-home .featured-grid {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}
.page-home .featured-card {
  position: relative;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-home .featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.page-home .featured-main {
  min-height: 360px;
}
.page-home .featured-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.page-home .featured-main:hover img {
  transform: scale(1.04);
}
.page-home .featured-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 14, 23, 0.85) 100%);
}
.page-home .featured-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  background: rgba(255, 215, 0, 0.1);
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-home .featured-card-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--c-text);
}
.page-home .featured-card-meta {
  font-size: 14px;
  color: var(--c-text-mid);
  margin: 0;
}
.page-home .featured-side {
  display: grid;
  gap: 18px;
}
.page-home .featured-sub {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--c-surface-alt), var(--c-surface));
}
.page-home .featured-sub .featured-tag {
  order: -1;
  margin-bottom: 4px;
}
.page-home .featured-sub .featured-card-title {
  font-size: 18px;
}
.page-home .featured-sub:hover {
  border-color: rgba(0, 180, 255, 0.4);
}

/* ===================== 资料下载入口 ===================== */
.page-home .home-download {
  position: relative;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}
.page-home .home-download::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}
.page-home .download-panel {
  position: relative;
  display: grid;
  gap: 28px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.1), rgba(57, 255, 20, 0.04));
  padding: 36px 28px;
  margin-top: 44px;
}
.page-home .download-panel::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 36%;
  height: 140%;
  background: linear-gradient(115deg, transparent, rgba(0, 180, 255, 0.1), transparent);
  transform: skewX(-14deg);
  pointer-events: none;
}
.page-home .download-content {
  position: relative;
  z-index: 1;
}
.page-home .download-content .section-index {
  margin-bottom: 14px;
}
.page-home .download-content .section-title {
  margin-bottom: 16px;
}
.page-home .download-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text-mid);
  margin-bottom: 24px;
  max-width: 560px;
}
.page-home .download-points {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
}
.page-home .download-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--c-text-mid);
  line-height: 1.6;
}
.page-home .download-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--c-secondary);
}
.page-home .download-figure {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .download-figure img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 0 40px rgba(0, 180, 255, 0.1);
}

/* ===================== 帮助与反馈 ===================== */
.page-home .home-help {
  position: relative;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  background: linear-gradient(200deg, transparent, var(--home-primary-glow) 120%);
}
.page-home .help-grid {
  display: grid;
  gap: 36px;
  align-items: center;
  margin-top: 44px;
}
.page-home .help-figure {
  order: 2;
}
.page-home .help-figure img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--c-border);
  box-shadow: 20px 20px 0 rgba(0, 180, 255, 0.06);
}
.page-home .help-content {
  order: 1;
}
.page-home .help-content .section-index {
  margin-bottom: 14px;
}
.page-home .help-content .section-title {
  margin-bottom: 16px;
}
.page-home .help-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text-mid);
  margin-bottom: 26px;
  max-width: 520px;
}
.page-home .help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===================== 品牌信息摘要 ===================== */
.page-home .home-brand {
  position: relative;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  border-bottom: 1px solid var(--c-border);
}
.page-home .brand-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}
.page-home .brand-story .section-index {
  margin-bottom: 14px;
}
.page-home .brand-story .section-title {
  margin-bottom: 16px;
}
.page-home .brand-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text-mid);
  max-width: 580px;
  margin-bottom: 26px;
}
.page-home .brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.page-home .brand-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.page-home .stat-item {
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  padding: 26px 18px;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.page-home .stat-item:hover {
  border-color: rgba(0, 180, 255, 0.45);
  box-shadow: 0 0 30px var(--home-primary-glow);
}
.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.page-home .stat-num small {
  font-size: 16px;
  color: var(--c-text-mid);
  margin-left: 2px;
}
.page-home .stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--c-text-low);
  letter-spacing: 0.06em;
}

/* ===================== 响应式增强 ===================== */
@media (min-width: 768px) {
  .page-home .score-list {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .score-row:nth-child(odd) {
    border-right: 1px solid var(--c-border);
  }
  .page-home .score-row:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .page-home .brand-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .help-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .help-figure {
    order: 1;
  }
  .page-home .help-content {
    order: 2;
    padding-left: 20px;
  }
  .page-home .featured-grid {
    grid-template-columns: 2fr 1fr;
  }
  .page-home .featured-side {
    grid-template-rows: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .page-home .hero-title br {
    display: inline;
  }
  .page-home .hero-title {
    font-size: clamp(40px, 4.6vw, 62px);
  }
  .page-home .hero-lead {
    font-size: 17px;
  }
  .page-home .hero-index {
    width: 320px;
    justify-self: end;
  }
  .page-home .download-panel {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 52px 48px;
  }
  .page-home .download-figure img {
    max-width: 340px;
  }
  .page-home .brand-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .page-home .score-board {
    margin-top: 52px;
  }
}

@media (min-width: 1440px) {
  .page-home .hero-index {
    width: 360px;
  }
  .page-home .brand-stats {
    gap: 18px;
  }
  .page-home .stat-item {
    padding: 32px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .score-num,
  .page-home .hero-live .live-dot,
  .page-home .score-refresh .live-dot {
    animation: none;
  }
  .page-home .featured-card:hover,
  .page-home .score-row:hover {
    transform: none;
  }
}
