.page-home {
  background: var(--bg);
  overflow-x: clip;
}

.page-home .home-hero {
  position: relative;
  z-index: 0;
  background: var(--navy);
  color: var(--white);
  padding: 88px 0 168px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
  overflow: hidden;
}

.page-home .home-hero__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

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

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 20px;
}

.page-home .home-hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 4px;
  background: var(--orange);
  display: inline-block;
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.page-home .home-hero__lead {
  color: var(--lime);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
  margin: 0 0 16px;
}

.page-home .home-hero__desc {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.85;
  max-width: 42em;
  margin: 0 0 30px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.page-home .home-hero__ghost {
  color: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.74);
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-hero__ghost::after {
  content: "→";
  font-family: var(--font-mono);
}

.page-home .home-hero__ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--lime);
  transform: translateY(-2px);
}

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

.page-home .home-hero__tags li {
  border: 2px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-family: var(--font-mono);
  padding: 7px 12px;
  background: rgba(10, 37, 64, 0.55);
}

.page-home .home-hero__poster {
  position: relative;
  background: var(--ink);
  padding: 8px;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 10px 14px 0 rgba(0, 0, 0, 0.28);
}

.page-home .home-hero__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  margin: 0;
}

.page-home .home-hero__badge {
  position: absolute;
  top: 18%;
  right: 4%;
  z-index: 3;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.26);
  white-space: nowrap;
}

.page-home .home-stats-row {
  display: grid;
  gap: 18px;
  margin-top: -96px;
  position: relative;
  z-index: 3;
}

.page-home .home-stat {
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--shadow);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-stat:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

.page-home .home-stat__num {
  font-family: var(--font-mono);
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  font-weight: 900;
}

.page-home .home-stat:nth-child(1) .home-stat__num {
  color: var(--orange);
}

.page-home .home-stat:nth-child(2) .home-stat__num {
  color: var(--lime);
  text-shadow: 2px 2px 0 var(--ink);
}

.page-home .home-stat:nth-child(3) .home-stat__num {
  color: var(--navy);
}

.page-home .home-stat:nth-child(4) .home-stat__num {
  color: var(--ink);
}

.page-home .home-stat__label {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.page-home .section {
  padding: 84px 0;
}

.page-home .home-stream__head,
.page-home .home-entry__head,
.page-home .home-table__head,
.page-home .home-version__head,
.page-home .home-news__head {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.page-home .section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1.18;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}

.page-home .section-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  max-width: 58em;
}

.page-home .home-stream__panel {
  background: var(--navy);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--shadow);
  display: grid;
  gap: 0;
}

.page-home .home-stream__feed {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}

.page-home .home-stream__row {
  display: grid;
  grid-template-columns: 82px 52px 1fr;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 15px 0;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.page-home .home-stream__row:first-child {
  padding-top: 4px;
}

.page-home .home-stream__row:last-child {
  border-bottom: 0;
}

.page-home .home-stream__row:hover {
  background: rgba(198, 255, 0, 0.06);
  padding-left: 10px;
}

.page-home .home-stream__time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime);
}

.page-home .home-stream__league {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  border: 2px solid rgba(255, 255, 255, 0.24);
  padding: 4px 6px;
  text-align: center;
}

.page-home .home-stream__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.page-home .home-stream__chart {
  margin: 0;
  border-top: 3px solid var(--ink);
  background: var(--white);
  padding: 12px;
}

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

.page-home .home-stream__chart figcaption,
.page-home .home-version__figure figcaption,
.page-home .home-news__figure figcaption {
  font-size: 13px;
  color: var(--muted);
  padding-top: 10px;
  font-family: var(--font-mono);
}

.page-home .home-entry__grid {
  display: grid;
  gap: 28px;
}

.page-home .home-entry__card {
  position: relative;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--shadow);
  padding: 38px 28px 32px;
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-entry__card::before {
  content: "";
  display: block;
  height: 8px;
  margin-bottom: 24px;
  background: var(--lime);
}

.page-home .home-entry__card--orange::before {
  background: var(--orange);
}

.page-home .home-entry__card--navy::before {
  background: var(--navy);
}

.page-home .home-entry__card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 var(--ink);
}

.page-home .home-entry__index {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 10px;
}

.page-home .home-entry__title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.3;
}

.page-home .home-entry__desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 24px;
}

.page-home .home-entry__more {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .home-entry__more::after {
  content: "→";
}

.page-home .home-entry__card--lime:hover .home-entry__more {
  color: var(--orange);
}

.page-home .home-table__layout {
  display: grid;
  gap: 28px;
}

.page-home .home-table__panel {
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--shadow);
}

.page-home .home-table__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  border-bottom: 3px solid var(--ink);
  flex-wrap: wrap;
}

.page-home .home-table__bar span:first-child {
  color: var(--lime);
  font-weight: 700;
}

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

.page-home .home-table__row {
  display: grid;
  grid-template-columns: 34px 1fr 58px 58px 54px;
  gap: 8px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--silver);
  font-family: var(--font-mono);
  font-size: 15px;
  transition: background 0.2s ease;
}

.page-home .home-table__row:last-child {
  border-bottom: 0;
}

.page-home .home-table__row:hover {
  background: var(--bg);
}

.page-home .home-table__rank {
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  width: 28px;
  height: 28px;
  line-height: 28px;
}

.page-home .home-table__row:nth-child(2) .home-table__rank {
  background: var(--silver);
}

.page-home .home-table__row:nth-child(3) .home-table__rank {
  background: var(--orange);
  color: var(--white);
}

.page-home .home-table__team {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.page-home .home-table__played,
.page-home .home-table__goal {
  color: var(--muted);
  text-align: right;
}

.page-home .home-table__points {
  font-weight: 900;
  color: var(--navy);
  text-align: right;
  font-size: 20px;
}

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

.page-home .home-table__note {
  border: 3px solid var(--ink);
  background: var(--white);
  padding: 26px;
  box-shadow: 8px 8px 0 var(--shadow);
}

.page-home .home-table__note strong {
  font-family: var(--font-heading);
  font-size: 18px;
  display: block;
  margin-bottom: 12px;
}

.page-home .home-table__note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .legend {
  border: 2px dashed var(--silver);
  background: rgba(255, 255, 255, 0.62);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-home .legend-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  background: var(--lime);
  border: 2px solid var(--ink);
}

.page-home .legend-dot--lime {
  background: var(--lime);
}

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

.page-home .legend-dot--navy {
  background: var(--navy);
}

.page-home .home-version__layout {
  display: grid;
  gap: 30px;
  align-items: start;
}

.page-home .home-version__table {
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--shadow);
  overflow: hidden;
}

.page-home .home-version__table-head,
.page-home .home-version__table-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr 0.7fr;
  gap: 6px;
  align-items: center;
  padding: 16px 18px;
}

.page-home .home-version__table-head {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .home-version__table-head span {
  color: var(--lime);
}

.page-home .home-version__table-head span:first-child {
  color: var(--white);
}

.page-home .home-version__table-row {
  border-top: 1px solid var(--silver);
  font-size: 15px;
}

.page-home .home-version__table-row strong {
  font-weight: 900;
  color: var(--ink);
}

.page-home .home-version__table-row span {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
}

.page-home .home-version__table-row span:last-child {
  color: var(--navy);
  font-weight: 700;
  background: var(--lime);
  width: fit-content;
  padding: 2px 10px;
  border: 2px solid var(--ink);
}

.page-home .home-version__table-row:hover {
  background: var(--bg);
}

.page-home .home-version__figure {
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--white);
  padding: 10px;
  box-shadow: 8px 8px 0 var(--shadow);
}

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

.page-home .home-news__layout {
  display: grid;
  gap: 30px;
}

.page-home .home-news__list {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--ink);
}

.page-home .home-news__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border-bottom: 3px solid var(--ink);
  padding: 20px 4px;
  background: var(--white);
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.page-home .home-news__item:hover {
  background: var(--bg);
  padding-left: 10px;
}

.page-home .home-news__cat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  border: 2px solid var(--ink);
  padding: 3px 8px;
  width: fit-content;
  background: var(--white);
}

.page-home .home-news__link {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.5;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .home-news__link:hover {
  border-bottom-color: var(--orange);
  color: var(--navy);
}

.page-home .home-news__date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-news__figure {
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--white);
  padding: 10px;
  box-shadow: 8px 8px 0 var(--shadow);
}

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

.page-home .home-news__more {
  margin-top: 36px;
}

.page-home .home-support__band {
  background: var(--orange);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--shadow);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}

.page-home .home-support__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.4vw, 32px);
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.25;
}

.page-home .home-support__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
  max-width: 46em;
}

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

@media (max-width: 799px) {
  .page-home .home-stats-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-home .home-version__table-head,
  .page-home .home-version__table-row {
    grid-template-columns: 1.1fr 0.8fr 0.7fr 0.7fr;
    padding: 13px 10px;
    font-size: 13px;
  }

  .page-home .home-version__table-head span,
  .page-home .home-version__table-row span {
    font-size: 12px;
  }
}

@media (min-width: 800px) {
  .page-home .home-hero {
    padding: 96px 0 176px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }

  .page-home .home-stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: -112px;
  }

  .page-home .home-stream__head,
  .page-home .home-entry__head,
  .page-home .home-table__head,
  .page-home .home-version__head,
  .page-home .home-news__head {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: end;
  }

  .page-home .home-stream__panel {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .page-home .home-stream__chart {
    border-top: 0;
    border-left: 3px solid var(--ink);
  }

  .page-home .home-stream__feed {
    padding: 26px 30px;
  }

  .page-home .home-entry__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .page-home .home-table__layout {
    grid-template-columns: 1fr 0.62fr;
    gap: 32px;
    align-items: start;
  }

  .page-home .home-version__layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
  }

  .page-home .home-news__layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
  }

  .page-home .home-news__item {
    grid-template-columns: 88px 1fr auto;
    gap: 4px 16px;
    align-items: center;
  }

  .page-home .home-support__band {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 44px 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    transition: none !important;
  }
}
