.page-home {
  --home-gap-lg: 88px;
  --home-gap-md: 32px;
  --home-line: rgba(0, 229, 255, 0.3);
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ===== 首屏英雄区：海报式拼贴 ===== */
.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90vh;
  overflow: hidden;
  padding: 120px 0 70px;
  background: var(--bg-primary);
}

.page-home .home-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(1.2) contrast(1.12);
}

.page-home .home-hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(0, 229, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 72%);
}

.page-home .home-hero__backdrop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.12), transparent);
  animation: homeScan 6s linear infinite;
}

@keyframes homeScan {
  0% { top: -15%; }
  100% { top: 115%; }
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--home-gap-md);
}

.page-home .home-hero__eyebrow {
  margin-bottom: 12px;
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-size: clamp(3rem, 11vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.page-home .home-hero__subtitle {
  display: block;
  margin-top: 14px;
  font-size: 0.38em;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.page-home .home-hero__desc {
  max-width: 34rem;
  margin: 0 0 28px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

.page-home .home-hero__scroll {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  align-items: center;
  gap: 8px;
  color: var(--accent-blue);
  font-size: 0.8rem;
  text-decoration: none;
  font-family: var(--font-mono);
}

/* 英雄区实时比分板 */
.page-home .home-hero__board {
  display: grid;
  gap: 16px;
}

.page-home .home-hero__board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 4px;
}

.page-home .home-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.page-home .home-hero__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: homePulse 1.6s ease-in-out infinite;
}

@keyframes homePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.page-home .home-hero__board-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.page-home .score-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.18);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: var(--transition-base);
  backdrop-filter: blur(6px);
}

.page-home .score-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow-blue);
}

.page-home .score-card__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.16);
}

.page-home .score-card__league {
  font-size: 0.75rem;
  color: var(--accent-blue);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-home .score-card__status {
  font-size: 0.75rem;
  color: var(--accent-orange);
  font-family: var(--font-mono);
}

.page-home .score-card__content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 20px 14px 12px;
}

.page-home .score-card__team {
  display: grid;
  gap: 2px;
}

.page-home .score-card__team strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.page-home .score-card__tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.page-home .score-card__score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
}

.page-home .score-card__num {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent-green);
  animation: homeScoreGlow 2.4s ease-in-out infinite;
}

@keyframes homeScoreGlow {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
  }
  50% {
    opacity: 0.78;
    text-shadow: 0 0 18px rgba(57, 255, 20, 0.6);
  }
}

.page-home .score-card__score i {
  font-style: normal;
  color: var(--text-muted);
}

.page-home .score-card__action {
  display: block;
  padding: 0 14px 14px;
  font-size: 0.82rem;
  color: var(--accent-blue);
  text-decoration: none;
}

/* ===== 面包屑上下文 ===== */
.page-home .home-context {
  padding-top: 20px;
}

/* ===== 赛事聚焦 ===== */
.page-home .home-events {
  display: grid;
  gap: var(--home-gap-md);
  scroll-margin-top: 84px;
}

.page-home .home-section-head {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

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

.page-home .home-events__grid {
  display: grid;
  gap: 20px;
}

.page-home .match-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.14);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: var(--transition-base);
}

.page-home .match-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow-blue);
}

.page-home .match-card__frame {
  height: 200px;
}

.page-home .match-card__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .match-card__body {
  display: grid;
  gap: 10px;
  padding: 20px;
  flex: 1;
}

.page-home .match-card__body--data {
  justify-content: center;
}

.page-home .match-card__tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.page-home .match-card__time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-orange);
}

.page-home .match-card__title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.page-home .match-card__num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.page-home .match-card__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-home .match-card__facts {
  list-style: none;
  margin: 4px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed rgba(0, 229, 255, 0.18);
}

.page-home .match-card__facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 0.85rem;
}

.page-home .match-card__facts span {
  color: var(--text-muted);
}

.page-home .match-card__facts b {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent-blue);
}

.page-home .home-btn--sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  align-self: flex-start;
}

.page-home .home-events__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 0;
}

.page-home .home-events__tip {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== 新版特性 ===== */
.page-home .home-features {
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

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

.page-home .home-features__lead {
  margin: 0 0 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-home .feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .feature-list__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(26, 58, 92, 0.5);
  border-left: 2px solid var(--accent-blue);
}

.page-home .feature-list__marker {
  font-family: var(--font-mono);
  color: var(--accent-orange);
  font-size: 0.95rem;
  padding-top: 2px;
}

.page-home .feature-list__item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.page-home .feature-list__item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-home .home-features__visual {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.page-home .home-features__device {
  width: min(210px, 70vw);
  padding: 8px;
  border-radius: 22px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(26, 58, 92, 0.5);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.12);
}

.page-home .home-features__device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 2;
  object-fit: cover;
  border-radius: 14px;
}

.page-home .home-features__note {
  text-align: center;
}

.page-home .home-features__version {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent-green);
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.35);
}

.page-home .home-features__version-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== 快速导航 ===== */
.page-home .home-quicknav {
  scroll-margin-top: 84px;
}

.page-home .home-quicknav__layout {
  display: grid;
  gap: 28px;
}

.page-home .home-quicknav__radar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.page-home .home-quicknav__radar img {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.16);
}

.page-home .home-quicknav__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page-home .home-quicknav__ring--one {
  inset: 20px;
  border: 1px dashed rgba(0, 229, 255, 0.22);
}

.page-home .home-quicknav__ring--two {
  inset: 0;
  border: 1px solid rgba(0, 229, 255, 0.12);
  animation: homeRaySpin 18s linear infinite;
}

@keyframes homeRaySpin {
  to { transform: rotate(360deg); }
}

.page-home .home-quicknav__cards {
  display: grid;
  gap: 14px;
}

.page-home .quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.12);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-base);
}

.page-home .quick-link:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow-blue);
  transform: translateX(6px);
}

.page-home .quick-link__icon {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(57, 255, 20, 0.3);
  color: var(--accent-green);
  background: rgba(57, 255, 20, 0.07);
  transition: var(--transition-base);
}

.page-home .quick-link:hover .quick-link__icon {
  transform: rotate(8deg) scale(1.06);
  box-shadow: var(--shadow-glow-green);
}

.page-home .quick-link__content {
  display: grid;
  gap: 3px;
}

.page-home .quick-link__content strong {
  font-size: 1rem;
}

.page-home .quick-link__content span {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.page-home .quick-link__arrow {
  margin-left: auto;
  font-size: 1.15rem;
  color: var(--accent-orange);
}

/* ===== 平台数据 ===== */
.page-home .home-stats {
  border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.page-home .home-section-head--center {
  text-align: center;
}

.page-home .home-stats__grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.page-home .home-stats__item {
  padding: 26px 20px;
  background: var(--bg-card);
  border-top: 2px solid var(--accent-blue);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.page-home .home-stats__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1;
  color: var(--accent-green);
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.3);
}

.page-home .home-stats__plus {
  color: var(--accent-orange);
}

.page-home .home-stats__label {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 1rem;
}

.page-home .home-stats__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ===== 延伸入口 ===== */
.page-home .home-extend__grid {
  display: grid;
  gap: 20px;
}

.page-home .home-extend__item {
  display: grid;
  gap: 8px;
  padding: 24px 22px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.12);
  text-decoration: none;
  color: var(--text-primary);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: var(--transition-base);
}

.page-home .home-extend__item:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-4px);
}

.page-home .home-extend__num {
  font-family: var(--font-mono);
  color: var(--accent-orange);
  font-size: 0.85rem;
}

.page-home .home-extend__name {
  margin: 0;
  font-size: 1.12rem;
}

.page-home .home-extend__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-home .home-extend__go {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(0, 229, 255, 0.4);
}

/* ===== 动效增强：JS 可用时才隐藏，无 JS 直接可见 ===== */
.page-home.js-reveal .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.08s;
}

.page-home.js-reveal .page-home [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ===== 响应式：平板 ===== */
@media (min-width: 768px) {
  .page-home .home-hero {
    min-height: 82vh;
  }

  .page-home .home-hero__title {
    font-size: clamp(3.4rem, 8vw, 5.2rem);
  }

  .page-home .home-features__wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-home .home-events__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .match-card--featured {
    grid-column: 1 / -1;
  }

  .page-home .home-quicknav__layout {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .page-home .home-quicknav__radar {
    min-height: 260px;
  }

  .page-home .home-stats__grid {
    grid-template-columns: 1fr 1fr;
  }

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

/* ===== 响应式：桌面 ===== */
@media (min-width: 1024px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .page-home .home-hero__desc {
    font-size: 1rem;
  }

  .page-home .home-hero__scroll {
    display: flex;
  }

  .page-home .home-events,
  .page-home .home-quicknav,
  .page-home .home-extend {
    scroll-margin-top: 88px;
  }

  .page-home .home-events__grid {
    grid-template-columns: 1.15fr 1fr 1fr;
  }

  .page-home .match-card--featured {
    grid-column: auto;
  }

  .page-home .match-card__frame {
    height: 230px;
  }

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