.page-home {
  --home-blue: var(--color-deep-blue);
  --home-gold: var(--color-gold);
  --home-red: var(--color-red-orange);
  --home-emerald: var(--color-emerald);
  --home-cream: var(--color-cream);
  --home-dark: var(--color-dark-brown);
  --home-light: var(--color-light-gray);
  --home-glass-card: rgba(247, 243, 232, 0.82);
}

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

.page-home .section-head {
  position: relative;
  margin-bottom: 32px;
  padding: 4px 0 4px 16px;
  border-left: 4px solid var(--home-gold);
}

.page-home .section-head__index {
  display: block;
  margin-bottom: 6px;
  font-family: var(--data-font);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--home-red);
}

.page-home .section-head__title {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--home-blue);
}

.page-home .section-head__caption {
  margin: 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(30, 28, 23, 0.72);
}

.page-home .section-head--dark .section-head__index {
  color: var(--home-gold);
}

.page-home .section-head--dark .section-head__title {
  color: var(--home-cream);
}

.page-home .section-head--dark .section-head__caption {
  color: rgba(247, 243, 232, 0.72);
}

.page-home a:focus-visible {
  outline: 3px solid var(--home-gold);
  outline-offset: 3px;
}

.page-home .home-frame {
  position: relative;
  min-height: 640px;
  padding: calc(var(--header-height) + 24px) 16px 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--home-blue);
}

.page-home .home-frame__inner {
  position: relative;
  width: min(100%, 1200px);
  min-height: 500px;
  padding: 18px;
  border: 2px solid var(--home-gold);
  background: rgba(10, 31, 61, 0.35);
  overflow: hidden;
}

.page-home .home-frame__inner::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 4;
  border: 1px solid rgba(212, 175, 55, 0.6);
  pointer-events: none;
}

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

.page-home .home-frame__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(10, 31, 61, 0.92) 5%, rgba(10, 31, 61, 0.62) 52%, rgba(10, 31, 61, 0.28) 100%);
}

.page-home .home-frame__glass {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 28px;
  background: var(--home-glass-card);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 24px 64px rgba(10, 31, 61, 0.32);
}

.page-home .home-frame__kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--home-gold);
  font-family: var(--data-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--home-red);
}

.page-home .home-frame__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.14;
  color: var(--home-blue);
}

.page-home .home-frame__subtitle {
  display: block;
  margin-top: 6px;
  color: var(--home-red);
  font-size: .76em;
}

.page-home .home-frame__lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(30, 28, 23, 0.82);
}

.page-home .home-frame__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-home .home-frame__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--home-red);
  font-size: 14px;
  font-weight: 700;
  color: var(--home-blue);
  text-decoration: none;
}

.page-home .home-frame__arrow {
  transition: transform var(--duration) var(--ease);
}

.page-home .home-frame__link:hover .home-frame__arrow {
  transform: translateX(4px);
}

.page-home .home-frame__note {
  position: absolute;
  z-index: 3;
  font-family: var(--data-font);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--home-gold);
  white-space: nowrap;
}

.page-home .home-frame__note--vert {
  top: 50%;
  right: 0;
  transform: rotate(90deg) translateY(-50%);
  transform-origin: center right;
}

.page-home .home-frame__note--horiz {
  bottom: 18px;
  left: 20px;
  color: rgba(247, 243, 232, 0.66);
  letter-spacing: .2em;
}

.page-home .home-frame__gauge {
  position: absolute;
  z-index: 3;
  top: 26px;
  right: 26px;
  width: 104px;
  height: 104px;
}

.page-home .home-frame__stamp {
  position: absolute;
  z-index: 3;
  right: 26px;
  bottom: 24px;
  padding: 8px 10px;
  border: 1px solid rgba(247, 243, 232, 0.55);
  font-family: var(--data-font);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--home-cream);
  transform: rotate(-6deg);
}

.page-home .home-frame__scale {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--home-gold);
}

.page-home .home-frame__scale b {
  font-family: var(--data-font);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--home-blue);
}

.page-home .home-frame__scale i {
  display: block;
  width: 2px;
  height: 12px;
  background: var(--home-blue);
}

.page-home .home-index {
  padding: 0 16px;
  overflow-x: auto;
  background: var(--home-cream);
  border-bottom: 1px solid rgba(30, 28, 23, 0.08);
}

.page-home .home-index__list {
  max-width: 1200px;
  min-width: max-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 24px;
}

.page-home .home-index__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--home-blue);
  text-decoration: none;
}

.page-home .home-index__num {
  font-family: var(--data-font);
  font-size: 12px;
  color: var(--home-red);
}

.page-home .home-index__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--home-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.page-home .home-index__link:hover {
  color: var(--home-red);
}

.page-home .home-index__link:hover::after {
  transform: scaleX(1);
}

.page-home .home-panel__layout {
  display: grid;
  gap: 32px;
  align-items: stretch;
}

.page-home .home-panel__visual {
  position: relative;
  margin: 0;
  border-right: 8px solid var(--home-red);
  box-shadow: 18px 18px 0 rgba(10, 31, 61, 0.08);
}

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

.page-home .home-panel__coordinate {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(10, 31, 61, 0.72);
  font-family: var(--data-font);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--home-cream);
}

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

.page-home .stat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--home-cream);
  border: 1px solid rgba(30, 28, 23, 0.08);
  border-left: 4px solid var(--home-red);
  transform: skewX(-2deg);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.page-home .stat-card:hover {
  transform: skewX(-2deg) translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 31, 61, 0.12);
}

.page-home .stat-card:hover .stat-card__value {
  animation: home-blink 0.42s steps(2) 2;
}

@keyframes home-blink {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.4; transform: translateY(-4px); }
}

.page-home .stat-card__label {
  font-family: var(--data-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--home-red);
}

.page-home .stat-card__value {
  font-family: var(--data-font);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 800;
  line-height: 1;
  color: var(--home-blue);
}

.page-home .stat-card__unit {
  margin-left: 2px;
  font-size: .5em;
  color: var(--home-red);
}

.page-home .stat-card__desc {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(30, 28, 23, 0.72);
}

.page-home .stat-card--main {
  background: var(--home-blue);
  border-left-color: var(--home-gold);
}

.page-home .stat-card--main .stat-card__label {
  color: var(--home-gold);
}

.page-home .stat-card--main .stat-card__value {
  color: var(--home-cream);
}

.page-home .stat-card--main .stat-card__unit {
  color: var(--home-gold);
}

.page-home .stat-card--main .stat-card__desc {
  color: rgba(247, 243, 232, 0.74);
}

.page-home .home-update {
  position: relative;
  overflow: hidden;
  background: var(--home-blue);
  color: var(--home-cream);
}

.page-home .home-update::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 84% 10%, rgba(212, 175, 55, 0.18), transparent 46%),
    linear-gradient(120deg, transparent 0 70%, rgba(247, 243, 232, 0.05) 70% 100%);
  pointer-events: none;
}

.page-home .home-update .container {
  position: relative;
  z-index: 1;
}

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

.page-home .filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(247, 243, 232, 0.28);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
  font-size: 14px;
  color: var(--home-cream);
  text-decoration: none;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.page-home .filter-tag span {
  font-family: var(--data-font);
  font-size: 12px;
  color: var(--home-gold);
}

.page-home .filter-tag:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--home-gold);
}

.page-home .home-update__wrap {
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-home .home-update__visual {
  position: relative;
  margin: 0;
  clip-path: polygon(0 0, 88% 0, 100% 8%, 100% 100%, 0 100%);
}

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

.page-home .home-update__visual-note {
  position: absolute;
  bottom: 16px;
  left: 0;
  max-width: 88%;
  padding: 8px 14px;
  background: rgba(30, 28, 23, 0.76);
  font-family: var(--data-font);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--home-cream);
}

.page-home .home-update__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .update-item {
  display: flex;
  gap: 18px;
  padding: 22px 20px;
  background: rgba(247, 243, 232, 0.06);
  border-left: 4px solid var(--home-gold);
  scroll-margin-top: 96px;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.page-home .update-item:nth-child(2) {
  margin-left: 8px;
}

.page-home .update-item:nth-child(3) {
  margin-left: 16px;
}

.page-home .update-item:nth-child(4) {
  margin-left: 24px;
}

.page-home .update-item:hover {
  background: rgba(247, 243, 232, 0.1);
  transform: translateX(4px);
}

.page-home .update-item__index {
  font-family: var(--data-font);
  font-size: 14px;
  line-height: 1.4;
  color: var(--home-gold);
}

.page-home .update-item__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--home-cream);
}

.page-home .update-item__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 243, 232, 0.7);
}

.page-home .home-update__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  font-size: 14px;
}

.page-home .home-update__foot a {
  color: var(--home-gold);
  text-underline-offset: 4px;
}

.page-home .home-coverage {
  background-color: var(--home-cream);
  background-image: linear-gradient(rgba(30, 28, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 28, 23, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-home .home-coverage__board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.page-home .board-metric {
  padding: 20px 16px;
  background: var(--home-cream);
  border: 1px solid rgba(30, 28, 23, 0.08);
  border-top: 4px solid var(--home-blue);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.page-home .board-metric:nth-child(2) {
  border-top-color: var(--home-red);
}

.page-home .board-metric:nth-child(3) {
  border-top-color: var(--home-gold);
}

.page-home .board-metric:nth-child(4) {
  border-top-color: var(--home-emerald);
}

.page-home .board-metric:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 31, 61, 0.1);
}

.page-home .board-metric__value {
  display: inline-block;
  font-family: var(--data-font);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--home-blue);
}

.page-home .board-metric__unit {
  margin-left: 2px;
  font-family: var(--data-font);
  font-size: 18px;
  color: var(--home-red);
}

.page-home .board-metric__label {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(30, 28, 23, 0.72);
}

.page-home .home-coverage__leagues {
  display: grid;
  gap: 18px;
}

.page-home .league-block {
  padding: 20px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(30, 28, 23, 0.1);
}

.page-home .league-block__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--home-blue);
}

.page-home .league-block__title::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--home-gold);
  transform: rotate(45deg);
}

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

.page-home .league-list li {
  padding: 6px 12px;
  background: var(--home-blue);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--home-cream);
}

.page-home .home-news__grid {
  display: grid;
  gap: 20px;
}

.page-home .news-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(30, 28, 23, 0.1);
  border-top: 5px solid var(--home-emerald);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.page-home .news-card:nth-child(2) {
  border-top-color: var(--home-red);
}

.page-home .news-card:nth-child(3) {
  border-top-color: var(--home-gold);
}

.page-home .news-card:nth-child(4) {
  border-top-color: var(--home-blue);
}

.page-home .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 31, 61, 0.1);
}

.page-home .news-card__type {
  font-family: var(--data-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--home-red);
}

.page-home .news-card__title {
  margin: 8px 0 10px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--home-blue);
}

.page-home .news-card__summary {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(30, 28, 23, 0.68);
}

.page-home .news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--home-gold);
  font-size: 14px;
  font-weight: 700;
  color: var(--home-blue);
  text-decoration: none;
}

.page-home .news-card__link:hover {
  border-bottom-color: var(--home-red);
  color: var(--home-red);
}

.page-home .section-head__more {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--home-red);
  font-size: 14px;
  font-weight: 700;
  color: var(--home-blue);
  text-decoration: none;
}

.page-home .home-sub {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
  background: var(--home-blue);
}

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

.page-home .home-sub__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 31, 61, 0.92), rgba(10, 31, 61, 0.6) 60%, rgba(10, 31, 61, 0.82));
}

.page-home .home-sub__card {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
  background: rgba(10, 31, 61, 0.34);
  border: 1px solid rgba(212, 175, 55, 0.55);
}

.page-home .home-sub__tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  font-family: var(--data-font);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--home-gold);
}

.page-home .home-sub__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--home-cream);
}

.page-home .home-sub__desc {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 243, 232, 0.78);
}

.page-home .home-sub__steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-home .home-sub__step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: rgba(247, 243, 232, 0.08);
  border-bottom: 2px solid var(--home-gold);
}

.page-home .home-sub__step-num {
  font-family: var(--data-font);
  font-size: 14px;
  color: var(--home-red);
}

.page-home .home-sub__step-txt {
  font-size: 15px;
  font-weight: 700;
  color: var(--home-cream);
}

.page-home .home-sub__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-home .home-sub__ghost {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid rgba(247, 243, 232, 0.4);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
  font-size: 14px;
  font-weight: 700;
  color: var(--home-cream);
  text-decoration: none;
}

.page-home .home-sub__ghost:hover {
  background: rgba(247, 243, 232, 0.1);
  border-color: var(--home-gold);
}

.page-home .home-sub__link {
  font-size: 14px;
  color: var(--home-gold);
  text-underline-offset: 4px;
}

@media (min-width: 768px) {
  .page-home .home-section {
    padding: 80px 0;
  }

  .page-home .home-frame__inner {
    padding: 28px;
  }

  .page-home .home-frame__glass {
    margin-left: 4%;
    padding: 40px;
  }

  .page-home .section-head__title {
    font-size: 36px;
  }

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

  .page-home .stat-card--main {
    grid-column: 1 / -1;
  }

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

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

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

@media (min-width: 1024px) {
  .page-home .home-section {
    padding: 104px 0;
  }

  .page-home .home-frame {
    min-height: 720px;
  }

  .page-home .home-frame__inner {
    min-height: 560px;
  }

  .page-home .home-panel__layout {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .page-home .home-update__wrap {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .page-home .home-update__visual {
    position: sticky;
    top: 96px;
  }

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

  .page-home .home-sub {
    padding: 96px 0;
  }

  .page-home .home-sub__card {
    padding: 44px;
  }
}
