.page-home {
  --home-glow: rgba(0, 255, 133, 0.28);
  --home-orange-glow: rgba(255, 122, 0, 0.25);
  --home-purple-glow: rgba(123, 92, 240, 0.4);
}

.page-home .home-hero {
  position: relative;
  padding: 20px 0 64px;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 85% 15%, rgba(0, 255, 133, 0.1), transparent 70%),
    radial-gradient(45% 65% at 10% 85%, rgba(123, 92, 240, 0.16), transparent 70%),
    linear-gradient(135deg, transparent 0%, transparent 46%, rgba(255, 122, 0, 0.05) 46%, rgba(255, 122, 0, 0.05) 48%, transparent 48%);
  pointer-events: none;
}

.page-home .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.page-home .breadcrumb-separator {
  opacity: 0.5;
}

.page-home .breadcrumb-current {
  color: var(--color-text-muted);
}

.page-home .breadcrumb-current:last-child {
  color: var(--color-text);
}

.page-home .home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-top: 40px;
}

.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .hero-kicker {
  color: var(--color-green);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .hero-title {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transform: skewX(-2deg);
  margin: 0;
}

.page-home .hero-title-accent {
  display: block;
  color: var(--color-light);
  background: linear-gradient(90deg, var(--color-orange), var(--color-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-home .hero-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 34em;
}

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

.page-home .hero-actions .btn-primary {
  box-shadow: 0 0 24px var(--home-glow);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.page-home .hero-actions .btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 255, 133, 0.45);
  transform: translateY(-2px);
}

.page-home .hero-actions .btn-ghost:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.page-home .hero-meta-item {
  position: relative;
  padding-left: 16px;
}

.page-home .hero-meta-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 8px var(--color-green);
}

.page-home .hero-support {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.page-home .home-link {
  color: var(--color-purple);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.page-home .home-link:hover {
  color: var(--color-green);
  border-bottom-color: var(--color-green);
}

.page-home .hero-frame {
  position: relative;
  border: 1px solid rgba(0, 255, 133, 0.35);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 12px 12px 12px 24px;
  overflow: hidden;
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  width: 52px;
  height: 52px;
  border-top: 3px solid var(--color-green);
  border-left: 3px solid var(--color-green);
  border-top-left-radius: var(--radius);
  z-index: 3;
  pointer-events: none;
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 52px;
  height: 52px;
  border-right: 3px solid var(--color-orange);
  border-bottom: 3px solid var(--color-orange);
  border-bottom-right-radius: var(--radius);
  z-index: 3;
  pointer-events: none;
}

.page-home .hero-scale {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 16px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 133, 0.55) 0 1px,
    transparent 1px 10px
  );
  border-right: 1px solid rgba(0, 255, 133, 0.25);
  z-index: 2;
}

.page-home .hero-frame-media {
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  line-height: 0;
}

.page-home .hero-frame-media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .hero-frame-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
}

.page-home .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--color-text);
  background: rgba(0, 255, 133, 0.1);
  border: 1px solid rgba(0, 255, 133, 0.3);
  border-radius: 999px;
  padding: 5px 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.page-home .hero-tag::before {
  content: "●";
  color: var(--color-green);
  font-size: 0.625rem;
}

/* Bento 核心栏目 */
.page-home .home-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-bento .bento-card {
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.page-home .home-bento .bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.page-home .home-bento-sub {
  background: var(--color-surface);
  overflow: hidden;
}

.page-home .home-bento .home-bento-sub:hover {
  box-shadow: 0 14px 40px rgba(0, 255, 133, 0.08);
}

.page-home .home-bento-sub {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .bento-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.page-home .bento-content h3,
.page-home .bento-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--color-text);
}

.page-home .bento-content p,
.page-home .bento-card p {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.page-home .bento-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 6px;
}

.page-home .bento-meta .mono {
  font-size: 0.8125rem;
  color: var(--color-green);
  background: rgba(0, 255, 133, 0.08);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
}

.page-home .bento-visual {
  border-radius: var(--radius-sm);
  overflow: hidden;
  line-height: 0;
}

.page-home .bento-visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-bento-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--color-surface);
}

.page-home .home-bento-nav .tag-purple {
  align-self: flex-start;
}

.page-home .nav-counts {
  display: flex;
  gap: 16px;
}

.page-home .nav-count {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .nav-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-purple);
}

.page-home .nav-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.page-home .home-bento-report {
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.12), transparent 55%),
    var(--color-surface);
}

.page-home .home-bento-report .tag-orange {
  align-self: flex-start;
}

.page-home .home-bento-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .stat-block {
  min-width: calc(33.33% - 12px);
  background: rgba(0, 255, 133, 0.08);
  border: 1px solid rgba(0, 255, 133, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.page-home .stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-green);
  line-height: 1.2;
}

.page-home .stat-num em {
  font-style: normal;
  font-size: 0.875em;
}

.page-home .stat-cap {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.page-home .bento-stats-note {
  margin-top: auto;
}

/* 性能版块 */
.page-home .section-perf {
  background:
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 18%, var(--color-surface) 82%, var(--color-bg) 100%);
  padding: 72px 0;
}

.page-home .perf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 32px;
}

.page-home .perf-copy h3,
.page-home .scoreboard-wrap h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--color-text);
}

.page-home .perf-copy > p,
.page-home .scoreboard-wrap > p {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 0 20px;
}

.page-home .meter-group {
  margin: 24px 0 16px;
}

.page-home .meter-row {
  display: grid;
  grid-template-columns: 76px 1fr 48px;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .meter-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.page-home .meter-track {
  height: 14px;
  background: var(--color-surface-2);
  border-radius: 999px;
  overflow: hidden;
}

.page-home .meter-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transform-origin: left center;
  animation: pageMeterGrow 1s var(--ease) forwards;
}

.page-home .meter-old-fill {
  width: 76.9%;
  background: linear-gradient(90deg, var(--color-purple), #A9B2C0);
  animation-name: pageMeterOld;
}

.page-home .meter-new-fill {
  width: 100%;
  background: linear-gradient(90deg, var(--color-green), var(--color-orange));
  box-shadow: 0 0 16px rgba(0, 255, 133, 0.35);
  animation-name: pageMeterNew;
}

@keyframes pageMeterOld {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes pageMeterNew {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.page-home .meter-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-light);
  text-align: right;
}

.page-home .perf-note {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.page-home .version-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.page-home .version-item {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-surface-2);
  border-radius: 999px;
  padding: 5px 14px;
}

.page-home .version-current {
  color: var(--color-text);
  border-color: rgba(255, 122, 0, 0.5);
  background: rgba(255, 122, 0, 0.08);
}

.page-home .scoreboard-wrap {
  background: var(--color-surface);
  border: 1px solid rgba(255, 122, 0, 0.2);
  border-radius: var(--radius);
  padding: 28px;
}

.page-home .scoreboard {
  background: var(--color-bg);
  border: 1px solid rgba(0, 255, 133, 0.15);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-family: var(--font-mono);
}

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

.page-home .score-team {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .team-name {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.page-home .team-score {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-green);
}

.page-home .score-colon {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-orange);
}

.page-home .scoreboard-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 1px dashed rgba(169, 178, 192, 0.25);
  padding-top: 16px;
}

.page-home .score-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-home .score-stat .stat-key {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
}

.page-home .score-stat .stat-val {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-light);
}

/* 战报区 */
.page-home .section-reports {
  padding: 72px 0;
}

.page-home .report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.page-home .report-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.page-home .report-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(0, 255, 133, 0.08);
}

.page-home .report-card .card-media {
  line-height: 0;
}

.page-home .report-card .card-media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .report-card .card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.page-home .report-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  color: var(--color-text);
}

.page-home .report-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

.page-home .report-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: auto;
  border-top: 1px solid rgba(169, 178, 192, 0.15);
  padding-top: 14px;
}

.page-home .report-meta .mono {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.page-home .report-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-green);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.page-home .report-link:hover {
  color: var(--color-orange);
}

.page-home .trend-svg {
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  border: 1px solid rgba(0, 255, 133, 0.12);
}

/* 时间轴 */
.page-home .section-timeline {
  padding: 72px 0;
}

.page-home .timeline-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}

.page-home .timeline-list {
  position: relative;
  padding-left: 28px;
  list-style: none;
  margin: 0;
}

.page-home .timeline-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-green), var(--color-purple), var(--color-orange));
}

.page-home .timeline-item {
  position: relative;
  padding: 14px 0;
}

.page-home .timeline-dot {
  position: absolute;
  left: -29px;
  top: 26px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-green);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 12px rgba(0, 255, 133, 0.6);
}

.page-home .timeline-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 22px;
}

.page-home .timeline-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--color-text);
}

.page-home .timeline-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0 0 16px;
}

.page-home .timeline-progress {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 10px;
}

.page-home .progress-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.page-home .progress-track {
  height: 8px;
  background: var(--color-surface-2);
  border-radius: 999px;
  overflow: hidden;
}

.page-home .progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--color-green);
  box-shadow: 0 0 8px rgba(0, 255, 133, 0.3);
}

.page-home .football-europe {
  width: 100%;
}

.page-home .football-asia {
  width: 100%;
}

.page-home .basketball {
  width: 100%;
}

.page-home .progress-val {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-green);
}

.page-home .timeline-visual {
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  border: 1px solid var(--color-surface-2);
}

.page-home .timeline-visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* 尾部提示条 */
.page-home .home-cta-strip {
  padding: 40px 0 72px;
}

.page-home .cta-strip-inner {
  background: linear-gradient(120deg, rgba(123, 92, 240, 0.12), rgba(0, 255, 133, 0.08));
  border: 1px solid rgba(123, 92, 240, 0.25);
  border-radius: var(--radius);
  padding: 28px 32px;
}

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

.page-home .cta-strip-text a {
  color: var(--color-green);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.page-home .cta-strip-text a:hover {
  color: var(--color-orange);
  border-bottom-color: var(--color-orange);
}

/* 响应式：平板及以上 */
@media (min-width: 768px) {
  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .page-home .perf-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .page-home .home-bento-sub {
    flex-direction: row;
    align-items: stretch;
  }

  .page-home .bento-content {
    flex: 1;
  }

  .page-home .bento-visual {
    flex: 0 0 42%;
  }

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

  .page-home .timeline-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

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

/* 响应式：桌面 */
@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 32px 0 80px;
  }

  .page-home .home-bento {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(220px, auto);
  }

  .page-home .home-bento-sub {
    grid-column: span 8;
    grid-row: span 2;
    flex-direction: column;
  }

  .page-home .home-bento-sub .bento-visual {
    flex: 0 0 auto;
    width: 100%;
  }

  .page-home .home-bento-nav {
    grid-column: span 4;
  }

  .page-home .home-bento-report {
    grid-column: span 4;
  }

  .page-home .home-bento-stats {
    grid-column: span 4;
  }

  .page-home .perf-grid {
    align-items: start;
  }
}
