/* ===== 首页 page-home ===== */
.page-home {
  --home-gap: clamp(18px, 2.4vw, 28px);
  --home-pad: clamp(56px, 7vw, 92px);
  overflow-x: clip;
}

/* --- 通用分区节奏 --- */
.page-home .bw-section {
  padding-top: var(--home-pad);
  padding-bottom: var(--home-pad);
}

.page-home .bw-media {
  margin: 0;
  overflow: hidden;
  display: block;
}

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

/* ================= 首屏 ================= */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--bw-cream);
  padding: calc(var(--bw-bar-h) + 44px) 0 calc(var(--home-pad) + 46px);
  background:
    radial-gradient(118% 88% at 82% 6%, rgba(18, 60, 110, 0.95) 0%, rgba(7, 20, 38, 0) 62%),
    linear-gradient(158deg, #071426 0%, #0B1F3A 54%, #071426 100%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 84px;
  background: var(--bw-navy);
  clip-path: polygon(0 100%, 100% 22%, 100% 100%);
  pointer-events: none;
}

.page-home .hero__media {
  position: absolute;
  inset: 0 0 0 44%;
  opacity: 0.32;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero__slash {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 46%;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 107, 26, 0) 0%, rgba(255, 107, 26, 0.7) 34%, rgba(255, 107, 26, 0.12) 72%, rgba(255, 107, 26, 0) 100%);
  transform: rotate(9deg);
  pointer-events: none;
}

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

.page-home .hero .bw-breadcrumb {
  color: rgba(201, 210, 220, 0.72);
  margin-bottom: 18px;
  font-size: 13px;
}

.page-home .hero .bw-eyebrow {
  color: var(--bw-orange);
}

.page-home .hero__lede {
  max-width: 54ch;
  color: rgba(245, 239, 227, 0.86);
  margin-top: 18px;
}

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

.page-home .hero__index {
  list-style: none;
  margin: 38px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(201, 210, 220, 0.22);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.page-home .hero__index a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--bw-cream);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .hero__index a:hover,
.page-home .hero__index a:focus-visible {
  color: var(--bw-orange);
  border-bottom-color: var(--bw-orange);
}

.page-home .hero__index .bw-num {
  color: var(--bw-orange);
  font-size: 12px;
  font-weight: 700;
}

.page-home .hero__stats {
  position: relative;
  z-index: 2;
  margin-top: clamp(38px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(201, 210, 220, 0.24);
  border: 1px solid rgba(201, 210, 220, 0.24);
}

.page-home .hero__stat {
  background: rgba(7, 20, 38, 0.82);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .hero__sv {
  color: var(--bw-orange);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 700;
  line-height: 1;
}

.page-home .hero__sk {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245, 239, 227, 0.78);
}

/* ================= 赛况速览台 ================= */
.page-home .board__head {
  max-width: 760px;
}

.page-home .board__note {
  margin-top: 16px;
  color: rgba(245, 239, 227, 0.76);
}

.page-home .board__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 30px;
}

.page-home .board__tabs .bw-tag {
  text-decoration: none;
  cursor: pointer;
}

.page-home .board__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: rgba(201, 210, 220, 0.2);
  border: 1px solid rgba(201, 210, 220, 0.2);
}

.page-home .board__group {
  position: relative;
  background: rgba(7, 20, 38, 0.74);
  padding: 20px 18px 22px;
  min-width: 0;
}

.page-home .board__group::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 15px 15px 0;
  border-color: transparent var(--bw-orange) transparent transparent;
}

.page-home .board__ghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201, 210, 220, 0.18);
}

.page-home .board__count {
  color: rgba(201, 210, 220, 0.6);
  font-size: 13px;
}

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

.page-home .board__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 210, 220, 0.14);
  min-width: 0;
}

.page-home .board__row:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.page-home .board__comp {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(201, 210, 220, 0.62);
}

.page-home .board__score {
  color: var(--bw-orange);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  text-align: right;
  white-space: nowrap;
}

.page-home .board__teams {
  font-size: 15px;
  font-weight: 700;
  color: var(--bw-cream);
  min-width: 0;
}

.page-home .board__time {
  font-size: 13px;
  color: var(--bw-green);
  text-align: right;
  white-space: nowrap;
  font-family: var(--bw-font-mono);
}

.page-home .board__media {
  margin-top: var(--home-gap);
  aspect-ratio: 3 / 2;
  border: 2px solid rgba(201, 210, 220, 0.22);
}

/* ================= 工具入口 ================= */
.page-home .tools__head {
  max-width: 780px;
}

.page-home .tools__note {
  margin-top: 16px;
  color: rgba(42, 31, 26, 0.78);
}

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

.page-home .tools__card {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.page-home .tools__card--lead {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.page-home .tools__fig {
  aspect-ratio: 16 / 9;
  border-bottom: 2px solid var(--bw-ink);
}

.page-home .tools__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.page-home .tools__title {
  font-family: var(--bw-font-display);
  font-size: 1.125rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--bw-ink);
  margin: 0;
}

.page-home .tools__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(42, 31, 26, 0.8);
}

.page-home .tools__link {
  margin-top: auto;
  color: var(--bw-blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid var(--bw-orange);
  padding-bottom: 2px;
  align-self: flex-start;
}

.page-home .tools__link:hover,
.page-home .tools__link:focus-visible {
  color: var(--bw-orange);
}

/* ================= V4 集锦 ================= */
.page-home .v4 {
  position: relative;
  overflow: hidden;
}

.page-home .v4::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 46%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.22) 0%, rgba(255, 107, 26, 0) 68%);
  pointer-events: none;
}

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

.page-home .v4__copy p {
  margin: 16px 0 0;
  color: rgba(245, 239, 227, 0.82);
  max-width: 52ch;
}

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

.page-home .v4__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 239, 227, 0.76);
}

.page-home .v4__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--bw-orange);
}

.page-home .v4__list strong {
  display: block;
  color: var(--bw-cream);
  font-weight: 700;
}

.page-home .v4__media {
  position: relative;
  aspect-ratio: 10 / 7;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  border-top: 2px solid rgba(201, 210, 220, 0.24);
}

.page-home .v4__cap {
  position: absolute;
  left: 0;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(7, 20, 38, 0.86);
  border-left: 3px solid var(--bw-red);
  color: rgba(245, 239, 227, 0.86);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ================= 历史区间查询 ================= */
.page-home .history__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.page-home .history__copy p {
  margin: 16px 0 26px;
  color: rgba(42, 31, 26, 0.8);
  max-width: 52ch;
}

.page-home .history__ways {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  background: var(--bw-silver);
  border: 2px solid var(--bw-ink);
}

.page-home .history__ways li {
  background: var(--bw-cream);
  padding: 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  align-items: baseline;
}

.page-home .history__ways .bw-num {
  grid-row: span 2;
  color: var(--bw-orange);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.page-home .history__ways h3 {
  margin: 0;
  font-family: var(--bw-font-display);
  font-size: 1.0625rem;
  font-weight: 900;
  font-style: italic;
  color: var(--bw-ink);
}

.page-home .history__ways p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(42, 31, 26, 0.76);
}

/* ================= 会员服务与信任 ================= */
.page-home .trust__head {
  max-width: 800px;
}

.page-home .trust__head p {
  margin-top: 16px;
  color: rgba(245, 239, 227, 0.78);
}

.page-home .trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(30px, 4vw, 46px);
}

.page-home .trust__card {
  position: relative;
  background: rgba(7, 20, 38, 0.62);
  border: 2px solid rgba(201, 210, 220, 0.22);
  border-top: 3px solid var(--bw-orange);
  padding: 22px 20px;
  min-width: 0;
}

.page-home .trust__card h3 {
  margin: 0 0 10px;
  font-family: var(--bw-font-display);
  font-size: 1.125rem;
  font-weight: 900;
  font-style: italic;
  color: var(--bw-cream);
}

.page-home .trust__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(245, 239, 227, 0.74);
}

.page-home .trust__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(201, 210, 220, 0.22);
  border: 1px solid rgba(201, 210, 220, 0.22);
  margin-top: var(--home-gap);
}

.page-home .trust__fact {
  background: rgba(7, 20, 38, 0.7);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .trust__fv {
  color: var(--bw-green);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.page-home .trust__fk {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245, 239, 227, 0.72);
}

.page-home .trust__contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 42px);
  padding-top: 24px;
  border-top: 1px solid rgba(201, 210, 220, 0.22);
}

.page-home .trust__ci {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-home .trust__ck {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bw-orange);
}

.page-home .trust__cv {
  font-family: var(--bw-font-mono);
  font-size: 14px;
  color: var(--bw-cream);
  word-break: break-word;
}

.page-home .trust__foot {
  margin: clamp(26px, 3.6vw, 38px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 239, 227, 0.7);
  max-width: 82ch;
}

.page-home .trust__foot a {
  color: var(--bw-cream);
  text-decoration: none;
  border-bottom: 1px solid var(--bw-orange);
  padding-bottom: 1px;
}

.page-home .trust__foot a:hover,
.page-home .trust__foot a:focus-visible {
  color: var(--bw-orange);
}

/* ================= 响应式 ================= */
@media (min-width: 640px) {
  .page-home .hero__index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

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

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

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

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

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

  .page-home .tools__card--lead {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
  }

  .page-home .tools__card--lead .tools__fig {
    height: 100%;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 2px solid var(--bw-ink);
  }
}

@media (min-width: 960px) {
  .page-home .history__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-home .v4__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

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

@media (hover: hover) and (pointer: fine) {
  .page-home .tools__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bw-shadow);
  }

  .page-home .tools__card--lead:hover {
    transform: translateY(-6px);
  }
}

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

  .page-home .tools__card:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  .page-home .hero__media {
    inset: 0;
    opacity: 0.18;
    clip-path: none;
  }

  .page-home .hero__slash {
    display: none;
  }
}
