.page-home {
  --hm-gap: clamp(16px, 2.4vw, 28px);
  --hm-cut: 16px;
  color: var(--white);
  background: var(--void);
}

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

.page-home .hm-head {
  max-width: 64ch;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-home .sec-index {
  color: var(--violet);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home .sec-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 3.6vw, 40px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 10px 0 14px;
  color: var(--white);
}

.page-home .sec-note {
  margin: 0;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.85;
}

/* ---------- 首屏 ---------- */

.page-home .hm-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(24px, 4vw, 56px) clamp(44px, 7vw, 100px);
  background:
    radial-gradient(760px 460px at 82% 4%, rgba(108, 77, 255, 0.22), transparent 64%),
    radial-gradient(620px 400px at 4% 96%, rgba(77, 225, 255, 0.10), transparent 62%),
    linear-gradient(180deg, var(--void) 0%, var(--chart) 100%);
}

.page-home .hm-hero::after {
  content: "";
  position: absolute;
  left: 48%;
  right: -14%;
  bottom: -42%;
  height: 360px;
  background: radial-gradient(closest-side, rgba(255, 107, 44, 0.16), transparent 72%);
  transform: rotate(-8deg);
  pointer-events: none;
}

.page-home .hm-coord {
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .hm-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 4.4vw, 56px);
  margin-top: clamp(18px, 3vw, 34px);
}

.page-home .hm-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 8vw, 86px);
  line-height: 1.03;
  letter-spacing: 0.005em;
  margin: 12px 0 22px;
  color: var(--white);
}

.page-home .hm-hero__mark {
  position: relative;
  display: inline-block;
  color: var(--orange);
}

.page-home .hm-hero__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.08em;
  background: linear-gradient(90deg, var(--orange) 0%, rgba(255, 107, 44, 0) 94%);
}

.page-home .hm-hero__lede {
  max-width: 36em;
  margin: 0 0 clamp(20px, 3vw, 32px);
  color: var(--steel);
  font-size: 17px;
  line-height: 1.85;
}

.page-home .hm-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(22px, 3.2vw, 34px);
}

.page-home .hm-quick {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.page-home .hm-quick__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--wire);
  border-left: 3px solid var(--wire);
  background: rgba(17, 28, 51, 0.55);
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.page-home .hm-quick__link .mono {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.page-home .hm-quick__link:hover,
.page-home .hm-quick__link:focus-visible {
  border-left-color: var(--orange);
  background: rgba(255, 107, 44, 0.10);
  transform: translateY(-2px);
}

.page-home .hm-hero__side {
  display: grid;
  gap: var(--hm-gap);
  align-content: start;
}

.page-home .hm-hero__media {
  margin: 0;
}

.page-home .hm-signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .hm-signal {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(17, 28, 51, 0.94), rgba(17, 28, 51, 0.26));
  border-left: 3px solid var(--violet);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.page-home .hm-signal:hover {
  border-left-color: var(--orange);
  transform: translateX(4px);
}

.page-home .hm-signal__v {
  flex: none;
  min-width: 5.4ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 2.8vw, 29px);
  line-height: 1;
  color: var(--white);
}

.page-home .hm-signal__k {
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
}

/* ---------- 球队库 ---------- */

.page-home .hm-club {
  background: linear-gradient(180deg, var(--chart) 0%, var(--void) 100%);
}

.page-home .hm-club__grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 46px);
}

.page-home .hm-club__media {
  margin: 0;
}

.page-home .hm-club__side {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
  align-content: start;
}

.page-home .hm-dims {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .hm-dim {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--wire);
  transition: border-color 0.18s ease;
}

.page-home .hm-dim:hover {
  border-bottom-color: var(--orange);
}

.page-home .hm-dim__no {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--violet);
}

.page-home .hm-dim__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--white);
}

.page-home .hm-dim__desc {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.78;
  color: var(--steel);
}

.page-home .hm-note {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--wire);
  border-top: 3px solid var(--cyan);
  background: linear-gradient(160deg, rgba(11, 20, 40, 0.92), rgba(5, 9, 20, 0.9));
  color: var(--steel);
  font-size: 15px;
  line-height: 1.88;
}

.page-home .hm-note p {
  margin: 0;
}

/* ---------- 奖项 ---------- */

.page-home .hm-awards {
  background: linear-gradient(180deg, var(--chart) 0%, var(--hull) 52%, var(--chart) 100%);
}

.page-home .hm-awards__grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 44px);
}

.page-home .hm-awards__list-wrap {
  min-width: 0;
}

.page-home .hm-award-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.page-home .hm-award {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 12px;
  background: rgba(5, 9, 20, 0.6);
  border: 1px solid var(--wire);
  border-left: 3px solid var(--violet);
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
  transition: border-left-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.page-home .hm-award:hover {
  border-left-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.page-home .hm-award__no {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.page-home .hm-awards__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.page-home .hm-awards__hint {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--steel);
}

.page-home .hm-awards__media {
  margin: 0;
}

/* ---------- 工具区 ---------- */

.page-home .hm-tools {
  background: linear-gradient(180deg, var(--chart) 0%, var(--void) 100%);
}

.page-home .hm-tools__grid {
  display: grid;
  gap: var(--hm-gap);
}

.page-home .hm-tool {
  position: relative;
  padding: clamp(20px, 2.8vw, 34px);
  background: linear-gradient(155deg, rgba(17, 28, 51, 0.96), rgba(5, 9, 20, 0.94));
  border: 1px solid var(--wire);
  border-left: 3px solid var(--violet);
  transition: border-left-color 0.18s ease, transform 0.18s ease;
}

.page-home .hm-tool:hover {
  border-left-color: var(--orange);
  transform: translateY(-3px);
}

.page-home .hm-tool__t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.28;
  margin: 12px 0 12px;
  color: var(--white);
}

.page-home .hm-tool__p {
  margin: 0;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.85;
}

.page-home .hm-tool__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-home .hm-tool__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .hm-tool__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

.page-home .hm-tools__media {
  margin: 0;
}

.page-home .hm-fold {
  margin-top: clamp(22px, 3vw, 34px);
}

/* ---------- 收藏与复盘 ---------- */

.page-home .hm-saved {
  background: var(--void);
}

.page-home .hm-saved__grid {
  display: grid;
  gap: var(--hm-gap);
}

.page-home .hm-card {
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(160deg, rgba(11, 20, 40, 0.96), rgba(5, 9, 20, 0.92));
  border: 1px solid var(--wire);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.page-home .hm-card--orange {
  border-top: 3px solid var(--orange);
}

.page-home .hm-card--violet {
  border-top: 3px solid var(--violet);
}

.page-home .hm-card:hover {
  transform: translateY(-3px);
}

.page-home .hm-card__t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.3;
  margin: 12px 0 12px;
  color: var(--white);
}

.page-home .hm-card__p {
  margin: 0;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.88;
}

/* ---------- 专题与更新 ---------- */

.page-home .hm-topics {
  background: linear-gradient(180deg, var(--void) 0%, var(--chart) 100%);
}

.page-home .hm-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .hm-log__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--wire);
}

.page-home .hm-log__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
  white-space: nowrap;
}

.page-home .hm-log__t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
}

.page-home .hm-log__p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .hm-topics__more {
  margin: clamp(24px, 3.2vw, 36px) 0 0;
}

/* ---------- 结尾引导 ---------- */

.page-home .hm-cta__inner {
  display: grid;
  gap: 22px;
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid var(--wire);
  border-left: 4px solid var(--orange);
  background:
    radial-gradient(620px 320px at 88% 0%, rgba(108, 77, 255, 0.26), transparent 72%),
    linear-gradient(140deg, rgba(17, 28, 51, 0.96), rgba(5, 9, 20, 0.96));
}

.page-home .hm-cta__t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.24;
  margin: 0 0 14px;
  color: var(--white);
}

.page-home .hm-cta__p {
  margin: 0;
  max-width: 56ch;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.88;
}

.page-home .hm-cta__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-home .hm-quick {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 760px) {
  .page-home .hm-dim {
    grid-template-columns: auto minmax(96px, auto) minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
  }

  .page-home .hm-dim__desc {
    grid-column: auto;
  }

  .page-home .hm-log__item {
    grid-template-columns: 108px minmax(0, 0.9fr) minmax(0, 1.3fr);
    align-items: baseline;
  }

  .page-home .hm-log__p {
    grid-column: auto;
  }
}

@media (min-width: 900px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .page-home .hm-club__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: start;
  }

  .page-home .hm-awards__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .page-home .hm-tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .hm-tool--wide {
    grid-column: 1 / -1;
  }

  .page-home .hm-saved__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .hm-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    transform: none !important;
  }
}
