.page-home {
  --home-rail: 200px;
  --home-soft: #4B5675;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 40px 0 10px;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 84% at 82% -12%, rgba(43, 240, 214, .16), transparent 60%),
    radial-gradient(90% 72% at 4% 4%, rgba(255, 106, 43, .1), transparent 64%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--grass-a), var(--grass-b) 55%, var(--cyan));
}

.page-home .home-hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

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

.page-home .home-rail__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 2px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.page-home .home-rail__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22, 32, 74, .72);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.page-home .home-rail__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible {
  border-color: var(--line-strong);
  background: rgba(43, 240, 214, .08);
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(32px, 8.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--text);
}

.page-home .home-hero__lead {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .home-hero__cta {
  margin: 24px 0 0;
}

/* ---------- 拼贴 ---------- */
.page-home .home-collage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.page-home .tile {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
}

.page-home .tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--cyan);
  z-index: 2;
}

.page-home .tile:hover,
.page-home .tile:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 44px -30px rgba(0, 0, 0, .9);
}

.page-home .tile__callout {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), opacity .3s var(--ease), margin-top .35s var(--ease);
}

.page-home .tile:hover .tile__callout,
.page-home .tile:focus-within .tile__callout {
  max-height: 90px;
  opacity: 1;
  margin-top: 10px;
}

.page-home .tile__tag {
  display: inline-block;
  margin-bottom: 12px;
}

.page-home .tile__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(58px, 14vw, 104px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--cyan);
}

.page-home .tile__unit {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--data);
}

.page-home .tile__note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .tile__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
}

.page-home .tile__text {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .tile__tags {
  margin: 12px 0 0;
}

.page-home .tile--shot,
.page-home .tile--seat {
  padding: 0;
  min-height: 220px;
}

.page-home .tile--shot img,
.page-home .tile--seat img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.page-home .tile--seat img {
  aspect-ratio: 4 / 3;
}

.page-home .tile__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 13px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(to top, rgba(11, 18, 48, .94), rgba(11, 18, 48, 0));
}

.page-home .tile--update {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-image: linear-gradient(135deg, rgba(15, 122, 75, .42), rgba(22, 32, 74, .2) 62%);
}

.page-home .tile--update__body {
  min-width: 0;
}

.page-home .tile__go {
  align-self: flex-start;
  font-size: 14px;
}

.page-home .pulse {
  position: relative;
  flex: none;
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
}

.page-home .pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 106, 43, .62);
  animation: homePulse 3s var(--ease) infinite;
}

@keyframes homePulse {
  0% { transform: scale(.65); opacity: .9; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- 通用分区 ---------- */
.page-home .home-sec {
  position: relative;
  padding: 62px 0;
  border-top: 1px solid var(--line);
  background: var(--ink);
  scroll-margin-top: 84px;
}

.page-home .home-sec__title {
  margin: 14px 0 0;
  max-width: 22ch;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(25px, 5vw, 43px);
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-home .home-sec__lead {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .home-sec__more {
  margin: 26px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 场馆 ---------- */
.page-home .venues-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.page-home .venues-body__media {
  margin: 24px 0 0;
}

.page-home .venue-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .venue-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .venue-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-home .venue-points strong {
  margin-right: 6px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- 更新 ---------- */
.page-home .home-sec--updates {
  background-color: var(--ink);
  background-image: linear-gradient(180deg, rgba(15, 122, 75, .17), rgba(11, 18, 48, 0) 58%);
}

.page-home .update-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-top: 28px;
}

.page-home .update-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 43, .38);
  background: rgba(255, 106, 43, .09);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--data);
}

.page-home .update-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .update-lines li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .update-lines__n {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-home .update-lines h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}

.page-home .update-lines p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 资料下载 ---------- */
.page-home .home-sec--downloads {
  border-top: 0;
  background: var(--cream);
  color: var(--ink);
}

.page-home .home-sec--downloads::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 196, 106, .24), rgba(53, 196, 106, 0) 68%);
  pointer-events: none;
}

.page-home .home-sec--downloads .section-label {
  color: var(--grass-a);
}

.page-home .home-sec--downloads .home-sec__title {
  color: var(--ink);
}

.page-home .home-sec--downloads .home-sec__lead,
.page-home .home-sec--downloads .home-sec__more {
  color: var(--home-soft);
}

.page-home .home-sec--downloads .link {
  color: var(--grass-a);
}

.page-home .dl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.page-home .dl-card {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--r);
  border: 1px solid rgba(11, 18, 48, .09);
  background: #FFFFFF;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .dl-card:hover,
.page-home .dl-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -24px rgba(11, 18, 48, .55);
}

.page-home .dl-card__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--grass-a);
}

.page-home .dl-card h3 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .dl-card p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--home-soft);
}

.page-home .dl-figure {
  position: relative;
  margin: 30px 0 0;
  border-radius: var(--r);
  overflow: hidden;
}

.page-home .dl-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .dl-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 20px 15px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--cream);
  background: linear-gradient(to top, rgba(11, 18, 48, .9), rgba(11, 18, 48, 0));
}

/* ---------- 上手五步 ---------- */
.page-home .path-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .path-list__item {
  position: relative;
  padding: 22px 20px 24px 0;
  border-top: 1px solid var(--line);
}

.page-home .path-list__item::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-home .path-list__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cyan);
}

.page-home .path-list__item h3 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}

.page-home .path-list__item p {
  margin: 8px 0 0;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 长期维护 ---------- */
.page-home .why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.page-home .why-card {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 24px 26px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background-image: linear-gradient(150deg, rgba(22, 32, 74, .96), rgba(11, 18, 48, .72));
}

.page-home .why-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--grass-a), var(--grass-b));
}

.page-home .why-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.page-home .why-card p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.82;
  color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .dl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-home .home-hero {
    padding-top: 52px;
  }

  .page-home .home-collage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .tile--stat { grid-column: 1 / 7; grid-row: 1; }
  .page-home .tile--shot { grid-column: 7 / 13; grid-row: 1 / 3; }
  .page-home .tile--seat { grid-column: 1 / 4; grid-row: 2; }
  .page-home .tile--venue { grid-column: 4 / 7; grid-row: 2; }
  .page-home .tile--update { grid-column: 1 / 13; grid-row: 3; }

  .page-home .tile--shot img,
  .page-home .tile--seat img {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    height: 100%;
  }

  .page-home .tile--seat {
    min-height: 200px;
  }

  .page-home .path-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .path-list__item {
    padding: 22px 16px 24px 0;
    border-top: 1px solid var(--line);
  }

  .page-home .path-list__item + .path-list__item {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .page-home .path-list__item p {
    max-width: none;
  }
}

@media (min-width: 880px) {
  .page-home .update-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 46px;
    align-items: start;
  }

  .page-home .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__shell {
    grid-template-columns: var(--home-rail) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
  }

  .page-home .home-rail {
    position: sticky;
    top: 92px;
    padding-left: 16px;
    border-left: 2px solid var(--line-strong);
  }

  .page-home .home-rail__list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
  }

  .page-home .home-rail__link {
    position: relative;
    padding: 9px 0 9px 10px;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: 14px;
    color: var(--muted);
  }

  .page-home .home-rail__link::before {
    content: "";
    position: absolute;
    left: -17px;
    top: 50%;
    width: 9px;
    height: 1px;
    background: var(--line-strong);
    transform: translateY(-50%);
    transition: width .3s var(--ease), background .3s var(--ease);
  }

  .page-home .home-rail__link:hover,
  .page-home .home-rail__link:focus-visible {
    background: none;
    color: var(--text);
  }

  .page-home .home-rail__link:hover::before,
  .page-home .home-rail__link:focus-visible::before {
    width: 17px;
    background: var(--orange);
  }

  .page-home .venues-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 44px;
    align-items: start;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .tile,
  .page-home .dl-card,
  .page-home .home-rail__link,
  .page-home .home-rail__link::before {
    transition: none;
  }

  .page-home .pulse::after {
    animation: none;
  }

  .page-home .tile:hover,
  .page-home .tile:focus-within,
  .page-home .dl-card:hover {
    transform: none;
  }
}
