.page-home {
  overflow-x: clip;
  background-color: var(--color-ink);
}

.page-home .home-wrap {
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
}

.page-home .section-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.page-home .section-copy {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 48rem;
  margin-top: 0.85rem;
}

/* ===== 首屏框景 ===== */
.page-home .home-hero {
  position: relative;
  padding-block: 4.5rem 5rem;
  overflow: hidden;
  background-color: var(--color-ink);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(1) contrast(1.15) sepia(0.25);
}

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26, 24, 21, 0.93) 0%, rgba(26, 24, 21, 0.78) 45%, rgba(26, 24, 21, 0.55) 100%);
  pointer-events: none;
}

.page-home .hero-frame {
  position: absolute;
  inset: 0.5rem;
  border: 2px solid rgba(201, 169, 97, 0.75);
  box-shadow: inset 0 0 0 4px rgba(26, 24, 21, 0.55);
  pointer-events: none;
  z-index: 3;
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border: 1px solid rgba(232, 220, 190, 0.25);
}

.page-home .hero-ruler {
  position: absolute;
  z-index: 5;
  right: 1.25rem;
  bottom: 1.1rem;
  width: 180px;
  height: 24px;
  opacity: 0.85;
}

.page-home .hero-inner-wrap {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.page-home .home-breadcrumb {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: rgba(248, 245, 236, 0.6);
  display: flex;
  gap: 0.5rem;
}

.page-home .home-breadcrumb a {
  color: var(--color-light-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 97, 0.45);
}

.page-home .hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.page-home .hero-content {
  max-width: 560px;
}

.page-home .hero-kicker {
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-light-gold);
  margin-bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.page-home .hero-kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--color-gold);
}

.page-home .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 8vw, 5rem);
  line-height: 1.05;
  color: var(--color-cream);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.page-home .hero-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(248, 245, 236, 0.82);
  max-width: 34rem;
  margin: 0;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.page-home .hero-scoreboard {
  max-width: 460px;
  width: 100%;
}

.page-home .scoreboard-card {
  position: relative;
  background: var(--color-paper);
  border: 2px solid var(--color-umber);
  box-shadow: 10px 10px 0 rgba(74, 44, 42, 0.65);
  padding: 1rem;
  overflow: hidden;
}

.page-home .scoreboard-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(107, 79, 58, 0.35);
}

.page-home .scoreboard-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-ink);
}

.page-home .live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-data);
  font-size: 0.7rem;
  color: var(--color-brown);
}

.page-home .live-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--color-red);
  border-radius: 50%;
  display: inline-block;
  animation: page-home-pulse 1.6s ease-in-out infinite;
}

@keyframes page-home-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(179, 58, 58, 0.65);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(179, 58, 58, 0);
  }
}

.page-home .scoreboard-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  z-index: 1;
}

.page-home .scoreboard-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.5rem;
}

.page-home .score-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 0.2rem 0.6rem;
  padding-block: 0.4rem;
  border-bottom: 1px dashed rgba(107, 79, 58, 0.3);
}

.page-home .score-row:last-child {
  border-bottom: none;
}

.page-home .score-league {
  grid-column: 1 / -1;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--color-brown);
  text-transform: uppercase;
}

.page-home .score-team {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .score-value {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-ink);
  background: rgba(201, 169, 97, 0.28);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  text-align: center;
  min-width: 4.2em;
}

.page-home .score-state {
  font-family: var(--font-data);
  font-size: 0.65rem;
  color: var(--color-brown);
  white-space: nowrap;
}

.page-home .scoreboard-more {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 0.1rem;
}

.page-home .hero-scroll {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-body);
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.95rem;
  z-index: 5;
  animation: page-home-bounce 2.2s ease-in-out infinite;
}

@keyframes page-home-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

/* ===== 数据覆盖总览 ===== */
.page-home .home-stats {
  padding-block: 3.5rem;
  background: var(--color-cream);
  border-bottom: 4px solid var(--color-umber);
}

.page-home .home-stats .section-heading {
  color: var(--color-ink);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.page-home .home-stats .section-copy {
  color: var(--color-brown);
}

.page-home .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .stat-cell {
  background: var(--color-paper);
  border: 2px solid var(--color-umber);
  box-shadow: 4px 4px 0 rgba(74, 44, 42, 0.35);
  padding: 1.2rem 0.8rem;
  text-align: center;
}

.page-home .stat-num {
  font-family: var(--font-data);
  font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  color: var(--color-ink);
  line-height: 1;
  display: inline-block;
}

.page-home .stat-unit {
  font-size: 0.5em;
  color: var(--color-brown);
  margin-left: 0.1em;
}

.page-home .stat-label {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--color-brown);
}

/* ===== 热门赛事海报墙 ===== */
.page-home .home-posters {
  padding-block: 3.5rem;
  background: var(--color-ink);
}

.page-home .home-posters .section-heading {
  color: var(--color-cream);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.page-home .posters-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .posters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.8rem;
}

.page-home .poster-card {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  border: 2px solid var(--color-umber);
  box-shadow: 8px 8px 0 rgba(74, 44, 42, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: rotate(-0.5deg);
}

.page-home .poster-card:nth-child(2) {
  transform: rotate(0.8deg);
}

.page-home .poster-card:nth-child(3) {
  transform: rotate(-0.35deg);
}

.page-home .poster-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.page-home .poster-card:hover {
  transform: rotate(0deg) translate(-3px, -3px);
  box-shadow: 12px 12px 0 rgba(74, 44, 42, 0.6);
}

.page-home .poster-card:hover img {
  transform: scale(1.05);
}

.page-home .poster-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: var(--color-red);
  color: var(--color-cream);
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.55rem;
  display: inline-block;
}

.page-home .poster-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(26, 24, 21, 0.9));
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.page-home .poster-fav {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0.32rem;
  background: rgba(26, 24, 21, 0.55);
  border-radius: 50%;
  box-sizing: content-box;
  transition: transform 0.2s ease;
}

.page-home .poster-card:hover .poster-fav {
  transform: scale(1.1);
}

/* ===== 今日更新公告 ===== */
.page-home .home-news {
  position: relative;
  padding-block: 3.5rem;
  background: var(--color-paper);
}

.page-home .home-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 24, 21, 0.08) 1px, transparent 1px);
  background-size: 9px 9px;
  pointer-events: none;
}

.page-home .home-news .home-wrap {
  position: relative;
  z-index: 2;
}

.page-home .home-news .section-heading {
  color: var(--color-ink);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.page-home .news-layout {
  display: grid;
  gap: 2rem;
  margin-top: 1.4rem;
}

.page-home .news-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-brown);
  line-height: 1.8;
  max-width: 42rem;
}

.page-home .news-carousel {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.9rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.page-home .news-card {
  flex: 0 0 min(330px, 86%);
  scroll-snap-align: start;
  background: var(--color-cream);
  border: 2px solid var(--color-umber);
  box-shadow: 5px 5px 0 rgba(74, 44, 42, 0.3);
  padding: 1.2rem 1.25rem;
}

.page-home .news-label {
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-gold);
  color: var(--color-ink);
  padding: 0.12rem 0.45rem;
  border-radius: 2px;
}

.page-home .news-label--red {
  background: var(--color-red);
  color: var(--color-cream);
}

.page-home .news-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  line-height: 1.35;
  margin: 0.7rem 0 0.45rem;
  color: var(--color-ink);
}

.page-home .news-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-brown);
  margin: 0;
}

.page-home .news-card a {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 0.1rem;
}

.page-home .news-aside img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border: 2px solid var(--color-umber);
  box-shadow: 6px 6px 0 rgba(74, 44, 42, 0.3);
}

.page-home .news-aside h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin: 1.1rem 0 0.6rem;
  color: var(--color-ink);
}

.page-home .news-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--color-umber);
}

.page-home .news-aside li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.4rem;
  border-bottom: 1px solid rgba(107, 79, 58, 0.3);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-brown);
}

.page-home .news-aside li::before {
  content: "◆";
  position: absolute;
  left: 0.1rem;
  top: 0.55rem;
  color: var(--color-gold);
  font-size: 0.7rem;
}

/* ===== 快速问题排查 ===== */
.page-home .home-help {
  padding-block: 3.5rem;
  background: var(--color-ink);
}

.page-home .home-help .section-heading {
  color: var(--color-cream);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.page-home .home-help .section-copy {
  color: rgba(248, 245, 236, 0.75);
}

.page-home .help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .help-card {
  position: relative;
  background: var(--color-cream);
  color: var(--color-ink);
  border: 2px solid var(--color-umber);
  box-shadow: 7px 7px 0 rgba(74, 44, 42, 0.6);
  padding: 1.4rem 1.3rem 1.3rem;
  overflow: hidden;
}

.page-home .help-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-red);
}

.page-home .help-card__num {
  position: absolute;
  top: 0.55rem;
  right: 0.9rem;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(26, 24, 21, 0.09);
  line-height: 1;
}

.page-home .help-card h3 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  margin: 0 0 0.5rem;
  color: var(--color-ink);
}

.page-home .help-card p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-brown);
  max-width: 85%;
  margin: 0;
}

.page-home .help-card a {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 0.1rem;
}

.page-home .help-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(248, 245, 236, 0.2);
  padding-top: 1.4rem;
}

.page-home .help-cta p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(248, 245, 236, 0.8);
  margin: 0;
}

.page-home .help-cta a {
  color: var(--color-light-gold);
  font-family: var(--font-data);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 0.1rem;
}

/* ===== 品牌与信任 ===== */
.page-home .home-trust {
  padding-block: 3.5rem;
  background: var(--color-paper);
}

.page-home .home-trust .section-heading {
  color: var(--color-ink);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.page-home .trust-layout {
  display: grid;
  gap: 1.8rem;
}

.page-home .trust-copy p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-brown);
  max-width: 40rem;
  margin: 1rem 0 1.2rem;
}

.page-home .trust-copy a {
  font-family: var(--font-data);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--color-red);
  padding-bottom: 0.1rem;
}

.page-home .trust-tape {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-content: flex-start;
}

.page-home .trust-tape span {
  background: var(--color-ink);
  color: var(--color-light-gold);
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--color-gold);
  box-shadow: 3px 3px 0 rgba(74, 44, 42, 0.4);
}

/* ===== 响应式补强 ===== */
@media (min-width: 640px) {
  .page-home .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }

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

  .page-home .news-carousel .news-card {
    flex-basis: 330px;
  }

  .page-home .hero-frame {
    inset: 0.75rem;
  }
}

@media (min-width: 860px) {
  .page-home .posters-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 220px;
  }

  .page-home .poster-card--large {
    grid-column: span 3;
    grid-row: span 2;
    min-height: 0;
  }

  .page-home .poster-card {
    grid-column: span 3;
    grid-row: span 1;
    min-height: 0;
  }

  .page-home .news-layout {
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .page-home .trust-layout {
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding-block: 3rem 5rem;
  }

  .page-home .hero-inner-wrap {
    gap: 0;
  }

  .page-home .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }

  .page-home .hero-content {
    flex: 0 0 56%;
  }

  .page-home .hero-scoreboard {
    flex: 0 0 38%;
    margin-left: auto;
  }

  .page-home .home-posters .poster-info {
    font-size: 1.2rem;
  }

  .page-home .help-card p {
    max-width: 78%;
  }

  .page-home .home-stats,
  .page-home .home-posters,
  .page-home .home-news,
  .page-home .home-help,
  .page-home .home-trust {
    padding-block: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .live-dot,
  .page-home .hero-scroll {
    animation: none;
  }

  .page-home .poster-card,
  .page-home .poster-card:nth-child(2),
  .page-home .poster-card:nth-child(3) {
    transform: none;
  }
}
