.page-home {
  --home-radius: 18px;
  --home-glow-green: 0 0 24px rgba(0, 255, 135, 0.35);
  --home-glow-blue: 0 0 24px rgba(0, 212, 255, 0.35);
  background: var(--color-bg);
  color: var(--color-text);
}

.page-home .home-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 2.5rem);
  overflow: hidden;
}

.page-home .home-hero__crumb {
  margin-bottom: 2rem;
}

.page-home .home-hero__grid {
  display: grid;
  gap: 2.5rem;
}

.page-home .home-hero__content {
  position: relative;
  z-index: 2;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-electric-blue);
}

.page-home .home-hero__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gradient-accent);
}

.page-home .home-hero__title {
  margin: 0.75rem 0 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(3.5rem, 14vw, 7.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.page-home .home-hero__subtitle {
  margin: 0.5rem 0 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .home-hero__desc {
  margin: 1.5rem 0 0;
  max-width: 46ch;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-home .home-hero__desc strong {
  color: var(--color-text);
  font-weight: 500;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .home-hero__media {
  position: relative;
}

.page-home .home-hero__imgwrap {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 var(--radius-lg) 0;
  background: var(--color-dim);
}

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

.page-home .home-hero__feed {
  margin-top: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.page-home .home-hero__feed-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-home .home-hero__feed-note {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.page-home .home-hero__feed-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto 1fr 2.5rem;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.55rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
}

.page-home .home-hero__feed-league {
  color: var(--color-neon-green);
}

.page-home .home-hero__feed-team {
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-hero__feed-score {
  color: var(--color-text);
  font-weight: 700;
}

.page-home .home-hero__feed-time {
  color: var(--color-electric-blue);
  text-align: right;
}

.page-home .home-hero__mesh {
  width: 100%;
  height: 64px;
  margin-top: 0.75rem;
  opacity: 0.7;
}

.page-home .home-live {
  padding: 4.5rem 0 0;
}

.page-home .home-live .chapter,
.page-home .home-table .chapter,
.page-home .home-index .chapter {
  margin-bottom: 1rem;
}

.page-home .home-live__strip {
  margin-top: 2rem;
}

.page-home .home-live__strip-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-home .home-live__strip-meta {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.page-home .home-live__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1rem;
  align-items: flex-start;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-live__scorecard {
  flex: 0 0 280px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1rem;
  scroll-snap-align: start;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .home-live__scorecard:hover {
  border-color: var(--color-electric-blue);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.22);
  transform: translateY(-3px);
}

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

.page-home .home-live__scorecard-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.9rem;
}

.page-home .home-live__pair {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.page-home .home-live__pair--away {
  align-items: flex-end;
  text-align: right;
}

.page-home .home-live__pair-name {
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.page-home .home-live__pair-stat {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
}

.page-home .home-live__pair-score {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-neon-green);
}

.page-home .home-live__scorecard-more {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-text-secondary);
}

.page-home .home-live__focus {
  margin-top: 3rem;
}

.page-home .home-live__focus-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-home .home-live__focus-title::before {
  content: "";
  width: 6px;
  height: 22px;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.page-home .home-live__focus-grid {
  display: grid;
  gap: 1.5rem;
}

.page-home .home-live__focus-card {
  background: linear-gradient(135deg, rgba(30, 38, 56, 0.9), rgba(20, 27, 45, 0.95));
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.page-home .home-live__focus-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-home .home-live__focus-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1.25rem 0;
}

.page-home .home-live__focus-team {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-home .home-live__focus-team strong {
  font-size: 1.2rem;
}

.page-home .home-live__focus-team span {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.page-home .home-live__focus-team--away {
  text-align: right;
  align-items: flex-end;
}

.page-home .home-live__focus-score {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.page-home .home-live__focus-score em {
  font-style: normal;
  color: var(--color-text-secondary);
}

.page-home .home-live__focus-score span {
  color: var(--color-neon-green);
}

.page-home .home-live__focus-score span:last-child {
  color: var(--color-electric-blue);
}

.page-home .home-live__focus-bar-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-text-secondary);
}

.page-home .home-live__focus-bar-track {
  margin-top: 0.6rem;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.page-home .home-live__focus-bar-track i {
  display: block;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.page-home .home-table {
  padding: 5rem 0 0;
}

.page-home .home-table__grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.page-home .home-table__boards {
  display: grid;
  gap: 1.5rem;
}

.page-home .home-table__board {
  padding: 1.25rem;
}

.page-home .home-table__board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-line);
}

.page-home .home-table__board-head h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.page-home .home-table__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-table__list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr 3.2rem 3.6rem;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid rgba(42, 54, 80, 0.6);
  transition: background 0.25s var(--ease);
}

.page-home .home-table__list li:hover {
  background: rgba(0, 212, 255, 0.06);
}

.page-home .home-table__list li:last-child {
  border-bottom: none;
}

.page-home .home-table__rank {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-electric-blue);
  opacity: 0.8;
}

.page-home .home-table__team {
  font-weight: 500;
}

.page-home .home-table__played {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.page-home .home-table__pts {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-neon-green);
  text-align: right;
}

.page-home .home-table__aside {
  display: grid;
  gap: 1.25rem;
}

.page-home .home-table__chart {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg) 0 var(--radius-lg) 0;
  object-fit: cover;
}

.page-home .home-table__note {
  padding: 1.5rem;
}

.page-home .home-table__note-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-home .home-table__note-title::before {
  content: "";
  width: 6px;
  height: 22px;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.page-home .home-table__note-text {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.page-home .home-table__note-text strong {
  color: var(--color-text);
}

.page-home .home-table__note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-home .home-index {
  padding: 5rem 0 0;
}

.page-home .home-index__top {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.page-home .home-index__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 260px;
}

.page-home .home-index__map {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-line);
}

.page-home .home-index__row {
  display: grid;
  grid-template-columns: 2.8rem 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--color-line);
  text-decoration: none;
  color: var(--color-text);
  transition: padding-left 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .home-index__row:hover {
  padding-left: 1rem;
  border-color: var(--color-electric-blue);
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.06), transparent 70%);
}

.page-home .home-index__num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.35rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .home-index__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-home .home-index__row-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.page-home .home-index__row-desc {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.page-home .home-index__arrow {
  color: var(--color-text-secondary);
  font-size: 1.3rem;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.page-home .home-index__row:hover .home-index__arrow {
  transform: translateX(6px);
  color: var(--color-neon-green);
}

.page-home .home-banner {
  position: relative;
  margin-top: 5rem;
  overflow: hidden;
}

.page-home .home-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 26, 0.92) 0%, rgba(11, 15, 26, 0.72) 50%, rgba(11, 15, 26, 0.35) 100%);
}

.page-home .home-banner__content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-home .home-banner__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  margin: 0 0 0.5rem;
}

.page-home .home-banner__desc {
  color: var(--color-text-secondary);
  max-width: 42ch;
}

.page-home .home-banner__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.page-home .home-banner__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
}

.page-home .home-banner__num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-neon-green);
  line-height: 1;
}

.page-home .home-banner__label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.page-home .home-trust {
  padding: 3rem 0 4.5rem;
}

.page-home .home-trust__row {
  display: grid;
  gap: 1rem;
}

.page-home .home-trust__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.page-home .home-trust__mark {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-electric-blue);
  flex: 0 0 auto;
  width: 64px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-sm);
}

.page-home .home-trust__item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.page-home .home-trust__item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding-top: calc(var(--header-h) + 4rem);
    padding-bottom: 3rem;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 1fr 0.95fr;
    gap: 3rem;
    align-items: center;
    min-height: 620px;
  }

  .page-home .home-hero__content {
    padding-right: 2rem;
  }

  .page-home .home-hero__title {
    font-size: clamp(5rem, 10vw, 8.5rem);
  }

  .page-home .home-hero__subtitle {
    font-size: clamp(2rem, 3vw, 3rem);
  }

  .page-home .home-hero__feed {
    position: absolute;
    right: -1rem;
    bottom: 3rem;
    width: 420px;
    z-index: 2;
  }

  .page-home .home-hero__mesh {
    position: absolute;
    left: -2rem;
    bottom: -1rem;
    width: 520px;
    z-index: 1;
    opacity: 0.5;
  }

  .page-home .home-live__focus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-table__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .page-home .home-table__boards {
    grid-template-columns: 1fr;
  }

  .page-home .home-table__aside {
    align-self: start;
  }

  .page-home .home-index__top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .page-home .home-index__img {
    max-height: 300px;
  }

  .page-home .home-banner__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 0;
  }

  .page-home .home-banner__text {
    flex: 0 0 40%;
  }

  .page-home .home-banner__stats {
    grid-template-columns: repeat(4, 1fr);
    flex: 1;
  }

  .page-home .home-trust__row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1200px) {
  .page-home .home-live__scorecard {
    flex-basis: 300px;
  }
}
