/* ===== page-home : 赛季封面 + Bento 入口 ===== */
.page-home {
  --home-edge: 1px solid var(--line-soft);
  --home-card: linear-gradient(168deg, rgba(23, 42, 74, 0.94) 0%, rgba(10, 20, 40, 0.98) 68%);
  display: block;
  overflow-x: hidden;
}

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

/* --- 首屏：杂志封面 --- */
.page-home .home-cover.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.4rem) 0 clamp(3.2rem, 8vw, 6rem);
  background:
    radial-gradient(72% 62% at 90% 2%, rgba(45, 226, 230, 0.18), transparent 66%),
    radial-gradient(58% 52% at 4% 98%, rgba(255, 107, 53, 0.15), transparent 64%),
    linear-gradient(168deg, var(--ink-800) 0%, var(--ink-900) 58%, #02050D 100%);
}

.page-home .home-cover::before {
  content: "";
  position: absolute;
  top: -28%;
  right: -14%;
  width: min(560px, 78vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(45, 226, 230, 0.2), transparent 42%, rgba(255, 107, 53, 0.16), transparent 80%);
  filter: blur(52px);
  z-index: -1;
  animation: home-drift 20s ease-in-out infinite alternate;
}

@keyframes home-drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-5%, 7%, 0) rotate(28deg); }
}

.page-home .cover-grid {
  display: grid;
  gap: clamp(1.8rem, 5vw, 3rem);
}

.page-home .home-context {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.05rem;
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--line-cyan);
  border-radius: 999px;
  background: rgba(16, 30, 56, 0.62);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cyan-soft);
}

.page-home .cover-title {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: clamp(2rem, 7vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: 0.05em;
  color: var(--white);
}

.page-home .cover-title span {
  background: linear-gradient(96deg, var(--cyan) 0%, var(--cyan-soft) 46%, var(--orange-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .cover-lede {
  max-width: 33rem;
  margin: 0 0 1.5rem;
  color: var(--steel);
}

.page-home .cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.9rem;
}

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

.page-home .cover-index a {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  grid-template-areas:
    "no name"
    "no note";
  align-items: center;
  gap: 0.1rem 0.9rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.page-home .cover-index a:hover,
.page-home .cover-index a:focus-visible {
  transform: translateX(6px);
  background: rgba(16, 30, 56, 0.85);
  border-color: var(--line-cyan);
}

.page-home .index-no {
  grid-area: no;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--orange);
  transition: color 0.25s ease;
}

.page-home .cover-index a:hover .index-no { color: var(--cyan); }

.page-home .index-name {
  grid-area: name;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.page-home .index-note {
  grid-area: note;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--steel);
  opacity: 0.72;
}

.page-home .cover-visual {
  display: grid;
  gap: 0.9rem;
}

.page-home .cover-figure { margin: 0; }
.page-home .cover-figure .figure-media { border-radius: var(--radius-xl); }

.page-home .cover-panel {
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-lg);
  background: rgba(10, 20, 40, 0.86);
  box-shadow: var(--shadow-card);
}

.page-home .cover-panel--data {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.page-home .panel-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.page-home .panel-num {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--orange);
}

.page-home .panel-unit { font-size: 0.8rem; color: var(--steel); }

.page-home .cover-panel--pulse { display: grid; gap: 0.35rem; }
.page-home .cover-panel--pulse p { margin: 0; font-size: 0.82rem; color: var(--steel); }

.page-home .pulse-line { display: block; width: 100%; height: 32px; }

.page-home .pulse-line polyline {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 9;
  animation: home-pulse 3.6s linear infinite;
}

@keyframes home-pulse {
  to { stroke-dashoffset: -60; }
}

/* --- 通用区块头 --- */
.page-home .section-head {
  max-width: 44rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.4rem);
}

.page-home .section-title {
  margin: 0.55rem 0 0.8rem;
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 3.4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--white);
}

.page-home .section-head .lead {
  margin: 0;
  color: var(--steel);
}

/* --- 卡片基础 --- */
.page-home .card {
  position: relative;
  padding: clamp(1.1rem, 2.2vw, 1.45rem);
  border: var(--home-edge);
  border-radius: var(--radius-lg);
  background: var(--home-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .card:hover {
  border-color: var(--line-cyan);
  box-shadow: 0 26px 52px -30px rgba(45, 226, 230, 0.42);
}

.page-home .card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.page-home .card-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-head);
  font-size: 1.06rem;
  letter-spacing: 0.03em;
  color: var(--white);
}

.page-home .card-head .card-title { margin: 0; }

.page-home .card-body {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-cyan);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .card-link:hover {
  color: var(--orange-soft);
  border-color: var(--orange-soft);
}

/* --- 移动端快速通道 --- */
.page-home .home-mobile.section {
  position: relative;
  padding: clamp(2.6rem, 6vw, 4.6rem) 0;
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
}

.page-home .mobile-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.page-home .mobile-shot { margin: 0; }

.page-home .mobile-shot .figure-media {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
}

/* --- 档案与场馆 --- */
.page-home .home-intel.section {
  position: relative;
  padding: clamp(2.8rem, 6vw, 4.8rem) 0;
  background:
    radial-gradient(62% 48% at 100% 0%, rgba(45, 226, 230, 0.1), transparent 62%),
    linear-gradient(180deg, var(--ink-700) 0%, var(--ink-800) 70%, var(--ink-900) 100%);
}

.page-home .home-intel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-cyan), transparent);
}

.page-home .intel-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.page-home .intel-card { display: flex; flex-direction: column; }

.page-home .intel-card .card-link {
  margin-top: auto;
  padding-top: 0.9rem;
  align-self: flex-start;
}

.page-home .intel-no {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: 2.3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(45, 226, 230, 0.55);
}

.page-home .mini-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .mini-list li {
  position: relative;
  padding-left: 1.05rem;
}

.page-home .mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.page-home .intel-shot { margin: 0; }

.page-home .intel-shot .figure-media {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
}

/* --- 旧版界面 --- */
.page-home .home-legacy.section {
  position: relative;
  padding: clamp(2.6rem, 6vw, 4.6rem) 0;
  background:
    linear-gradient(150deg, rgba(255, 107, 53, 0.08) 0%, transparent 44%),
    var(--ink-800);
}

.page-home .legacy-grid {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
}

.page-home .legacy-copy .lead { color: var(--steel); }

.page-home .legacy-points {
  list-style: none;
  margin: 1.1rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.page-home .legacy-points li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--steel);
}

.page-home .legacy-key {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--orange);
  border: 1px dashed rgba(255, 107, 53, 0.5);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}

.page-home .legacy-shot { margin: 0; }

.page-home .legacy-shot .figure-media {
  aspect-ratio: 2 / 1;
  border-radius: var(--radius-xl);
}

/* --- 联络与信任 --- */
.page-home .home-trust.section {
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(3rem, 7vw, 5rem);
  background: linear-gradient(180deg, var(--ink-900) 0%, #03060F 100%);
}

.page-home .trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.page-home .trust-card--meta {
  background: linear-gradient(158deg, rgba(45, 226, 230, 0.15) 0%, rgba(10, 20, 40, 0.97) 62%);
  border-color: var(--line-cyan);
}

.page-home .stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.7rem 0 0;
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  line-height: 1;
  color: var(--cyan);
}

.page-home .stat-desc { font-size: 0.82rem; color: var(--steel); }

.page-home .trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.page-home .trust-actions .card-link { margin-top: 0; }

/* --- 断点 --- */
@media (min-width: 720px) {
  .page-home .mobile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .mobile-shot { grid-column: 1 / -1; }
  .page-home .mobile-shot .figure-media { aspect-ratio: 16 / 9; }
}

@media (min-width: 720px) and (hover: hover) {
  .page-home .mobile-grid .cell { transform: rotate(-0.5deg); }
  .page-home .mobile-grid .cell:nth-child(even) { transform: rotate(0.45deg); }
  .page-home .mobile-grid .cell:hover { transform: rotate(0deg) translateY(-5px); }
}

@media (min-width: 860px) {
  .page-home .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .page-home .intel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .page-home .intel-shot { display: flex; }

  .page-home .intel-shot .figure-media {
    flex: 1;
    aspect-ratio: auto;
    min-height: 300px;
  }

  .page-home .legacy-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .page-home .cover-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.4rem);
  }

  .page-home .cover-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: translateY(1.4rem) rotate(0.6deg);
  }

  .page-home .cover-figure { grid-column: 1 / -1; }

  .page-home .cover-panel--data { margin-left: -1.4rem; }
  .page-home .cover-panel--pulse { margin-right: -1.4rem; }
}

@media (min-width: 1060px) {
  .page-home .mobile-grid {
    grid-template-columns: minmax(0, 0.82fr) repeat(2, minmax(0, 1fr));
  }

  .page-home .mobile-shot {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
  }

  .page-home .mobile-shot .figure-media {
    flex: 1;
    aspect-ratio: auto;
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-cover::before,
  .page-home .pulse-line polyline {
    animation: none;
  }

  .page-home .cover-index a,
  .page-home .card,
  .page-home .card-link {
    transition: none;
  }

  .page-home .mobile-grid .cell,
  .page-home .mobile-grid .cell:hover,
  .page-home .cover-index a:hover {
    transform: none;
  }
}
