/* ===== 幻影体育平台 · 首页专属样式 ===== */
.page-home {
  --home-navy-deep: #122A44;
  --home-gold-line: rgba(212, 160, 23, 0.5);
  --home-overlay: rgba(11, 25, 40, 0.55);
  --home-shadow: 0 12px 32px rgba(18, 42, 68, 0.14);
  background: var(--porcelain);
  color: var(--ink);
  overflow-x: hidden;
}

.page-home .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-home .section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 8px;
}

.page-home .section-index--light {
  color: var(--gold);
}

.page-home .section-index .index-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--home-gold-line);
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  color: var(--gold);
  background: rgba(212, 160, 23, 0.08);
}

/* ========== 01 首屏分屏 ========== */
.page-home .hero-split {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--navy);
}

.page-home .hero-split__copy {
  background: var(--porcelain);
  padding: 48px 22px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.page-home .hero-split__copy .breadcrumb {
  margin-bottom: 4px;
}

.page-home .hero-kicker {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--crimson);
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--crimson);
}

.page-home .hero-split__copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5.2vw, 46px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
}

.page-home .hero-lead {
  font-size: 16px;
  line-height: 1.9;
  color: #2c2c2c;
  margin: 0;
  max-width: 30em;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.page-home .hero-scroll {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-bottom: 1px solid var(--home-gold-line);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .hero-scroll:hover,
.page-home .hero-scroll:focus-visible {
  color: var(--crimson);
  border-color: var(--crimson);
}

.page-home .hero-note {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #6b6b6b;
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed rgba(26, 26, 26, 0.15);
}

.page-home .hero-split__visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  isolation: isolate;
}

.page-home .hero-split__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.08);
}

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

.page-home .hero-split__panel {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: rgba(18, 42, 68, 0.85);
  border: 1px solid var(--home-gold-line);
  padding: 14px 18px;
  box-shadow: var(--home-shadow);
  backdrop-filter: blur(4px);
}

.page-home .hero-split__panel .data-number {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.page-home .hero-split__panel-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(253, 251, 247, 0.8);
  letter-spacing: 0.04em;
}

/* ========== 02 快速检索面板 ========== */
.page-home .quick-panel {
  padding: 60px 0;
  background: var(--sand);
  position: relative;
}

.page-home .quick-panel::before,
.page-home .quick-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--home-gold-line);
}

.page-home .quick-panel::before {
  top: 24px;
}

.page-home .quick-panel::after {
  bottom: 24px;
}

.page-home .quick-panel__box {
  background: var(--porcelain);
  border: 1px solid rgba(212, 160, 23, 0.3);
  padding: 30px 20px 26px;
  box-shadow: 0 8px 24px rgba(18, 42, 68, 0.08);
  position: relative;
}

.page-home .quick-panel__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--ink);
}

.page-home .quick-panel__desc {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 22px;
}

.page-home .quick-panel__desc a {
  color: var(--crimson);
  font-weight: 500;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.page-home .search-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .search-field {
  position: relative;
}

.page-home .search-field input,
.page-home .search-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .search-field input:focus,
.page-home .search-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.16);
}

.page-home .search-field input::placeholder {
  color: #999;
}

.page-home .search-submit {
  min-height: 46px;
  width: 100%;
}

.page-home .search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--porcelain);
  border: 1px solid var(--home-gold-line);
  border-radius: 4px;
  box-shadow: var(--home-shadow);
  display: none;
}

.page-home .search-field:focus-within .search-suggest {
  display: block;
}

.page-home .search-suggest li {
  padding: 9px 16px;
  font-family: var(--font-accent);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}

.page-home .search-suggest li:hover {
  background: var(--stone);
  color: var(--crimson);
}

.page-home .hot-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.page-home .hot-list__label {
  font-family: var(--font-accent);
  font-size: 12px;
  color: #666;
  letter-spacing: 0.06em;
}

.page-home .hot-list .tag {
  text-decoration: none;
  padding: 6px 12px;
  font-size: 13px;
}

/* ========== 03 核心功能 Bento ========== */
.page-home .bento-section {
  padding: 72px 0;
  background: var(--porcelain);
}

.page-home .section-head {
  margin-bottom: 32px;
}

.page-home .section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

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

.page-home .bento-card {
  position: relative;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(18, 42, 68, 0.06);
  background: var(--stone);
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.page-home .bento-card--main {
  background: var(--porcelain);
  grid-column: 1 / -1;
  min-height: 440px;
}

.page-home .bento-card--data {
  background: linear-gradient(145deg, #1B3A5B 0%, #122A44 100%);
  color: var(--porcelain);
  justify-content: center;
  gap: 6px;
  padding: 22px;
}

.page-home .bento-card--partners {
  background: var(--stone);
  justify-content: center;
  gap: 6px;
  padding: 22px;
}

.page-home .bento-card--updates {
  background: var(--sand);
  justify-content: center;
  gap: 6px;
  padding: 22px;
}

.page-home .bento-card__label {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  color: currentColor;
  opacity: 0.72;
}

.page-home .bento-card__big {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  color: currentColor;
}

.page-home .bento-card__big .data-number {
  font-size: inherit;
}

.page-home .bento-card__small {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: currentColor;
  opacity: 0.75;
}

.page-home .bento-card--join {
  background: var(--navy);
  color: var(--porcelain);
  display: grid;
  grid-template-columns: 1fr;
  grid-column: 1 / -1;
  min-height: 300px;
  padding: 0;
}

.page-home .bento-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  opacity: 0.65;
  display: block;
}

.page-home .bento-card__content {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .bento-card__content h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  color: var(--gold);
}

.page-home .bento-card__content p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: rgba(253, 251, 247, 0.8);
}

.page-home .bento-card__link {
  align-self: flex-start;
  margin-top: 4px;
}

/* 标签页 */
.page-home .feature-tabs {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--porcelain);
}

.page-home .feature-tabs__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.page-home .feature-tabs__labels {
  display: flex;
  border-bottom: 2px solid var(--stone);
  flex-shrink: 0;
}

.page-home .feature-tabs__label {
  flex: 1 1 0;
  text-align: center;
  padding: 15px 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-home #ft-history:checked ~ .feature-tabs__labels label[for="ft-history"],
.page-home #ft-live:checked ~ .feature-tabs__labels label[for="ft-live"] {
  color: var(--crimson);
  font-weight: 700;
  border-bottom-color: var(--crimson);
  background: rgba(166, 25, 46, 0.04);
}

.page-home .feature-tabs__input:focus-visible ~ .feature-tabs__labels label[for="ft-history"],
.page-home .feature-tabs__input:focus-visible ~ .feature-tabs__labels label[for="ft-live"] {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-home .feature-tabs__panel {
  flex: 1 1 auto;
  padding: 26px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .feature-tabs__panel--live {
  display: none;
}

.page-home #ft-live:checked ~ .feature-tabs__panel--history {
  display: none;
}

.page-home #ft-live:checked ~ .feature-tabs__panel--live {
  display: flex;
}

.page-home .feature-tabs__panel h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.page-home .feature-tabs__panel > p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  color: #333;
}

.page-home .feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-home .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #222;
}

.page-home .feature-list li::before {
  content: "◆";
  flex-shrink: 0;
  font-size: 11px;
  color: var(--gold);
  transform: translateY(3px);
}

.page-home .feature-tabs__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(212, 160, 23, 0.3);
}

.page-home .feature-tabs__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ========== 04 最新战报 ========== */
.page-home .reports-section {
  position: relative;
  padding: 72px 0;
  background: var(--navy);
  color: var(--porcelain);
  overflow: hidden;
}

.page-home .reports-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .reports-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .reports-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 25, 40, 0.92) 0%, var(--home-overlay) 55%, rgba(27, 58, 91, 0.7) 100%);
}

.page-home .reports-section__inner {
  position: relative;
  z-index: 1;
}

.page-home .reports-section__head {
  margin-bottom: 30px;
}

.page-home .reports-section__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--porcelain);
}

.page-home .reports-section__head p:last-child {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.75);
  margin: 0;
}

.page-home .reports-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.page-home .report-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  background: rgba(253, 251, 247, 0.07);
  border: 1px solid rgba(253, 251, 247, 0.1);
  padding: 14px 16px;
  border-radius: 4px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.page-home .report-item:hover {
  background: rgba(253, 251, 247, 0.12);
  border-color: rgba(212, 160, 23, 0.5);
  transform: translateX(4px);
}

.page-home .report-item__num {
  font-family: var(--font-accent);
  font-size: 14px;
  color: var(--gold);
  opacity: 0.8;
}

.page-home .report-item__body {
  min-width: 0;
}

.page-home .report-item__name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(253, 251, 247, 0.72);
  margin: 0 0 4px;
  line-height: 1.5;
}

.page-home .report-item__score {
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--porcelain);
  margin: 0;
  line-height: 1.5;
}

.page-home .report-item__score strong {
  font-family: var(--font-accent);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 4px;
}

.page-home .report-item__note {
  font-family: var(--font-accent);
  font-size: 12px;
  color: rgba(253, 251, 247, 0.6);
}

.page-home .reports-more {
  display: inline-flex;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .page-home .bento-card {
      animation: page-home-bento-in linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 40%;
    }
  }

  @keyframes page-home-bento-in {
    from {
      opacity: 0.4;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ========== 05 信任数据 ========== */
.page-home .trust-section {
  padding: 72px 0;
  background: var(--porcelain);
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.page-home .trust-item {
  background: var(--stone);
  border-radius: 6px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  border: 1px solid rgba(26, 26, 26, 0.06);
}

.page-home .trust-item--highlight {
  background: var(--crimson);
  border-color: transparent;
  grid-column: 1 / -1;
}

.page-home .trust-item .data-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}

.page-home .trust-item--highlight .data-number {
  color: var(--porcelain);
}

.page-home .trust-item__label {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.75;
}

.page-home .trust-item--highlight .trust-item__label {
  color: rgba(253, 251, 247, 0.85);
}

.page-home .trust-note {
  background: var(--sand);
  border-left: 4px solid var(--gold);
  padding: 22px 22px 20px;
  border-radius: 0 6px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .trust-note p {
  font-size: 15px;
  line-height: 1.85;
  color: #222;
  margin: 0;
}

.page-home .trust-note__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== 平板断点（≥768px） ========== */
@media (min-width: 768px) {

  .page-home .hero-split__copy {
    padding: 72px 40px 60px;
  }

  .page-home .hero-split__visual {
    min-height: 540px;
  }

  .page-home .quick-panel__box {
    padding: 40px 36px 34px;
  }

  .page-home .search-row {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .search-submit {
    width: auto;
    justify-self: start;
    padding-left: 28px;
    padding-right: 28px;
  }

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

  .page-home .bento-card--main {
    grid-column: 1 / -1;
  }

  .page-home .bento-card--join {
    grid-template-columns: 180px 1fr;
    grid-column: 1 / -1;
  }

  .page-home .bento-card__img {
    height: 100%;
    max-height: 240px;
  }

  .page-home .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .report-item {
    grid-template-columns: 52px 1fr auto;
    padding: 16px 20px;
  }

  .page-home .report-item__score {
    font-size: 18px;
  }

  .page-home .trust-item--highlight {
    grid-column: auto;
  }

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

  .page-home .trust-note {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home .trust-note p {
    max-width: 56%;
  }
}

/* ========== 桌面断点（≥1024px） ========== */
@media (min-width: 1024px) {

  .page-home .hero-split {
    grid-template-columns: 1fr 1.08fr;
    min-height: calc(100vh - var(--header-h, 76px));
  }

  .page-home .hero-split__copy {
    padding: 90px 5.5vw 80px;
    gap: 20px;
  }

  .page-home .hero-split__copy h1 {
    font-size: clamp(34px, 4.2vw, 52px);
    max-width: 11em;
  }

  .page-home .hero-lead {
    font-size: 18px;
  }

  .page-home .hero-split__visual {
    min-height: auto;
  }

  .page-home .hero-split__panel {
    left: 8%;
    right: auto;
    min-width: 280px;
  }

  .page-home .hero-split__panel .data-number {
    font-size: 44px;
  }

  .page-home .quick-panel {
    padding: 88px 0;
  }

  .page-home .quick-panel__box {
    padding: 48px 52px 38px;
  }

  .page-home .search-row {
    grid-template-columns: minmax(0, 2.2fr) 1fr 1fr auto;
    align-items: stretch;
  }

  .page-home .search-field input,
  .page-home .search-field select {
    height: 100%;
  }

  .page-home .search-submit {
    height: auto;
    align-self: stretch;
  }

  .page-home .search-suggest {
    top: calc(100% + 4px);
  }

  .page-home .bento-section {
    padding: 96px 0;
  }

  .page-home .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 20px;
  }

  .page-home .bento-card--main {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 0;
  }

  .page-home .bento-card--join {
    grid-column: span 1;
    grid-row: span 1;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page-home .bento-card__img {
    height: 130px;
    max-height: none;
  }

  .page-home .bento-card__content {
    padding: 14px 16px 18px;
    gap: 6px;
  }

  .page-home .bento-card__content h3 {
    font-size: 17px;
  }

  .page-home .bento-card__content p {
    font-size: 13px;
    line-height: 1.6;
  }

  .page-home .bento-card__link {
    margin-top: 8px;
    font-size: 13px;
    padding: 8px 14px;
  }

  .page-home .feature-tabs__panel {
    padding: 30px 34px 34px;
  }

  .page-home .feature-tabs__labels {
    padding: 0 34px;
  }

  .page-home .feature-tabs__label {
    padding: 18px 16px;
    font-size: 16px;
  }

  .page-home .feature-tabs__img {
    height: 170px;
  }

  .page-home .feature-list {
    grid-template-columns: 1fr;
  }

  .page-home .reports-section {
    padding: 100px 0;
  }

  .page-home .reports-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .page-home .report-item {
    grid-template-columns: 56px 1fr auto;
    padding: 20px 24px;
  }

  .page-home .report-item__score strong {
    font-size: 24px;
  }

  .page-home .trust-section {
    padding: 96px 0;
  }

  .page-home .trust-grid {
    gap: 20px;
    margin-bottom: 48px;
  }

  .page-home .trust-item {
    padding: 34px 20px;
    gap: 10px;
  }

  .page-home .trust-item .data-number {
    font-size: 38px;
  }

  .page-home .trust-note {
    padding: 28px 32px;
  }
}

/* ========== 大屏微调（≥1440px） ========== */
@media (min-width: 1440px) {
  .page-home .hero-split__copy {
    padding-left: max(5.5vw, 64px);
  }

  .page-home .hero-split__copy h1 {
    max-width: 10em;
  }

  .page-home .hero-lead {
    max-width: 26em;
  }
}
