.page-home {
  --home-clip-hero: polygon(0 0, 100% 0, 100% 100%, 8% 100%, 0 92%);
  --home-clip-card: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  overflow-x: hidden;
  background: var(--c-deep);
  color: var(--c-white);
}

.page-home [id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-home .home-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 40px) 0 48px;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(57, 255, 20, 0.14), transparent 40%),
    radial-gradient(ellipse at 100% 68%, rgba(138, 43, 226, 0.18), transparent 46%),
    var(--c-deep);
}

.page-home .home-hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 40px;
}

.page-home .home-hero__rail {
  order: 2;
  border-left: 3px solid var(--c-neon);
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-home .home-hero__rail p {
  margin: 14px 0 0;
  max-width: 30em;
}

.page-home .home-hero__edition {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: skewX(-6deg);
}

.page-home .home-hero__edition-no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 58px;
  line-height: 0.9;
  color: var(--c-neon);
  letter-spacing: 0.02em;
}

.page-home .home-hero__edition-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.page-home .home-hero__index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
}

.page-home .home-hero__index a {
  color: var(--c-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease-cubic), border-color 0.2s var(--ease-cubic);
}

.page-home .home-hero__index a:hover {
  color: var(--c-neon);
  border-color: var(--c-neon);
}

.page-home .home-hero__main {
  order: 1;
  min-width: 0;
}

.page-home .home-hero__tag {
  margin-bottom: 14px;
}

.page-home .home-hero__title {
  margin: 18px 0 20px;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(52px, 11vw, 128px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-shadow: 4px 4px 0 rgba(57, 255, 20, 0.18);
}

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

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-hero__visual {
  position: relative;
  margin-top: 36px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 4%, 100% 96%, 5% 100%);
}

.page-home .home-hero__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.9);
}

.page-home .home-hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .home-hero__particles circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: homePulse 2.4s var(--ease-cubic) infinite alternate;
}

.page-home .home-hero__particles circle:nth-of-type(2n) {
  animation-delay: 0.4s;
}

.page-home .home-hero__particles circle:nth-of-type(3n) {
  animation-delay: 0.8s;
}

.page-home .home-hero__particles circle:nth-of-type(4n) {
  animation-delay: 1.2s;
}

@keyframes homePulse {
  from {
    opacity: 0.25;
    transform: scale(0.8);
  }
  to {
    opacity: 0.9;
    transform: scale(1.15);
  }
}

.page-home .home-leagues {
  position: relative;
  padding: 64px 0;
  background: var(--c-footer);
}

.page-home .home-leagues::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-neon), var(--c-purple));
}

.page-home .home-leagues__head,
.page-home .home-tools__head,
.page-home .home-scorers__info,
.page-home .home-reports__head {
  margin-bottom: 28px;
}

.page-home .home-leagues__title,
.page-home .home-tools__title,
.page-home .home-scorers__title,
.page-home .home-reports__title {
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 8px 0 10px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.page-home .home-leagues__desc,
.page-home .home-tools__desc,
.page-home .home-reports__desc {
  max-width: 660px;
  color: var(--c-muted);
  line-height: 1.65;
}

.page-home .home-leagues__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-league-card {
  position: relative;
  background: var(--c-card);
  border: 1px solid rgba(170, 184, 198, 0.14);
  padding: 20px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  clip-path: var(--home-clip-card);
  transition: transform 0.25s var(--ease-cubic), box-shadow 0.25s var(--ease-cubic), border-color 0.25s var(--ease-cubic);
}

.page-home .home-league-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--c-neon);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s var(--ease-cubic);
}

.page-home .home-league-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.page-home .home-league-card:hover::after {
  transform: scaleY(1);
}

.page-home .home-league-card__name {
  font-style: italic;
  font-size: 26px;
  margin: 12px 0 6px;
  text-transform: uppercase;
  line-height: 1;
}

.page-home .home-league-card__desc {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}

.page-home .home-league-card__meta {
  font-size: 12px;
  color: var(--c-neon);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.page-home .home-league-card--highlight {
  padding: 0;
  min-height: 300px;
  isolation: isolate;
}

.page-home .home-league-card--highlight > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.72);
  transition: transform 0.3s var(--ease-cubic), filter 0.3s var(--ease-cubic);
}

.page-home .home-league-card--highlight:hover > img {
  transform: scale(1.04);
  filter: brightness(0.82);
}

.page-home .home-league-card__inner {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(11, 22, 40, 0.92));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .home-league-card__link {
  color: var(--c-neon);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-cubic);
}

.page-home .home-league-card__link:hover {
  border-color: var(--c-neon);
}

.page-home .home-tools {
  padding: 64px 0;
  background:
    linear-gradient(135deg, rgba(11, 22, 40, 0.88), rgba(18, 28, 40, 0.96)),
    repeating-linear-gradient(45deg, transparent 0, transparent 18px, rgba(57, 255, 20, 0.05) 18px, rgba(57, 255, 20, 0.05) 20px);
}

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

.page-home .home-tool-card {
  position: relative;
  background: var(--c-card);
  border: 1px solid rgba(57, 255, 20, 0.22);
  padding: 24px;
  transition: transform 0.25s var(--ease-cubic), border-color 0.25s var(--ease-cubic);
}

.page-home .home-tool-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-neon);
}

.page-home .home-tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-neon);
}

.page-home .home-tool-card--dark {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.22), rgba(75, 0, 130, 0.3)), var(--c-card);
  border-color: rgba(138, 43, 226, 0.45);
}

.page-home .home-tool-card--dark::before {
  background: linear-gradient(180deg, var(--c-purple), var(--c-purple-dark));
}

.page-home .home-tool-card__index {
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-neon);
  margin-bottom: 8px;
}

.page-home .home-tool-card--dark .home-tool-card__index {
  -webkit-text-stroke-color: var(--c-purple);
}

.page-home .home-tool-card__name {
  font-style: italic;
  font-size: 26px;
  margin: 10px 0 8px;
  text-transform: uppercase;
  line-height: 1.1;
}

.page-home .home-tool-card__desc {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.page-home .home-tool-card__steps {
  counter-reset: home-step;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-top: 1px solid rgba(170, 184, 198, 0.16);
}

.page-home .home-tool-card__steps li {
  counter-increment: home-step;
  padding: 10px 0 10px 36px;
  border-bottom: 1px solid rgba(170, 184, 198, 0.12);
  font-size: 14px;
  color: var(--c-white);
  position: relative;
}

.page-home .home-tool-card__steps li::before {
  content: counter(home-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--c-neon);
  font-weight: 700;
  font-style: italic;
}

.page-home .home-tool-card--dark .home-tool-card__steps li::before {
  color: var(--c-purple);
}

.page-home .home-scorers {
  position: relative;
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(138, 43, 226, 0.28), rgba(75, 0, 130, 0.42)),
    var(--c-deep);
}

.page-home .home-scorers::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(240px, 18%);
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.18), transparent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%);
  pointer-events: none;
}

.page-home .home-scorers__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-home .home-scorers__desc {
  color: var(--c-white);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 18px;
}

.page-home .home-scorers__points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.page-home .home-scorers__points li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--c-muted);
  border-bottom: 1px solid rgba(170, 184, 198, 0.16);
  font-size: 15px;
}

.page-home .home-scorers__points li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--c-neon);
  font-weight: 700;
}

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

.page-home .home-scorers__visual > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 5% 100%);
}

.page-home .home-scorers__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

.page-home .home-scorers__stat {
  background: var(--c-footer);
  border: 1px solid rgba(57, 255, 20, 0.35);
  padding: 16px 8px;
  text-align: center;
}

.page-home .home-scorers__stat .stat-num {
  display: block;
  font-style: italic;
  font-size: 28px;
  color: var(--c-neon);
  line-height: 1;
}

.page-home .home-scorers__stat .stat-num small {
  font-size: 16px;
}

.page-home .home-scorers__stat:nth-child(2) .stat-num {
  color: var(--c-orange);
}

.page-home .home-scorers__stat:nth-child(3) .stat-num {
  color: var(--c-white);
}

.page-home .home-scorers__stat .stat-label {
  display: block;
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.page-home .home-reports {
  padding: 64px 0;
  background: var(--c-deep);
}

.page-home .home-reports__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-report-card {
  background: var(--c-card);
  border: 1px solid rgba(170, 184, 198, 0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-cubic), border-color 0.25s var(--ease-cubic);
}

.page-home .home-report-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, 0.55);
}

.page-home .home-report-card__media {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

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

.page-home .home-report-card__media .badge {
  position: absolute;
  right: 12px;
  bottom: 18px;
}

.page-home .home-report-card__media--numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 32px 20px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(11, 22, 40, 0.6), rgba(138, 43, 226, 0.42)), var(--c-card);
}

.page-home .home-report-card__score {
  font-style: italic;
  font-size: 84px;
  color: var(--c-neon);
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 3px 3px 0 rgba(57, 255, 20, 0.18);
}

.page-home .home-report-card__body {
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-home .home-report-card__round {
  font-size: 12px;
  color: var(--c-orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-report-card__title {
  font-style: italic;
  font-size: 24px;
  margin: 8px 0;
  text-transform: uppercase;
  line-height: 1.1;
}

.page-home .home-report-card__text {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.page-home .home-report-card--highlight {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.18), rgba(11, 22, 40, 0.9)), var(--c-card);
  border-color: rgba(255, 106, 0, 0.5);
  padding: 24px;
}

.page-home .home-report-card--highlight .home-report-card__body {
  padding: 0;
  flex: 1;
}

.page-home .home-report-card--highlight .btn {
  margin-top: auto;
}

.page-home .home-promise {
  position: relative;
  background: var(--c-footer);
}

.page-home .home-promise::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--c-neon), var(--c-purple), var(--c-orange));
}

.page-home .home-promise__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 56px 0;
}

.page-home .home-promise__title {
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 12px;
}

.page-home .home-promise__desc {
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 24px;
}

.page-home .home-promise__mark {
  border-left: 4px solid var(--c-orange);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-home .home-promise__mark-num {
  font-style: italic;
  font-size: 88px;
  line-height: 0.95;
  color: var(--c-orange);
}

.page-home .home-promise__mark-num small {
  font-size: 36px;
}

.page-home .home-promise__mark-label {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

@media (min-width: 640px) {
  .page-home .home-leagues__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 820px) {
  .page-home .home-tools__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .page-home .home-scorers__stat .stat-num {
    font-size: 32px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: calc(var(--header-h) + 72px) 0 96px;
    clip-path: var(--home-clip-hero);
  }

  .page-home .home-hero__layout {
    grid-template-columns: 248px minmax(0, 1fr);
    grid-template-areas: "rail main";
    gap: 48px;
  }

  .page-home .home-hero__rail {
    grid-area: rail;
    order: 0;
    position: sticky;
    top: calc(var(--header-h) + 28px);
    align-self: start;
  }

  .page-home .home-hero__index {
    flex-direction: column;
    gap: 8px;
  }

  .page-home .home-hero__main {
    grid-area: main;
    order: 0;
  }

  .page-home .home-hero__visual {
    margin-top: 48px;
  }

  .page-home .home-hero__visual img {
    aspect-ratio: 21 / 9;
  }

  .page-home .home-leagues {
    padding: 80px 0;
  }

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

  .page-home .home-tools,
  .page-home .home-reports {
    padding: 80px 0;
  }

  .page-home .home-scorers {
    padding: 88px 0;
  }

  .page-home .home-scorers__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
  }

  .page-home .home-promise__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 48px;
    padding: 72px 0;
  }
}

@media (min-width: 1024px) {
  .page-home .home-league-card__name {
    font-size: 28px;
  }

  .page-home .home-league-card {
    min-height: 200px;
  }

  .page-home .home-report-card__score {
    font-size: 96px;
  }
}
