/* =============================================
   页面：首页 home
   作  用：全部限定在 .page-home 内
   ============================================= */
.page-home {
  background-color: var(--bsp-bg-deep);
  background-image:
    radial-gradient(circle at 85% 12%, rgba(0, 191, 255, 0.12), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(57, 255, 20, 0.10), transparent 30%),
    linear-gradient(180deg, var(--bsp-bg-deep) 0%, #081C3F 100%);
  color: var(--bsp-text-main);
  overflow-x: hidden;
}

.page-home ::selection {
  background: var(--bsp-green);
  color: var(--bsp-bg-deep);
}

.page-home .home-location {
  max-width: var(--bsp-container);
  margin-inline: auto;
  padding: 18px 24px 0;
}

/* ---------- 共享节标题 ---------- */
.page-home .section-tag {
  display: block;
  margin-bottom: 10px;
  font-family: var(--bsp-font-head);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bsp-orange);
}

.page-home .home-login h2,
.page-home .home-match h2,
.page-home .home-community h2,
.page-home .home-review h2 {
  margin: 0 0 14px;
  font-family: var(--bsp-font-head);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--bsp-text-main);
  letter-spacing: 0.02em;
}

.page-home .home-login__desc,
.page-home .home-match__lead,
.page-home .home-community__lead,
.page-home .home-review__lead {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--bsp-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- 01 分屏首屏 ---------- */
.page-home .home-hero {
  max-width: var(--bsp-container);
  margin-inline: auto;
  padding: 32px 24px 56px;
}

.page-home .home-hero__inner {
  display: grid;
  gap: 36px;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  background: rgba(57, 255, 20, 0.06);
  color: var(--bsp-green);
  font-family: var(--bsp-font-head);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home .home-hero__title {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  font-family: var(--bsp-font-head);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bsp-text-main);
  font-size: clamp(24px, 5.8vw, 70px);
}

.page-home .home-hero__title-main {
  display: block;
}

.page-home .home-hero__title-en {
  display: block;
  margin-top: 8px;
  font-size: clamp(18px, 3vw, 32px);
  letter-spacing: 0.08em;
  color: var(--bsp-orange);
}

.page-home .home-hero__lead {
  max-width: 580px;
  margin-bottom: 24px;
  color: var(--bsp-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

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

.page-home .home-hero__actions .btn--primary {
  box-shadow: 0 0 32px rgba(57, 255, 20, 0.22);
}

.page-home .home-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  margin-top: 8px;
  border-left: 3px solid var(--bsp-green);
  background: rgba(14, 42, 94, 0.45);
}

.page-home .home-hero__quick-label {
  flex: 0 0 100%;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bsp-green);
}

.page-home .home-hero__quick-link {
  padding: 6px 12px;
  border: 1px solid var(--bsp-line);
  color: var(--bsp-text-main);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.page-home .home-hero__quick-link:hover {
  border-color: var(--bsp-green);
  background: var(--bsp-green);
  color: var(--bsp-bg-deep);
}

.page-home .home-hero__visual {
  position: relative;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  border: 1px solid var(--bsp-line);
  box-shadow: 0 0 40px rgba(0, 191, 255, 0.12);
}

.page-home .home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.18) 0%, rgba(10, 31, 68, 0.55) 100%);
}

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(57, 255, 20, 0.35);
}

.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-hero__field {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  pointer-events: none;
}

.page-home .home-hero__field-pitch rect,
.page-home .home-hero__field-pitch line,
.page-home .home-hero__field-pitch circle {
  fill: none;
  stroke: var(--bsp-green);
  stroke-width: 2;
}

.page-home .home-hero__field-pitch line,
.page-home .home-hero__field-pitch circle {
  stroke-dasharray: 12 12;
}

.page-home .home-hero__field-diag line {
  fill: none;
  stroke: var(--bsp-info);
  stroke-width: 1.5;
  stroke-dasharray: 4 14;
  opacity: 0.7;
}

.page-home .home-hero__field-box {
  fill: rgba(57, 255, 20, 0.04);
  stroke: var(--bsp-orange);
  stroke-width: 2;
}

/* ---------- 02 极速登录区 ---------- */
.page-home .home-login {
  padding: 56px 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.12));
}

.page-home .home-login__intro {
  max-width: 720px;
  margin-bottom: 28px;
}

.page-home .home-login__grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-home .home-login__card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--bsp-line);
  border-left: 3px solid var(--bsp-green);
  background: rgba(18, 42, 80, 0.55);
  transition: transform 0.3s var(--bsp-ease), border-color 0.3s var(--bsp-ease);
}

.page-home .home-login__card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.55);
  border-left-color: var(--bsp-green);
}

.page-home .home-login__card:nth-child(2) {
  border-left-color: var(--bsp-orange);
}

.page-home .home-login__card:nth-child(2):hover {
  border-left-color: var(--bsp-orange);
  border-color: rgba(255, 69, 0, 0.5);
}

.page-home .home-login__card:nth-child(3) {
  border-left-color: var(--bsp-info);
}

.page-home .home-login__card:nth-child(3):hover {
  border-left-color: var(--bsp-info);
  border-color: rgba(0, 191, 255, 0.5);
}

.page-home .home-login__step {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--bsp-font-head);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bsp-text-muted);
}

.page-home .home-login__card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--bsp-text-main);
}

.page-home .home-login__card p {
  margin: 0 0 18px;
  color: var(--bsp-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-login__figure {
  margin: 28px 0 0;
  border: 1px solid var(--bsp-line);
  background: var(--bsp-bg-card);
}

.page-home .home-login__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-login__caption {
  padding: 10px 14px;
  border-top: 1px solid var(--bsp-line);
  font-size: 12px;
  color: var(--bsp-text-muted);
}

/* ---------- 03 开赛确认待办 ---------- */
.page-home .home-match {
  padding: 56px 24px;
}

.page-home .home-match__head {
  max-width: 720px;
  margin-bottom: 28px;
}

.page-home .home-match__steps {
  display: grid;
  gap: 12px;
}

.page-home .home-match__step {
  border: 1px solid var(--bsp-line);
  background: rgba(18, 42, 80, 0.5);
  transition: border-color 0.3s var(--bsp-ease);
}

.page-home .home-match__step[open] {
  border-color: rgba(57, 255, 20, 0.55);
}

.page-home .home-match__step summary {
  position: relative;
  padding: 18px 44px 18px 20px;
  font-family: var(--bsp-font-head);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--bsp-text-main);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.page-home .home-match__step summary::-webkit-details-marker {
  display: none;
}

.page-home .home-match__step summary::before {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--bsp-green);
}

.page-home .home-match__step[open] summary::before {
  content: "–";
  color: var(--bsp-orange);
}

.page-home .home-match__step-body {
  padding: 0 20px 18px;
  color: var(--bsp-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- 04 球迷转会谈 ---------- */
.page-home .home-community {
  padding: 56px 24px;
}

.page-home .home-community__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .home-community__head .btn {
  flex-shrink: 0;
}

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

.page-home .home-community__post {
  position: relative;
  padding: 24px;
  border: 1px solid var(--bsp-line);
  background: rgba(18, 42, 80, 0.55);
  transition: border-color 0.3s var(--bsp-ease), background 0.3s var(--bsp-ease);
}

.page-home .home-community__post:hover {
  border-color: var(--bsp-green);
  background: rgba(18, 42, 80, 0.8);
}

.page-home .home-community__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .home-community__post h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--bsp-text-main);
}

.page-home .home-community__post p {
  margin: 0 0 14px;
  color: var(--bsp-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-community__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(30, 58, 95, 0.7);
  font-size: 12px;
  color: var(--bsp-text-muted);
}

.page-home .home-community__figure {
  margin: 28px 0 0;
  border: 1px solid var(--bsp-line);
  background: var(--bsp-bg-card);
}

.page-home .home-community__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-community__figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--bsp-line);
  font-size: 12px;
  color: var(--bsp-text-muted);
}

/* ---------- 05 赛后复盘榜单 ---------- */
.page-home .home-review {
  padding: 56px 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.18));
}

.page-home .home-review__lead {
  margin-bottom: 28px;
}

.page-home .home-review__layout {
  display: grid;
  gap: 28px;
}

.page-home .home-review__chart {
  margin: 0;
  border: 1px solid var(--bsp-line);
  background: var(--bsp-bg-card);
}

.page-home .home-review__chart img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-review__caption {
  padding: 10px 14px;
  border-top: 1px solid var(--bsp-line);
  font-size: 12px;
  color: var(--bsp-text-muted);
}

.page-home .home-review__list {
  display: grid;
  gap: 12px;
}

.page-home .home-review__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--bsp-line);
  background: rgba(18, 42, 80, 0.5);
  transition: border-color 0.3s var(--bsp-ease);
}

.page-home .home-review__item:hover {
  border-color: var(--bsp-orange);
}

.page-home .home-review__index {
  flex: 0 0 36px;
  font-family: var(--bsp-font-head);
  font-size: 20px;
  color: var(--bsp-orange);
}

.page-home .home-review__item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--bsp-text-main);
}

.page-home .home-review__item p {
  margin: 0;
  color: var(--bsp-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.page-home .home-review__link {
  flex-shrink: 0;
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  font-size: 13px;
  color: var(--bsp-green);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.page-home .home-review__link:hover {
  background: var(--bsp-green);
  color: var(--bsp-bg-deep);
}

.page-home .home-review__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--bsp-line);
}

.page-home .home-review__stat {
  padding: 18px;
  border: 1px solid rgba(57, 255, 20, 0.3);
  background: rgba(14, 42, 94, 0.45);
}

.page-home .home-review__stat-num {
  display: block;
  margin-bottom: 4px;
  font-family: var(--bsp-font-head);
  font-size: 30px;
  line-height: 1.2;
  color: var(--bsp-green);
}

.page-home .home-review__stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bsp-text-muted);
}

/* ---------- 06 平台资质 ---------- */
.page-home .home-trust {
  padding: 56px 24px 72px;
}

.page-home .home-trust__inner {
  max-width: var(--bsp-container);
  margin-inline: auto;
  padding: 28px;
  border: 1px solid var(--bsp-line);
  background:
    linear-gradient(135deg, rgba(0, 191, 255, 0.08), transparent 55%),
    rgba(14, 42, 94, 0.6);
}

.page-home .home-trust__title {
  margin: 0 0 18px;
  font-family: var(--bsp-font-head);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.2;
  color: var(--bsp-text-main);
}

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

.page-home .home-trust__list li {
  position: relative;
  padding-left: 22px;
  color: var(--bsp-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-trust__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--bsp-green);
}

/* ---------- 响应式：平板 / 桌面 ---------- */
@media (min-width: 768px) {

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

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

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

  .page-home .home-review__layout {
    grid-template-columns: 1fr 1.3fr;
    align-items: stretch;
  }
}

@media (min-width: 960px) {

  .page-home .home-hero {
    padding: 40px 24px 80px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
  }

  .page-home .home-hero__title-main {
    white-space: normal;
  }

  .page-home .home-hero__visual::after {
    right: -20px;
    top: -20px;
    width: 140px;
    height: 140px;
    border: none;
    border-top: 2px solid var(--bsp-orange);
    border-right: 2px solid var(--bsp-orange);
    inset: auto;
  }

  .page-home .home-match__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-home .home-trust__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 36px;
  }

  .page-home .home-trust__inner > * {
    margin-bottom: 0;
  }

  .page-home .home-trust__list {
    margin-bottom: 0;
    flex: 0 0 auto;
    max-width: 560px;
  }
}
