.page-home {
  --home-gap: clamp(56px, 9vw, 112px);
  --home-panel: rgba(23, 16, 46, 0.86);
  --home-panel-soft: rgba(11, 7, 24, 0.62);
  background: var(--ink);
  color: var(--white);
  overflow-x: clip;
}

.page-home .section {
  padding-block: var(--home-gap);
}

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

/* ---------- 首屏框景 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 4.5vw, 48px) 0 0;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  z-index: -2;
  opacity: 0.42;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(130% 95% at 10% 4%, rgba(123, 59, 255, 0.6), transparent 58%),
    radial-gradient(105% 85% at 92% 14%, rgba(36, 214, 255, 0.34), transparent 60%),
    linear-gradient(180deg, rgba(8, 5, 15, 0.55) 0%, rgba(8, 5, 15, 0.86) 58%, rgba(8, 5, 15, 0.98) 100%);
}

.page-home .home-hero__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(199, 214, 230, 0.06) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
}

.page-home .home-hero__frame {
  position: relative;
  padding: clamp(26px, 5vw, 62px) clamp(20px, 4vw, 58px) clamp(38px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, rgba(23, 16, 46, 0.8) 0%, rgba(11, 7, 24, 0.46) 62%, rgba(8, 5, 15, 0.26) 100%);
  box-shadow: var(--glow-purple), inset 0 0 0 1px rgba(36, 214, 255, 0.08);
}

.page-home .home-hero__frame::before,
.page-home .home-hero__frame::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border: 2px solid var(--blue);
  opacity: 0.75;
  pointer-events: none;
}

.page-home .home-hero__frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: var(--radius-lg);
}

.page-home .home-hero__frame::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: var(--radius-lg);
}

.page-home .home-hero__kicker {
  margin: clamp(14px, 2.5vw, 24px) 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-size: clamp(36px, 7.4vw, 84px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
  text-shadow:
    0 0 1px rgba(123, 59, 255, 0.95),
    0 0 22px rgba(123, 59, 255, 0.55),
    0 0 48px rgba(36, 214, 255, 0.28);
}

.page-home .home-hero__lede {
  max-width: 60ch;
  margin: clamp(18px, 3vw, 28px) 0 0;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.85;
  color: var(--silver);
}

.page-home .home-hero__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(22px, 3.5vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-hero__rail li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(36, 214, 255, 0.06);
  font-size: 14px;
  color: var(--silver);
}

.page-home .home-hero__rail .mono {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 38px);
}

.page-home .home-hero__ridge {
  display: block;
  width: 100%;
  height: clamp(48px, 7vw, 96px);
  margin-top: clamp(20px, 4vw, 44px);
  margin-bottom: -1px;
}

.page-home .home-hero__ridge path {
  fill: var(--ink);
}

/* ---------- 入口坐标索引 ---------- */
.page-home .home-index__layout {
  display: grid;
  gap: 26px;
  margin-top: clamp(28px, 5vw, 48px);
}

.page-home .home-index__cards {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.page-home .entry-card {
  position: relative;
  display: block;
  padding: 24px clamp(20px, 3vw, 26px) 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--home-panel), rgba(11, 7, 24, 0.72));
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .entry-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--purple), var(--blue));
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.page-home .entry-card:hover::before,
.page-home .entry-card:focus-visible::before {
  opacity: 1;
}

.page-home .entry-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.page-home .entry-card__coord {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(239, 192, 74, 0.4);
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .entry-card__title {
  margin: 14px 0 0;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 800;
  color: var(--white);
}

.page-home .entry-card__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--silver);
}

.page-home .entry-card__go {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--blue);
  border-bottom: 1px solid rgba(36, 214, 255, 0.35);
  padding-bottom: 2px;
}

.page-home .home-index__visual {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: radial-gradient(80% 80% at 50% 20%, rgba(123, 59, 255, 0.24), transparent 70%), var(--panel-2);
  padding: 14px;
}

.page-home .home-index__visual img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* ---------- 两条玩家路径 ---------- */
.page-home .home-paths__split {
  display: grid;
  gap: 20px;
  margin-top: clamp(28px, 5vw, 50px);
}

.page-home .home-path {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px clamp(20px, 3vw, 32px) 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--home-panel), rgba(8, 5, 15, 0.8));
  overflow: hidden;
}

.page-home .home-path::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--speed-line);
  opacity: 0.7;
}

.page-home .home-path--back {
  border-color: rgba(123, 59, 255, 0.36);
}

.page-home .home-path--new {
  border-color: rgba(36, 214, 255, 0.32);
}

.page-home .home-path__tag {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .home-path--back .home-path__tag {
  color: var(--purple);
}

.page-home .home-path--new .home-path__tag {
  color: var(--blue);
}

.page-home .home-path__title {
  margin: 12px 0 0;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
}

.page-home .home-path__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--silver);
}

.page-home .home-path__list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-path__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--silver);
}

.page-home .home-path__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue);
  box-shadow: var(--glow-blue);
}

.page-home .home-path--back .home-path__list li::before {
  background: var(--purple);
  box-shadow: var(--glow-purple);
}

.page-home .home-path .btn {
  margin-top: 22px;
}

.page-home .home-paths__shot {
  margin: clamp(30px, 5vw, 52px) 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .home-paths__shot img {
  display: block;
  width: 100%;
  height: clamp(200px, 34vw, 380px);
  object-fit: cover;
}

.page-home .home-paths__shot .media__cap {
  padding: 12px 18px 14px;
  margin: 0;
  background: rgba(8, 5, 15, 0.75);
}

/* ---------- 场馆与实力 ---------- */
.page-home .home-scale__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line-soft);
  overflow: hidden;
}

.page-home .stat {
  padding: 22px clamp(16px, 2vw, 24px) 24px;
  background: linear-gradient(170deg, rgba(23, 16, 46, 0.92), rgba(8, 5, 15, 0.94));
}

.page-home .stat__num {
  display: block;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 0 18px rgba(36, 214, 255, 0.25);
}

.page-home .stat__num em {
  font-style: normal;
  margin-left: 6px;
  font-size: 0.42em;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-home .stat__label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .home-scale__note {
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding-left: 18px;
  border-left: 2px solid rgba(53, 240, 180, 0.6);
  max-width: 74ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--silver);
}

.page-home .home-scale__cta {
  margin-top: clamp(22px, 3vw, 32px);
}

/* ---------- 赛季动态 ---------- */
.page-home .home-bulletin__list {
  display: grid;
  gap: 14px;
  margin: clamp(28px, 5vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .bulletin {
  padding: 24px clamp(20px, 2.6vw, 28px) 26px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: var(--home-panel-soft);
}

.page-home .bulletin--purple {
  border-left-color: var(--purple);
}

.page-home .bulletin--blue {
  border-left-color: var(--blue);
}

.page-home .bulletin--gold {
  border-left-color: var(--gold);
}

.page-home .bulletin__time {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .bulletin__title {
  margin: 12px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--white);
}

.page-home .bulletin__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--silver);
}

.page-home .home-bulletin__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 36px);
}

.page-home .home-bulletin__hint {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 页脚上方宽幅 ---------- */
.page-home .home-band {
  position: relative;
  isolation: isolate;
  margin-top: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.page-home .home-band__img {
  display: block;
  width: 100%;
  height: clamp(240px, 34vw, 400px);
  object-fit: cover;
  object-position: 50% 60%;
}

.page-home .home-band__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(20px, 4vw, 52px);
  background: linear-gradient(0deg, rgba(8, 5, 15, 0.95) 0%, rgba(8, 5, 15, 0.42) 58%, transparent 100%);
}

.page-home .home-band__k {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .home-band__line {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(18px, 2.4vw, 27px);
  font-weight: 800;
  line-height: 1.45;
  color: var(--white);
  text-shadow: 0 0 20px rgba(123, 59, 255, 0.5);
}

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

  .page-home .home-index__cards > :nth-child(even) {
    margin-top: 18px;
  }

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

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

  .page-home .home-path:nth-child(2) {
    margin-top: 36px;
  }

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

@media (min-width: 1024px) {
  .page-home .home-index__layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
    align-items: start;
    gap: 32px;
  }

  .page-home .home-index__visual {
    position: sticky;
    top: 96px;
  }
}

@media (max-width: 560px) {
  .page-home .home-hero__frame {
    padding: 24px 18px 32px;
  }

  .page-home .home-hero__frame::before,
  .page-home .home-hero__frame::after {
    width: 30px;
    height: 30px;
  }

  .page-home .home-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-home .home-scale__stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .home-path,
  .page-home .bulletin {
    transition: none;
  }
}
