.page-home {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.page-home .section-head .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-tertiary);
}

.page-home .section-head .section-kicker::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-accent);
}

.page-home .section-head h2 {
  font-family: var(--font-headline);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 12px 0 12px;
}

.page-home .section-head .section-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 680px;
}

.page-home .btn-ghost {
  border-color: rgba(176, 196, 222, 0.4);
  color: var(--color-white);
}

.page-home .btn-ghost:hover,
.page-home .btn-ghost:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ===== 首屏英雄区 ===== */
.page-home .home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  overflow: hidden;
  background: var(--color-primary-deep);
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(10, 25, 47, 0.97) 0%, rgba(10, 25, 47, 0.82) 38%, rgba(10, 25, 47, 0.55) 65%, rgba(0, 180, 216, 0.2) 100%),
    repeating-linear-gradient(115deg, transparent 0px, transparent 80px, rgba(0, 229, 255, 0.05) 80px, rgba(0, 229, 255, 0.05) 82px);
}

.page-home .hero-trajectory {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  z-index: 2;
  width: 100%;
  height: 240px;
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  z-index: 3;
  text-align: left;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-tertiary);
  margin-bottom: 20px;
}

.page-home .hero-kicker::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--color-accent);
}

.page-home .home-hero h1 {
  font-family: var(--font-headline);
  font-size: 60px;
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: var(--color-white);
  margin: 0 0 18px;
  text-shadow: 0 6px 40px rgba(0, 229, 255, 0.18);
}

.page-home .hero-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 460px;
  margin-bottom: 32px;
}

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

.page-home .hero-note {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.page-home .hero-inline-link {
  color: var(--color-tertiary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.page-home .hero-inline-link:hover,
.page-home .hero-inline-link:focus-visible {
  color: var(--color-accent);
}

.page-home .hero-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 48px;
  background: var(--color-primary);
  clip-path: polygon(0 100%, 0 55%, 100% 0, 100% 100%);
}

/* ===== 快捷指标 ===== */
.page-home .home-metrics {
  background: var(--color-primary);
  padding: 32px 0 40px;
  position: relative;
  z-index: 5;
}

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

.page-home .metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 3px solid var(--color-accent);
  padding-left: 16px;
}

.page-home .metric-num {
  font-family: var(--font-headline);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
}

.page-home .metric-label {
  font-size: 12px;
  color: var(--color-text-secondary);
  letter-spacing: 1px;
}

/* ===== 联赛层级导航 ===== */
.page-home .home-leagues {
  background: var(--color-primary);
  padding: 72px 0 80px;
  position: relative;
}

.page-home .league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.page-home .league-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: rgba(10, 25, 47, 0.6);
  border: 1px solid rgba(176, 196, 222, 0.25);
  text-decoration: none;
  transition: all var(--transition-fast);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  cursor: pointer;
}

.page-home .league-tab:hover,
.page-home .league-tab:focus-visible {
  color: var(--color-white);
  border-color: var(--color-accent);
}

.page-home .league-tab.is-current {
  color: var(--color-white);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.page-home .league-layout {
  display: grid;
  gap: 40px;
}

.page-home .league-group {
  margin-bottom: 40px;
  scroll-margin-top: 100px;
}

.page-home .league-group-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 180, 216, 0.4);
  display: inline-block;
}

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

.page-home .league-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: var(--color-primary-deep);
  border: 1px solid rgba(176, 196, 222, 0.16);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.page-home .league-card::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 107, 0, 0.55) 50%);
}

.page-home .league-card:hover,
.page-home .league-card:focus-visible {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.page-home .league-card-name {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.page-home .league-card-meta {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.page-home .league-card-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition-fast);
}

.page-home .league-card:hover .league-card-cta,
.page-home .league-card:focus-visible .league-card-cta {
  opacity: 1;
  transform: translateX(0);
}

.page-home .league-preview {
  position: relative;
}

.page-home .league-preview img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.page-home .preview-note {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(10, 25, 47, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 20px;
  backdrop-filter: blur(6px);
}

.page-home .preview-num {
  font-family: var(--font-headline);
  font-size: 34px;
  color: var(--color-accent);
  line-height: 1;
}

.page-home .preview-note p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 8px 0 16px;
}

/* ===== BSPORTS老用户更新提醒 ===== */
.page-home .home-update {
  background: linear-gradient(180deg, var(--color-primary-deep) 0%, var(--color-primary) 100%);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-home .home-update::after {
  content: '';
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.1), transparent 65%);
  pointer-events: none;
}

.page-home .update-layout {
  display: grid;
  gap: 40px;
}

.page-home .update-copy {
  position: relative;
  z-index: 1;
}

.page-home .update-head {
  margin-bottom: 0;
}

.page-home .update-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  max-width: 640px;
}

.page-home .update-panel {
  border: 1px solid rgba(176, 196, 222, 0.2);
  background: rgba(10, 25, 47, 0.6);
  margin-bottom: 20px;
}

.page-home .update-panel summary {
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.page-home .update-panel summary::after {
  content: '+';
  font-size: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.page-home .update-panel[open] summary::after {
  transform: rotate(45deg);
}

.page-home .update-panel-body {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
}

.page-home .update-panel-body > p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 16px 0;
}

.page-home .compare-row {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .compare-block {
  background: var(--color-primary-deep);
  padding: 14px 16px;
  border-left: 3px solid var(--color-text-secondary);
}

.page-home .compare-block.compare-new {
  border-left-color: var(--color-success);
}

.page-home .compare-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.page-home .compare-block.compare-new .compare-tag {
  color: var(--color-success);
}

.page-home .compare-block p {
  font-size: 14px;
  color: var(--color-white);
  line-height: 1.5;
  margin: 0;
}

.page-home .compare-arrow {
  display: none;
}

.page-home .update-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.page-home .update-points li {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.page-home .update-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .update-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .update-link-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-tertiary);
  text-decoration: none;
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 8px 16px;
  transition: all var(--transition-fast);
}

.page-home .update-link-item:hover,
.page-home .update-link-item:focus-visible {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--color-tertiary);
}

.page-home .update-visual {
  align-self: center;
}

.page-home .terminal-card {
  background: var(--color-primary-deep);
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow: var(--shadow-strong);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-home .terminal-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(176, 196, 222, 0.08);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

.page-home .terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-secondary);
  opacity: 0.5;
}

.page-home .terminal-bar span:first-child {
  background: var(--color-accent);
  opacity: 1;
}

.page-home .terminal-card .terminal-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  padding: 20px 20px 8px;
  margin: 0;
}

.page-home .terminal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-top: 1px solid rgba(176, 196, 222, 0.08);
  font-size: 13px;
}

.page-home .terminal-label {
  color: var(--color-text-secondary);
}

.page-home .terminal-line {
  color: var(--color-white);
  font-weight: 600;
}

.page-home .terminal-line.accent-line {
  color: var(--color-accent);
  font-family: var(--font-headline);
  font-size: 18px;
}

/* ===== 实时数据面板 ===== */
.page-home .home-data {
  background: var(--color-primary);
  padding: 72px 0 80px;
}

.page-home .data-console {
  background: linear-gradient(160deg, #0A192F 0%, #0F2745 100%);
  border: 1px solid rgba(0, 180, 216, 0.3);
  box-shadow: var(--shadow-strong);
  margin-bottom: 40px;
}

.page-home .console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 180, 216, 0.22);
  background: rgba(0, 180, 216, 0.06);
}

.page-home .console-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 1px;
}

.page-home .console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(0, 200, 83, 0.8);
  animation: homePing 1.8s ease infinite;
}

@keyframes homePing {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.page-home .console-status {
  font-size: 12px;
  color: var(--color-success);
  letter-spacing: 1px;
}

.page-home .console-body {
  padding: 20px;
}

.page-home .console-body .data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px dashed rgba(176, 196, 222, 0.15);
}

.page-home .console-body .data-row:last-child {
  border-bottom: 0;
}

.page-home .console-body .data-row-label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.page-home .console-body .data-row-value {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-tertiary);
}

.page-home .data-features {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.page-home .feature-card {
  background: var(--color-primary-deep);
  border: 1px solid rgba(176, 196, 222, 0.16);
  padding: 24px;
  transition: all var(--transition-normal);
}

.page-home .feature-card:hover,
.page-home .feature-card:focus-within {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.page-home .feature-num {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.page-home .feature-card h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  margin: 12px 0 8px;
}

.page-home .feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

.page-home .data-visual {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 24px));
}

/* ===== 信任与荣誉 ===== */
.page-home .home-trust {
  background: var(--color-primary-deep);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-home .home-trust::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.14) 0%, transparent 60%);
  pointer-events: none;
}

.page-home .trust-grid {
  display: grid;
  gap: 40px;
}

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

.page-home .trust-stats .stat {
  background: rgba(10, 25, 47, 0.7);
  border: 1px solid rgba(176, 196, 222, 0.14);
  padding: 20px 16px;
  text-align: left;
}

.page-home .trust-stats .stat-number {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
}

.page-home .trust-stats .stat-label {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

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

.page-home .award-card {
  background: var(--color-primary);
  border: 1px solid rgba(176, 196, 222, 0.14);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.page-home .award-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-secondary));
}

.page-home .award-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-tertiary);
  margin-bottom: 10px;
}

.page-home .award-card h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 8px;
}

.page-home .award-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

.page-home .trust-visual {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 768px) {
  .page-home .section-head h2 {
    font-size: 56px;
  }

  .page-home .home-hero h1 {
    font-size: 96px;
  }

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

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

  .page-home .metric-num {
    font-size: 42px;
  }

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

  .page-home .league-layout {
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
  }

  .page-home .league-preview {
    position: sticky;
    top: 100px;
  }

  .page-home .update-layout {
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: center;
  }

  .page-home .compare-row {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 16px;
  }

  .page-home .compare-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    font-size: 24px;
    color: var(--color-accent);
  }

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

  .page-home .data-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-home .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }

  .page-home .trust-stats {
    gap: 12px;
  }

  .page-home .trust-stats .stat-number {
    font-size: 32px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero h1 {
    font-size: 128px;
  }

  .page-home .home-leagues,
  .page-home .home-update,
  .page-home .home-data,
  .page-home .home-trust {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .page-home .terminal-card {
    transform: rotate(1.5deg);
  }
}
