.page-home {
  --home-radius: 28px;
  --home-radius-sm: 20px;
  --home-pad: 24px;
  --home-pad-lg: 72px;
  --home-speed: 0.3s;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-home .section {
  padding: 64px var(--home-pad);
  max-width: 1440px;
  margin-inline: auto;
}

.page-home .section__header {
  max-width: 720px;
  margin-bottom: 36px;
}

.page-home .section__intro {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-home .section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.page-home .section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), rgba(212, 175, 55, 0.1));
  border-radius: 2px;
}

.page-home h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

.page-home h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.page-home p {
  color: var(--color-muted);
  line-height: 1.8;
}

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

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  transition: transform var(--home-speed) ease, box-shadow var(--home-speed) ease, background var(--home-speed) ease;
}

.page-home .hero-cta {
  background: var(--color-gold);
  color: var(--color-bg-deep);
}

.page-home .hero-cta--ghost {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--color-gold);
}

.page-home .hero-cta:hover,
.page-home .hero-cta--ghost:hover,
.page-home .btn--orange:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.page-home .btn--orange {
  background: var(--color-orange);
  color: #fff;
}

.page-home .data-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.page-home .data-chip--gold {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.5);
}

.page-home .data-chip--orange {
  color: var(--color-orange);
  border-color: rgba(255, 111, 0, 0.4);
  background: rgba(255, 111, 0, 0.08);
}

/* ---------- 首屏分屏 ---------- */
.page-home .hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding: 36px var(--home-pad) 64px;
  max-width: 1440px;
  margin-inline: auto;
  background:
    radial-gradient(circle at 85% 10%, rgba(212, 175, 55, 0.1), transparent 42%),
    linear-gradient(135deg, transparent 72%, rgba(212, 175, 55, 0.07) 72%, rgba(212, 175, 55, 0.14) 80%, transparent 80%);
}

.page-home .hero-split__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.page-home .trust-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
}

.page-home .hero-split__title {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

.page-home .hero-split__subtitle {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .hero-split__desc {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: 1rem;
}

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

.page-home .hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .hero-split__visual {
  position: relative;
}

.page-home .hero-frame {
  position: relative;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: linear-gradient(140deg, #0B2015, #11281C 60%, #1A3A28);
}

.page-home .hero-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(212, 175, 55, 0.22) 42%, rgba(212, 175, 55, 0.08) 52%, transparent 52%),
    linear-gradient(0deg, rgba(7, 19, 13, 0.45), transparent 40%);
  pointer-events: none;
}

.page-home .hero-frame__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .hero-frame__lines svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-home .hero-badge {
  position: absolute;
  right: 10px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-orange);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  z-index: 2;
  min-width: 86px;
}

.page-home .hero-badge__num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.page-home .hero-badge__label {
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 4px;
  opacity: 0.92;
}

/* ---------- 今日维护状态 ---------- */
.page-home .maintenance-section {
  padding-top: 24px;
}

.page-home .maintenance-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, var(--color-surface), #0F2117);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--home-radius);
  padding: 28px;
  overflow: hidden;
}

.page-home .maintenance-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .maintenance-card__icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.page-home .maintenance-card__icon svg {
  width: 36px;
  height: 36px;
}

.page-home .maintenance-card__content {
  flex: 1 1 260px;
}

.page-home .maintenance-card__content h2 {
  margin-bottom: 10px;
}

.page-home .maintenance-card__content p {
  margin: 0 0 16px;
  font-size: 0.94rem;
}

.page-home .maintenance-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.18);
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.page-home .maintenance-card__status {
  flex: 0 0 auto;
}

.page-home .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 111, 0, 0.12);
  border: 1px solid rgba(255, 111, 0, 0.38);
  color: var(--color-orange);
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
}

.page-home .status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.15);
}

/* ---------- 核心主题筛选 ---------- */
.page-home .topic-section {
  padding-top: 40px;
}

.page-home .topic-board {
  position: relative;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.page-home .filter-btn {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.05);
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--home-speed) ease;
}

.page-home .filter-btn:hover {
  color: var(--color-gold);
  border-color: rgba(212, 175, 55, 0.55);
}

.page-home .filter-btn.is-active {
  background: var(--color-gold);
  color: var(--color-bg-deep);
  border-color: var(--color-gold);
  font-weight: 800;
}

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

.page-home .topic-card {
  position: relative;
  background: linear-gradient(150deg, var(--color-surface), #0F2117 100%);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: var(--home-radius);
  padding: 28px 26px;
  overflow: hidden;
  transition: transform var(--home-speed) ease, border-color var(--home-speed) ease, box-shadow var(--home-speed) ease;
}

.page-home .topic-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .topic-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-md);
}

.page-home .topic-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.page-home .topic-card__index {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--color-gold-deep);
  letter-spacing: 0.12em;
}

.page-home .topic-card p {
  font-size: 0.92rem;
  margin: 0;
}

.page-home .topic-card__foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.page-home .topic-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.page-home .topic-card__link:hover {
  color: var(--color-gold-soft);
}

/* ---------- 错位区块通用 ---------- */
.page-home .split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .split__content {
  padding-left: 4px;
}

.page-home .split__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* ---------- 苹果版更新记录 ---------- */
.page-home .update-section {
  padding-top: 24px;
}

.page-home .update-list {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-home .update-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-home .update-list__dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14);
}

.page-home .update-list__item strong {
  display: block;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 2px;
}

.page-home .update-list__item p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- 焕新版赛事日历通道 ---------- */
.page-home .calendar-section {
  padding-top: 24px;
}

.page-home .calendar-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.03));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--home-radius);
  padding: 18px 20px;
  margin: 24px 0 28px;
}

.page-home .calendar-highlight__date {
  flex: 0 0 auto;
  background: var(--color-gold);
  color: var(--color-bg-deep);
  border-radius: 16px;
  padding: 10px 16px;
  text-align: center;
  line-height: 1.12;
}

.page-home .calendar-highlight__day {
  display: block;
  font-weight: 800;
  font-size: 1.3rem;
}

.page-home .calendar-highlight__note {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.page-home .calendar-highlight p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- 赛果核对数据 ---------- */
.page-home .result-section {
  padding-top: 24px;
}

.page-home .result-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-home .result-layout__table {
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--home-radius);
  background: var(--color-surface);
  padding: 6px;
}

.page-home .data-table {
  display: grid;
  border-radius: calc(var(--home-radius) - 6px);
  overflow: hidden;
}

.page-home .data-table__row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr 1fr;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 0.88rem;
  align-items: center;
}

.page-home .data-table__row--head {
  background: rgba(212, 175, 55, 0.1);
  border-top: none;
  font-weight: 800;
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.page-home .data-table__row--total {
  background: rgba(255, 111, 0, 0.08);
  border-top: 1px solid rgba(255, 111, 0, 0.28);
  font-weight: 800;
  color: var(--color-text);
}

.page-home .data-number--orange {
  color: var(--color-orange);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
}

.page-home .status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}

.page-home .status-dot--ok {
  background: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.page-home .result-note {
  font-size: 0.86rem;
  margin: 14px 2px 0;
}

.page-home .result-layout__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* ---------- 数据统计带 ---------- */
.page-home .stats-section {
  padding-top: 24px;
}

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

.page-home .stat-item {
  position: relative;
  background: linear-gradient(145deg, var(--color-surface), #0E1E15);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  overflow: hidden;
}

.page-home .stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), rgba(212, 175, 55, 0.1));
}

.page-home .stat-item__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.page-home .stat-item__label {
  font-size: 0.84rem;
  color: var(--color-muted);
}

/* ---------- CTA ---------- */
.page-home .cta-section {
  padding-top: 24px;
}

.page-home .cta-panel {
  position: relative;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.08), transparent 24%),
    linear-gradient(300deg, rgba(255, 111, 0, 0.1), transparent 30%),
    linear-gradient(135deg, var(--color-surface), #0E1E15);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--home-radius);
  padding: 44px 28px;
  text-align: center;
  overflow: hidden;
}

.page-home .cta-panel::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 70%);
}

.page-home .cta-panel::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 111, 0, 0.12), transparent 70%);
}

.page-home .cta-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.page-home .cta-panel__text {
  margin: 0 auto;
  max-width: 420px;
  font-size: 0.95rem;
}

.page-home .cta-panel__links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- 桌面端增强 ---------- */
@media (min-width: 720px) {
  .page-home .section {
    padding: 80px 40px;
  }

  .page-home .hero-split {
    gap: 56px;
    padding: 64px 40px 80px;
  }

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

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

  .page-home .stat-item {
    padding: 32px 20px;
  }

  .page-home .stat-item__num {
    font-size: 3rem;
  }

  .page-home .result-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .page-home .data-table__row {
    padding: 16px 20px;
    gap: 12px;
  }

  .page-home .cta-panel {
    padding: 56px 40px;
  }
}

@media (min-width: 900px) {
  .page-home .hero-split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 72px;
    padding-bottom: 96px;
  }

  .page-home .hero-split__content {
    padding-top: 12px;
  }

  .page-home .hero-badge {
    right: -8px;
    bottom: 22px;
    padding: 14px 20px;
  }

  .page-home .hero-badge__num {
    font-size: 2.6rem;
  }

  .page-home .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .page-home .split--reverse .split__visual {
    order: -1;
  }

  .page-home .maintenance-section,
  .page-home .update-section,
  .page-home .calendar-section,
  .page-home .result-section,
  .page-home .stats-section,
  .page-home .cta-section {
    padding-top: 96px;
  }

  .page-home .section__header {
    margin-bottom: 48px;
  }
}

@media (min-width: 1200px) {
  .page-home .section {
    padding-left: 64px;
    padding-right: 64px;
  }

  .page-home .hero-split {
    padding-left: 64px;
    padding-right: 64px;
  }

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

  .page-home .split__content {
    padding-left: 12px;
  }
}

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