.page-home {
  --home-deep: #0B1628;
  --home-panel: rgba(18, 35, 61, 0.86);
  --home-glow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --home-radius: 28px;
  --home-speed: 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 共享工具类在当前页面的适配 */
.page-home .btn,
.page-home .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-home .btn {
  background: var(--gradient-accent);
  color: var(--bg-deep);
  box-shadow: 0 8px 28px rgba(0, 226, 122, 0.22);
}

.page-home .btn:hover,
.page-home .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 122, 0, 0.28);
}

.page-home .btn-secondary {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.page-home .btn-secondary:hover,
.page-home .btn-secondary:focus-visible {
  background: var(--bg-hover);
  border-color: var(--border-green);
  transform: translateY(-2px);
}

.page-home .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.page-home .breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .breadcrumb a:hover,
.page-home .breadcrumb a:focus-visible {
  color: var(--accent-green);
}

.page-home .data-bar {
  height: 10px;
  background: rgba(143, 163, 192, 0.14);
  border-radius: 999px;
  overflow: hidden;
  width: 100%;
}

.page-home .data-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-green), rgba(0, 226, 122, 0.55));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-family: var(--font-number);
  font-size: 11px;
  font-weight: 700;
  color: var(--bg-deep);
  min-width: 0;
  white-space: nowrap;
  line-height: 10px;
}

.page-home .chip-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-green);
  background: rgba(0, 226, 122, 0.08);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-home .chip-tag:hover,
.page-home .chip-tag:focus-visible {
  background: rgba(0, 226, 122, 0.18);
  border-color: var(--accent-green);
  transform: translateY(-1px);
}

.page-home .chip-tag-orange {
  border-color: var(--border-orange);
  background: rgba(255, 122, 0, 0.12);
}

.page-home .chip-tag-orange:hover,
.page-home .chip-tag-orange:focus-visible {
  background: rgba(255, 122, 0, 0.2);
  border-color: var(--accent-orange);
}

/* ========== 首屏 ========== */
.page-home .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding: var(--page-padding);
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
}

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

.page-home .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin: 0 0 16px;
}

.page-home .home-kicker-line {
  width: 32px;
  height: 2px;
  background: var(--accent-green);
  display: inline-block;
  border-radius: 2px;
  flex-shrink: 0;
}

.page-home .home-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.22;
  color: var(--text-main);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.page-home .home-hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 54ch;
}

.page-home .home-hero-lead strong {
  color: var(--text-main);
  font-weight: 700;
}

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

.page-home .home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(143, 163, 192, 0.18);
  padding-top: 20px;
  width: 100%;
}

.page-home .home-hero-meta li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
}

.page-home .home-meta-num {
  font-family: var(--font-number);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

/* 首屏视觉区 */
.page-home .home-hero-visual {
  position: relative;
  order: 2;
  border-radius: var(--home-radius);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--home-glow);
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  display: block;
  transition: opacity 0.5s ease;
}

.page-home .home-live-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--home-panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(143, 163, 192, 0.2);
  border-radius: var(--home-radius);
  padding: 20px;
  margin: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.page-home .home-live-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid rgba(143, 163, 192, 0.16);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.page-home .home-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 12px rgba(0, 226, 122, 0.7);
  flex-shrink: 0;
}

.page-home .home-live-rate {
  margin-left: auto;
  font-family: var(--font-number);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
}

.page-home .home-live-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .home-live-stat {
  background: rgba(11, 22, 40, 0.7);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid rgba(143, 163, 192, 0.14);
}

.page-home .home-live-stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.page-home .home-live-stat-num {
  font-family: var(--font-number);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.page-home .home-live-bar-row {
  margin-bottom: 10px;
}

.page-home .home-live-bar-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.page-home .home-live-chart {
  width: 100%;
  height: auto;
  margin-top: 14px;
  border-radius: 16px;
  display: block;
}

.page-home .home-stand-grid {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  left: 20px;
  display: grid;
  grid-template-columns: repeat(8, 24px);
  gap: 6px;
  pointer-events: none;
}

.page-home .home-stand-grid span {
  width: 24px;
  height: 12px;
  border-radius: 5px;
  background: rgba(143, 163, 192, 0.25);
  border: 1px solid rgba(143, 163, 192, 0.14);
}

/* ========== 通用区块 ========== */
.page-home .home-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--page-padding);
}

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

.page-home .home-section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 12px;
  border: 1px solid var(--border-green);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 226, 122, 0.06);
}

.page-home .home-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.25;
  color: var(--text-main);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.page-home .home-section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

/* ========== 实时射门统计区间 ========== */
.page-home .home-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.page-home .home-live-features {
  display: grid;
  gap: 20px;
}

.page-home .home-live-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  border: 1px solid rgba(143, 163, 192, 0.14);
  transition: transform var(--home-speed), border-color var(--home-speed), box-shadow var(--home-speed);
}

.page-home .home-live-feature:hover,
.page-home .home-live-feature:focus-within {
  transform: translateY(-3px);
  border-color: var(--border-green);
  box-shadow: var(--shadow-glow-green);
}

.page-home .home-feature-index {
  font-family: var(--font-number);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-orange);
  line-height: 1;
  padding-top: 4px;
  flex-shrink: 0;
}

.page-home .home-feature-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--text-main);
  margin: 0 0 8px;
}

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

.page-home .home-live-figure {
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid rgba(143, 163, 192, 0.16);
  box-shadow: var(--home-glow);
}

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

.page-home .home-live-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(143, 163, 192, 0.14);
  align-items: center;
}

.page-home .home-live-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .home-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.page-home .home-legend-green {
  background: var(--accent-green);
}

.page-home .home-legend-orange {
  background: var(--accent-orange);
}

.page-home .home-legend-note {
  margin-left: auto;
  font-family: var(--font-number);
  font-size: 12px;
}

/* ========== 分类标签区 ========== */
.page-home .home-categories {
  background: linear-gradient(180deg, transparent, rgba(18, 35, 61, 0.4));
}

.page-home .home-categories-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.page-home .home-categories-copy {
  max-width: 640px;
}

.page-home .home-categories-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.3;
  color: var(--text-main);
  margin: 0 0 14px;
}

.page-home .home-categories-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.page-home .home-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.page-home .home-inline-link:hover,
.page-home .home-inline-link:focus-visible {
  gap: 10px;
  color: var(--text-main);
}

.page-home .home-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px;
  background: var(--bg-panel);
  border-radius: var(--home-radius);
  border: 1px solid rgba(143, 163, 192, 0.14);
  box-shadow: var(--home-glow);
  justify-content: center;
}

/* ========== 复盘区 ========== */
.page-home .home-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.page-home .home-review-visual {
  position: relative;
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid rgba(143, 163, 192, 0.16);
  box-shadow: var(--home-glow);
}

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

.page-home .home-review-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(11, 22, 40, 0.9);
  border-top: 1px solid rgba(143, 163, 192, 0.2);
  border-radius: 0 0 var(--home-radius) var(--home-radius);
  font-size: 14px;
  color: var(--text-secondary);
}

.page-home .home-search-icon {
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.page-home .home-search-icon::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 2px;
  background: var(--accent-green);
  bottom: -3px;
  right: -3px;
  transform: rotate(45deg);
  border-radius: 2px;
}

.page-home .home-search-key {
  margin-left: auto;
  font-family: var(--font-number);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-orange);
  border: 1px solid var(--border-orange);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.08);
}

.page-home .home-review-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-home .home-timeline {
  position: relative;
  padding-left: 0;
  display: grid;
  gap: 22px;
}

.page-home .home-timeline-item {
  position: relative;
  padding-left: 36px;
}

.page-home .home-timeline-dot {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--accent-green);
  box-shadow: 0 0 0 4px rgba(0, 226, 122, 0.12);
}

.page-home .home-timeline-item::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: -24px;
  width: 2px;
  background: rgba(143, 163, 192, 0.16);
}

.page-home .home-timeline-item:last-child::before {
  display: none;
}

.page-home .home-timeline-year {
  font-family: var(--font-number);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-orange);
  display: block;
  margin-bottom: 4px;
}

.page-home .home-timeline-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ========== 苹果版区 ========== */
.page-home .home-app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.page-home .home-app-visual {
  order: 1;
  display: flex;
  justify-content: center;
}

.page-home .home-app-frame {
  width: 260px;
  max-width: 100%;
  border-radius: 36px;
  padding: 12px;
  background: var(--bg-panel);
  border: 1px solid rgba(143, 163, 192, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 226, 122, 0.08);
  position: relative;
}

.page-home .home-app-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  border-radius: 4px;
  background: rgba(143, 163, 192, 0.4);
  z-index: 2;
}

.page-home .home-app-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
}

.page-home .home-app-content {
  order: 2;
}

.page-home .home-app-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.3;
  color: var(--text-main);
  margin: 0 0 14px;
}

.page-home .home-app-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 54ch;
}

.page-home .home-app-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .home-app-features li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 18px;
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-green);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-app-features li:nth-child(2) {
  border-left-color: var(--accent-orange);
}

.page-home .home-app-features li:hover,
.page-home .home-app-features li:focus-within {
  background: var(--bg-hover);
  border-left-color: var(--accent-green);
}

.page-home .home-app-feature-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 16px;
}

.page-home .home-app-feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== 底部号召区 ========== */
.page-home .home-cta {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-padding) clamp(56px, 8vw, 96px);
}

.page-home .home-cta-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 226, 122, 0.16), rgba(255, 122, 0, 0.14)), var(--bg-panel);
  border-radius: calc(var(--home-radius) + 8px);
  padding: clamp(36px, 6vw, 64px);
  border: 1px solid rgba(143, 163, 192, 0.2);
  text-align: center;
  overflow: hidden;
}

.page-home .home-cta-inner::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 8%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(0, 226, 122, 0.06);
  filter: blur(10px);
}

.page-home .home-cta-inner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: 6%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.07);
  filter: blur(16px);
}

.page-home .home-cta-kicker {
  font-family: var(--font-number);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin: 0 0 12px;
  font-weight: 600;
}

.page-home .home-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  color: var(--text-main);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.page-home .home-cta-inner p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto 28px;
}

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

/* ========== 微交互 ========== */
.page-home .home-live-panel {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .home-hero-visual:hover .home-live-panel {
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 226, 122, 0.2);
}

.page-home .home-live-stat:hover {
  border-color: var(--border-green);
  background: rgba(26, 46, 79, 0.85);
}

.page-home .home-live-stat-num {
  transition: color 0.2s ease;
}

.page-home .home-live-stat:hover .home-live-stat-num {
  color: var(--accent-green);
}

/* ========== 桌面端布局 ========== */
@media (min-width: 900px) {
  .page-home .home-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    min-height: 640px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .page-home .home-hero-copy {
    order: 0;
  }

  .page-home .home-hero-visual {
    order: 0;
    min-height: 560px;
  }

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

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

  .page-home .home-categories-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .page-home .home-cat-tags {
    justify-content: flex-start;
    padding: 36px;
  }

  .page-home .home-review-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .page-home .home-app-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 56px;
  }

  .page-home .home-app-visual {
    order: 0;
  }

  .page-home .home-app-content {
    order: 0;
  }

  .page-home .home-app-frame {
    width: 300px;
  }

  .page-home .home-cta-inner {
    padding: 64px 80px;
  }
}

/* ========== 窄屏防溢出 ========== */
@media (max-width: 480px) {
  .page-home .home-hero-visual {
    min-height: 420px;
    margin: 0 -4px;
  }

  .page-home .home-live-panel {
    padding: 16px;
    margin: 12px;
  }

  .page-home .home-live-stat-num {
    font-size: 24px;
  }

  .page-home .home-stand-grid {
    display: none;
  }

  .page-home .home-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .home-cta-actions .btn,
  .page-home .home-cta-actions .btn-secondary {
    width: 100%;
  }

  .page-home .home-section {
    padding: 40px var(--page-padding) 48px;
  }
}
