.page-home {
  background: var(--c-night);
  color: var(--c-paper);
  overflow-x: hidden;
}

.page-home .section {
  padding: clamp(56px, 9vw, 104px) 0;
}

.page-home .section-title {
  max-width: 20ch;
}

/* ---------- 首屏：海报式三层叠压 ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 11vw, 128px) 0 clamp(54px, 8vw, 96px);
  background: linear-gradient(155deg, var(--c-night) 0%, var(--c-board) 56%, var(--c-night) 100%);
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  filter: saturate(0.85) contrast(1.06);
}

.page-home .hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.96) 0%, rgba(11, 18, 32, 0.76) 48%, rgba(11, 18, 32, 0.44) 100%),
    radial-gradient(78% 58% at 84% 6%, rgba(232, 178, 74, 0.2), transparent 62%);
}

.page-home .hero-cut {
  position: absolute;
  top: -28%;
  right: -14%;
  width: min(700px, 74%);
  height: 122%;
  z-index: 1;
  background: linear-gradient(148deg, var(--c-red), var(--c-crimson));
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.78;
}

.page-home .hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .hero-shell {
  position: relative;
  z-index: 2;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(20px, 3vw, 30px);
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-slate);
}

.page-home .hero-kicker-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--c-line-gold);
  border-radius: var(--pill);
  color: var(--c-gold);
  letter-spacing: 0.06em;
}

.page-home .hero h1 {
  max-width: 900px;
  margin: 0 0 clamp(18px, 2.6vw, 26px);
  text-wrap: balance;
}

.page-home .hero h1 em {
  font-family: var(--font-data);
  font-style: normal;
  font-weight: 500;
  color: var(--c-gold);
  letter-spacing: -0.02em;
}

.page-home .hero-lede {
  max-width: 62ch;
  margin: 0;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.4vw, 34px);
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(38px, 5vw, 58px) 0 0;
  padding: 0;
  list-style: none;
  background: var(--c-line-soft);
  border: 1px solid var(--c-line-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-home .hero-stat {
  padding: 20px 18px 22px;
  background: rgba(11, 18, 32, 0.74);
}

.page-home .hero-stat-num {
  display: block;
  font-family: var(--font-data);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--c-gold);
}

.page-home .hero-stat-unit {
  display: inline-block;
  margin-left: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--c-slate);
}

.page-home .hero-stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--c-slate);
}

/* ---------- 三条内容线 ---------- */

.page-home .lines {
  background:
    radial-gradient(70% 50% at 8% 0%, rgba(200, 16, 46, 0.14), transparent 60%),
    var(--c-night);
}

.page-home .lines-head {
  max-width: 66ch;
  margin-bottom: clamp(30px, 4.4vw, 48px);
}

.page-home .lines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 3.2vw, 32px);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.page-home .line-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), transparent 72%);
  opacity: 0.7;
}

.page-home .line-card:hover,
.page-home .line-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--c-line-gold);
  box-shadow: var(--shadow-card);
}

.page-home .line-card-body h3 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.14rem, 1.6vw, 1.38rem);
  line-height: 1.42;
  color: var(--c-paper);
}

.page-home .line-card-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--c-slate);
}

.page-home .line-card-cta {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--c-cyan);
}

.page-home .line-card-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-line-soft);
}

.page-home .line-card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

/* ---------- 射手快照 ---------- */

.page-home .board {
  background: linear-gradient(180deg, var(--c-board) 0%, var(--c-night) 100%);
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
}

.page-home .board-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(24px, 3.4vw, 36px);
}

.page-home .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--c-line-gold);
  border-radius: var(--radius-md);
  background: rgba(11, 18, 32, 0.6);
}

.page-home .board-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-family: var(--font-body);
}

.page-home .board-table th,
.page-home .board-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--c-line-soft);
  white-space: nowrap;
}

.page-home .board-table thead th {
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--c-slate);
  background: rgba(18, 22, 28, 0.9);
}

.page-home .board-table tbody tr:last-child th,
.page-home .board-table tbody tr:last-child td {
  border-bottom: none;
}

.page-home .board-table td {
  font-size: 0.94rem;
  color: var(--c-paper);
}

.page-home .board-table td.num {
  font-family: var(--font-data);
  font-weight: 500;
}

.page-home .board-table .team-home {
  color: var(--c-cyan);
}

.page-home .board-table .team-away {
  color: var(--c-orange);
}

.page-home .board-note {
  margin: clamp(18px, 2.4vw, 24px) 0 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--c-slate);
  max-width: 68ch;
}

/* ---------- 数据从哪来 ---------- */

.page-home .method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .method-intro .lede {
  margin-top: 16px;
  max-width: 46ch;
}

.page-home .method-list {
  display: grid;
  gap: 14px;
}

.page-home .method-item {
  position: relative;
  padding: 24px 24px 24px 30px;
  background: linear-gradient(120deg, rgba(200, 16, 46, 0.1), rgba(11, 18, 32, 0.2));
  border-left: 3px solid var(--c-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.page-home .method-item-index {
  display: block;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--c-gold);
}

.page-home .method-item h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--c-paper);
}

.page-home .method-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--c-slate);
}

/* ---------- 登记入口 ---------- */

.page-home .register {
  position: relative;
  overflow: hidden;
  background: linear-gradient(142deg, var(--c-crimson) 0%, var(--c-red) 58%, var(--c-night) 100%);
}

.page-home .register-media {
  position: absolute;
  inset: 0;
}

.page-home .register-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.page-home .register::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.5), rgba(11, 18, 32, 0.84));
}

.page-home .register-inner {
  position: relative;
  z-index: 1;
}

.page-home .register .eyebrow {
  color: var(--c-gold);
}

.page-home .register .section-title {
  color: var(--c-paper);
}

.page-home .register-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: clamp(26px, 3.6vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .register-step {
  padding: 24px 22px;
  background: rgba(11, 18, 32, 0.68);
  border: 1px solid var(--c-line-gold);
  border-radius: var(--radius-md);
  backdrop-filter: blur(3px);
}

.page-home .register-step-index {
  display: block;
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-gold);
  line-height: 1;
}

.page-home .register-step h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--c-paper);
}

.page-home .register-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.76;
  color: rgba(245, 239, 230, 0.78);
}

.page-home .register-note {
  margin: clamp(20px, 2.8vw, 28px) 0 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(245, 239, 230, 0.82);
  max-width: 62ch;
}

/* ---------- 谁在用 ---------- */

.page-home .audience-head {
  max-width: 60ch;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-home .audience-grid {
  gap: 18px;
}

.page-home .audience-card {
  padding: clamp(22px, 3vw, 30px);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-home .audience-card:nth-child(even) {
  border-color: var(--c-line-gold);
}

.page-home .audience-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-red);
}

.page-home .audience-role {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: rgba(232, 178, 74, 0.12);
  border: 1px solid var(--c-line-gold);
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--c-gold);
}

.page-home .audience-card h3 {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.06rem, 1.4vw, 1.24rem);
  line-height: 1.48;
  color: var(--c-paper);
}

.page-home .audience-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--c-slate);
}

/* ---------- 动态与咨询 ---------- */

.page-home .news-head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 3.6vw, 42px);
}

.page-home .news-head .lede {
  margin-top: 14px;
}

.page-home .news-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .news-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px;
  background: rgba(18, 22, 28, 0.86);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-line-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.page-home .news-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.46;
  color: var(--c-paper);
}

.page-home .news-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.76;
  color: var(--c-slate);
}

.page-home .news-item .tag {
  align-self: flex-start;
}

.page-home .news-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: clamp(30px, 4vw, 44px);
  padding: clamp(24px, 3.4vw, 34px);
}

.page-home .news-cta-text p {
  margin: 12px 0 0;
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--c-slate);
}

.page-home .news-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .news-more {
  margin-top: 18px;
}

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

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

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

  .page-home .news-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .page-home .news-item .tag {
    flex: 0 0 auto;
    margin-top: 2px;
  }
}

@media (min-width: 960px) {
  .page-home .board-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-home .method-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

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

  .page-home .line-card--goals {
    grid-column: 1 / 6;
    align-self: start;
  }

  .page-home .line-card--refs {
    grid-column: 6 / 13;
  }

  .page-home .line-card--youth {
    grid-column: 3 / 13;
    margin-top: -26px;
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }

  .page-home .line-card--youth .line-card-media {
    flex: 0 0 42%;
    max-width: 42%;
  }

  .page-home .line-card--youth .line-card-body {
    flex: 1 1 auto;
  }

  .page-home .news-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .page-home .news-cta-text {
    max-width: 58ch;
  }

  .page-home .news-cta-actions {
    flex: 0 0 auto;
  }
}

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

  .page-home .audience-grid {
    gap: 22px;
  }
}

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

  .page-home .line-card:hover,
  .page-home .audience-card:hover {
    transform: none;
  }
}
