.page-home {
  --home-hero-min-height: 70vh;
  --home-ticker-height: 48px;
  --home-card-min-width: 260px;
  --home-section-padding: 4rem 0;
  --home-speed-phone-max: 320px;
}

.page-home .breadcrumb {
  padding: 1rem 0 0;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.page-home .breadcrumb__list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.page-home .breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--color-text-secondary, #A0A8B4);
}

.page-home .breadcrumb__link {
  color: var(--color-text-secondary, #A0A8B4);
  text-decoration: none;
  font-family: var(--font-body, serif);
  font-size: var(--fs-small, 0.85rem);
}

/* 首屏 */
.page-home .home-hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
  min-height: var(--home-hero-min-height);
  position: relative;
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}

.page-home .home-hero__left {
  flex: 1 1 60%;
}

.page-home .home-hero__right {
  flex: 1 1 30%;
  min-width: 200px;
}

.page-home .home-hero__title {
  font-family: var(--font-heading, 'Arial Black', sans-serif);
  font-size: var(--fs-h1, clamp(3rem, 6vw, 6rem));
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--color-text-primary, #FFFFFF);
  margin: 0 0 0.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.page-home .home-hero__subtitle {
  font-family: var(--font-body, serif);
  font-size: var(--fs-body, 1rem);
  color: var(--color-text-secondary, #A0A8B4);
  margin: 0 0 2rem;
}

.page-home .home-hero__carousel {
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}

.page-home .home-hero__carousel-track {
  display: flex;
  gap: 1rem;
  animation: homeCarouselScroll 12s infinite linear;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__carousel-track {
    animation: none;
    flex-wrap: wrap;
  }
}

@keyframes homeCarouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.page-home .home-hero__carousel-card {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 300px;
}

@media (min-width: 768px) {
  .page-home .home-hero__carousel-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

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

.page-home .home-hero__carousel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.page-home .home-hero__round,
.page-home .home-hero__badge {
  font-family: var(--font-data, monospace);
  font-size: var(--fs-small, 0.85rem);
  color: var(--color-text-primary, #FFFFFF);
  background: var(--color-blue-deep, #1A2B4C);
  padding: 0.2em 0.6em;
  border-radius: 4px;
}

.page-home .home-hero__score {
  font-family: var(--font-data, monospace);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold, #D4A017);
  margin-left: auto;
}

/* 实时比分滚动条 */
.page-home .home-ticker {
  height: var(--home-ticker-height);
  overflow: hidden;
  background: var(--color-glass, rgba(255,255,255,0.08));
  backdrop-filter: blur(4px);
  border-top: 1px solid var(--color-divider, #FF6B3544);
  border-bottom: 1px solid var(--color-divider, #FF6B3544);
}

.page-home .home-ticker__inner {
  display: flex;
  height: 100%;
  animation: homeTickerScroll 20s infinite linear;
  gap: 3rem;
  padding: 0 2rem;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-ticker__inner {
    animation: none;
    flex-wrap: wrap;
  }
}

@keyframes homeTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.page-home .home-ticker__item {
  white-space: nowrap;
  font-family: var(--font-body, serif);
  font-size: var(--fs-small, 0.85rem);
  color: var(--color-text-secondary, #A0A8B4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-home .home-ticker__score {
  font-family: var(--font-data, monospace);
  font-weight: 700;
  color: var(--color-gold, #D4A017);
  font-size: 1.2rem;
}

/* 右侧索引 */
.page-home .home-hero__index {
  position: sticky;
  top: calc(var(--header-height, 72px) + 2rem);
}

.page-home .home-hero__index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-home .home-hero__index-link {
  font-family: var(--font-data, monospace);
  text-decoration: none;
  color: var(--color-text-primary, #FFFFFF);
  font-size: 1.1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-divider, #FF6B3544);
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}

.page-home .home-hero__index-link::before {
  content: attr(data-index);
  font-size: 0.75rem;
  color: var(--color-accent, #FF6B35);
  margin-right: 0.75rem;
}

.page-home .home-hero__index-link:hover {
  color: var(--color-accent, #FF6B35);
}

/* 极速加载说明 */
.page-home .home-speed {
  padding: var(--home-section-padding);
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.page-home .home-speed__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .page-home .home-speed__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.page-home .home-speed__text {
  max-width: 600px;
  font-size: var(--fs-body, 1rem);
  color: var(--color-text-primary, #FFFFFF);
  line-height: 1.6;
}

.page-home .home-speed__demo {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.page-home .home-speed__phone {
  max-width: var(--home-speed-phone-max);
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.page-home .home-speed__stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-home .home-speed__stat {
  text-align: center;
  background: var(--color-glass, rgba(255,255,255,0.08));
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.page-home .home-speed__stat-value {
  font-family: var(--font-data, monospace);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent, #FF6B35);
  display: block;
}

.page-home .home-speed__stat-label {
  font-family: var(--font-body, serif);
  font-size: var(--fs-small, 0.85rem);
  color: var(--color-text-secondary, #A0A8B4);
}

/* 北分区变更图 */
.page-home .home-north {
  padding: var(--home-section-padding);
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.page-home .home-north__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .page-home .home-north__container {
    flex-direction: row;
  }
}

.page-home .home-north__content {
  flex: 1;
}

.page-home .home-north__text {
  font-size: var(--fs-body, 1rem);
  color: var(--color-text-primary, #FFFFFF);
  margin-bottom: 1.5rem;
}

.page-home .home-north__image {
  flex: 0 0 45%;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
}

.page-home .home-north__image img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-north__cta {
  display: inline-block;
}

/* 最近赛事网格 */
.page-home .home-recent {
  padding: var(--home-section-padding);
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.page-home .home-recent__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--home-card-min-width), 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.page-home .home-recent__card {
  padding: 1.5rem;
  border-radius: 12px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.page-home .home-recent__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

.page-home .home-recent__card:hover .home-recent__card-summary {
  opacity: 1;
  max-height: 60px;
}

.page-home .home-recent__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.page-home .home-recent__card-round {
  font-family: var(--font-data, monospace);
  font-size: var(--fs-small, 0.85rem);
  color: var(--color-accent, #FF6B35);
  background: var(--color-blue-deep, #1A2B4C);
  padding: 0.2em 0.6em;
  border-radius: 4px;
}

.page-home .home-recent__card-division {
  font-family: var(--font-body, serif);
  font-size: var(--fs-small, 0.85rem);
  color: var(--color-text-secondary, #A0A8B4);
}

.page-home .home-recent__card-score {
  font-family: var(--font-data, monospace);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold, #D4A017);
  text-align: center;
  margin: 1rem 0;
}

.page-home .home-recent__card-summary {
  font-family: var(--font-body, serif);
  font-size: 0.9rem;
  color: var(--color-accent, #FF6B35);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  text-align: center;
}

.page-home .home-recent__chart {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.page-home .home-recent__chart img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-recent__note {
  font-family: var(--font-body, serif);
  font-size: var(--fs-small, 0.85rem);
  color: var(--color-text-secondary, #A0A8B4);
  text-align: center;
  margin-top: 1rem;
}

/* 会员中心 */
.page-home .home-membership {
  padding: var(--home-section-padding);
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.page-home .home-membership__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .page-home .home-membership__container {
    flex-direction: row-reverse;
  }
}

.page-home .home-membership__content {
  flex: 1;
}

.page-home .home-membership__text {
  font-size: var(--fs-body, 1rem);
  color: var(--color-text-primary, #FFFFFF);
  margin-bottom: 1.5rem;
}

.page-home .home-membership__preview {
  flex: 0 0 45%;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
}

.page-home .home-membership__preview img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-membership__cta {
  display: inline-block;
}

/* 辅助类 */
.page-home .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .page-home .home-hero__right {
    display: none;
  }

  .page-home .home-speed__demo {
    flex-direction: column;
    align-items: center;
  }

  .page-home .home-speed__phone {
    max-width: 200px;
  }

  .page-home .home-north__image,
  .page-home .home-membership__preview {
    flex: none;
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .page-home .home-recent__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
