/* ===== 小鸟体育CN 首页专属样式 ===== */
.page-home {
  background: var(--paper);
  color: var(--ink);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .home-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 253, 249, 0.62);
  margin-bottom: 2.25rem;
  letter-spacing: 0.04em;
}

.page-home .home-breadcrumbs span + span::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.32);
}

.page-home .home-breadcrumbs [aria-current="page"] {
  color: var(--acid);
}

/* ===== 首屏海报区 ===== */
.page-home .home-hero {
  position: relative;
  padding: 2.5rem 0 6rem;
  background: var(--space-blue-deep);
  color: var(--paper-bright);
  overflow: hidden;
}

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

.page-home .home-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: scale(1.02);
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 38, 0.94) 0%, rgba(8, 18, 38, 0.74) 46%, rgba(8, 18, 38, 0.96) 100%),
    linear-gradient(90deg, rgba(255, 90, 0, 0.24) 0%, transparent 46%);
  z-index: 1;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 38%;
  background: rgba(184, 255, 0, 0.16);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  z-index: 2;
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: 92px;
  width: 260px;
  height: 20px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--acid) 100%);
  transform: rotate(-8deg);
  z-index: 2;
  opacity: 0.9;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 3;
}

.page-home .home-hero__grid {
  display: grid;
  gap: 2.25rem;
  align-items: end;
}

.page-home .home-hero__kicker {
  color: var(--acid);
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1.1rem;
  color: var(--paper-bright);
}

.page-home .home-hero__title span {
  display: block;
  font-size: 0.34em;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--acid);
  margin-top: 0.6rem;
}

.page-home .home-hero__lead {
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 46ch;
  color: rgba(255, 253, 249, 0.84);
  margin-bottom: 1.5rem;
}

.page-home .home-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

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

.page-home .home-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-light);
  border-radius: var(--cut);
  padding: 1rem 1.1rem;
  backdrop-filter: blur(8px);
}

.page-home .home-stat--orange {
  background: var(--orange);
  border-color: var(--orange);
}

.page-home .home-stat__num {
  display: block;
  font-family: var(--font-data);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--paper-bright);
}

.page-home .home-stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255, 253, 249, 0.7);
}

.page-home .home-stat--orange .home-stat__label {
  color: rgba(255, 255, 255, 0.92);
}

.page-home .home-hero__note {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 253, 249, 0.56);
  max-width: 36ch;
  margin: 1rem 0 0;
}

/* ===== 首屏历史交锋战报摘要面板 ===== */
.page-home .home-h2h {
  position: relative;
  z-index: 3;
  margin-top: -3rem;
}

.page-home .home-h2h__panel {
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.page-home .home-h2h__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.page-home .home-h2h__heading {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 100;
  margin: 0.25rem 0 0;
}

.page-home .home-h2h__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.page-home .home-h2h__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px dashed var(--line);
}

.page-home .home-h2h__teams {
  font-weight: 600;
  font-size: 0.98rem;
}

.page-home .home-h2h__note {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-family: var(--font-data);
}

/* ===== 实时比分快报 ===== */
.page-home .home-live {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.page-home .home-section-head {
  display: grid;
  gap: 0.75rem 2rem;
  margin-bottom: 1.25rem;
}

.page-home .home-section-head__note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 52ch;
}

.page-home .home-live__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 1.25rem;
}

.page-home .filter-btn {
  border: 1px solid var(--line);
  background: var(--paper-bright);
  color: var(--ink);
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.page-home .filter-btn.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--paper-bright);
}

.page-home .filter-btn.is-active:hover {
  color: var(--paper-bright);
}

.page-home .home-live__grid {
  display: grid;
  gap: 1.25rem;
}

.page-home .live-card {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding: 1.4rem;
  background: var(--warm-gray);
  border: 1px solid var(--line);
  border-radius: var(--cut);
  min-height: 178px;
  transition: box-shadow 0.2s ease;
}

.page-home .live-card:nth-child(even) {
  transform: rotate(0.5deg);
}

.page-home .live-card:nth-child(odd) {
  transform: rotate(-0.5deg);
}

.page-home .live-card:hover {
  box-shadow: var(--shadow-soft);
}

.page-home .live-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.page-home .live-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-data);
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.page-home .status-dot {
  width: 8px;
  height: 8px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(184, 255, 0, 0.32);
  flex: 0 0 auto;
}

.page-home .live-card__match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem;
}

.page-home .live-card__team {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-home .live-card__team:last-of-type {
  text-align: right;
}

.page-home .live-card__vs {
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: var(--paper-bright);
}

.page-home .live-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.page-home .live-card__foot a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

/* ===== 历史交锋战报深度区块 ===== */
.page-home .home-h2h-full {
  background: var(--space-blue);
  color: var(--paper-bright);
  margin-top: 2.5rem;
}

.page-home .home-h2h-full .home-section-head__note {
  color: rgba(255, 253, 249, 0.62);
}

.page-home .home-h2h-full .section-title {
  color: var(--paper-bright);
}

.page-home .home-h2h-full .kicker {
  color: var(--acid);
}

.page-home .home-h2h-full__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
}

.page-home .home-h2h-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed var(--line-light);
}

.page-home .home-h2h-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px dashed var(--line-light);
  align-items: baseline;
}

.page-home .home-h2h-list .index-list__num {
  grid-row: 1 / 3;
  font-family: var(--font-data);
  color: var(--acid);
  font-size: 0.85rem;
  align-self: center;
}

.page-home .home-h2h-list .index-list__title {
  color: var(--paper-bright);
  font-weight: 600;
  font-size: 1.05rem;
}

.page-home .home-h2h-list .index-list__meta {
  font-size: 0.82rem;
  color: rgba(255, 253, 249, 0.56);
  font-family: var(--font-data);
}

.page-home .home-h2h-full__img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--cut);
  overflow: hidden;
  border: 1px solid var(--line-light);
}

.page-home .home-h2h-full__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
}

.page-home .home-h2h-full__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ===== 智能检索 ===== */
.page-home .home-search {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.page-home .home-search__stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--cut);
  background: var(--space-blue-deep);
  color: var(--paper-bright);
  box-shadow: var(--shadow-lift);
}

.page-home .home-search__bg {
  position: absolute;
  inset: 0;
}

.page-home .home-search__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-home .home-search__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(11, 27, 58, 0.96) 0%, rgba(11, 27, 58, 0.8) 100%);
}

.page-home .home-search__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  padding: 2rem 1.4rem;
}

.page-home .home-search__kicker {
  color: var(--acid);
}

.page-home .home-search__title {
  color: var(--paper-bright);
  margin-bottom: 0.75rem;
}

.page-home .home-search__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 253, 249, 0.72);
  max-width: 44ch;
}

.page-home .home-search__panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-light);
  border-radius: var(--cut);
  padding: 1.35rem;
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.page-home .home-search__field {
  display: grid;
  gap: 0.5rem;
}

.page-home .home-search__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255, 253, 249, 0.64);
}

.page-home .home-search__select {
  width: 100%;
  background: var(--space-blue-deep);
  border: 1px solid var(--line-light);
  color: var(--paper-bright);
  padding: 0.75rem 1rem;
  border-radius: var(--cut);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.page-home .home-search__btn {
  justify-self: start;
}

.page-home .home-search__hint {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 253, 249, 0.5);
}

/* ===== 2024赛季专题 ===== */
.page-home .home-season {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.page-home .home-season__lead {
  margin: 0.75rem auto 0;
  max-width: 56ch;
  color: var(--ink-soft);
}

.page-home .home-season__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.page-home .home-season__card {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  border-radius: var(--cut);
}

.page-home .home-season__card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  background: repeating-linear-gradient(-45deg, rgba(26, 26, 26, 0.05) 0 10px, transparent 10px 20px);
  transform: rotate(10deg);
  pointer-events: none;
}

.page-home .home-season__card--champions::after {
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0 10px, transparent 10px 20px);
}

.page-home .home-season__card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 100;
  margin: 0.85rem 0 0.55rem;
}

.page-home .home-season__card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-home .home-season__card ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-home .home-season__card li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.94rem;
}

.page-home .home-season__card li::before {
  content: "»";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.page-home .home-season__card--champions h3 {
  color: var(--paper-bright);
}

.page-home .home-season__card--champions p {
  color: rgba(255, 253, 249, 0.62);
}

.page-home .home-season__card--champions li {
  color: rgba(255, 253, 249, 0.78);
}

.page-home .home-season__card--premier h3 {
  color: var(--ink);
}

.page-home .home-season__card--premier p {
  color: var(--ink-soft);
}

.page-home .home-season__card--premier li {
  color: var(--ink);
}

/* ===== 通勤与周末观赛 ===== */
.page-home .home-commute {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper-bright);
}

.page-home .home-commute__bg {
  position: absolute;
  inset: 0;
}

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

.page-home .home-commute__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 18, 38, 0.96) 0%, rgba(8, 18, 38, 0.4) 58%, rgba(8, 18, 38, 0.68) 100%);
}

.page-home .home-commute__content {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 3.5rem;
}

.page-home .home-commute__content .kicker {
  color: var(--acid);
}

.page-home .home-commute__content h2 {
  color: var(--paper-bright);
  margin-bottom: 0.5rem;
}

.page-home .home-commute__content p {
  max-width: 52ch;
  color: rgba(255, 253, 249, 0.76);
  line-height: 1.8;
}

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

/* ===== 服务状态条 ===== */
.page-home .home-trust {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

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

.page-home .home-trust__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.page-home .home-trust__item::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--acid);
  transform: rotate(45deg);
  flex: 0 0 auto;
  border: 1px solid rgba(26, 26, 26, 0.14);
}

/* ===== 响应式增强 ===== */
@media (min-width: 640px) {
  .page-home .home-hero {
    padding-bottom: 7rem;
  }

  .page-home .home-h2h {
    margin-top: -4rem;
  }

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

  .page-home .home-search__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 2.5rem;
  }
}

@media (min-width: 768px) {
  .page-home .home-hero__grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 3rem;
  }

  .page-home .home-section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

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

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

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding-top: 3rem;
  }

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

  .page-home .home-search__inner {
    padding: 3rem;
  }

  .page-home .home-h2h__panel {
    padding: 1.75rem;
  }
}
