.page-home {
  --home-hero-fs-title: clamp(2.25rem, 6vw, 4.5rem);
  --home-hero-fs-sub: clamp(0.9375rem, 1.4vw, 1.0625rem);
  --home-section-pad: clamp(52px, 8vw, 104px);
  overflow-x: clip;
}

.page-home .home-hero {
  position: relative;
  padding: 28px 0 44px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--slate) 45%, var(--ochre) 120%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.4;
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon) 0%, var(--gold) 60%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
}

.page-home .home-hero__meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0 18px;
  border-bottom: 1px solid var(--line-dim);
  font: 500 0.75rem/1.4 var(--font-data);
  color: var(--silver);
  letter-spacing: 0.04em;
}

.page-home .home-hero__meta-item--code {
  color: var(--gold);
}

.page-home .home-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
  padding: 38px 0 20px;
}

.page-home .home-hero__kicker {
  margin: 0 0 16px;
  font: 600 0.8125rem/1.5 var(--font-data);
  letter-spacing: 0.08em;
  color: var(--neon);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--home-hero-fs-title);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 9em;
}

.page-home .home-hero__title-highlight {
  position: relative;
  color: var(--gold);
  white-space: nowrap;
}

.page-home .home-hero__title-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: linear-gradient(90deg, var(--neon) 0%, transparent 100%);
  opacity: 0.45;
  clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 65%);
  pointer-events: none;
}

.page-home .home-hero__sub {
  margin: 18px 0 0;
  max-width: 36em;
  font-size: var(--home-hero-fs-sub);
  line-height: 1.8;
  color: var(--silver);
}

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

.page-home .home-hero__app-note {
  margin: 16px 0 0;
  font: 500 0.8125rem/1.5 var(--font-data);
  color: var(--silver);
  letter-spacing: 0.02em;
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-dim);
}

.page-home .home-hero__stat {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold);
}

.page-home .home-hero__stat-label {
  margin: 0;
  font: 500 0.75rem/1.4 var(--font-data);
  color: var(--silver);
}

.page-home .home-hero__stat-value {
  margin: 4px 0 0;
  font: 700 1.625rem/1.2 var(--font-data);
  color: var(--white);
}

.page-home .home-hero__stat-unit {
  margin-left: 2px;
  color: var(--neon);
  font-size: 0.85em;
}

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

.page-home .home-hero__frame {
  position: relative;
  padding: 10px;
  background: linear-gradient(145deg, var(--slate) 0%, var(--ink-soft) 100%);
  border: 1px solid var(--line-gold);
}

.page-home .home-hero__frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--line-gold);
  pointer-events: none;
  z-index: 1;
}

.page-home .home-hero__frame-tick {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 2;
}

.page-home .home-hero__frame-tick--tl {
  top: -6px;
  left: -6px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}

.page-home .home-hero__frame-tick--br {
  bottom: -6px;
  right: -6px;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
}

.page-home .home-hero__frame-guides {
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
}

.page-home .home-hero__frame-guides svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  filter: saturate(0.92) contrast(1.05);
}

.page-home .home-hero__live-pill {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(11, 14, 20, 0.88);
  border: 1px solid var(--line-gold);
  color: var(--white);
  font: 500 0.75rem/1.4 var(--font-data);
}

.page-home .home-hero__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}

.page-home .home-league-filter {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 14px 16px;
  background: var(--glass);
  border: 1px solid var(--line-gold);
}

.page-home .home-league-filter__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: 8px;
}

.page-home .home-league-filter__title {
  font: 800 0.9375rem/1.3 var(--font-head);
  color: var(--white);
}

.page-home .home-league-filter__hint {
  font: 500 0.75rem/1.3 var(--font-data);
  color: var(--silver);
}

.page-home .home-league-filter .league-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-entry {
  padding: var(--home-section-pad) 0;
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-entry .section-tag {
  color: var(--ochre);
}

.page-home .home-entry .section-heading {
  color: var(--ink);
}

.page-home .home-entry__layout {
  display: grid;
  gap: 36px;
}

.page-home .home-entry__desc {
  margin: 18px 0 0;
  max-width: 42em;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .home-entry__features {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-entry__feature {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-home .home-entry__feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  background: var(--ochre);
  clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

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

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

.page-home .home-entry__figure {
  position: relative;
  margin: 0;
  padding: 12px 10px 10px 0;
}

.page-home .home-entry__figure::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: -14px;
  left: 12px;
  background: var(--ochre);
  clip-path: polygon(0 6%, 100% 0, 94% 96%, 0 100%);
  opacity: 0.16;
  z-index: 0;
}

.page-home .home-entry__figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(11, 14, 20, 0.16);
  filter: saturate(0.96);
}

.page-home .home-entry__caption {
  margin-top: 12px;
  font: 500 0.8125rem/1.4 var(--font-data);
  color: var(--ochre);
  letter-spacing: 0.02em;
}

.page-home .home-bigscreen {
  position: relative;
  padding: var(--home-section-pad) 0;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.page-home .home-bigscreen::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 68%);
  opacity: 0.09;
  pointer-events: none;
}

.page-home .home-bigscreen__head {
  position: relative;
  max-width: 780px;
  margin-bottom: 40px;
}

.page-home .home-bigscreen .section-tag {
  color: var(--gold);
}

.page-home .home-bigscreen__desc {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--silver);
}

.page-home .home-bigscreen__stage {
  position: relative;
  padding: 8px;
  background: linear-gradient(140deg, var(--slate) 0%, var(--ink-soft) 100%);
  border: 1px solid var(--line-gold);
}

.page-home .home-bigscreen__stage-mask {
  position: absolute;
  inset: 8px;
  border: 1px solid var(--line-dim);
  z-index: 2;
  pointer-events: none;
}

.page-home .home-bigscreen__stage-img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.12) grayscale(0.15);
}

.page-home .home-bigscreen__float {
  position: absolute;
  z-index: 3;
  min-width: 138px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-bigscreen__float--left {
  top: 24px;
  left: 24px;
}

.page-home .home-bigscreen__float--right {
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.page-home .home-bigscreen__float-label {
  font: 600 0.75rem/1.4 var(--font-data);
  color: var(--silver);
  letter-spacing: 0.06em;
}

.page-home .home-bigscreen__float-value {
  font: 800 1.625rem/1.2 var(--font-data);
  color: var(--gold);
}

.page-home .home-bigscreen__float-note {
  font: 500 0.75rem/1.4 var(--font-data);
  color: var(--silver);
}

.page-home .home-bigscreen__notes {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-home .home-bigscreen__note {
  padding: 22px;
}

.page-home .home-bigscreen__note-title {
  margin: 0 0 8px;
  font: 800 0.9375rem/1.3 var(--font-head);
  color: var(--white);
}

.page-home .home-bigscreen__note-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .home-leagues {
  padding: var(--home-section-pad) 0;
  background: linear-gradient(150deg, var(--ink-soft) 0%, var(--slate) 100%);
  color: var(--white);
}

.page-home .home-leagues .section-tag {
  color: var(--neon);
}

.page-home .home-leagues__head {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.page-home .home-leagues__hint {
  margin: 0;
  max-width: 420px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--silver);
}

.page-home .home-leagues__grid {
  display: grid;
  gap: 16px;
}

.page-home .home-league-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  padding: 22px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.page-home .home-league-card:hover {
  transform: translateY(-4px);
}

.page-home .home-league-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .home-league-card__code {
  font: 500 0.6875rem/1.4 var(--font-data);
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-home .home-league-card__name {
  margin: 0;
  font: 800 1.5rem/1.2 var(--font-head);
  color: var(--white);
}

.page-home .home-league-card__meta {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .home-league-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dim);
}

.page-home .home-league-card__status {
  font: 500 0.75rem/1.4 var(--font-data);
  color: var(--neon);
}

.page-home .home-league-card__enter {
  font: 600 0.8125rem/1.4 var(--font-body);
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.page-home .home-league-card__enter:hover {
  color: var(--neon);
}

.page-home .home-datastream {
  position: relative;
  padding: var(--home-section-pad) 0;
  background: linear-gradient(135deg, var(--ochre) 0%, var(--ink-soft) 120%);
  color: var(--white);
  overflow: hidden;
}

.page-home .home-datastream .section-tag {
  color: var(--neon);
}

.page-home .home-datastream__head {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}

.page-home .home-datastream__intro {
  margin: 0;
  max-width: 400px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--silver);
}

.page-home .home-datastream__track {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-dim);
  border: 1px solid var(--line-dim);
}

.page-home .home-datastream__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 170px;
  padding: 24px 20px;
  background: rgba(11, 14, 20, 0.55);
}

.page-home .home-datastream__label {
  margin: 0;
  font: 600 0.8125rem/1.4 var(--font-data);
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-home .home-datastream__value {
  margin: 0;
  font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-data);
  color: var(--white);
}

.page-home .home-datastream__unit {
  margin-left: 4px;
  color: var(--neon);
  font-size: 0.6em;
}

.page-home .home-datastream__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--silver);
}

.page-home .home-datastream__foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.page-home .home-datastream__tag {
  padding: 6px 12px;
  border: 1px dashed var(--line-gold);
  font: 500 0.8125rem/1.4 var(--font-data);
  color: var(--silver);
}

.page-home .home-datastream__bridge {
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 100%;
  height: 180px;
  opacity: 0.14;
  pointer-events: none;
}

.page-home .home-datastream__bridge-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
}

.page-home .home-feedback {
  padding: var(--home-section-pad) 0;
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-feedback .section-tag {
  color: var(--ochre);
}

.page-home .home-feedback .section-heading {
  color: var(--ink);
}

.page-home .home-feedback__layout {
  display: grid;
  gap: 36px;
}

.page-home .home-feedback__desc {
  margin: 18px 0 0;
  max-width: 42em;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .home-feedback__contact {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.page-home .home-feedback__contact-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(11, 14, 20, 0.14);
}

.page-home .home-feedback__contact-label {
  flex-shrink: 0;
  width: 92px;
  margin: 0;
  font: 600 0.8125rem/1.4 var(--font-data);
  color: var(--ochre);
}

.page-home .home-feedback__contact-value {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}

.page-home .home-feedback__trust {
  margin: 22px 0 0;
  padding: 14px 16px;
  background: rgba(201, 162, 39, 0.14);
  border-left: 4px solid var(--gold);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

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

.page-home .home-feedback__figure {
  position: relative;
  margin: 0;
}

.page-home .home-feedback__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(11, 14, 20, 0.16);
  filter: saturate(0.94);
}

.page-home .home-feedback__caption {
  margin-top: 12px;
  text-align: center;
  font: 500 0.8125rem/1.4 var(--font-data);
  color: var(--ochre);
}

@media (min-width: 700px) {
  .page-home .home-hero__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

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

  .page-home .home-leagues__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .page-home .home-feedback__contact-item {
    gap: 16px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__padding-wrap {
    padding: 0;
  }

  .page-home .home-hero__layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
    align-items: center;
    padding: 56px 0 30px;
  }

  .page-home .home-entry__layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
  }

  .page-home .home-leagues__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

  .page-home .home-datastream__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .page-home .home-feedback__layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
  }
}
