.page-home {
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.page-home .section-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 0.8;
  color: var(--color-orange);
  letter-spacing: 0;
}

.page-home .section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 14px 0 10px 0;
  color: var(--color-ink);
  text-transform: uppercase;
}

.page-home .section-intro {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-ink-soft);
  margin: 0;
}

.page-home .badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

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

@keyframes page-home-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.6); }
}

/* ========== 01 章节预览 / Hero ========== */
.home-hero {
  position: relative;
  color: var(--color-white);
  padding: 36px 0 96px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 78, 0, 0.4) 0%, transparent 70%),
    linear-gradient(140deg, #0B1B28 0%, var(--color-deep-blue) 80%);
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  bottom: 28px;
  width: 110%;
  height: 88px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-bright));
  transform: rotate(-1.8deg);
  z-index: 1;
}

.home-hero .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
}

.home-hero .section-label {
  color: rgba(255, 255, 255, 0.72);
}

.home-hero .section-num {
  color: var(--color-orange-bright);
}

.home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.06;
  margin: 16px 0 16px 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 900px;
  color: var(--color-white);
}

.home-hero__lead {
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  border-left: 3px solid var(--color-orange);
  padding-left: 16px;
  margin: 0;
}

.home-hero__figure {
  margin: 4px 0 0;
  position: relative;
  z-index: 2;
}

.home-hero__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.home-hero__cards {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
}

.home-hero__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--color-white);
  text-decoration: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.home-hero__card:hover {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-bright));
  border-color: transparent;
  transform: translateY(-3px);
}

.home-hero__card-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--color-orange-bright);
  transition: color 0.3s;
  flex-shrink: 0;
}

.home-hero__card:hover .home-hero__card-num {
  color: var(--color-white);
}

.home-hero__card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.home-hero__card-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.home-hero__card-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-hero__card:hover .home-hero__card-desc {
  color: rgba(255, 255, 255, 0.82);
}

.home-hero__card-arrow {
  margin-left: auto;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.home-hero__card:hover .home-hero__card-arrow {
  color: var(--color-white);
}

/* ========== 02 体育赛程回看集锦 ========== */
.home-replays {
  background: var(--color-cream);
  padding: 48px 0 64px;
}

.home-replays__head {
  margin-bottom: 28px;
}

.home-replays__grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.home-replays__feature {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-cream-dark);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.home-replays__feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(30, 27, 24, 0.12);
}

.home-replays__feature-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.home-replays__media {
  position: relative;
}

.home-replays__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
}

.home-replays__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-bright));
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.home-replays__feature-body {
  padding: 18px 20px 22px;
}

.home-replays__feature-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin: 10px 0 6px;
  line-height: 1.3;
}

.home-replays__feature-body p {
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.home-replays__queue {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--color-cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-cream-dark);
}

.home-replays__queue li {
  background: var(--color-white);
  min-height: 0;
}

.home-replays__queue a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s var(--ease);
}

.home-replays__queue a:hover {
  background: var(--color-cream);
}

.home-replays__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-replays__tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: var(--color-deep-blue);
  color: var(--color-white);
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.home-replays__match {
  font-weight: 700;
  font-size: 0.92rem;
  min-width: 0;
}

.home-replays__meta {
  font-size: 0.78rem;
  color: var(--color-ink-soft);
}

.home-replays__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.home-replays__refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--color-ink-soft);
}

/* ========== 03 本地体育赛事板块 ========== */
.home-leagues {
  background: var(--color-cream-dark);
  padding: 48px 0 64px;
}

.home-leagues__head {
  margin-bottom: 28px;
}

.home-leagues__layout {
  display: grid;
  gap: 22px;
  align-items: center;
}

.home-leagues__panel {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid rgba(30, 27, 24, 0.08);
  padding: 20px;
}

.home-leagues__table-wrap {
  overflow-x: auto;
}

.home-leagues__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.home-leagues__table-caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  padding: 0 0 10px;
}

.home-leagues__table thead {
  background: var(--color-deep-blue);
}

.home-leagues__table th {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 12px 14px;
  border-radius: 0;
}

.home-leagues__table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-cream-dark);
  vertical-align: middle;
}

.home-leagues__table tbody tr:last-child td {
  border-bottom: none;
}

.home-leagues__table tbody tr:hover {
  background: var(--color-cream);
}

.home-leagues__table tbody tr:hover td:first-child {
  color: var(--color-orange);
}

.home-leagues__hot td:first-child {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-bright));
  color: var(--color-white);
  font-weight: 700;
}

.home-leagues__hot:hover td:first-child {
  color: var(--color-white);
}

.home-leagues__note {
  font-size: 0.8rem;
  color: var(--color-ink-soft);
  padding: 14px 0 0;
  margin: 0;
  line-height: 1.6;
}

.home-leagues__figure {
  margin: 0;
}

.home-leagues__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(30, 27, 24, 0.14);
}

/* ========== 04 稳定版会员权益 ========== */
.home-membership {
  background: var(--color-deep-blue);
  color: var(--color-white);
  padding: 48px 0 64px;
  position: relative;
  border-top: 2px solid var(--color-gold);
  overflow: hidden;
}

.home-membership::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 78, 0, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.home-membership__head {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.home-membership .section-label {
  color: rgba(255, 255, 255, 0.68);
}

.home-membership .section-title {
  color: var(--color-white);
}

.home-membership .section-intro {
  color: rgba(255, 255, 255, 0.76);
}

.home-membership__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  align-items: center;
}

.home-membership__list {
  display: grid;
  gap: 12px;
}

.home-membership__item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.home-membership__item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 162, 39, 0.5);
}

.home-membership__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-bright));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.home-membership__icon svg {
  width: 20px;
  height: 20px;
}

.home-membership__text h3 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  margin: 2px 0 5px;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.home-membership__text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.home-membership__figure {
  margin: 0;
  justify-self: center;
  max-width: 420px;
}

.home-membership__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.home-membership__cta {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.home-membership__feedback {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  margin: 0;
}

/* ========== 05 信任与地域印记 ========== */
.home-trust {
  position: relative;
  background: var(--color-cream);
  padding: 48px 0 64px;
  overflow: hidden;
}

.home-trust__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.home-trust__skyline svg {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.7;
}

.home-trust__container {
  position: relative;
  z-index: 1;
}

.home-trust__head {
  margin-bottom: 28px;
}

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

.home-trust__story p {
  line-height: 1.8;
  color: var(--color-ink-soft);
  max-width: 640px;
  margin: 0 0 16px;
}

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

.home-trust__timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--color-cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-cream-dark);
}

.home-trust__timeline li {
  background: var(--color-white);
  padding: 16px 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.home-trust__timeline span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-orange);
  flex-shrink: 0;
}

.home-trust__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.home-trust__stats > div {
  background: var(--color-white);
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius);
  padding: 18px;
}

.home-trust__stats dt {
  font-size: 0.76rem;
  color: var(--color-ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-trust__stats dd {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ink);
  margin: 0;
}

.home-trust__footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--color-cream-dark);
  margin-top: 28px;
}

.home-trust__footer p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
}

.home-trust__footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.home-trust__footer a {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 78, 0, 0.5);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.home-trust__footer a:hover {
  color: var(--color-orange);
  text-decoration-color: var(--color-orange);
}

/* ========== 响应式增强 ========== */
@media (min-width: 720px) {
  .home-hero__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 100%;
  }

  .home-hero__card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .home-hero__card-arrow {
    margin-left: 0;
  }

  .home-replays__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .home-leagues__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .home-leagues__figure {
    order: 2;
  }

  .home-leagues__panel {
    order: 1;
  }

  .home-membership__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .home-membership__figure {
    order: 2;
  }

  .home-membership__list {
    order: 1;
  }

  .home-trust__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

@media (min-width: 1020px) {
  .home-hero {
    padding: 52px 0 120px;
  }

  .home-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
    column-gap: 36px;
  }

  .home-hero__img {
    max-height: 430px;
  }

  .home-hero__figure {
    margin: 16px 0 0 10px;
    transform: rotate(1.2deg);
  }

  .home-hero__cards {
    grid-column: 1 / -1;
    margin-top: 30px;
    max-width: 850px;
  }

  .home-replays,
  .home-leagues,
  .home-membership,
  .home-trust {
    padding: 68px 0 84px;
  }

  .home-replays__queue a {
    padding: 16px 18px;
  }

  .home-leagues__panel {
    padding: 24px;
  }

  .home-membership__item {
    padding: 24px;
  }

  .home-membership__cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .home-trust__story {
    padding-right: 24px;
  }
}
