/* ========== 首页专属样式 .page-home ========== */
.page-home {
  background: var(--green-deep);
  color: var(--paper);
  overflow-x: hidden;
}

.page-home .section {
  position: relative;
  padding: clamp(3.25rem, 8vw, 6.5rem) 0;
}

.page-home .section-index {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green-lime);
  margin: 0 0 0.75rem;
  display: inline-block;
  border: 1px solid rgba(198, 255, 0, 0.4);
  padding: 0.22rem 0.7rem;
  border-radius: 2px 10px 2px 10px;
}

.page-home .section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 0.65rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
}

.page-home .section-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(229, 231, 230, 0.72);
  max-width: 56ch;
}

.page-home .tag-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--ink);
  background: var(--green-lime);
  padding: 0.2rem 0.6rem;
  border-radius: 2px 8px 2px 8px;
  font-weight: 600;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-home .btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.3rem;
  border-radius: 4px 14px 4px 14px;
  display: inline-block;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-home .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.page-home .status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-lime);
  box-shadow: 0 0 10px var(--green-lime);
  animation: home-pulse 1.6s ease infinite;
}

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

/* ========== 目录 / 服务索引 ========== */
.page-home .home-directory {
  background: var(--green-deep);
  background-image:
    linear-gradient(135deg, rgba(0, 229, 255, 0.06) 25%, transparent 25%),
    linear-gradient(315deg, rgba(198, 255, 0, 0.05) 25%, transparent 25%);
  background-size: 44px 44px;
  padding-top: clamp(4.75rem, 11vw, 8rem);
}

.page-home .home-directory__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.page-home .home-directory__title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.05;
  margin: 0.5rem 0 1.25rem;
  text-transform: uppercase;
}

.page-home .home-directory__lead {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.85;
  color: rgba(245, 241, 232, 0.85);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.page-home .home-directory__lead a {
  color: var(--blue-neon);
  text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(0, 229, 255, 0.35);
  transition: box-shadow 0.2s ease;
}

.page-home .home-directory__lead a:hover {
  box-shadow: inset 0 -2px 0 var(--blue-neon);
}

.page-home .home-directory__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-home .home-directory .data-chip {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink);
  background: var(--green-lime);
  padding: 0.35rem 0.8rem;
  border-radius: 2px 12px 2px 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.page-home .home-directory__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.page-home .home-directory__num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue-neon);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
  padding-top: 0.35rem;
  min-width: 2.6ch;
}

.page-home .home-directory__card {
  background: linear-gradient(140deg, rgba(245, 241, 232, 0.08), rgba(245, 241, 232, 0.04));
  border: 1px solid rgba(198, 255, 0, 0.28);
  border-radius: 8px 20px 8px 20px;
  padding: 1.1rem 1.2rem;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.page-home .home-directory__card:hover {
  border-color: var(--green-lime);
  background: linear-gradient(140deg, rgba(198, 255, 0, 0.1), rgba(0, 229, 255, 0.05));
}

.page-home .home-directory__heading {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-home .home-directory__heading a {
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .home-directory__heading a:hover {
  color: var(--green-lime);
}

.page-home .home-directory__desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(229, 231, 230, 0.7);
  margin: 0;
}

/* ========== 实时数据仪表盘 ========== */
.page-home .home-dashboard {
  background: var(--blue-dark);
  overflow: hidden;
  border-top: 2px solid var(--green-lime);
  border-bottom: 10px solid var(--green-lime);
  padding-top: clamp(3rem, 7vw, 5rem);
}

.page-home .home-dashboard__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
}

.page-home .home-dashboard__bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.3) contrast(1.05) blur(1px);
  transform: scale(1.04);
}

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

.page-home .home-dashboard__head {
  margin-bottom: 2rem;
}

.page-home .home-dashboard .section-desc {
  color: rgba(245, 241, 232, 0.66);
}

.page-home .home-dashboard__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-home .home-match {
  background: linear-gradient(160deg, rgba(11, 11, 15, 0.88), rgba(0, 58, 74, 0.78));
  border: 1px solid rgba(198, 255, 0, 0.22);
  border-radius: 10px 28px 10px 28px;
  padding: 1.1rem 1.1rem 1rem;
  position: relative;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(245, 241, 232, 0.06);
}

.page-home .home-match::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 22px;
  width: 70px;
  height: 3px;
  background: var(--green-lime);
  border-radius: 0 0 4px 4px;
}

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

.page-home .home-match__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue-neon);
}

.page-home .home-match__score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px 16px 8px 16px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.8rem;
}

.page-home .home-match__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
}

.page-home .home-match__side--away {
  flex-direction: column-reverse;
}

.page-home .home-match__teamname {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(245, 241, 232, 0.75);
  text-transform: uppercase;
}

.page-home .home-match__num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 7vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
  text-shadow: 0 0 28px rgba(0, 229, 255, 0.35);
}

.page-home .home-match__colon {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--green-lime);
  opacity: 0.8;
}

.page-home .home-match__poss {
  margin-bottom: 0.8rem;
}

.page-home .home-match__poss-track {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(245, 241, 232, 0.14);
  margin-bottom: 0.4rem;
}

.page-home .home-match__poss-fill {
  display: block;
  height: 100%;
}

.page-home .home-match__poss-fill--main {
  background: var(--green-lime);
}

.page-home .home-match__poss-fill--away {
  background: var(--blue-neon);
}

.page-home .home-match__poss-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(245, 241, 232, 0.62);
}

.page-home .home-cards {
  list-style: none;
  margin: 0 0 0.7rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.page-home .home-cards li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(245, 241, 232, 0.84);
}

.page-home .home-cards-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 3px 7px 3px 7px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--ink);
}

.page-home .home-cards-chip--yellow {
  background: var(--yellow-card);
}

.page-home .home-cards-chip--red {
  background: var(--red-card);
}

.page-home .home-match__foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(229, 231, 230, 0.5);
  border-top: 1px dashed rgba(245, 241, 232, 0.16);
  padding-top: 0.6rem;
}

.page-home .home-dashboard__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.82);
  border: 1px dashed rgba(198, 255, 0, 0.3);
  background: rgba(11, 11, 15, 0.4);
  padding: 0.8rem 1rem;
  border-radius: 4px 16px 4px 16px;
}

/* ========== 爱游戏V3本地赛事板块 ========== */
.page-home .home-v3 {
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-v3 .section-index {
  color: var(--green-mid);
  border-color: rgba(27, 92, 71, 0.5);
}

.page-home .home-v3 .section-title {
  color: var(--ink);
}

.page-home .home-v3 .section-desc {
  color: rgba(11, 11, 15, 0.68);
}

.page-home .home-v3__grid {
  display: grid;
  gap: 2rem;
}

.page-home .home-league {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-home .home-league li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
  background: rgba(27, 92, 71, 0.1);
  border: 1px solid rgba(27, 92, 71, 0.4);
  padding: 0.45rem 1rem;
  border-radius: 2px 12px 2px 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .home-league li:nth-child(odd) {
  background: var(--green-deep);
  color: var(--paper);
}

.page-home .home-league li:hover {
  background: var(--green-lime);
  color: var(--ink);
  border-color: var(--green-lime);
}

.page-home .home-v3__desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(11, 11, 15, 0.7);
  max-width: 56ch;
  margin-bottom: 1.5rem;
}

.page-home .home-v3__aside {
  position: relative;
}

.page-home .home-v3__img {
  border: 1px solid rgba(11, 11, 15, 0.15);
  border-radius: 10px 30px 10px 30px;
  overflow: hidden;
  transform: rotate(-1.5deg);
  box-shadow: 24px 18px 0 rgba(11, 61, 46, 0.14);
  background: var(--paper);
}

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

.page-home .home-v3__aside-note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(11, 11, 15, 0.55);
  margin-top: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--green-lime);
}

/* ========== 战报时间轴 ========== */
.page-home .home-news {
  background: var(--green-mid);
  color: var(--paper);
  overflow: hidden;
}

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

.page-home .home-news__bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(0.8);
}

.page-home .home-news > .container {
  position: relative;
  z-index: 1;
}

.page-home .home-news .section-desc {
  color: rgba(245, 241, 232, 0.68);
}

.page-home .home-news__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82vw, 370px);
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1.25rem 4px 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-news__item {
  scroll-snap-align: start;
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid rgba(198, 255, 0, 0.22);
  border-radius: 12px 32px 12px 32px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  backdrop-filter: blur(4px);
}

.page-home .home-news__item h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0;
  color: var(--paper);
  letter-spacing: 0.01em;
}

.page-home .home-news__item p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.72);
  margin: 0;
  flex: 1;
}

.page-home .home-news__item .btn-ghost {
  align-self: flex-start;
  border-color: rgba(198, 255, 0, 0.4);
  color: var(--green-lime);
}

.page-home .home-news__item .btn-ghost:hover {
  background: var(--green-lime);
  color: var(--ink);
}

/* ========== 数据面板检索 ========== */
.page-home .home-search {
  background: var(--green-deep);
  color: var(--paper);
}

.page-home .home-search__grid {
  display: grid;
  gap: 2rem;
}

.page-home .home-search__filters {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.page-home .home-search__filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem;
  border: 1px dashed rgba(245, 241, 232, 0.18);
  border-radius: 6px 16px 6px 16px;
  background: rgba(0, 58, 74, 0.35);
}

.page-home .home-search__filter-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--blue-neon);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 0.5rem;
  min-width: 3ch;
}

.page-home .home-search__filter .tag-label {
  background: rgba(245, 241, 232, 0.08);
  color: var(--paper);
  border: 1px solid rgba(198, 255, 0, 0.24);
}

.page-home .home-search__filter .tag-label:first-of-type {
  background: var(--green-lime);
  color: var(--ink);
  border-color: var(--green-lime);
}

.page-home .home-search__promise {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(198, 255, 0, 0.12), rgba(0, 229, 255, 0.08));
  border: 1px solid rgba(198, 255, 0, 0.35);
  border-radius: 10px 30px 10px 30px;
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
}

.page-home .home-search__promise-num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green-lime);
  white-space: nowrap;
  text-shadow: 0 0 26px rgba(198, 255, 0, 0.3);
}

.page-home .home-search__promise strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--paper);
}

.page-home .home-search__promise p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(245, 241, 232, 0.68);
  margin: 0.35rem 0 0;
}

.page-home .home-search__aside {
  position: relative;
}

.page-home .home-search__img {
  border-radius: 6px 24px 6px 24px;
  border: 1px solid rgba(198, 255, 0, 0.3);
  overflow: hidden;
  transform: rotate(1.2deg);
  box-shadow: -16px 18px 0 rgba(0, 229, 255, 0.1);
  background: var(--blue-dark);
}

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

/* ========== 继续探索 ========== */
.page-home .home-explore {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--green-lime);
}

.page-home .home-explore__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-home .home-explore__card {
  background: linear-gradient(150deg, rgba(27, 92, 71, 0.7), rgba(11, 11, 15, 0.6));
  border: 1px solid rgba(198, 255, 0, 0.28);
  border-radius: 10px 26px 10px 26px;
  padding: 1.6rem 1.5rem;
  text-decoration: none;
  display: block;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.page-home .home-explore__card:hover {
  transform: translateY(-4px);
  border-color: var(--green-lime);
  background: linear-gradient(150deg, rgba(0, 58, 74, 0.85), rgba(11, 61, 46, 0.85));
}

.page-home .home-explore__card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-home .home-explore__card p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(229, 231, 230, 0.65);
  margin: 0;
}

/* ========== 桌面端网格 ========== */
@media (min-width: 900px) {
  .page-home .home-directory__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 4rem;
    align-items: center;
  }

  .page-home .home-dashboard__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .page-home .home-v3__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
    align-items: center;
  }

  .page-home .home-search__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
    align-items: center;
  }

  .page-home .home-explore__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* ========== 数字跳动与动画 ========== */
@media (prefers-reduced-motion: no-preference) {
  .page-home .home-match__num {
    display: inline-block;
    animation: home-score-step 0.9s ease-out both;
  }

  .page-home .home-match:nth-child(2) .home-match__num {
    animation-delay: 0.12s;
  }

  .page-home .home-match:nth-child(3) .home-match__num {
    animation-delay: 0.24s;
  }
}

@keyframes home-score-step {
  0% {
    opacity: 0;
    transform: translateY(14px) rotate(2deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

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

  .page-home .home-news__track {
    scroll-behavior: auto;
  }
}
