.page-home {
  --home-accent-glow: rgba(255, 107, 53, 0.13);
  --home-data-glow: rgba(0, 201, 167, 0.08);
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
}

.page-home .section-index {
  color: var(--color-accent);
  font-family: var(--font-data);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.page-home .section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
}

.page-home .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.32em 0.75em;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.page-home a.tag {
  text-decoration: none;
}

.page-home a.tag:hover {
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.5);
  color: var(--color-text);
}

.page-home .body-text {
  color: var(--color-muted);
  line-height: 1.8;
  margin: 0;
}

.page-home [data-hidden] {
  display: none !important;
}

/* ===== 01 首屏分屏 ===== */
.page-home .home-hero {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 1.25rem 3rem;
  position: relative;
  background:
    radial-gradient(60% 50% at 85% 10%, var(--home-accent-glow), transparent 70%),
    radial-gradient(40% 40% at 10% 80%, var(--home-data-glow), transparent 70%);
}

.page-home .hero-copy {
  min-width: 0;
}

.page-home .hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.4rem;
}

.page-home .hero-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--color-text);
  border-left: 2px solid var(--color-accent);
  padding-left: 1rem;
  margin: 0 0 1rem;
}

.page-home .hero-body {
  color: var(--color-muted);
  line-height: 1.8;
  margin-top: 0.9rem;
  max-width: 46rem;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.page-home .hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-panel);
  min-height: 300px;
}

.page-home .hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(10, 25, 47, 0.88) 0%, rgba(10, 25, 47, 0.35) 45%, rgba(255, 107, 53, 0.14) 100%),
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(0, 201, 167, 0.06) 16px 17px);
  pointer-events: none;
}

.page-home .hero-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  top: 12%;
  background: linear-gradient(90deg, transparent, var(--color-data), transparent);
  opacity: 0.6;
  box-shadow: 0 0 18px rgba(0, 201, 167, 0.6);
  animation: page-home-scan 7s var(--ease-out) infinite alternate;
}

.page-home .data-dot {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.9);
  animation: page-home-pulse 3s ease-in-out infinite;
}

.page-home .data-dot.dot-a { left: 18%; top: 34%; }
.page-home .data-dot.dot-b { left: 58%; top: 22%; animation-delay: 1s; }
.page-home .data-dot.dot-c { left: 78%; top: 68%; animation-delay: 2s; }
.page-home .data-dot.dot-d { left: 36%; top: 74%; animation-delay: 0.6s; }

.page-home .hero-tag {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: rgba(10, 25, 47, 0.72);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  font-family: var(--font-data);
  animation: page-home-float 5s ease-in-out infinite;
}

.page-home .hero-tag span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--color-muted);
}

.page-home .hero-tag b {
  font-size: 1.4rem;
  color: var(--color-data);
  font-weight: 700;
}

.page-home .hero-tag.hl-tag { top: 16%; right: 10%; }
.page-home .hero-tag.hb-tag { bottom: 18%; left: 8%; animation-delay: 2s; }

/* ===== 02 热门集锦索引 ===== */
.page-home .home-highlights,
.page-home .home-latest {
  padding: 3.5rem 1.25rem;
}

.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-home .section-more {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 53, 0.4);
  padding-bottom: 0.2rem;
  transition: border-color 0.3s, color 0.3s;
}

.page-home .section-more:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.page-home .highlight-grid {
  display: grid;
  gap: 1.1rem;
}

.page-home .highlight-card {
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 0;
  transition: transform 0.5s var(--ease-out), border-color 0.3s;
}

.page-home .highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 53, 0.45);
}

.page-home .card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-hover);
}

.page-home .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.page-home .highlight-card:hover .card-media img {
  transform: scale(1.06);
}

.page-home .card-body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.page-home .card-title {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  line-height: 1.4;
  margin: 0.75rem 0 0.5rem;
}

.page-home .card-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===== 03 周末赛事数据面板预览 ===== */
.page-home .home-data-panel {
  display: grid;
  gap: 2.25rem;
  padding: 3.5rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 201, 167, 0.07) 30%, rgba(0, 201, 167, 0.07) 70%, transparent 100%);
}

.page-home .panel-copy {
  min-width: 0;
}

.page-home .panel-copy h2 {
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}

.page-home .panel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.page-home .panel-visual {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--color-border);
  background: rgba(17, 34, 64, 0.65);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.page-home .panel-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-home .panel-cell {
  background: var(--color-bg-panel);
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.page-home .panel-value {
  font-family: var(--font-data);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-data);
  line-height: 1;
}

.page-home .panel-label {
  color: var(--color-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.page-home .panel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.page-home .panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(10, 25, 47, 0.5);
}

.page-home .panel-row span {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.page-home .panel-row b {
  font-family: var(--font-data);
  color: var(--color-text);
  font-size: 0.95rem;
}

.page-home .panel-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

/* ===== 04 检索直达入口 ===== */
.page-home .home-search {
  padding: 4rem 1.25rem;
  text-align: center;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(255, 107, 53, 0.12), transparent 70%),
    var(--color-bg);
}

.page-home .search-inner {
  max-width: 720px;
  margin: 0 auto;
}

.page-home .home-search .section-title {
  margin: 0.8rem 0 0.6rem;
}

.page-home .search-lead {
  color: var(--color-muted);
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.page-home .search-panel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.4rem 0.4rem 1.25rem;
  background: var(--color-bg-panel);
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.page-home .search-panel:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(255, 107, 53, 0.18);
}

.page-home .search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0;
}

.page-home .search-input::placeholder {
  color: var(--color-muted);
}

.page-home .search-go {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
}

.page-home .search-hint {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 1rem;
}

.page-home .search-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

/* ===== 05 最新文章动态 ===== */
.page-home .latest-list {
  display: grid;
  gap: 1.2rem;
}

.page-home .latest-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1rem;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-width: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.5s var(--ease-out);
}

.page-home .latest-item:hover {
  background: var(--color-hover);
  border-color: rgba(255, 107, 53, 0.35);
  transform: translateY(-3px);
}

.page-home .latest-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 0;
}

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

.page-home .latest-content .tag {
  margin-bottom: 0.6rem;
}

.page-home .latest-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.45;
  margin: 0.6rem 0 0.45rem;
}

.page-home .latest-content p {
  font-size: 0.93rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===== 06 支持与联系 ===== */
.page-home .home-support {
  padding: 3.5rem 1.25rem;
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 2rem;
  background: linear-gradient(180deg, transparent, rgba(255, 107, 53, 0.05));
}

.page-home .support-copy h2 {
  margin: 0.9rem 0 0.7rem;
}

.page-home .support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-self: end;
}

/* ===== 动效与适配 ===== */
@keyframes page-home-scan {
  0% { transform: translateY(0); opacity: 0.25; }
  30% { opacity: 0.8; }
  100% { transform: translateY(320px); opacity: 0.25; }
}

@keyframes page-home-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(255, 107, 53, 0.5); opacity: 0.55; transform: scale(0.9); }
  50% { box-shadow: 0 0 28px rgba(255, 107, 53, 0.95); opacity: 1; transform: scale(1.15); }
}

@keyframes page-home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

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

  .page-home .latest-media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
    min-height: calc(100vh - 5rem);
    padding: 3rem clamp(2rem, 6vw, 6rem) 4.5rem;
  }

  .page-home .home-highlights,
  .page-home .home-latest {
    padding: 5rem clamp(2rem, 6vw, 6rem);
  }

  .page-home .home-data-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3.5rem;
    align-items: center;
    padding: 5rem clamp(2rem, 6vw, 6rem);
  }

  .page-home .panel-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.2rem;
  }

  .page-home .panel-visual .panel-stats {
    grid-column: 1;
    grid-row: 1;
  }

  .page-home .panel-visual .panel-list {
    grid-column: 1;
    grid-row: 2;
  }

  .page-home .panel-visual .panel-media {
    grid-column: 2;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .page-home .home-search {
    padding: 5rem clamp(2rem, 6vw, 6rem);
  }

  .page-home .home-support {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    align-items: end;
    gap: 3rem;
    padding: 4rem clamp(2rem, 6vw, 6rem);
  }

  .page-home .support-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1080px) {
  .page-home .highlight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-scanline,
  .page-home .data-dot,
  .page-home .hero-tag {
    animation: none !important;
  }

  .page-home .highlight-card,
  .page-home .highlight-card .card-media img,
  .page-home .latest-item {
    transition: none !important;
  }
}
