.page-home {
  --home-line: 1px solid var(--c-grid);
  --home-gap: 16px;
  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
}

.page-home a {
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

/* ===== Hero 首屏 ===== */
.page-home .home-hero {
  position: relative;
  padding: 40px 0 36px;
  min-height: 640px;
  display: flex;
  align-items: center;
  border-bottom: var(--home-line);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 17, 40, 0.95) 0%, rgba(10, 17, 40, 0.82) 45%, rgba(0, 229, 160, 0.12) 100%);
}

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

.page-home .hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .hero-copy {
  padding: 8px 0;
}

.page-home .hero-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--c-accent);
  letter-spacing: 0.06em;
}

.page-home .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.page-home .hero-title__ver {
  display: block;
  font-size: 0.48em;
  color: var(--c-accent);
  letter-spacing: 0.08em;
  margin-top: 6px;
  font-weight: 600;
}

.page-home .hero-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  margin: 0 0 10px;
  line-height: 1.5;
}

.page-home .hero-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-dim);
  margin: 0 0 20px;
  max-width: 48em;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-panel {
  background: var(--c-panel);
  border: var(--home-line);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.page-home .panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: var(--home-line);
  margin-bottom: 14px;
}

.page-home .panel-head__title {
  font-size: 1.15rem;
  margin: 0;
}

.page-home .panel-head__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.page-home .panel-head__status .data-status__dot {
  animation: page-home-pulse 1.6s ease-in-out infinite;
}

.page-home .panel-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
}

.page-home .panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.page-home .metric {
  background: var(--c-index);
  border: var(--home-line);
  padding: 14px 8px;
  text-align: center;
}

.page-home .metric__num {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-accent);
  animation: page-home-counter-in 0.6s ease-out both;
}

.page-home .metric:nth-child(2) .metric__num {
  animation-delay: 0.12s;
}

.page-home .metric:nth-child(3) .metric__num {
  animation-delay: 0.24s;
}

.page-home .metric__label {
  display: block;
  font-size: 12px;
  color: var(--c-text-dim);
  margin-top: 6px;
  line-height: 1.3;
}

.page-home .panel-viz {
  border: var(--home-line);
  background: var(--c-bg);
  line-height: 0;
}

.page-home .panel-viz img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
}

.page-home .panel-hot {
  margin-top: 14px;
}

.page-home .panel-hot__title {
  font-size: 13px;
  color: var(--c-text-dim);
  margin: 0 0 6px;
  letter-spacing: 0.04em;
}

.page-home .hot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: var(--home-line);
  color: var(--c-text);
  text-decoration: none;
  background: var(--c-bg);
}

.page-home .hot-row:hover,
.page-home .hot-row:focus-visible {
  background: var(--c-index);
  padding-left: 18px;
}

.page-home .hot-row__name {
  font-size: 14px;
  font-weight: 600;
}

.page-home .hot-row__arrow {
  font-size: 12px;
  color: var(--c-accent);
}

.page-home .panel-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: var(--home-line);
  text-align: right;
}

.page-home .panel-foot__link {
  font-size: 14px;
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 600;
}

.page-home .panel-foot__link:hover {
  text-decoration: underline;
}

.page-home .hero-links {
  background: var(--c-panel);
  border: var(--home-line);
  padding: 16px 14px;
}

.page-home .hero-links__title {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--c-text-dim);
  letter-spacing: 0.06em;
}

.page-home .quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.page-home .quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 4px;
  background: var(--c-index);
  border: var(--home-line);
  color: var(--c-text);
  text-decoration: none;
}

.page-home .quick-link:hover,
.page-home .quick-link:focus-visible {
  border-color: var(--c-accent);
  background: var(--c-overlay);
}

.page-home .quick-link__idx {
  font-size: 11px;
  color: var(--c-accent-2);
}

.page-home .quick-link__name {
  font-size: 14px;
  font-weight: 600;
}

.page-home .hero-status {
  background: var(--c-panel);
  border: var(--home-line);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

.page-home .status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.page-home .status-row__label {
  font-size: 13px;
  color: var(--c-text-dim);
  flex-shrink: 0;
}

.page-home .status-row__value {
  font-size: 13px;
  color: var(--c-text);
  text-align: right;
}

/* ===== 02 赛事分类 ===== */
.page-home .home-league {
  padding: 48px 0;
}

.page-home .league-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 22px;
  align-items: center;
}

.page-home .league-intro {
  color: var(--c-text-dim);
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  max-width: 680px;
}

.page-home .league-thumb {
  border: var(--home-line);
  background: var(--c-panel);
  line-height: 0;
}

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

.page-home .league-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-accent) var(--c-panel);
}

.page-home .league-tab {
  flex-shrink: 0;
  padding: 7px 16px;
  font-size: 14px;
  color: var(--c-text-dim);
  background: var(--c-panel);
  border: var(--home-line);
  text-decoration: none;
}

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

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

.page-home .league-cat {
  background: var(--c-panel);
  border: var(--home-line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--ease), transform var(--ease);
}

.page-home .league-cat:hover,
.page-home .league-cat:focus-within {
  border-color: var(--c-accent);
  transform: translateY(-3px);
}

.page-home .league-cat__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: var(--home-line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.page-home .league-cat__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: 0.03em;
}

.page-home .league-cat__count {
  color: var(--c-accent-2);
  font-size: 13px;
}

.page-home .league-cat__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .league-cat__list li {
  font-size: 12px;
  color: var(--c-text-dim);
  background: var(--c-index);
  padding: 3px 8px;
  border: var(--home-line);
}

.page-home .league-cat__link {
  margin-top: auto;
  font-size: 13px;
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 600;
}

.page-home .league-cat__link:hover {
  text-decoration: underline;
}

/* ===== 03 平台功能 ===== */
.page-home .home-features {
  padding: 48px 0;
  background: linear-gradient(180deg, var(--c-panel) 0%, var(--c-bg) 100%);
  border-top: var(--home-line);
  border-bottom: var(--home-line);
}

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

.page-home .feature-card {
  position: relative;
  background: var(--c-bg);
  border: var(--home-line);
  padding: 22px 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-home .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 36px;
  background: var(--c-accent);
  transition: width var(--ease);
}

.page-home .feature-card:hover::before,
.page-home .feature-card:focus-within::before {
  width: 100%;
}

.page-home .feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--c-index);
  color: var(--c-accent);
  font-size: 20px;
  border: var(--home-line);
  margin-bottom: 14px;
}

.page-home .feature-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
}

.page-home .feature-card__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-text-dim);
  margin: 0 0 14px;
  flex: 1 1 auto;
}

.page-home .feature-card__link {
  font-size: 13px;
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 600;
}

.page-home .feature-card__link:hover {
  text-decoration: underline;
}

/* ===== 04 内容中心更新动态 ===== */
.page-home .home-updates {
  padding: 48px 0;
}

.page-home .updates-list {
  display: grid;
  gap: 18px;
}

.page-home .update-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background: var(--c-panel);
  border: var(--home-line);
  padding: 16px;
}

.page-home .update-item__media {
  border: var(--home-line);
  line-height: 0;
  background: var(--c-bg);
}

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

.page-home .update-item__body {
  padding: 4px 2px;
}

.page-home .update-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.page-home .update-item__version {
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-home .update-item__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 0 0 8px;
  line-height: 1.3;
}

.page-home .update-item__desc {
  font-size: 14px;
  color: var(--c-text-dim);
  line-height: 1.65;
  margin: 0 0 12px;
}

.page-home .update-item__link {
  font-size: 13px;
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 600;
}

.page-home .update-item__link:hover {
  text-decoration: underline;
}

.page-home .update-item--row {
  display: grid;
  grid-template-columns: 1fr;
  border-left: 3px solid var(--c-accent-2);
  padding: 18px;
}

.page-home .update-item--row .update-item__title {
  font-size: 1.1rem;
  margin-top: 6px;
}

.page-home .update-item--row .update-item__desc {
  margin-bottom: 8px;
}

/* ===== 05 服务保障 ===== */
.page-home .home-guarantee {
  padding: 48px 0;
  border-top: var(--home-line);
}

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

.page-home .guarantee-card {
  background: var(--c-index);
  border: var(--home-line);
  padding: 22px 18px;
  transition: border-color var(--ease), background var(--ease);
}

.page-home .guarantee-card:hover {
  border-color: var(--c-accent);
  background: var(--c-overlay);
}

.page-home .guarantee-card__icon {
  font-size: 24px;
  line-height: 1;
  color: var(--c-accent-2);
  margin-bottom: 12px;
}

.page-home .guarantee-card__title {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.page-home .guarantee-card__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-text-dim);
  margin: 0;
}

.page-home .guarantee-trust {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid var(--c-accent);
  background: var(--c-panel);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-dim);
}

.page-home .guarantee-trust__link {
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.page-home .guarantee-trust__link:hover {
  text-decoration: underline;
}

/* ===== 动画定义 ===== */
@keyframes page-home-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 229, 160, 0);
  }
}

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

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

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

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

  .page-home .update-item--featured {
    grid-template-columns: 2fr 3fr;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 56px 0 48px;
    min-height: 680px;
  }

  .page-home .league-top {
    grid-template-columns: 2fr 1fr;
    gap: 28px;
  }

  .page-home .update-item--row {
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .page-home .hero-grid {
    grid-template-columns: 5fr 7fr;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
  }

  .page-home .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .page-home .hero-panel {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .page-home .hero-links {
    grid-column: 1;
    grid-row: 2;
  }

  .page-home .hero-status {
    grid-column: 1;
    grid-row: 3;
  }

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

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

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

@media (min-width: 1200px) {
  .page-home .league-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .panel-body {
    flex-direction: row;
    align-items: stretch;
  }

  .page-home .panel-metrics {
    flex: 1 1 0;
    grid-template-columns: 1fr;
  }

  .page-home .panel-viz {
    flex: 1.4 1 0;
  }

  .page-home .metric {
    text-align: left;
    padding: 14px 16px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
