.page-home {
  --home-hero-min-height: 480px;
  --home-card-bg: var(--color-dark-panel);
  --home-card-radius: var(--radius-lg);
  --home-progress-color: var(--color-gold);
}

/* ===== Hero 区域 ===== */
.page-home .home-hero {
  position: relative;
  min-height: var(--home-hero-min-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: var(--gap);
}

.page-home .home-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.page-home .home-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  padding: 2rem 0;
}

.page-home .home-hero .breadcrumb {
  margin-bottom: 1rem;
}

.page-home .home-hero .breadcrumb__current {
  color: var(--color-gold);
  font-weight: 600;
  text-shadow: none;
}

.page-home .home-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.page-home .home-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--color-white);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.page-home .home-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== 赛事速览 双栏布局 ===== */
.page-home .home-league-section {
  margin-bottom: var(--gap);
}

.page-home .home-league-grid {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
}

.page-home .home-league-grid__left {
  flex: 1 1 68%;
  min-width: 0;
}

.page-home .home-league-grid__right {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  position: sticky;
  top: 2rem;
}

/* ===== 赛事卡片 ===== */
.page-home .home-card-grid {
  margin-bottom: var(--gap);
}

.page-home .home-card {
  background: var(--home-card-bg);
  border-radius: var(--home-card-radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
  border: 1px solid transparent;
}

.page-home .home-card:hover {
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
  border-color: var(--color-gold);
}

.page-home .home-card__toggle {
  display: none;
}

.page-home .home-card__header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
}

.page-home .home-card__header:hover {
  background: rgba(255, 215, 0, 0.05);
}

.page-home .home-card__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--color-deep-red);
  padding: 4px;
  flex-shrink: 0;
}

.page-home .home-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  flex: 1;
}

.page-home .home-card__badge {
  background: var(--color-deep-red);
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-home .home-card__arrow {
  color: var(--color-gold);
  font-size: 0.9rem;
  transition: transform var(--transition);
}

.page-home .home-card__toggle:checked + .home-card__header .home-card__arrow {
  transform: rotate(180deg);
}

.page-home .home-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1rem;
}

.page-home .home-card__toggle:checked ~ .home-card__body {
  max-height: 500px;
  padding: 1rem;
}

.page-home .home-card__stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.page-home .home-card__stats .stat {
  flex: 1;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.page-home .home-card__stats .stat__label {
  color: var(--color-light-gray);
  font-size: 0.8rem;
  display: block;
}

.page-home .home-card__stats .stat__value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  font-family: var(--font-accent);
}

.page-home .home-card__progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  color: var(--color-light-gray);
  margin-bottom: 0.8rem;
}

.page-home .home-progress-bar {
  height: 6px;
  background: var(--home-progress-color);
  border-radius: var(--radius-pill);
  flex: 1;
  transition: width 1s ease;
}

.page-home .home-card__link a {
  color: var(--color-electric-blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.page-home .home-card__link a:hover {
  text-decoration: underline;
  color: var(--color-gold);
}

/* ===== 数据图表 ===== */
.page-home .home-chart {
  margin: var(--gap) 0;
}

.page-home .home-chart__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

/* ===== 右侧面板 ===== */
.page-home .home-overview,
.page-home .home-data-info {
  background: var(--home-card-bg);
  padding: 1.5rem;
}

.page-home .home-overview .list__item {
  color: var(--color-white);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.page-home .home-overview .list__item strong {
  color: var(--color-gold);
}

.page-home .home-overview .btn--accent,
.page-home .home-data-info .btn--outline {
  margin-top: 1rem;
}

/* ===== 战报精选 ===== */
.page-home .home-reports {
  margin-bottom: var(--gap);
}

.page-home .home-reports__grid {
  margin-top: 1rem;
}

.page-home .home-report-card {
  display: flex;
  flex-direction: column;
  background: var(--home-card-bg);
  padding: 0;
  overflow: hidden;
}

.page-home .home-report-card__img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

.page-home .home-report-card .card__content {
  padding: 1.2rem;
}

.page-home .home-report-card .card__title {
  font-size: 1.15rem;
  color: var(--color-white);
}

.page-home .home-report-card .card__text {
  color: var(--color-light-gray);
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
}

/* ===== 服务说明 ===== */
.page-home .home-service {
  margin-bottom: var(--gap);
}

.page-home .home-service__grid {
  margin-top: 1rem;
}

.page-home .home-service-card {
  background: var(--home-card-bg);
  text-align: center;
  padding: 1.5rem;
}

.page-home .home-service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.page-home .home-service-card .card__title {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.page-home .home-service-card .card__text {
  color: var(--color-light-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.page-home .home-service__device-img {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

.page-home .home-service__phone-img {
  width: auto;
  height: 160px;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ===== 动画：统计数值闪烁 ===== */
@keyframes homeStatPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.page-home .home-stat-anim {
  animation: homeStatPulse 2s ease-in-out infinite;
}

/* ===== 响应式：平板及以下 ===== */
@media (max-width: 1024px) {
  .page-home .home-league-grid {
    flex-direction: column;
  }
  .page-home .home-league-grid__left,
  .page-home .home-league-grid__right {
    flex: 1 1 100%;
  }
  .page-home .home-league-grid__right {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .page-home .home-overview,
  .page-home .home-data-info {
    flex: 1 1 45%;
  }
  .page-home .home-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .page-home .home-hero {
    min-height: 320px;
  }
  .page-home .home-card-grid {
    grid-template-columns: 1fr;
  }
  .page-home .home-league-grid__right {
    flex-direction: column;
  }
  .page-home .home-overview,
  .page-home .home-data-info {
    flex: 1 1 100%;
  }
  .page-home .home-reports__grid {
    grid-template-columns: 1fr;
  }
  .page-home .home-service__grid {
    grid-template-columns: 1fr;
  }
  .page-home .home-service__phone-img {
    height: 120px;
  }
}
