/* ========== 页面基础 ========== */
.page-home {
  --home-line: #dce3f0;
  background: var(--deep-blue);
  color: var(--light-gray);
  overflow-x: hidden;
  font-family: var(--font-body);
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-track-flow {
  from { background-position: 0 0; }
  to { background-position: 200px 0; }
}
@keyframes home-scan-down {
  0%, 100% { top: 0; opacity: 0; }
  8%, 92% { opacity: 1; }
  50% { top: 100%; }
}
@keyframes home-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); }
}
@keyframes home-scroll-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== 通用区块头部 ========== */
.home-section-head {
  max-width: 780px;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}
.home-section-head__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--volt-purple);
  margin-bottom: 0.6rem;
}
.home-section-head__index--light {
  color: var(--neon-green);
}
.home-section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}
.home-section-head__desc {
  margin: 0.8rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid-gray);
}
.home-section-head--light .home-section-head__desc {
  color: rgba(244, 246, 250, 0.72);
}

/* ========== 首屏分屏 ========== */
.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(123, 47, 190, 0.45), transparent 60%),
    radial-gradient(700px 420px at 10% 92%, rgba(57, 255, 20, 0.08), transparent 60%),
    linear-gradient(135deg, var(--deep-blue) 0%, #130b35 60%, #1a0638 100%);
  padding: clamp(3.5rem, 7vh, 5rem) 0;
}
.home-hero__shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.home-hero__copy > * {
  animation: home-rise 500ms ease both;
}
.home-hero__copy > *:nth-child(2) { animation-delay: 80ms; }
.home-hero__copy > *:nth-child(3) { animation-delay: 160ms; }
.home-hero__copy > *:nth-child(4) { animation-delay: 240ms; }
.home-hero__copy > *:nth-child(5) { animation-delay: 320ms; }
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.3);
  background: rgba(10, 17, 40, 0.5);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}
.home-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 1.25rem 0 1rem;
  max-width: 540px;
}
.home-hero__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(244, 246, 250, 0.82);
  max-width: 540px;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}
.home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}
.home-hero__stats .stat-badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(123, 47, 190, 0.5);
  backdrop-filter: blur(4px);
}
.home-hero__stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(244, 246, 250, 0.7);
}
.home-hero__visual {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(123, 47, 190, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.home-hero__track {
  position: absolute;
  inset: -20%;
  z-index: 1;
  background-image: repeating-linear-gradient(
    105deg,
    rgba(57, 255, 20, 0.16) 0px,
    rgba(57, 255, 20, 0) 40px,
    rgba(255, 255, 255, 0.05) 80px,
    rgba(123, 47, 190, 0.28) 120px,
    rgba(57, 255, 20, 0) 200px
  );
  background-size: 200px 100%;
  animation: home-track-flow 1.6s linear infinite;
}
.home-hero__track--slow {
  background-image: repeating-linear-gradient(
    75deg,
    rgba(255, 107, 53, 0.09) 0px,
    rgba(255, 255, 255, 0.02) 60px,
    rgba(123, 47, 190, 0.18) 100px,
    rgba(57, 255, 20, 0) 160px
  );
  background-size: 160px 100%;
  animation-duration: 2.8s;
  animation-direction: reverse;
}
.home-hero__visual::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 12%;
  height: 3px;
  z-index: 2;
  transform: rotate(-6deg);
  background: linear-gradient(90deg, transparent, var(--neon-green) 30%, var(--volt-purple) 70%, transparent);
  opacity: 0.8;
}
.home-hero__telemetry {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  background: var(--glass-dark);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.home-hero__telemetry-label {
  color: var(--neon-green);
}
.home-hero__telemetry strong {
  color: var(--light-gray);
}

/* ========== 实时战报速递 ========== */
.home-reports {
  background: var(--light-gray);
  color: var(--dark-gray);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.home-reports__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.home-reports__phone {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 17, 40, 0.22);
}
.home-reports__phone img {
  display: block;
  width: 100%;
  height: auto;
}
.home-reports__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.8));
  animation: home-scan-down 3s ease-in-out infinite;
}
.home-reports__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  counter-reset: home-report;
}
.home-report-card {
  background: var(--white);
  border: 1px solid var(--home-line);
  border-left: 4px solid var(--volt-purple);
  border-radius: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.home-report-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 17, 40, 0.1);
}
.home-report-card__summary {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}
.home-report-card__summary::-webkit-details-marker {
  display: none;
}
.home-report-card__summary::before {
  content: "R-0" counter(home-report) " /";
  counter-increment: home-report;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--volt-purple);
  letter-spacing: 0.05em;
}
.home-report-card__summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--warm-orange);
  transition: transform var(--transition);
}
.home-report-card[open] .home-report-card__summary::after {
  transform: rotate(45deg);
}
.home-report-card__title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin: 0;
}
.home-report-card__time {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--mid-gray);
  white-space: nowrap;
}
.home-report-card__body {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--mid-gray);
  font-size: 0.94rem;
  line-height: 1.65;
  border-top: 1px dashed var(--home-line);
}
.home-reports__more,
.home-venues__more {
  align-self: flex-end;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--warm-orange);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 107, 53, 0.3);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}
.home-reports__more:hover,
.home-venues__more:hover {
  border-color: var(--warm-orange);
}

/* ========== 伤停更新动态 ========== */
.home-injuries {
  background:
    radial-gradient(720px 320px at 10% 0%, rgba(123, 47, 190, 0.22), transparent 60%),
    linear-gradient(135deg, var(--deep-blue) 0%, #120a2e 100%);
  color: var(--light-gray);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.home-injuries__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.home-injuries__timeline {
  position: relative;
  border-left: 2px solid rgba(123, 47, 190, 0.5);
  padding-left: 0;
  margin-top: 0.5rem;
}
.home-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.1rem;
  padding-bottom: 2rem;
}
.home-timeline__item:last-child {
  padding-bottom: 0;
}
.home-timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.65);
}
.home-timeline__time {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--neon-green);
  padding-top: 0.2rem;
}
.home-timeline__content h3 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--light-gray);
  margin: 0 0 0.35rem;
}
.home-timeline__content p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(244, 246, 250, 0.65);
}
.home-injuries__visual {
  display: grid;
  gap: 1.25rem;
}
.home-injuries__visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(57, 255, 20, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.home-injuries__panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(123, 47, 190, 0.45);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
}
.home-injuries__panel .data-value {
  color: var(--neon-green);
}

/* ========== 场馆快速检索 ========== */
.home-venues {
  background: var(--light-gray);
  color: var(--dark-gray);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.home-venues__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.home-venues__date {
  position: relative;
  background: var(--white);
  border: 1px solid var(--home-line);
  border-radius: 10px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mid-gray);
  cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.home-venues__date em {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--warm-orange);
}
.home-venues__date.is-active {
  border-color: var(--neon-green);
  color: var(--dark-gray);
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.18);
}
.home-venues__date.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 14px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--warm-orange);
  border-radius: 2px;
}
.home-venues__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
.home-venues__visual {
  position: relative;
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 17, 40, 0.18);
}
.home-venues__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-venues__glass {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  background: var(--glass-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--light-gray);
}
.home-venues__glass strong {
  font-size: 1.45rem;
  color: var(--neon-green);
}
.home-venues__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.venue-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.venue-card:hover {
  box-shadow: 0 10px 26px rgba(10, 17, 40, 0.09);
  transform: translateY(-2px);
}
.venue-card__date {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--volt-purple);
}
.venue-card__info h3 {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin: 0 0 0.25rem;
}
.venue-card__info p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--mid-gray);
}

/* ========== 收藏与订阅引导 ========== */
.home-save {
  background: var(--purple-gradient);
  color: var(--light-gray);
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.home-save__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.home-save__lead {
  margin: 1.2rem 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(244, 246, 250, 0.82);
  max-width: 580px;
}
.home-save__cta {
  margin-top: 1.8rem;
  animation: home-pulse 2.4s ease-in-out infinite;
}
.home-save__features {
  display: grid;
  gap: 1rem;
}
.feature-item {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  transition: background var(--transition), border-color var(--transition);
}
.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(57, 255, 20, 0.3);
}
.feature-item__index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-green);
}
.feature-item h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.45rem 0 0.3rem;
  color: var(--light-gray);
}
.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(244, 246, 250, 0.72);
}

/* ========== 全站概览 ========== */
.home-overview {
  background: var(--deep-blue);
  color: var(--light-gray);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.home-overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.overview-card {
  position: relative;
  display: block;
  padding: 1.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(123, 47, 190, 0.35);
  border-top: 3px solid var(--volt-purple);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition);
}
.overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.5);
}
.overview-card__num {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--neon-green);
}
.overview-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.8rem 0 0.4rem;
  color: var(--light-gray);
}
.overview-card__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(244, 246, 250, 0.6);
}
.overview-card__arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.4rem;
  font-size: 1.1rem;
  color: var(--warm-orange);
  transition: transform var(--transition);
}
.overview-card:hover .overview-card__arrow {
  transform: translateX(4px);
}

/* ========== 滚动显现增强（渐进增强） ========== */
@supports (animation-timeline: view()) {
  .home-reports__grid,
  .home-injuries__grid,
  .home-venues__grid,
  .home-save__panel,
  .home-overview__grid {
    animation: home-scroll-reveal linear both;
    animation-timeline: view(block);
    animation-range: entry 15% entry 45%;
  }
}

/* ========== 桌面端布局 ========== */
@media (min-width: 768px) {
  .home-hero__shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
  .home-hero__visual {
    min-height: 520px;
  }
  .home-reports__grid {
    grid-template-columns: 280px 1fr;
  }
  .home-injuries__grid {
    grid-template-columns: 1fr 420px;
  }
  .home-venues__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .home-save__panel {
    grid-template-columns: 1fr 1fr;
  }
  .home-overview__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ========== 动效适配 ========== */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
