.page-home {
  --home-clip-lg: 18px;
  --home-clip-sm: 10px;
}
.page-home .home-narrow {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.page-home .section {
  padding: 56px 0;
}
.page-home .home-slice-accent {
  height: 5px;
  margin: 0;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-neon) 62%, var(--c-accent) 100%);
  transform: skewY(-1deg);
  transform-origin: left;
}

.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  margin-bottom: 18px;
}
.page-home .section-head-inner {
  flex: 1;
}
.page-home .section-index {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--c-neon);
  padding: 7px 9px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  background: rgba(57, 255, 20, 0.06);
  margin-top: 6px;
  white-space: nowrap;
}
.page-home .section-subtitle {
  margin: 0 0 6px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-neon);
}
.page-home .section-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--c-text);
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-total) + 40px) 0 52px;
  background:
    radial-gradient(ellipse at 82% 16%, rgba(57, 255, 20, 0.09) 0%, transparent 46%),
    radial-gradient(ellipse at 12% 86%, rgba(27, 59, 111, 0.6) 0%, transparent 55%),
    linear-gradient(152deg, #121212 0%, #10151f 52%, #0e1e36 100%);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(245, 245, 240, 0.03) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(-45deg, rgba(245, 245, 240, 0.02) 0 1px, transparent 1px 34px);
}
.page-home .home-hero-inner {
  position: relative;
  display: grid;
  gap: 40px;
}
.page-home .home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}
.page-home .home-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-light);
  background: rgba(18, 18, 18, 0.5);
  border: 1px solid rgba(176, 196, 222, 0.3);
  border-radius: var(--radius);
}
.page-home .home-meta-pill-cn {
  color: var(--c-neon);
  border-color: rgba(57, 255, 20, 0.45);
}
.page-home .home-hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 5.5vw, 56px);
  line-height: 1.08;
  color: var(--c-text);
}
.page-home .home-title-sep {
  font-family: var(--font-data);
  font-weight: 400;
  color: var(--c-neon);
}
.page-home .home-hero-lead {
  margin: 0 0 24px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-dim);
}
.page-home .home-hero-lead strong {
  color: var(--c-neon);
  font-weight: 600;
}
.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin: 0 0 18px;
}
.page-home .home-hero-note {
  margin: 0;
  font-size: 13px;
  color: var(--c-light);
  opacity: 0.8;
}
.page-home .home-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.page-home .home-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-home .hero-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.page-home .home-hero-figure {
  position: relative;
  z-index: 1;
  width: 86%;
  max-width: 520px;
  margin: 0 auto;
  padding: 8px;
  background: var(--c-card);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.page-home .home-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .home-hero-float-card {
  position: absolute;
  z-index: 2;
  left: 4px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: #121212;
  border: 1px solid rgba(57, 255, 20, 0.5);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}
.page-home .home-hero-float-card .data-value {
  color: var(--c-neon);
}

.page-home .home-calendar-head {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.page-home .home-calendar-summary {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-dim);
}
.page-home .home-calendar-summary strong {
  color: var(--c-text);
}
.page-home .home-calendar-grid {
  display: grid;
  gap: var(--sp-md);
}
.page-home .home-match-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: var(--c-card);
  border: 1px solid rgba(176, 196, 222, 0.14);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.page-home .home-match-card:hover {
  border-color: rgba(57, 255, 20, 0.4);
}
.page-home .home-match-top {
  display: flex;
  gap: var(--sp-sm);
}
.page-home .home-match-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--c-text);
}
.page-home .home-match-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(176, 196, 222, 0.12);
  border-bottom: 1px solid rgba(176, 196, 222, 0.12);
}
.page-home .home-match-score .data-value {
  font-size: 30px;
  color: var(--c-neon);
}
.page-home .home-team {
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--c-light);
}
.page-home .home-match-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  color: var(--c-dim);
}
.page-home .home-calendar-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-lg);
  margin-top: 28px;
}
.page-home .home-calendar-foot-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-success);
}

.page-home .home-local-inner {
  display: grid;
  gap: 40px;
}
.page-home .home-local-media {
  position: relative;
}
.page-home .home-local-badge {
  position: absolute;
  left: 10px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: #121212;
  border: 1px solid rgba(255, 107, 53, 0.45);
}
.page-home .home-local-badge .data-value {
  color: var(--c-accent);
}
.page-home .home-city-list {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .home-city-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  background: rgba(14, 30, 54, 0.72);
  border-left: 3px solid var(--c-neon);
}
.page-home .home-city-name {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--c-text);
}
.page-home .home-city-list li span:last-child {
  font-size: 14px;
  color: var(--c-dim);
}
.page-home .home-week-picks {
  margin: 0 0 24px;
  padding: 18px;
  background: rgba(14, 30, 54, 0.55);
  border: 1px solid rgba(176, 196, 222, 0.14);
}
.page-home .home-week-picks h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--c-light);
}
.page-home .home-week-picks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.page-home .home-week-picks li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--c-dim);
}
.page-home .home-week-picks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--c-accent);
  transform: rotate(45deg);
}

.page-home .home-app {
  background: linear-gradient(135deg, #0e1e36 0%, #121212 100%);
  border-top: 1px dashed rgba(176, 196, 222, 0.2);
  border-bottom: 1px dashed rgba(176, 196, 222, 0.2);
}
.page-home .home-app-inner {
  display: grid;
  gap: 40px;
}
.page-home .home-app-features {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .home-app-features li {
  padding: 13px 14px;
  font-size: 15px;
  color: var(--c-dim);
  background: rgba(18, 18, 18, 0.6);
  border-left: 3px solid var(--c-accent);
}
.page-home .home-app-features strong {
  color: var(--c-text);
  font-weight: 600;
}
.page-home .home-app-media .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-ranking-inner {
  display: grid;
  gap: 40px;
}
.page-home .home-ranking-table-wrap {
  overflow-x: auto;
  margin: 22px 0;
}
.page-home .home-rank-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  background: rgba(14, 30, 54, 0.55);
}
.page-home .home-rank-table th,
.page-home .home-rank-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(176, 196, 222, 0.12);
  text-align: left;
}
.page-home .home-rank-table th {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-dim);
}
.page-home .home-rank-table td {
  font-family: var(--font-data);
  font-size: 15px;
  color: var(--c-light);
}
.page-home .home-rank-table td:first-child {
  color: var(--c-neon);
  font-weight: 700;
}
.page-home .home-trend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-family: var(--font-data);
  font-size: 18px;
  line-height: 1;
  border-radius: var(--radius);
}
.page-home .home-trend.up {
  background: rgba(74, 124, 89, 0.24);
  color: var(--c-success);
}
.page-home .home-trend.flat {
  background: rgba(176, 196, 222, 0.14);
  color: var(--c-light);
}
.page-home .home-trend.down {
  background: rgba(199, 123, 90, 0.22);
  color: var(--c-warning);
}
.page-home .home-ranking-media {
  position: relative;
}
.page-home .home-ranking-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: #121212;
  border: 1px solid rgba(57, 255, 20, 0.5);
}
.page-home .home-ranking-stamp .data-value {
  color: var(--c-neon);
}

.page-home .home-why {
  background: linear-gradient(180deg, #121212 0%, #0e1e36 100%);
}
.page-home .home-why-lead {
  margin: 0 0 28px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-dim);
}
.page-home .home-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}
.page-home .home-metric-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: rgba(14, 30, 54, 0.8);
  border-top: 2px solid var(--c-neon);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.page-home .home-metric-card .data-value {
  font-size: clamp(28px, 4.4vw, 36px);
  line-height: 1;
  color: var(--c-text);
}
.page-home .home-metric-card .data-label {
  font-size: 13px;
  color: var(--c-dim);
}
.page-home .home-why-trust {
  margin: 32px 0 0;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-light);
  background: rgba(57, 255, 20, 0.05);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: var(--radius);
}

.page-home .home-news-grid {
  display: grid;
  gap: var(--sp-md);
  margin: 28px 0 0;
}
.page-home .home-news-card {
  display: block;
  padding: 22px 18px;
  color: inherit;
  text-decoration: none;
  background: var(--c-card);
  border: 1px solid rgba(176, 196, 222, 0.13);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.page-home .home-news-card:hover {
  border-color: rgba(57, 255, 20, 0.45);
}
.page-home .home-news-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.4;
  color: var(--c-text);
}
.page-home .home-news-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-dim);
}
.page-home .home-news-foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-top: 28px;
}

.page-home .home-help {
  background: linear-gradient(180deg, #121212 0%, #0e1e36 100%);
}
.page-home .home-help-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.page-home .home-help-copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 34px);
  color: var(--c-text);
}
.page-home .home-help-copy p:last-child {
  margin: 0;
  line-height: 1.7;
  color: var(--c-dim);
}
.page-home .home-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.page-home .media-frame {
  clip-path: polygon(0 0, calc(100% - var(--home-clip-lg, 18px)) 0, 100% var(--home-clip-lg, 18px), 100% 100%, var(--home-clip-lg, 18px) 100%, 0 calc(100% - var(--home-clip-lg, 18px)));
}
.page-home .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 720px) {
  .page-home .home-calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .home-metric-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .home-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .home-app-media .media-frame {
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 980px) {
  .page-home .section {
    padding: 72px 0;
  }
  .page-home .home-hero {
    padding: calc(var(--header-total) + 64px) 0 84px;
  }
  .page-home .home-hero-inner {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 64px;
    align-items: center;
  }
  .page-home .home-hero-copy {
    max-width: 540px;
  }
  .page-home .home-hero-figure {
    transform: rotate(1.5deg);
  }
  .page-home .home-calendar-head {
    grid-template-columns: 1fr 1.25fr;
    gap: 48px;
    align-items: end;
  }
  .page-home .home-calendar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .home-local-inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
  }
  .page-home .home-app-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .page-home .home-ranking-inner {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 48px;
    align-items: center;
  }
  .page-home .home-help-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
}
