/* ===== 新利平台娱乐 · 首页专属样式 ===== */
.page-home {
  background: var(--deep-blue);
  color: var(--light-gray);
}

/* ---------- 首屏 Hero ---------- */
.page-home .home-hero {
  position: relative;
  background: linear-gradient(120deg, rgba(6, 19, 43, 0.92) 0%, rgba(10, 26, 63, 0.88) 45%, rgba(6, 19, 43, 0.96) 100%);
  padding: 52px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 255, 138, 0.25);
}

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

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

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(0, 255, 138, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 138, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -28%;
  width: 54%;
  height: 130%;
  z-index: 1;
  background: linear-gradient(145deg, rgba(0, 255, 138, 0.08), rgba(0, 255, 138, 0.02) 60%, transparent);
  border-left: 2px solid rgba(0, 255, 138, 0.24);
  transform: skewX(-14deg);
  pointer-events: none;
}

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

.page-home .home-hero__content {
  max-width: 640px;
  margin-bottom: 40px;
}

.page-home .home-hero__tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-home .home-hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  line-height: 1.12;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.01em;
  margin: 0 0 20px;
}

.page-home .home-hero__title-line {
  color: var(--lime);
}

.page-home .home-hero__lead {
  color: rgba(230, 232, 236, 0.88);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 32px;
  max-width: 52ch;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero__panel {
  position: relative;
  background: rgba(6, 19, 43, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--lime);
  padding: 22px;
  max-width: 520px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.page-home .home-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 255, 138, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 138, 0.06) 1px, transparent 1px);
  background-size: 21px 21px;
  pointer-events: none;
}

.page-home .home-hero__panel > * {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.page-home .home-hero__panel-title {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
  font-weight: 600;
}

.page-home .home-hero__panel-round {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
  background: rgba(255, 107, 53, 0.14);
  padding: 4px 8px;
  border-radius: 2px;
}

.page-home .home-hero__panel-main {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .home-hero__num {
  font-family: var(--font-mono);
  font-size: clamp(3.8rem, 16vw, 5.4rem);
  line-height: 1;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.page-home .home-hero__num-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.5;
}

.page-home .home-hero__num-side strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--white);
}

.page-home .home-hero__panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.page-home .home-hero__panel-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-hero__cell-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.page-home .home-hero__cell-label {
  font-size: 0.8rem;
  color: var(--mid-gray);
  line-height: 1.5;
}

.page-home .home-hero__panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* ---------- 数据速览带 ---------- */
.page-home .home-metrics {
  background: var(--space-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .home-metrics__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  padding-block: 34px;
}

.page-home .home-metrics__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid rgba(0, 255, 138, 0.4);
  padding-left: 14px;
}

.page-home .home-metrics__num {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1.1;
}

.page-home .home-metrics__label {
  font-size: 0.84rem;
  color: var(--mid-gray);
}

/* ---------- 01 本赛季赛程全景 ---------- */
.page-home .home-schedule {
  padding: 64px 0 48px;
}

.page-home .home-schedule__layout {
  display: grid;
  gap: 32px;
}

.page-home .home-schedule__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-schedule__match {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--lime);
  padding: 18px 20px 16px;
  transition: border-color var(--transition), background var(--transition), transform 200ms ease;
}

.page-home .home-schedule__match:hover {
  border-color: rgba(0, 255, 138, 0.6);
  background: rgba(0, 255, 138, 0.035);
  transform: translateX(4px);
}

.page-home .home-schedule__match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .home-schedule__round {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
}

.page-home .home-schedule__teamrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .home-schedule__team {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.page-home .home-schedule__vs {
  font-family: var(--font-mono);
  color: var(--mid-gray);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-home .home-schedule__match-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--mid-gray);
}

.page-home .home-schedule__sync {
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.page-home .home-schedule__sync::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(0, 255, 138, 0.18);
}

.page-home .home-schedule__media {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.page-home .home-schedule__imgframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--deep-blue);
}

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

.page-home .home-schedule__caption {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.65;
  margin: 0;
}

.page-home .home-schedule__link {
  align-self: flex-start;
}

/* ---------- 02 赛后复盘专区 ---------- */
.page-home .home-replay {
  background: linear-gradient(180deg, var(--deep-blue) 0%, #081833 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0 56px;
}

.page-home .home-replay__layout {
  display: grid;
  gap: 24px;
}

.page-home .home-replay__feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--lime);
  padding: 18px;
  display: grid;
  gap: 18px;
  transition: border-color var(--transition), background var(--transition);
}

.page-home .home-replay__feature:hover {
  border-color: rgba(0, 255, 138, 0.4);
  background: rgba(0, 255, 138, 0.02);
}

.page-home .home-replay__imgframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--deep-blue);
}

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

.page-home .home-replay__feature-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.page-home .home-replay__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-home .home-replay__feature-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--white);
  margin: 0;
}

.page-home .home-replay__feature-desc {
  color: var(--mid-gray);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.page-home .home-replay__ratings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  margin: 6px 0 2px;
  padding: 10px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}

.page-home .home-replay__rating {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.page-home .home-replay__rating dt {
  font-size: 0.72rem;
  color: var(--mid-gray);
}

.page-home .home-replay__rating dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lime);
}

.page-home .home-replay__link {
  margin-top: 4px;
}

.page-home .home-replay__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-home .home-replay__mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: border-color var(--transition), transform 200ms ease;
}

.page-home .home-replay__mini:hover {
  border-color: rgba(0, 255, 138, 0.55);
  transform: translateX(4px);
}

.page-home .home-replay__mini-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.page-home .home-replay__mini-title {
  font-family: var(--font-head);
  font-size: 1.06rem;
  color: var(--white);
  margin: 0;
}

.page-home .home-replay__mini-desc {
  font-size: 0.86rem;
  color: var(--mid-gray);
  line-height: 1.6;
  margin: 0;
}

.page-home .home-replay__mini-score {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.page-home .home-replay__mini-link {
  margin-top: 2px;
}

.page-home .home-replay__foot {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(0, 255, 138, 0.045);
  border: 1px solid rgba(0, 255, 138, 0.15);
  padding: 14px 18px;
}

.page-home .home-replay__foot p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mid-gray);
  line-height: 1.55;
  flex: 1 1 240px;
}

/* ---------- 03 常用工具集 ---------- */
.page-home .home-tools {
  padding: 64px 0 48px;
}

.page-home .home-tools__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-home .home-tools__item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 16px 24px;
  text-decoration: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition), transform 200ms ease;
}

.page-home .home-tools__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform var(--transition);
}

.page-home .home-tools__item:hover::before {
  transform: scaleX(1);
}

.page-home .home-tools__item:hover {
  border-color: rgba(0, 255, 138, 0.4);
  background: rgba(0, 255, 138, 0.03);
  transform: translateY(-2px);
}

.page-home .home-tools__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 255, 138, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  margin-bottom: 6px;
}

.page-home .home-tools__name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
}

.page-home .home-tools__desc {
  font-size: 0.82rem;
  color: var(--mid-gray);
}

/* ---------- 华人收藏引导 ---------- */
.page-home .home-favorite {
  background: linear-gradient(135deg, var(--space-blue) 0%, var(--deep-blue) 100%);
  border-top: 1px solid rgba(0, 255, 138, 0.26);
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
}

.page-home .home-favorite::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 255, 138, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.page-home .home-favorite__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .home-favorite__imgframe {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3 / 2;
  background: var(--deep-blue);
}

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

.page-home .home-favorite__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.page-home .home-favorite__badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--deep-blue);
  background: var(--gold);
  padding: 5px 10px;
  font-weight: 700;
}

.page-home .home-favorite__title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  color: var(--white);
  line-height: 1.25;
  margin: 0;
}

.page-home .home-favorite__desc {
  color: var(--mid-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  max-width: 60ch;
}

.page-home .home-favorite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* ---------- 桌面端布局增强 ---------- */
@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 96px 0 112px;
  }

  .page-home .home-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr);
    gap: 40px;
    align-items: center;
  }

  .page-home .home-hero__content {
    margin-bottom: 0;
  }

  .page-home .home-hero__panel {
    width: 100%;
    justify-self: end;
    padding: 26px;
  }

  .page-home .home-hero__num {
    font-size: 5rem;
  }

  .page-home .home-metrics__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-block: 40px;
  }

  .page-home .home-metrics__num {
    font-size: 2.1rem;
  }

  .page-home .home-schedule__layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .home-schedule__media {
    position: sticky;
    top: 100px;
  }

  .page-home .home-replay__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 24px;
    align-items: stretch;
  }

  .page-home .home-replay__feature {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    padding: 22px;
  }

  .page-home .home-replay__side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
  }

  .page-home .home-tools__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .page-home .home-favorite__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
  }

  .page-home .home-favorite__imgframe {
    max-width: none;
  }
}

/* ---------- 减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero::after,
  .page-home .home-schedule__match,
  .page-home .home-replay__feature,
  .page-home .home-replay__mini,
  .page-home .home-tools__item {
    transform: none !important;
    transition: none !important;
  }
}
