.page-home {
  --home-gap: 16px;
  --home-cut: 24px;
  position: relative;
  display: block;
  background: var(--night);
  color: var(--warm-white);
}

.page-home .container {
  width: min(1280px, 100% - 40px);
  margin-inline: auto;
}

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

/* ===== 首屏 Bento ===== */
.page-home .hero-bento {
  position: relative;
  padding: clamp(20px, 4vw, 56px) 0 0;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
}

.page-home .hero-bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .hero-main {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  background: var(--deep-teal);
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, var(--home-cut) 100%, 0 calc(100% - var(--home-cut)));
}

.page-home .hero-main__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-home .hero-main__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(20px, 4vw, 38px);
  background: linear-gradient(180deg, rgba(11,27,43,0), rgba(11,27,43,0.82) 72%);
}

.page-home .hero-main__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 18px;
}

.page-home .hero-main__league {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--warm-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .hero-main__h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.page-home .hero-main__h1 span {
  display: block;
  color: var(--flame);
  font-size: 0.58em;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.1em;
}

.page-home .hero-main__match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 16px 18px;
  margin-bottom: 18px;
  background: rgba(11,27,43,0.4);
  border: 1px solid rgba(242,237,232,0.12);
  backdrop-filter: blur(4px);
}

.page-home .match-teams {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.02rem;
}

.page-home .match-score {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--flame);
  text-shadow: 0 0 24px rgba(255,107,53,0.4);
}

.page-home .match-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--sand);
}

.page-home .hero-main__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-home .hero-main__note {
  font-size: 0.78rem;
  color: var(--sand);
}

.page-home .hero-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px;
}

.page-home .hero-mini__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-home .hero-mini__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.page-home .hero-mini__sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--sand);
}

.page-home .mini-standings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-home .mini-standings li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(242,237,232,0.07);
}

.page-home .mini-rank {
  width: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sand);
}

.page-home .mini-team {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 600;
}

.page-home .mini-played {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sand);
}

.page-home .mini-points {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--flame);
  min-width: 34px;
  text-align: right;
}

.page-home .mini-schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-home .mini-schedule li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(242,237,232,0.07);
}

.page-home .mini-time {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
}

.page-home .mini-league {
  color: var(--sand);
  font-size: 0.72rem;
}

.page-home .mini-teams {
  flex-basis: 100%;
  font-size: 0.88rem;
}

.page-home .text-link {
  color: var(--flame);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: color var(--ease);
}

.page-home .text-link:hover {
  color: var(--warm-white);
  text-decoration: underline;
}

/* ===== 通用章节排版 ===== */
.page-home .standings-section,
.page-home .schedule-section,
.page-home .nav-section,
.page-home .news-section,
.page-home .promise-section {
  padding: clamp(56px, 8vw, 120px) 0;
  position: relative;
}

.page-home .section-index {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}

.page-home .section-index__num {
  font-family: var(--font-mono);
  font-weight: 200;
  font-size: clamp(56px, 9vw, 148px);
  line-height: 0.85;
  color: rgba(242,237,232,0.12);
}

.page-home .section-index__label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--flame);
  text-transform: uppercase;
}

.page-home .section-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 900;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.page-home .section-subtitle {
  color: var(--sand);
  font-size: 0.92rem;
  margin: 0 0 28px;
  max-width: 640px;
  line-height: 1.7;
}

/* ===== 02 积分榜 ===== */
.page-home .standings-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .standings-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .standings-tabs input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.page-home .standings-tabs label {
  cursor: pointer;
  padding: 7px 18px;
  border: 1px solid rgba(242,237,232,0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sand);
  transition: var(--ease);
  user-select: none;
  background: transparent;
}

.page-home .standings-tabs label:hover {
  border-color: var(--flame);
  color: var(--warm-white);
}

.page-home .standings-tabs input[type="radio"]:checked + label {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--night);
}

.page-home .standings-tab-panel {
  display: none;
  width: 100%;
}

.page-home #tab-csl:checked ~ #panel-csl,
.page-home #tab-epl:checked ~ #panel-epl,
.page-home #tab-jk:checked ~ #panel-jk,
.page-home #tab-kl:checked ~ #panel-kl {
  display: block;
}

.page-home .standings-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .standings-row {
  display: grid;
  grid-template-columns: 30px 1fr 54px 64px;
  gap: 6px 10px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(242,237,232,0.06);
}

.page-home .standings-track {
  grid-column: 1 / -1;
}

.page-home .standings-pos {
  font-family: var(--font-mono);
  color: var(--sand);
  font-size: 0.76rem;
}

.page-home .standings-team {
  font-weight: 700;
  font-size: 0.92rem;
}

.page-home .standings-gd {
  font-family: var(--font-mono);
  color: var(--sand);
  font-size: 0.78rem;
  text-align: right;
}

.page-home .standings-pts {
  font-family: var(--font-mono);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--flame);
  text-align: right;
}

.page-home .standings-track {
  height: 4px;
  background: rgba(242,237,232,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.page-home .standings-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--flame), #ff9066);
  border-radius: 2px;
}

.page-home .standings-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .standings-aside__img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.page-home .standings-note {
  padding: 20px;
  background: rgba(15,61,62,0.45);
  color: var(--warm-white);
}

.page-home .standings-note h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.page-home .standings-note p {
  margin: 0 0 12px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--sand);
}

/* ===== 03 赛程 ===== */
.page-home .schedule-section {
  background: linear-gradient(180deg, var(--night) 0%, rgba(43,45,107,0.22) 55%, var(--night) 100%);
}

.page-home .schedule-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.page-home .schedule-track::-webkit-scrollbar {
  display: none;
}

.page-home .schedule-track__item {
  flex: 0 0 min(250px, 76vw);
  scroll-snap-align: start;
  padding: 20px;
  background: rgba(15,61,62,0.55);
  border-left: 3px solid var(--indigo);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
}

.page-home .schedule-track__league {
  font-size: 0.72rem;
  color: var(--sand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home .schedule-track__time {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--warm-white);
}

.page-home .schedule-track__teams {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .schedule-track__status {
  font-size: 0.76rem;
  color: var(--sand);
  margin-top: auto;
}

.page-home .schedule-track__status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
  margin-right: 6px;
  vertical-align: middle;
}

.page-home .schedule-track__item[data-schedule-status="live"] {
  border-left-color: var(--flame);
}

.page-home .schedule-track__item[data-schedule-status="live"] .schedule-track__status {
  color: var(--flame);
}

.page-home .schedule-track__item[data-schedule-status="live"] .schedule-track__status i {
  background: var(--flame);
  animation: page-home-pulse 1.6s ease infinite;
}

.page-home .schedule-track__item[data-schedule-status="done"] {
  border-left-color: var(--grass);
}

.page-home .schedule-track__item[data-schedule-status="done"] .schedule-track__status {
  color: var(--grass);
}

.page-home .schedule-track__item[data-schedule-status="done"] .schedule-track__status i {
  background: var(--grass);
}

.page-home .schedule-more {
  display: inline-block;
  margin-top: 20px;
}

/* ===== 04 官方站导航 ===== */
.page-home .nav-section {
  background: linear-gradient(180deg, var(--night) 0%, var(--deep-teal) 46%, var(--night) 118%);
}

.page-home .nav-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .nav-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  text-decoration: none;
  color: var(--warm-white);
  transition: transform var(--ease), box-shadow var(--ease);
}

.page-home .nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.page-home .nav-card__icon {
  width: 36px;
  height: 36px;
  color: var(--flame);
  flex-shrink: 0;
}

.page-home .nav-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.page-home .nav-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--sand);
  flex: 1;
}

.page-home .nav-card__link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--flame);
}

.page-home .nav-card.panel--cream {
  color: var(--wine);
}

.page-home .nav-card.panel--cream p {
  color: var(--wine);
  opacity: 0.72;
}

.page-home .nav-card.panel--cream .nav-card__link {
  color: var(--wine);
}

/* ===== 05 新闻 ===== */
.page-home .news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .news-feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.page-home .news-feature img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.page-home .news-feature__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .news-feature__content h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.4;
  font-weight: 800;
}

.page-home .news-feature__content p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(242,237,232,0.8);
}

.page-home .news-feature__time {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--sand);
}

.page-home .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-home .news-list__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(242,237,232,0.07);
}

.page-home .news-list__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .news-list__meta time {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--sand);
}

.page-home .news-list__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.page-home .news-more {
  display: inline-block;
  margin-top: 18px;
}

/* ===== 06 品牌承诺与信任声明 ===== */
.page-home .promise-section {
  background: linear-gradient(180deg, var(--night), rgba(15,61,62,0.4) 50%, var(--night) 100%);
}

.page-home .promise-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .promise-main {
  padding: clamp(24px, 4vw, 40px);
  color: #26201C;
}

.page-home .promise-main h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
}

.page-home .promise-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #3A3230;
}

.page-home .promise-facts {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .promise-facts__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  font-size: 0.84rem;
}

.page-home .promise-facts__row .k {
  font-weight: 700;
  color: var(--wine);
}

.page-home .promise-facts__row .v {
  font-weight: 600;
}

.page-home .promise-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .promise-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.page-home .promise-stats .stat {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .promise-stats .stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--flame);
}

.page-home .promise-stats .stat__label {
  font-size: 0.76rem;
  color: var(--warm-white);
  line-height: 1.4;
}

.page-home .trust-statement {
  margin-top: 18px;
  overflow: hidden;
  padding: 0;
  background: var(--deep-teal);
  display: grid;
  grid-template-columns: 1fr;
}

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

.page-home .trust-statement__text {
  padding: clamp(22px, 4vw, 36px);
  color: var(--warm-white);
}

.page-home .trust-statement__text h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.page-home .trust-statement__text p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.8;
  color: rgba(242,237,232,0.82);
}

/* ===== 返回顶部 ===== */
.page-home .back-to-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--flame);
  color: var(--night);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(255,107,53,0.35);
  transition: transform var(--ease);
}

.page-home .back-to-top:hover {
  transform: translateY(-3px);
}

/* ===== 艾德莱斯纹样叠加 ===== */
.page-home .adelay-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='96'%20height='96'%3E%3Cpath%20d='M0%2096%2096%200'%20stroke='rgba(242,237,232,0.05)'%20fill='none'/%3E%3Cpath%20d='M32%20128%20128%2032'%20stroke='rgba(242,237,232,0.025)'%20fill='none'/%3E%3Cpath%20d='M-32%2064%2064%20-32'%20stroke='rgba(242,237,232,0.025)'%20fill='none'/%3E%3C/svg%3E");
  background-size: 96px 96px;
  pointer-events: none;
  z-index: 0;
}

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

/* ===== 动效 ===== */
@keyframes page-home-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

/* ===== 平板增强 ===== */
@media (min-width: 720px) {
  .page-home .hero-bento__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .page-home .hero-main {
    grid-column: span 6;
    min-height: 560px;
  }

  .page-home .hero-standings,
  .page-home .hero-schedule {
    grid-column: span 3;
  }

  .page-home .nav-bento {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .standings-row {
    grid-template-columns: 32px 1fr 56px 68px 1fr;
  }

  .page-home .standings-track {
    grid-column: auto;
  }

  .page-home .trust-statement {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-home .trust-statement img {
    height: 100%;
    min-height: 220px;
  }
}

/* ===== 桌面增强 ===== */
@media (min-width: 900px) {
  .page-home .standings-layout {
    grid-template-columns: 1fr 260px;
    align-items: start;
  }

  .page-home .news-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .page-home .promise-bento {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-bento__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(230px, auto);
  }

  .page-home .hero-main {
    grid-column: span 7;
    grid-row: span 2;
  }

  .page-home .hero-standings,
  .page-home .hero-schedule {
    grid-column: span 5;
  }

  .page-home .mini-schedule li {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .page-home .mini-teams {
    flex-basis: auto;
    margin-left: auto;
  }
}

@media (min-width: 1100px) {
  .page-home .nav-bento {
    grid-template-columns: repeat(4, 1fr);
  }
}
