.page-home {
  --home-hero-navy: #07152a;
  --home-hero-blue: #0a1f3c;
  --home-hero-glow: rgba(245, 179, 1, 0.16);
  --home-gold-line: rgba(245, 179, 1, 0.45);
  --home-card-bg: #ffffff;
  --home-dash-bg: rgba(7, 21, 42, 0.72);
  --home-space-lg: 48px;
  --home-space-xl: 72px;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--home-hero-navy) 0%, var(--home-hero-blue) 58%, #12335a 100%);
  color: var(--color-light);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .home-hero__bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(115deg, transparent 0%, transparent 38%, rgba(245, 179, 1, 0.08) 50%, rgba(230, 57, 70, 0.06) 58%, transparent 68%);
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-space-lg);
  padding-top: 48px;
  padding-bottom: 56px;
}

.page-home .home-hero__login {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.page-home .section-label--gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  letter-spacing: 0.12em;
  font-weight: 700;
}

.page-home .home-hero__eyebrow-line {
  width: 22px;
  height: 2px;
  background: var(--color-gold);
  display: inline-block;
}

.page-home .home-hero__title {
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--color-light);
  max-width: 520px;
}

.page-home .home-hero__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(247, 247, 242, 0.85);
  max-width: 460px;
  margin: 0;
}

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

.page-home .home-login__btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 172px;
  cursor: pointer;
  font-weight: 800;
}

.page-home .home-login__btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 30%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: page-home-scan 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes page-home-scan {
  0% {
    left: -40%;
  }
  55% {
    left: 115%;
  }
  100% {
    left: 115%;
  }
}

.page-home .home-login__btn:active {
  transform: translateY(1px);
}

.page-home .home-hero__stable {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--home-gold-line);
  background: rgba(245, 179, 1, 0.08);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  white-space: nowrap;
}

.page-home .home-hero__stable-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.28);
}

.page-home .home-hero__trust {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(247, 247, 242, 0.62);
  border-left: 2px solid rgba(245, 179, 1, 0.4);
  padding-left: 14px;
  max-width: 430px;
  margin: 0;
}

.page-home .home-hero__about-link {
  color: var(--color-gold);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 179, 1, 0.4);
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .home-hero__about-link:hover {
  border-color: var(--color-gold);
  color: #ffd75c;
}

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

.page-home .home-dash {
  position: relative;
  background: var(--home-dash-bg);
  border: 1px solid rgba(245, 179, 1, 0.32);
  padding: 24px 22px;
  overflow: hidden;
}

.page-home .home-dash::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 28px;
  height: 28px;
  border-top: 3px solid var(--color-gold);
  border-left: 3px solid var(--color-gold);
  z-index: 1;
}

.page-home .home-dash::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 42px;
  height: 42px;
  background: var(--color-red);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.7;
}

.page-home .home-dash__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.page-home .home-dash__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.2);
}

.page-home .home-dash__head-label {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: rgba(247, 247, 242, 0.72);
  text-transform: uppercase;
}

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

.page-home .home-dash__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(247, 247, 242, 0.09);
}

.page-home .home-dash__num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--color-light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.page-home .home-dash__num:nth-child(1)::after {
  content: "";
}

.page-home .home-dash__label {
  font-size: 0.8rem;
  color: rgba(247, 247, 242, 0.58);
  letter-spacing: 0.06em;
}

.page-home .home-dash__bar {
  margin-top: 22px;
}

.page-home .home-dash__bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 8px;
  color: rgba(247, 247, 242, 0.66);
}

.page-home .home-dash__bar-value {
  font-family: var(--font-mono);
  color: var(--color-gold);
  font-weight: 700;
}

.page-home .home-dash__bar-track {
  height: 6px;
  background: rgba(247, 247, 242, 0.12);
  overflow: hidden;
}

.page-home .home-dash__bar-fill {
  display: block;
  height: 100%;
  width: 96%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-orange));
  animation: page-home-bar 1.3s ease-out 0.4s both;
}

@keyframes page-home-bar {
  from {
    width: 0%;
  }
  to {
    width: 96%;
  }
}

.page-home .home-dash__note {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: rgba(247, 247, 242, 0.48);
  line-height: 1.5;
}

.page-home .home-data {
  background: var(--color-light);
}

.page-home .section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.page-home .home-data .section-title,
.page-home .home-news .section-title {
  color: var(--color-navy);
}

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

.page-home .home-data__card {
  display: flex;
  flex-direction: column;
  background: var(--home-card-bg);
  border: 1px solid rgba(10, 31, 60, 0.08);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 31, 60, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .home-data__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(10, 31, 60, 0.1);
}

.page-home .home-data__media {
  background: var(--color-navy);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

.page-home .home-data__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.page-home .home-data__card:hover .home-data__media img {
  transform: scale(1.03);
}

.page-home .home-data__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.page-home .home-data__body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.45;
  margin: 0;
}

.page-home .home-data__body p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4a4a48;
  margin: 0;
  flex: 1;
}

.page-home .home-data__card--feature {
  background: linear-gradient(145deg, #ffffff 0%, #fbf6e8 100%);
  border-top: 4px solid var(--color-gold);
}

.page-home .home-data__query-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--color-navy);
}

.page-home .home-data__query-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(245, 179, 1, 0.1);
  border: 1px solid rgba(245, 179, 1, 0.18);
}

.page-home .home-data__dot {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  display: inline-block;
  border-radius: 50%;
}

.page-home .home-scorers {
  background: linear-gradient(135deg, var(--home-hero-blue) 0%, var(--home-hero-navy) 100%);
  color: var(--color-light);
}

.page-home .home-scorers__head {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 36px;
}

.page-home .home-scorers .section-title {
  color: var(--color-light);
}

.page-home .home-scorers .section-intro {
  color: rgba(247, 247, 242, 0.68);
}

.page-home .home-scorers__tabs {
  align-self: flex-start;
  width: 100%;
}

.page-home .round-tabs {
  position: relative;
}

.page-home .round-tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .round-tabs__labels {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(247, 247, 242, 0.16);
  margin-bottom: 18px;
}

.page-home .round-tabs__label {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-bottom: none;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: rgba(247, 247, 242, 0.62);
  cursor: pointer;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.page-home .round-tabs__label:hover {
  color: var(--color-gold);
  background: rgba(245, 179, 1, 0.06);
}

.page-home .round-tabs__radio:checked + .round-tabs__labels .round-tabs__label {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  font-weight: 700;
}

.page-home .round-tabs__radio:focus-visible + .round-tabs__labels .round-tabs__label {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.page-home .round-tabs__panel {
  display: none;
}

.page-home #round-18:checked ~ .round-tabs__panel#round-18-panel {
  display: block;
}

.page-home #round-17:checked ~ .round-tabs__panel#round-17-panel {
  display: block;
}

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

.page-home .home-scorers__item {
  display: grid;
  grid-template-columns: 40px 1fr 1.4fr 56px;
  align-items: center;
  gap: 12px;
  padding: 13px 8px;
  border-bottom: 1px solid rgba(247, 247, 242, 0.08);
  transition: background 0.2s ease;
}

.page-home .home-scorers__item:hover {
  background: rgba(245, 179, 1, 0.06);
}

.page-home .home-scorers__rank {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold);
}

.page-home .home-scorers__player {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-light);
  letter-spacing: 0.02em;
}

.page-home .home-scorers__team {
  font-size: 0.88rem;
  color: rgba(247, 247, 242, 0.7);
}

.page-home .home-scorers__goals {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-gold);
  text-align: right;
}

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

.page-home .home-scorers__media {
  margin: 0;
  background: #fff;
  overflow: hidden;
}

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

.page-home .home-scorers__media .media-frame__label {
  font-size: 0.8rem;
  color: var(--color-navy);
  padding: 10px 16px;
  text-align: left;
}

.page-home .home-scorers__aside {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 6px 6px;
}

.page-home .home-scorers__aside-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.page-home .home-scorers__aside-label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(247, 247, 242, 0.62);
  text-transform: uppercase;
}

.page-home .home-scorers__aside-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(247, 247, 242, 0.62);
  margin: 6px 0 0;
}

.page-home .home-scorers__aside-link {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 179, 1, 0.4);
  padding-bottom: 3px;
  align-self: flex-start;
  margin-top: 4px;
}

.page-home .home-scorers__aside-link:hover {
  border-color: var(--color-gold);
  color: #ffd75c;
}

.page-home .home-news {
  background: var(--color-light);
}

.page-home .home-news__timeline {
  position: relative;
  padding-left: 30px;
  border-left: 1px solid rgba(10, 31, 60, 0.14);
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 34px;
}

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

.page-home .home-news__marker {
  position: absolute;
  left: -35px;
  top: 8px;
  width: 11px;
  height: 11px;
  background: var(--color-gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(245, 179, 1, 0.2);
}

.page-home .home-news__content {
  background: #fff;
  border: 1px solid rgba(10, 31, 60, 0.08);
  padding: 20px 22px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.page-home .home-news__content:hover {
  box-shadow: 0 10px 30px rgba(10, 31, 60, 0.08);
  transform: translateX(4px);
}

.page-home .home-news__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.page-home .home-news__time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(10, 31, 60, 0.5);
}

.page-home .home-news__content h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 6px;
}

.page-home .home-news__content p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

.page-home .home-news__more {
  display: inline-block;
}

.page-home .home-download {
  background: linear-gradient(135deg, var(--home-hero-blue) 0%, var(--home-hero-navy) 100%);
  color: var(--color-light);
}

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

.page-home .home-download .section-title {
  color: var(--color-light);
}

.page-home .home-download .section-intro {
  color: rgba(247, 247, 242, 0.7);
}

.page-home .home-download__feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-download__feature-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(245, 179, 1, 0.34);
  background: rgba(245, 179, 1, 0.07);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-light);
  margin: 0;
}

.page-home .home-download__feature-icon {
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.page-home .home-download__cta {
  min-width: 170px;
}

.page-home .home-download__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .home-download__meta-card {
  border: 1px solid rgba(245, 179, 1, 0.22);
  background: rgba(7, 21, 42, 0.5);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-download__meta-title {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(247, 247, 242, 0.5);
  text-transform: uppercase;
}

.page-home .home-download__meta-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
}

.page-home .home-download__meta-desc {
  font-size: 0.82rem;
  color: rgba(247, 247, 242, 0.6);
}

.page-home .home-download__assist {
  font-size: 0.85rem;
  color: rgba(247, 247, 242, 0.55);
  line-height: 1.7;
  margin: 10px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 247, 242, 0.1);
}

.page-home .home-download__assist a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(245, 179, 1, 0.35);
  padding-bottom: 1px;
}

.page-home .home-download__assist a:hover {
  border-bottom-color: var(--color-gold);
}

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

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

  .page-home .home-data__card--feature {
    grid-column: 1 / -1;
  }

  .page-home .home-scorers__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .page-home .home-download__inner {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }
}

@media (min-width: 992px) {
  .page-home .home-hero__inner {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 64px;
    padding-top: 68px;
    padding-bottom: 84px;
  }

  .page-home .home-hero__inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--home-gold-line), transparent);
    transform: skewX(-16deg);
    z-index: 1;
    pointer-events: none;
  }

  .page-home .home-hero__title {
    font-size: 3.2rem;
  }

  .page-home .home-dash {
    padding: 32px 28px;
  }

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

  .page-home .home-data__card--feature {
    grid-column: auto;
  }

  .page-home .home-data__body {
    padding: 24px;
  }

  .page-home .home-scorers__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
  }

  .page-home .home-scorers__tabs {
    width: auto;
    min-width: 300px;
  }

  .page-home .home-scorers__grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 36px;
    align-items: center;
  }

  .page-home .home-scorers__aside {
    padding: 0 10px;
  }

  .page-home .home-news__timeline {
    padding-left: 40px;
  }

  .page-home .home-news__marker {
    left: -45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-login__btn::after,
  .page-home .home-dash__bar-fill {
    animation: none;
  }

  .page-home .home-data__card,
  .page-home .home-data__media img,
  .page-home .home-news__content {
    transition: none;
  }
}
