.page-home {
  --home-gap: 24px;
}

/* 面包屑 */
.page-home .breadcrumbs {
  padding-top: 20px;
}

/* ===== 首屏 hero ===== */
.page-home .home-hero {
  background: var(--c-navy);
  position: relative;
  overflow: hidden;
}

.page-home .home-hero__mapref {
  display: block;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--c-gold);
  letter-spacing: 0.08em;
}

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

.page-home .home-hero__lead {
  position: relative;
  padding: 32px 24px;
  background: linear-gradient(145deg, var(--c-navy-2), var(--c-navy));
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius);
}

.page-home .home-hero__lead::after {
  content: "NW-01";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 4px;
}

.page-home .home-hero__lead::before {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--c-gold);
  border-bottom: 2px solid var(--c-gold);
  opacity: 0;
  transition: opacity 0.2s;
}

.page-home .home-hero__lead:hover::before,
.page-home .home-hero__lead:focus-within::before {
  opacity: 1;
}

.page-home .home-hero__lead h1 {
  margin: 16px 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 2.8rem);
  line-height: 1.2;
  color: var(--c-ink);
}

.page-home .home-hero__coord {
  display: inline-block;
  color: var(--c-gold);
  letter-spacing: 0.1em;
}

.page-home .home-hero__desc {
  margin: 0 0 28px;
  color: rgba(245, 240, 230, 0.82);
  line-height: 1.7;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-hero__actions .btn--ghost {
  color: var(--c-gold-soft);
  border-color: rgba(212, 175, 55, 0.5);
}

.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.page-home .home-hero__stats .stat-block {
  flex: 1 1 100%;
  padding: 16px;
  background: rgba(10, 31, 68, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
}

.page-home .home-hero__stats .stat-block__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--c-gold);
}

.page-home .home-hero__stats .stat-block__label {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: rgba(245, 240, 230, 0.72);
}

/* hero 卡片 */
.page-home .home-hero__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius);
  background: var(--c-navy-2);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.page-home .home-hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 31, 68, 0.15), rgba(10, 31, 68, 0.88));
}

.page-home .home-hero__card::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--c-gold);
  border-bottom: 2px solid var(--c-gold);
  opacity: 0;
  transition: opacity 0.2s;
}

.page-home .home-hero__card:hover,
.page-home .home-hero__card:focus-visible {
  border-color: var(--c-gold);
  box-shadow: 0 12px 32px rgba(10, 31, 68, 0.45);
  transform: translateY(-2px);
}

.page-home .home-hero__card:hover::after,
.page-home .home-hero__card:focus-visible::after {
  opacity: 1;
}

.page-home .home-hero__card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.page-home .home-hero__card:hover img {
  transform: scale(1.03);
}

.page-home .home-hero__card-tag {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin: 16px 0 0 16px;
  padding: 4px 10px;
  background: rgba(10, 31, 68, 0.8);
  border-radius: 4px;
  color: var(--c-gold);
}

.page-home .home-hero__card-name {
  position: relative;
  z-index: 2;
  margin: 8px 16px 18px;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-ink);
}

/* ===== 01 双板块 ===== */
.page-home .home-dual {
  background: var(--c-navy);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.page-home .home-dual__grid {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}

.page-home .home-dual__text {
  max-width: 720px;
}

.page-home .home-dual__text p {
  margin: 0 0 16px;
  color: rgba(245, 240, 230, 0.85);
}

.page-home .topic-strip {
  display: grid;
  gap: 16px;
}

.page-home .topic-strip__item {
  padding: 24px;
  background: var(--c-navy-2);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.page-home .topic-strip__item:hover {
  border-color: var(--c-gold);
}

.page-home .topic-strip__item h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-ink);
}

.page-home .topic-strip__item p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(245, 240, 230, 0.8);
}

/* ===== 02 注册 ===== */
.page-home .home-register {
  background: var(--c-navy-2);
}

.page-home .home-register__layout {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}

.page-home .home-register__media {
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius);
}

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

.page-home .home-register__lead {
  margin: 0 0 24px;
  color: rgba(245, 240, 230, 0.85);
}

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

.page-home .home-register__step {
  position: relative;
  padding: 18px 20px;
  background: rgba(10, 31, 68, 0.4);
  border-left: 3px solid var(--c-gold);
  border-radius: 0 14px 14px 0;
  transition: background 0.2s;
}

.page-home .home-register__step:hover {
  background: rgba(10, 31, 68, 0.6);
}

.page-home .home-register__step .label-mono {
  color: var(--c-gold-soft);
  font-size: 0.8rem;
}

.page-home .home-register__step h3 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--c-ink);
}

.page-home .home-register__step p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(245, 240, 230, 0.78);
}

/* ===== 03 客服 ===== */
.page-home .home-support__grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.page-home .home-support__card {
  padding: 28px 24px;
  background: var(--c-navy);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius);
  color: var(--c-ink);
  box-shadow: 0 16px 36px rgba(10, 31, 68, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-home .home-support__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(10, 31, 68, 0.25);
}

.page-home .home-support__card h3 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--c-ink);
}

.page-home .home-support__card p {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: rgba(245, 240, 230, 0.82);
}

.page-home .home-support__phone {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--c-gold);
}

.page-home .home-support__card .btn {
  margin-top: 4px;
}

/* ===== 04 登录 ===== */
.page-home .home-login {
  background: var(--c-navy);
}

.page-home .home-login__grid {
  display: grid;
  gap: 32px;
  margin-top: 32px;
  align-items: center;
}

.page-home .home-login__text p {
  color: rgba(245, 240, 230, 0.85);
}

.page-home .home-login__media {
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
}

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

/* ===== 05 出发 ===== */
.page-home .home-launch {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
}

.page-home .home-launch__intro {
  margin: 24px 0 0;
  color: rgba(245, 240, 230, 0.8);
}

.page-home .home-launch__grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.page-home .home-launch__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  background: rgba(245, 240, 230, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--c-ink);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.page-home .home-launch__link:hover,
.page-home .home-launch__link:focus-visible {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.page-home .home-launch__link .label-mono {
  color: var(--c-gold);
  font-size: 0.8rem;
}

.page-home .home-launch__link strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.page-home .home-launch__arrow {
  margin-left: auto;
  font-size: 1.6rem;
  color: var(--c-orange);
  transition: transform 0.2s;
}

.page-home .home-launch__link:hover .home-launch__arrow {
  transform: translateX(4px);
}

/* ===== 桌面端增强 ===== */
@media (min-width: 720px) {
  .page-home .home-hero__stats .stat-block {
    flex-basis: calc(33.333% - 14px);
  }
}

@media (min-width: 860px) {
  .page-home .home-hero__grid {
    grid-template-columns: 5fr 7fr;
    grid-template-rows: repeat(2, minmax(220px, 1fr));
    gap: 24px;
  }

  .page-home .home-hero__lead {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .page-home .home-hero__card--game {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .home-hero__card--esport {
    grid-column: 2;
    grid-row: 2;
  }

  .page-home .home-dual__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .page-home .home-register__layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .page-home .home-login__grid {
    grid-template-columns: 1fr 0.9fr;
  }
}

@media (min-width: 1024px) {
  .page-home .home-support__grid {
    grid-template-columns: 1fr 1fr;
  }

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