.page-home {
  --home-gap: clamp(4.5rem, 9vw, 7rem);
  --home-title: clamp(2.9rem, 12vw, 9rem);
  overflow-x: hidden;
}

/* ========== 首屏海报 ========== */
.page-home__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 0 clamp(4rem, 10vh, 8rem);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1200px 620px at 82% -8%, rgba(123, 97, 255, 0.22), transparent 60%),
    radial-gradient(900px 420px at 8% 100%, rgba(0, 168, 255, 0.16), transparent 60%),
    linear-gradient(135deg, #0A0E17 0%, #101A2B 48%, #0A0E17 100%);
}

.page-home__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home__hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.page-home__hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(240, 244, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 244, 248, 0.055) 1px, transparent 1px),
    linear-gradient(115deg, transparent 46%, rgba(0, 168, 255, 0.65) 46%, rgba(0, 168, 255, 0.65) 46.6%, transparent 46.6%),
    linear-gradient(65deg, transparent 62%, rgba(57, 255, 20, 0.32) 62%, rgba(57, 255, 20, 0.32) 62.5%, transparent 62.5%);
  background-size: 56px 56px, 56px 56px, 100% 100%, 100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  opacity: 0.5;
  pointer-events: none;
  backdrop-filter: blur(1px);
}

.page-home__hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--content-max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.page-home__hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.2rem 0 1rem;
  color: var(--c-neon);
  font-family: var(--f-mono);
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  letter-spacing: 0.14em;
}

.page-home__hero-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-neon);
  flex: 0 0 auto;
}

.page-home__h1 {
  margin: 0 0 1.4rem;
  font-family: var(--f-head);
  font-style: italic;
  font-weight: 900;
  font-size: var(--home-title);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--c-ice);
  text-shadow: 0 0 48px rgba(0, 168, 255, 0.35);
}

.page-home__hero-desc {
  max-width: 46rem;
  margin: 0 0 2.2rem;
  font-family: var(--f-body);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.85;
  color: rgba(240, 244, 248, 0.84);
}

.page-home__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home__chapter-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(3rem, 8vh, 6rem);
  border-top: 1px solid rgba(224, 247, 255, 0.2);
}

.page-home__chapter-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0.55rem;
  color: var(--c-text);
  font-family: var(--f-mono);
  font-size: 0.84rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 247, 255, 0.12);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.page-home__chapter-link:hover {
  background: rgba(0, 168, 255, 0.12);
  color: var(--c-ice);
}

.page-home__chapter-num {
  color: var(--c-electric);
  font-size: 0.74rem;
}

/* ========== 比分滚动条 ========== */
.page-home__score {
  position: relative;
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(224, 247, 255, 0.34);
  border-bottom: 1px solid rgba(224, 247, 255, 0.34);
  background: rgba(10, 14, 23, 0.9);
  overflow: hidden;
}

.page-home__score-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: var(--c-neon);
  color: var(--c-deep);
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.page-home__score-window {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-home__score-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3rem;
  padding: 0.85rem 1.25rem;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 0.84rem;
  color: var(--c-ice);
  will-change: transform;
  animation: page-home-score-scroll 24s linear infinite;
}

.page-home__score-track span {
  position: relative;
  flex: 0 0 auto;
  padding-left: 1.1rem;
}

.page-home__score-track span::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.5rem;
  color: var(--c-neon);
}

@keyframes page-home-score-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ========== 功能预览卡片 ========== */
.page-home__features {
  padding: var(--home-gap) 0 0;
}

.page-home__section-head {
  max-width: 50rem;
  margin-bottom: clamp(2.6rem, 6vw, 4.5rem);
}

.page-home__section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-home__section-head--center .page-home__section-tag {
  justify-content: center;
}

.page-home__section-head--left {
  margin-left: 0;
}

.page-home__section-tag {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--c-electric);
  font-family: var(--f-mono);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home__section-tag::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--c-electric);
  flex: 0 0 auto;
}

.page-home__section-title {
  margin: 0 0 1rem;
  font-family: var(--f-head);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--c-ice);
  text-shadow: 0 0 32px rgba(0, 168, 255, 0.26);
}

.page-home__section-lead,
.page-home__updates-lead {
  max-width: 42rem;
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(240, 244, 248, 0.74);
}

.page-home__feature-grid {
  display: grid;
  gap: 1.5rem;
}

.page-home__feature-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(150deg, #1A2233 0%, #0E1626 72%);
  border: 1px solid rgba(224, 247, 255, 0.14);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.page-home__feature-card::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  z-index: -1;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.38), transparent 70%);
  transition: transform 0.6s var(--ease);
}

.page-home__feature-card--calendar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-electric), var(--c-neon));
}

.page-home__feature-card--scorer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-violet), var(--c-electric));
}

.page-home__feature-card--venue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-amber), var(--c-electric));
}

.page-home__feature-card:hover {
  transform: perspective(1100px) rotateX(3deg) rotateY(-4deg) translateY(-3px);
  border-color: rgba(0, 168, 255, 0.58);
}

.page-home__feature-card:hover::after {
  transform: scale(1.16);
}

.page-home__feature-index {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--c-electric);
  opacity: 0.72;
}

.page-home__feature-card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--f-head);
  font-style: italic;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--c-ice);
}

.page-home__feature-card > p {
  margin: 0 0 1.1rem;
  font-family: var(--f-body);
  font-size: 0.96rem;
  line-height: 1.75;
  color: rgba(240, 244, 248, 0.82);
}

.page-home__feature-points {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.page-home__feature-points li {
  position: relative;
  padding-left: 1.3rem;
  font-family: var(--f-body);
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(224, 247, 255, 0.78);
}

.page-home__feature-points li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -0.1rem;
  color: var(--c-neon);
  font-size: 1rem;
  font-weight: 700;
}

.page-home__feature-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-bottom: 0.2rem;
  font-family: var(--f-mono);
  font-size: 0.84rem;
  color: var(--c-electric);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(0, 168, 255, 0.5);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home__feature-link:hover {
  gap: 0.9rem;
  color: var(--c-neon);
  border-color: rgba(57, 255, 20, 0.7);
}

.page-home__feature-figure {
  margin: 2.6rem 0 0;
}

.page-home__feature-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(224, 247, 255, 0.16);
  transform: rotate(-1deg);
}

/* ========== 更新日志速览 ========== */
.page-home__updates {
  padding: var(--home-gap) 0;
  border-top: 1px solid rgba(224, 247, 255, 0.08);
  border-bottom: 1px solid rgba(224, 247, 255, 0.08);
  background: radial-gradient(900px 420px at 85% 12%, rgba(123, 97, 255, 0.18), transparent 60%);
}

.page-home__updates-grid {
  display: grid;
  gap: 2.5rem;
}

.page-home__update-list {
  margin-top: 2rem;
}

.page-home__update-item {
  border-bottom: 1px solid rgba(224, 247, 255, 0.18);
}

.page-home__update-item:first-of-type {
  border-top: 1px solid rgba(224, 247, 255, 0.18);
}

.page-home__update-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
}

.page-home__update-item summary::-webkit-details-marker {
  display: none;
}

.page-home__update-idx {
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--c-electric);
}

.page-home__update-item summary strong {
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--c-ice);
}

.page-home__update-arrow {
  flex: 0 0 auto;
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--c-neon);
  transition: transform 0.4s var(--ease);
}

.page-home__update-item[open] summary .page-home__update-arrow {
  transform: rotate(45deg);
}

.page-home__update-item p {
  margin: 0;
  padding: 0 0 1.5rem 2.3rem;
  font-family: var(--f-body);
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(240, 244, 248, 0.72);
}

.page-home__updates-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--c-night);
  border: 1px solid rgba(224, 247, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* ========== 品牌信任区 ========== */
.page-home__trust {
  padding: var(--home-gap) 0;
}

.page-home__trust-main {
  display: grid;
  gap: 2.5rem;
}

.page-home__trust-copy p:first-child {
  margin: 0 0 1.1rem;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(240, 244, 248, 0.82);
}

.page-home__trust-line {
  padding-left: 0.9rem;
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--c-ice);
  border-left: 3px solid var(--c-neon);
}

.page-home__trust-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
}

.page-home__trust-list li {
  position: relative;
  padding-left: 1.6rem;
  font-family: var(--f-body);
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(224, 247, 255, 0.9);
}

.page-home__trust-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-neon);
  font-family: var(--f-mono);
  font-size: 0.9rem;
}

.page-home__trust-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(224, 247, 255, 0.16);
  box-shadow: 12px 12px 0 rgba(0, 168, 255, 0.18);
}

.page-home__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: rgba(224, 247, 255, 0.18);
  border: 1px solid rgba(224, 247, 255, 0.18);
}

.page-home__stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 2rem 0.75rem;
  text-align: center;
  background: #0F1728;
}

.page-home__stat-num {
  font-family: var(--f-mono);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--c-electric);
  text-shadow: 0 0 28px rgba(0, 168, 255, 0.45);
}

.page-home__stat-label {
  font-family: var(--f-body);
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(240, 244, 248, 0.7);
}

/* ========== 响应式布局 ========== */
@media (min-width: 640px) {
  .page-home__feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home__feature-card--venue {
    grid-column: 1 / -1;
  }

  .page-home__feature-figure img {
    aspect-ratio: 16 / 7;
  }
}

@media (min-width: 680px) {
  .page-home__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 720px) {
  .page-home__chapter-index {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home__chapter-link {
    padding: 1.1rem 1rem;
  }
}

@media (min-width: 960px) {
  .page-home__updates-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
  }

  .page-home__trust-main {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 4rem;
  }

  .page-home__trust-figure img {
    box-shadow: 24px 24px 0 rgba(0, 168, 255, 0.18);
  }
}

@media (min-width: 1024px) {
  .page-home__feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home__feature-card--venue {
    grid-column: auto;
  }
}

/* ========== 动效降级 ========== */
@media (prefers-reduced-motion: reduce) {
  .page-home__score-track {
    animation: none;
  }

  .page-home__feature-card,
  .page-home__feature-card:hover {
    transform: none;
  }

  .page-home__feature-card::after {
    transition: none;
  }

  .page-home__feature-link,
  .page-home__feature-link:hover {
    gap: 0.5rem;
  }

  .page-home__chapter-link,
  .page-home__update-item[open] summary .page-home__update-arrow {
    transition: none;
  }
}
