.page-home {
  --home-pad: clamp(20px, 4vw, 56px);
  --home-gap: clamp(56px, 9vw, 120px);
  background:
    linear-gradient(180deg, #0A192F 0%, #0D1B2E 46%, #0A192F 100%);
  color: var(--c-body);
  overflow: clip;
  font-family: var(--font-body);
}

/* ===== 首页通用 ===== */
.page-home .home-container {
  width: min(100% - 2 * var(--home-pad), var(--max-w));
  margin-inline: auto;
}

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

.page-home .home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.page-home .home-eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--grad-accent);
  transform: skewX(-24deg);
}

.page-home .home-section-head h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--c-white);
  margin: 0;
  max-width: 16em;
}

.page-home .home-section-desc {
  margin: 16px 0 0;
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 56em;
}

/* 按钮 */
.page-home .home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  will-change: transform;
}

.page-home .home-btn-accent {
  background: var(--grad-accent);
  color: var(--c-bg);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.28);
}

.page-home .home-btn-ghost {
  background: transparent;
  color: var(--c-body);
  border: 1px solid var(--c-bg-mid);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-home .home-btn:hover,
.page-home .home-btn:focus-visible {
  transform: translateX(4px);
}

.page-home .home-btn-accent:hover,
.page-home .home-btn-accent:focus-visible {
  box-shadow: 0 18px 44px rgba(255, 107, 53, 0.42);
}

/* ===== 首屏 ===== */
.page-home .home-hero {
  position: relative;
  padding: calc(var(--header-h) + 28px) 0 64px;
  isolation: isolate;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 215, 0, 0.05) 58% 59%, transparent 59% 62%, rgba(255, 107, 53, 0.08) 62% 63%, transparent 63% 70%, rgba(17, 34, 64, 0.35) 70%),
    repeating-linear-gradient(-55deg, transparent 0 26px, rgba(255, 255, 255, 0.015) 26px 27px);
  z-index: -2;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: -18vw;
  bottom: -12vh;
  width: 48vw;
  height: 70vh;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.24), rgba(255, 215, 0, 0.08));
  clip-path: polygon(0 12%, 100% 0, 88% 100%, 12% 88%);
  transform: skewX(14deg) rotate(-8deg);
  z-index: -1;
}

.page-home .home-hero-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.page-home .ring-deco {
  position: absolute;
  border: 1px solid rgba(136, 146, 176, 0.16);
  border-radius: 50%;
}

.page-home .ring-deco-01 {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 6vh;
}

.page-home .ring-deco-02 {
  width: 280px;
  height: 280px;
  right: -30px;
  top: 14vh;
}

.page-home .ring-deco-03 {
  width: 640px;
  height: 640px;
  right: -260px;
  top: -120px;
  border-color: rgba(255, 215, 0, 0.08);
}

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

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

.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-home .hero-eyebrow::after {
  content: "";
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
}

.page-home .hero-copy h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--c-white);
  margin: 0 0 22px;
}

.page-home .hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-muted);
  max-width: 42em;
  margin: 0 0 30px;
}

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

.page-home .hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.page-home .hero-tags li {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-body);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.page-home .hero-visual {
  position: relative;
  min-width: 0;
}

.page-home .hero-visual-frame {
  position: relative;
  overflow: hidden;
  transform: skewX(-3deg) rotate(1.5deg);
  border: 1px solid var(--c-bg-mid);
  box-shadow: 16px 24px 56px rgba(0, 0, 0, 0.42);
  background: var(--c-bg-light);
}

.page-home .hero-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 107, 53, 0.16), transparent 38%, transparent 68%, rgba(255, 215, 0, 0.18));
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-home .hero-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .hero-speedline {
  position: absolute;
  left: -24px;
  bottom: -20px;
  width: 70%;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.page-home .hero-visual-note {
  position: absolute;
  right: -8px;
  top: -34px;
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: rgba(245, 241, 232, 0.5);
  border-right: 1px solid var(--c-bg-mid);
  padding-right: 10px;
}

.page-home .hero-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-accent) 0 32%, var(--c-gold) 32% 52%, transparent 52% 68%, var(--c-bg-mid) 68% 80%, transparent 80%);
  transform: skewX(-18deg);
  z-index: 0;
}

/* ===== 核心功能入口 ===== */
.page-home .home-features {
  padding: var(--home-gap) 0;
  position: relative;
}

.page-home .feature-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-bg-mid) transparent;
}

.page-home .feature-scroll::-webkit-scrollbar {
  height: 6px;
}

.page-home .feature-scroll::-webkit-scrollbar-thumb {
  background: var(--c-bg-mid);
  border-radius: 999px;
}

.page-home .feature-card {
  flex: 0 0 min(86vw, 360px);
  scroll-snap-align: start;
  background: var(--c-bg-light);
  border: 1px solid var(--c-bg-mid);
  border-top: 3px solid var(--c-accent);
  padding: 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .feature-card:hover,
.page-home .feature-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.page-home .feature-index {
  font-family: var(--font-head);
  font-size: 34px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
}

.page-home .chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 2px;
}

.page-home .chip-orange {
  background: rgba(255, 107, 53, 0.14);
  color: var(--c-accent);
  border: 1px solid rgba(255, 107, 53, 0.36);
}

.page-home .chip-gold {
  background: rgba(255, 215, 0, 0.1);
  color: var(--c-gold);
  border: 1px solid rgba(255, 215, 0, 0.32);
}

.page-home .feature-card h3 {
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1.2;
  color: var(--c-white);
  margin: 0 0 12px;
}

.page-home .feature-card p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--c-muted);
  margin: 0 0 22px;
  flex: 1;
}

.page-home .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--c-accent);
  transition: gap var(--dur) var(--ease);
}

.page-home .feature-link:hover,
.page-home .feature-link:focus-visible {
  gap: 14px;
}

.page-home .feature-card-download {
  border-top-color: var(--c-gold);
}

.page-home .feature-card-download .feature-link {
  color: var(--c-gold);
}

.page-home .feature-card-img {
  margin-top: 20px;
  overflow: hidden;
  clip-path: polygon(0 0, 92% 0, 100% 18%, 100% 100%, 8% 100%, 0 82%);
}

.page-home .feature-card-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.5s var(--ease);
}

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

/* ===== 今日精选赛事 ===== */
.page-home .home-today {
  padding: var(--home-gap) 0;
  position: relative;
  background:
    linear-gradient(180deg, transparent 0%, rgba(17, 34, 64, 0.6) 12%, rgba(17, 34, 64, 0.6) 88%, transparent 100%);
}

.page-home .match-ticker {
  overflow: hidden;
  margin: 8px 0 40px;
  background: var(--c-bg);
  border-top: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  padding: 14px 0;
}

.page-home .ticker-track {
  display: flex;
  width: max-content;
  animation: home-ticker-scroll 24s linear infinite;
}

.page-home .ticker-group {
  display: flex;
  gap: 48px;
  padding-right: 48px;
}

.page-home .ticker-item {
  font-family: var(--font-head);
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--c-body);
  white-space: nowrap;
}

.page-home .ticker-item::before {
  content: "●";
  color: var(--c-accent);
  margin-right: 10px;
  font-size: 10px;
  vertical-align: middle;
}

@keyframes home-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.page-home .match-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .match-card {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(17, 34, 64, 0.72);
  border: 1px solid var(--c-bg-mid);
  overflow: hidden;
  min-width: 0;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .match-card:hover,
.page-home .match-card:focus-within {
  border-color: rgba(255, 107, 53, 0.5);
  transform: translateX(4px);
}

.page-home .match-thumb {
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.page-home .match-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.page-home .match-card:hover .match-thumb img {
  transform: scale(1.05);
}

.page-home .match-mark {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--c-bg);
  background: var(--grad-accent);
  padding: 4px 10px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.page-home .match-content {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .match-cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 6px;
}

.page-home .match-content h3 {
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.2;
  color: var(--c-white);
  margin: 0 0 8px;
}

.page-home .match-meta {
  font-size: 13px;
  color: var(--c-muted);
  margin: 0 0 16px;
}

.page-home .match-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-success);
  background: rgba(168, 230, 207, 0.08);
  border: 1px solid rgba(168, 230, 207, 0.22);
  padding: 5px 10px;
  border-radius: 999px;
  margin: 0 0 14px;
}

.page-home .match-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--c-accent);
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}

.page-home .match-link:hover,
.page-home .match-link:focus-visible {
  border-bottom-color: var(--c-accent);
  gap: 12px;
}

.page-home .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: home-pulse 1.6s ease-out infinite;
}

@keyframes home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 107, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

/* ===== 品牌数据概览 ===== */
.page-home .home-stats {
  padding: var(--home-gap) 0;
  position: relative;
  overflow: hidden;
}

.page-home .home-stats::before {
  content: "";
  position: absolute;
  right: -14%;
  top: 10%;
  width: 48%;
  height: 80%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(255, 107, 53, 0.05));
  clip-path: polygon(18% 0, 100% 12%, 82% 100%, 0 88%);
  transform: skewX(-10deg);
}

.page-home .home-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .stats-dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.page-home .stat-block {
  background: var(--c-bg-light);
  border: 1px solid var(--c-bg-mid);
  border-left: 3px solid var(--c-accent);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .stat-block:nth-child(3n) {
  border-left-color: var(--c-gold);
}

.page-home .stat-num {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1;
  color: var(--c-white);
}

.page-home .stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-muted);
}

.page-home .stats-visual {
  position: relative;
  transform: rotate(1deg);
}

.page-home .stats-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  border: 1px solid var(--c-bg-mid);
}

.page-home .stats-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 107, 53, 0.12), transparent 42%);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  pointer-events: none;
}

.page-home .stats-visual-note {
  position: absolute;
  right: 12px;
  bottom: -12px;
  background: var(--c-bg);
  border: 1px solid var(--c-bg-mid);
  padding: 6px 12px;
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: 0.06em;
}

/* ===== 用户路径 ===== */
.page-home .home-journey {
  padding: var(--home-gap) 0 calc(var(--home-gap) + 48px);
  position: relative;
}

.page-home .home-journey::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-bg-mid) 24%, var(--c-accent) 50%, var(--c-bg-mid) 76%, transparent);
}

.page-home .journey-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .journey-step {
  position: relative;
  background: var(--c-bg-light);
  border: 1px solid var(--c-bg-mid);
  padding: 22px 20px 22px 72px;
  min-height: 120px;
}

.page-home .journey-step::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-accent), rgba(255, 215, 0, 0.4));
  transform: skewX(-18deg);
}

.page-home .step-index {
  position: absolute;
  left: 20px;
  top: 14px;
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--c-gold);
  line-height: 1;
}

.page-home .journey-step h3 {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--c-white);
  margin: 0 0 8px;
}

.page-home .journey-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0;
}

.page-home .journey-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== 桌面端布局增强 ===== */
@media (min-width: 760px) {
  .page-home .match-card {
    grid-template-columns: 280px 1fr;
  }

  .page-home .match-thumb {
    min-height: 100%;
  }

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

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

@media (min-width: 1024px) {
  .page-home .home-hero-grid {
    grid-template-columns: 62% 38%;
    gap: 56px;
  }

  .page-home .hero-visual {
    margin-right: -4vw;
  }

  .page-home .hero-copy h1 {
    font-size: clamp(54px, 6vw, 84px);
  }

  .page-home .feature-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .page-home .feature-card {
    flex: none;
    min-height: 380px;
  }

  .page-home .feature-card-download .feature-card-img {
    margin-top: auto;
  }

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

  .page-home .match-card-wide {
    grid-column: 1 / -1;
    grid-template-columns: 360px 1fr;
  }

  .page-home .home-stats-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }

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

  .page-home .journey-step {
    padding: 24px 20px 20px;
    text-align: left;
  }

  .page-home .journey-step::before {
    left: 20px;
    right: auto;
    top: 14px;
    bottom: auto;
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, var(--c-accent), rgba(255, 215, 0, 0.4));
    transform: skewX(-18deg);
  }

  .page-home .step-index {
    top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ticker-track,
  .page-home .pulse-dot {
    animation: none;
  }

  .page-home .feature-card {
    transition: none;
  }
}
