.page-home {
  --home-line: rgba(154, 169, 175, 0.28);
  --home-line-ink: rgba(17, 22, 26, 0.18);
  --home-shadow: 8px 8px 0 rgba(6, 18, 24, 0.55);
  --home-shadow-sm: 5px 5px 0 rgba(6, 18, 24, 0.38);
  background: var(--np-night);
  overflow-x: hidden;
}

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

.page-home figcaption {
  font-family: var(--np-font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--np-steel);
  padding: 10px 2px 0;
}

.page-home a {
  color: inherit;
}

/* ============ 首屏 ============ */

.page-home .home-hero {
  position: relative;
  padding-top: calc(var(--np-header-h) + 28px);
  padding-bottom: clamp(56px, 8vw, 104px);
  background:
    radial-gradient(120% 85% at 6% 0%, rgba(56, 242, 196, 0.15), transparent 62%),
    radial-gradient(95% 90% at 94% 2%, rgba(43, 42, 99, 0.55), transparent 66%),
    var(--np-night);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    114deg,
    rgba(154, 169, 175, 0.075) 0 1px,
    transparent 1px 46px
  );
  pointer-events: none;
}

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

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 44px);
  margin-top: clamp(28px, 5vw, 56px);
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--np-font-display);
  font-size: clamp(34px, 8.4vw, 66px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--np-white);
  transform: skewX(-4deg);
  transform-origin: left bottom;
  text-shadow: 4px 4px 0 rgba(56, 242, 196, 0.22);
}

.page-home .home-hero__lede {
  margin-top: 20px;
  max-width: 34em;
  color: rgba(243, 241, 233, 0.86);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-hero__meta {
  list-style: none;
  margin: 30px 0 0;
  padding: 16px 0 0;
  border-top: 2px solid var(--home-line);
  display: grid;
  gap: 10px 22px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  font-size: 13px;
  color: var(--np-steel);
}

.page-home .home-hero__meta .np-mono {
  display: block;
  font-size: 20px;
  color: var(--np-cyan);
  line-height: 1.3;
}

.page-home .home-hero__figure {
  margin: 0;
  align-self: start;
  border: 2px solid rgba(56, 242, 196, 0.4);
  background: var(--np-raise);
  box-shadow: var(--home-shadow);
}

.page-home .home-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 91%);
}

.page-home .home-hero__caption {
  color: var(--np-steel);
  padding: 12px 16px 14px;
}

/* ============ 比赛日时间轴 ============ */

.page-home .home-days__head {
  max-width: 46em;
}

.page-home .home-days__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(30px, 4vw, 52px);
}

.page-home .home-days__figure {
  margin: 0;
  border: 2px solid var(--home-line);
  background: var(--np-raise);
  box-shadow: var(--home-shadow-sm);
}

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

.page-home .home-days__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .home-preset {
  display: inline-block;
  padding: 8px 14px;
  border: 2px solid var(--home-line);
  font-family: var(--np-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--np-steel);
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.page-home .home-preset:hover,
.page-home .home-preset:focus-visible {
  border-color: var(--np-cyan);
  color: var(--np-cyan);
  background: rgba(56, 242, 196, 0.08);
}

.page-home .home-days__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-days__list .np-timeline__item {
  margin-bottom: 18px;
}

.page-home .home-day {
  border: 2px solid var(--home-line);
  background: var(--np-raise);
  box-shadow: var(--home-shadow-sm);
  padding: 16px 18px 18px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.page-home .np-timeline__item:target .home-day {
  border-color: var(--np-cyan);
  box-shadow: 0 0 0 2px rgba(56, 242, 196, 0.32), var(--home-shadow-sm);
}

.page-home .home-day__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(56, 242, 196, 0.22);
}

.page-home .home-day__date {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-cyan);
}

.page-home .home-day__state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--np-steel);
}

.page-home .home-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--np-cyan);
  box-shadow: 0 0 0 3px rgba(56, 242, 196, 0.18);
  animation: home-pulse 2.6s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(0.76); }
}

.page-home .home-day__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-day__rows li {
  display: grid;
  grid-template-columns: 4.6em auto 2.8em minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(154, 169, 175, 0.24);
  font-size: 14px;
  color: var(--np-white);
}

.page-home .home-day__rows li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .home-day__num {
  color: var(--np-cyan);
  text-align: right;
}

.page-home .home-day__st {
  color: var(--np-steel);
  text-align: right;
  font-size: 13px;
}

.page-home .home-day__st--live {
  color: var(--np-orange);
}

.page-home .home-days__more {
  margin-top: 20px;
  font-family: var(--np-font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-home .home-days__more a {
  color: var(--np-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 242, 196, 0.5);
  padding-bottom: 2px;
}

/* ============ 费用 ============ */

.page-home .home-fees {
  color: var(--np-ink);
}

.page-home .home-fees__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 56px);
}

.page-home .home-fees__aside .np-body {
  margin-top: 18px;
  max-width: 32em;
  color: rgba(17, 22, 26, 0.78);
}

.page-home .home-fees__figure {
  margin: 26px 0 0;
  border: 2px solid var(--np-ink);
  box-shadow: var(--home-shadow-sm);
  background: var(--np-white);
}

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

.page-home .home-fees__figure figcaption {
  color: rgba(17, 22, 26, 0.6);
  padding: 10px 12px 12px;
}

.page-home .home-fees__main .np-accordion__item {
  border: 2px solid var(--np-ink);
  background: var(--np-white);
  box-shadow: var(--home-shadow-sm);
  margin-bottom: 14px;
}

.page-home .home-fees__main .np-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 0;
  background: none;
  font-family: var(--np-font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--np-ink);
  text-align: left;
  cursor: pointer;
}

.page-home .home-fees__main .np-accordion__trigger:focus-visible {
  outline: 2px solid var(--np-cyan);
  outline-offset: -4px;
}

.page-home .home-fees__main .np-accordion__icon {
  font-family: var(--np-font-mono);
  font-size: 18px;
  color: var(--np-orange);
  line-height: 1;
  transition: transform 220ms ease;
}

.page-home .home-fees__main .np-accordion__trigger[aria-expanded="true"] .np-accordion__icon {
  transform: rotate(180deg);
}

.page-home .home-fees__main .np-accordion__panel {
  padding: 0 18px 18px;
  border-top: 1px dashed var(--home-line-ink);
}

.page-home .home-fees__main .np-accordion__panel p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(17, 22, 26, 0.82);
}

.page-home .home-fees__link a {
  font-family: var(--np-font-mono);
  font-size: 13px;
  color: #0A2E27;
  text-decoration: none;
  border-bottom: 2px solid var(--np-cyan);
  padding-bottom: 1px;
}

.page-home .home-fees__note {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(17, 22, 26, 0.7);
  border-left: 3px solid var(--np-orange);
  padding-left: 14px;
}

.page-home .home-fees__note a {
  color: var(--np-ink);
  border-bottom: 1px solid var(--np-orange);
  text-decoration: none;
}

/* ============ 三个入口 ============ */

.page-home .home-gates {
  position: relative;
  color: var(--np-white);
}

.page-home .home-gates__head {
  max-width: 44em;
}

.page-home .home-gates__list {
  list-style: none;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .home-gate {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px 22px;
  border: 2px solid rgba(56, 242, 196, 0.3);
  background: rgba(10, 31, 51, 0.58);
  box-shadow: var(--home-shadow-sm);
}

.page-home .home-gate__num {
  font-size: 30px;
  line-height: 1;
  color: var(--np-cyan);
}

.page-home .home-gate .np-h3 {
  color: var(--np-white);
}

.page-home .home-gate p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(243, 241, 233, 0.8);
}

.page-home .home-gate__link {
  margin-top: auto;
  font-family: var(--np-font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--np-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 139, 61, 0.6);
  padding-bottom: 3px;
  align-self: flex-start;
}

/* ============ 对照阅读场景 ============ */

.page-home .home-watch {
  background: linear-gradient(158deg, #6B1F3A 0%, #4A1529 72%, #3A1122 100%);
  color: var(--np-white);
}

.page-home .home-watch__head {
  max-width: 44em;
}

.page-home .home-watch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: clamp(28px, 4vw, 48px);
}

.page-home .home-watch__item {
  border-top: 3px solid rgba(243, 241, 233, 0.5);
  padding-top: 16px;
}

.page-home .home-watch__num {
  display: block;
  font-size: 22px;
  color: var(--np-orange);
  margin-bottom: 10px;
}

.page-home .home-watch__item .np-h3 {
  color: var(--np-white);
}

.page-home .home-watch__item p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(243, 241, 233, 0.82);
}

.page-home .home-watch__more {
  margin: clamp(26px, 4vw, 40px) 0 0;
  font-family: var(--np-font-mono);
  font-size: 13px;
}

.page-home .home-watch__more a {
  color: var(--np-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 242, 196, 0.5);
  padding-bottom: 2px;
}

/* ============ 编辑流程 ============ */

.page-home .home-newsroom {
  color: var(--np-ink);
}

.page-home .home-newsroom__head {
  max-width: 46em;
}

.page-home .home-newsroom__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: clamp(28px, 4vw, 44px);
}

.page-home .home-newsroom__team {
  border: 2px solid var(--np-ink);
  background: var(--np-white);
  box-shadow: var(--home-shadow-sm);
  padding: 20px 18px;
}

.page-home .home-newsroom__team p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(17, 22, 26, 0.8);
}

.page-home .home-newsroom__steps {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 18px 0 0;
  border-top: 2px solid var(--np-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 14px;
  color: rgba(17, 22, 26, 0.82);
}

.page-home .home-newsroom__steps li {
  position: relative;
  padding-left: 16px;
}

.page-home .home-newsroom__steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  background: var(--np-orange);
}

.page-home .home-newsroom__steps .np-mono {
  color: var(--np-ink);
  font-weight: 700;
  margin-right: 4px;
}

.page-home .home-newsroom__links {
  margin: 26px 0 0;
  font-family: var(--np-font-mono);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.page-home .home-newsroom__links a {
  color: var(--np-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--np-cyan);
  padding-bottom: 2px;
}

.page-home .home-newsroom__dot {
  color: rgba(17, 22, 26, 0.4);
}

/* ============ 收尾 ============ */

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

.page-home .home-start__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(24px, 4vw, 48px);
  border: 2px solid rgba(56, 242, 196, 0.32);
  background: rgba(14, 43, 37, 0.62);
  box-shadow: var(--home-shadow);
}

.page-home .home-start__copy .np-lede {
  margin-top: 16px;
  max-width: 32em;
  color: rgba(243, 241, 233, 0.84);
}

.page-home .home-start__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-start__figure {
  margin: 0;
  border: 2px solid rgba(56, 242, 196, 0.28);
  background: var(--np-raise);
}

.page-home .home-start__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

/* ============ 响应式 ============ */

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

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

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

@media (min-width: 900px) {
  .page-home .home-hero {
    padding-top: calc(var(--np-header-h) + 48px);
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 4vw, 60px);
    align-items: start;
  }

  .page-home .home-hero__figure {
    margin-top: 8px;
  }

  .page-home .home-days__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
  }

  .page-home .home-fees__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .home-start__panel {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .page-home .home-gates__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

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

  .page-home .home-gate:nth-child(3) {
    margin-top: 16px;
  }

  .page-home .home-watch__grid {
    gap: 34px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-dot {
    animation: none;
  }

  .page-home .home-preset,
  .page-home .home-day,
  .page-home .home-fees__main .np-accordion__icon {
    transition: none;
  }
}
