@keyframes home-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.page-home {
  --home-slant: 48px;
  --home-grid-line: rgba(11, 30, 63, 0.06);
  background: var(--fh-bg-light);
  color: var(--fh-text-dark);
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 580px;
  padding: calc(var(--fh-header-h) + 2.5rem) 0 5rem;
  background: var(--fh-navy);
  color: var(--fh-text-light);
  overflow: hidden;
}

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

.page-home .home-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 30, 63, 0.96) 0%, rgba(11, 30, 63, 0.84) 46%, rgba(11, 30, 63, 0.5) 100%),
    radial-gradient(circle at 82% 18%, rgba(0, 229, 160, 0.16), transparent 42%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  width: 100%;
}

.page-home .home-hero__content {
  max-width: 860px;
}

.page-home .home-hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 1.25rem;
  font-family: var(--fh-font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fh-green);
}

.page-home .home-hero__eyebrow i {
  width: 3rem;
  height: 2px;
  background: var(--fh-orange);
}

.page-home .home-hero__title {
  margin: 0 0 1.5rem;
  font-family: var(--fh-font-heading);
  font-size: clamp(2.1rem, 7vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.page-home .home-hero__lead {
  margin: 0 0 2rem;
  max-width: 58em;
  padding-left: 1.25rem;
  border-left: 4px solid var(--fh-green);
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-home .home-hero__panel {
  position: relative;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.32);
  padding: 1.5rem;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  backdrop-filter: blur(4px);
}

.page-home .home-hero__status {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.page-home .home-hero__mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: var(--fh-green);
  color: var(--fh-navy);
  font-family: var(--fh-font-heading);
  font-size: 1rem;
  font-weight: 900;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.page-home .home-hero__status-text {
  display: grid;
  gap: 0.125rem;
  font-style: normal;
}

.page-home .home-hero__status-text em {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
}

.page-home .home-hero__status-text strong {
  font-family: var(--fh-font-heading);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--fh-green);
  animation: home-live-pulse 2s ease-in-out infinite;
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.page-home .home-hero__stats dt {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
}

.page-home .home-hero__stats dd {
  margin: 0.25rem 0 0;
  font-family: var(--fh-font-heading);
  font-size: 1.625rem;
  color: #fff;
}

.page-home .home-hero__note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.page-home .home-section-head__kicker {
  margin: 0 0 0.5rem;
  font-family: var(--fh-font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fh-orange);
}

.page-home .home-section-head__crumb {
  color: var(--fh-gray);
  font-weight: 400;
}

.page-home .home-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.15;
}

.page-home .home-section-head__desc {
  margin: 0.75rem 0 0;
  max-width: 48em;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fh-gray);
}

.page-home .home-section-head--light .home-title {
  color: #fff;
}

.page-home .home-section-head--light .home-section-head__desc {
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-dashboard {
  position: relative;
  padding: var(--fh-section-space) 0;
  background:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px),
    var(--fh-bg-light);
  background-size: 44px 44px, 44px 44px, auto;
}

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

.page-home .home-scoreboard {
  background: #fff;
  border: 1px solid var(--fh-border);
  box-shadow: 10px 10px 0 rgba(11, 30, 63, 0.06);
}

.page-home .home-scoreboard__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.125rem;
  background: var(--fh-navy);
  color: #fff;
  font-family: var(--fh-font-heading);
  font-size: 0.9375rem;
}

.page-home .home-scoreboard__live {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--fh-green);
}

.page-home .home-scoreboard__live i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--fh-green);
  animation: home-live-pulse 1.6s ease-in-out infinite;
}

.page-home .home-match {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--fh-border);
  transition: background 0.2s ease;
}

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

.page-home .home-match:hover,
.page-home .home-match:focus-within {
  background: rgba(0, 229, 160, 0.1);
}

.page-home .home-match__league {
  font-family: var(--fh-font-heading);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: var(--fh-navy);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

.page-home .home-match__round {
  font-size: 0.75rem;
  color: var(--fh-gray);
  white-space: nowrap;
}

.page-home .home-match__team {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.9375rem;
}

.page-home .home-match__team--home {
  text-align: right;
}

.page-home .home-match__team--away {
  text-align: left;
}

.page-home .home-match__score {
  font-family: var(--fh-font-heading);
  font-size: 1.125rem;
  color: var(--fh-navy);
  background: var(--fh-bg-light);
  padding: 0.25rem 0.5rem;
  border-left: 2px solid var(--fh-green);
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.page-home .home-match:hover .home-match__score {
  transform: scale(1.06);
}

.page-home .home-match__time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fh-orange);
  white-space: nowrap;
}

.page-home .home-match__detail {
  grid-column: 1 / -1;
  display: none;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--fh-border);
  font-size: 0.75rem;
  color: var(--fh-gray);
}

.page-home .home-match:hover .home-match__detail,
.page-home .home-match:focus-within .home-match__detail {
  display: block;
}

.page-home .home-scoreboard__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.125rem;
  background: var(--fh-bg-light);
  font-size: 0.8125rem;
  color: var(--fh-gray);
}

.page-home .home-scoreboard__foot a {
  color: var(--fh-navy);
  font-weight: 600;
  text-decoration: none;
}

.page-home .home-scoreboard__foot a:hover {
  color: var(--fh-orange);
}

.page-home .home-ranklist {
  background: var(--fh-navy);
  color: #fff;
  padding: 1.5rem;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

.page-home .home-ranklist__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.page-home .home-ranklist__head h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-family: var(--fh-font-heading);
}

.page-home .home-ranklist__head span {
  font-size: 0.75rem;
  color: var(--fh-green);
}

.page-home .home-ranklist__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.page-home .home-ranklist__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "pos name pts" "bar bar bar";
  gap: 0.375rem 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.page-home .home-ranklist__pos {
  grid-area: pos;
  font-family: var(--fh-font-heading);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.46);
}

.page-home .home-ranklist__item:first-child .home-ranklist__pos {
  color: var(--fh-green);
}

.page-home .home-ranklist__name {
  grid-area: name;
  font-weight: 600;
  font-size: 0.9375rem;
}

.page-home .home-ranklist__pts {
  grid-area: pts;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.66);
}

.page-home .home-ranklist__bar {
  grid-area: bar;
  width: 100%;
  height: 4px;
  display: block;
}

.page-home .home-ranklist__more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--fh-green);
  font-size: 0.8125rem;
  text-decoration: none;
}

.page-home .home-ranklist__more:hover {
  color: var(--fh-orange);
}

.page-home .home-dashboard__bottom {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.page-home .home-dashboard__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--fh-border);
  box-shadow: 8px 8px 0 rgba(11, 30, 63, 0.06);
}

.page-home .home-dashboard__chartbox {
  display: grid;
  gap: 1rem;
  align-content: center;
  background: #fff;
  border: 1px solid var(--fh-border);
  padding: 1.5rem;
}

.page-home .home-dashboard__chart {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-dashboard__chartbox p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--fh-gray);
}

.page-home .home-features {
  position: relative;
  margin-top: calc(var(--home-slant) * -1);
  padding: var(--fh-section-space) 0;
  background: var(--fh-navy);
  color: #fff;
  clip-path: polygon(0 0, 100% var(--home-slant), 100% 100%, 0 100%);
}

.page-home .home-features__list {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
}

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

.page-home .home-features__media,
.page-home .home-actions__media {
  margin: 0;
}

.page-home .home-features__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 12px 12px 0 rgba(0, 229, 160, 0.14);
}

.page-home .home-features__visual {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.22);
}

.page-home .home-features__visual svg {
  display: block;
  width: min(100%, 240px);
  height: auto;
}

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

.page-home .home-features__index {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--fh-font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--fh-green);
}

.page-home .home-features__item:nth-child(2) .home-features__index {
  -webkit-text-stroke-color: var(--fh-orange);
}

.page-home .home-features__content h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.3;
}

.page-home .home-features__content p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .home-news {
  padding: var(--fh-section-space) 0;
  background:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px),
    var(--fh-bg-light);
  background-size: 44px 44px, 44px 44px, auto;
}

.page-home .home-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--fh-border);
  border-left: 4px solid var(--fh-navy);
}

.page-home .home-news__item > a {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--fh-border);
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.page-home .home-news__item:last-child > a {
  border-bottom: 0;
}

.page-home .home-news__item > a:hover {
  background: rgba(0, 229, 160, 0.08);
  padding-left: 2rem;
}

.page-home .home-news__tag {
  justify-self: start;
  padding: 0.25rem 0.5rem;
  border-left: 2px solid var(--fh-orange);
  background: rgba(255, 107, 53, 0.1);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fh-orange);
}

.page-home .home-news__item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

.page-home .home-news__more {
  margin-top: 1.5rem;
  text-align: center;
}

.page-home .home-actions {
  position: relative;
  margin-top: calc(var(--home-slant) * -1);
  padding: var(--fh-section-space) 0;
  background: linear-gradient(130deg, #0B1E3F 0%, #102A54 55%, #163763 100%);
  color: #fff;
  clip-path: polygon(0 var(--home-slant), 100% 0, 100% 100%, 0 100%);
}

.page-home .home-actions__layout {
  display: grid;
  gap: 2rem;
}

.page-home .home-actions__lead {
  margin: 0.75rem 0 1.5rem;
  max-width: 40em;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-actions__grid {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: 1fr;
}

.page-home .home-action-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-action-link:hover {
  background: rgba(0, 229, 160, 0.1);
  border-color: var(--fh-green);
  transform: translateY(-2px);
}

.page-home .home-action-link__index {
  font-family: var(--fh-font-heading);
  font-size: 0.9375rem;
  color: var(--fh-green);
}

.page-home .home-action-link__text {
  display: grid;
  gap: 0.125rem;
}

.page-home .home-action-link__text strong {
  font-family: var(--fh-font-heading);
  font-size: 1rem;
}

.page-home .home-action-link__text em {
  font-style: normal;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.58);
}

.page-home .home-action-link__arrow {
  font-size: 1.25rem;
  color: var(--fh-orange);
}

.page-home .home-actions__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 14px 14px 0 rgba(0, 229, 160, 0.12);
}

@media (max-width: 620px) {
  .page-home .home-match {
    gap: 0.375rem;
    padding: 0.75rem;
  }

  .page-home .home-match__league {
    font-size: 0.6875rem;
  }

  .page-home .home-match__team {
    font-size: 0.875rem;
  }

  .page-home .home-match__score {
    font-size: 1rem;
    padding: 0.25rem 0.375rem;
  }

  .page-home .home-match__round,
  .page-home .home-match__time {
    font-size: 0.6875rem;
  }
}

@media (min-width: 680px) {
  .page-home .home-actions__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px) {
  .page-home {
    --home-slant: 64px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    gap: 3rem;
  }

  .page-home .home-dashboard__bottom {
    grid-template-columns: 5fr 7fr;
  }

  .page-home .home-actions__layout {
    grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
    gap: 3rem;
  }
}

@media (min-width: 860px) {
  .page-home .home-features__item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
  }

  .page-home .home-features__item--reverse > *:first-child {
    order: 2;
  }
}

@media (min-width: 900px) {
  .page-home .home-dashboard__grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .home-hero {
    min-height: 720px;
    padding: calc(var(--fh-header-h) + 4rem) 0 7rem;
  }
}
