.page-home {
  --home-line: rgba(192, 208, 224, 0.22);
  --home-panel: rgba(18, 42, 74, 0.62);
  background: var(--space-blue);
  color: var(--star-white);
  overflow-x: hidden;
}

.page-home a {
  color: inherit;
}

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

.page-home .home-hero {
  position: relative;
  padding: 34px 0 12px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 215, 0, 0.16), transparent 40%),
    linear-gradient(135deg, rgba(8, 20, 37, 0.88) 0%, rgba(11, 31, 58, 0.92) 58%, rgba(58, 46, 110, 0.5) 100%);
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--star-gold) 0%, rgba(255, 215, 0, 0) 100%);
  pointer-events: none;
}

.page-home .home-hero__grid {
  display: grid;
  gap: 30px;
  padding-top: 18px;
  padding-bottom: 30px;
}

.page-home .home-hero__copy {
  align-self: center;
}

.page-home .home-hero__eyebrow {
  margin-bottom: 10px;
}

.page-home .home-hero__title {
  margin: 8px 0 18px;
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--star-white);
  font-weight: 900;
}

.page-home .home-hero__title em {
  display: block;
  margin-top: 12px;
  font-style: normal;
  color: var(--star-gold);
  font-size: 0.66em;
  letter-spacing: 0.14em;
}

.page-home .home-hero__lead {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--orbit-silver);
  font-size: 1.02rem;
  line-height: 1.75;
}

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

.page-home .home-hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 220px;
}

.page-home .home-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-hero__index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 215, 0, 0.45);
}

.page-home .home-hero__index a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 4px 2px;
  color: var(--star-white);
}

.page-home .home-hero__index a span {
  color: var(--star-gold);
  font-size: 0.7rem;
}

.page-home .home-hero__index a:hover {
  color: var(--star-gold);
}

.page-home .home-live,
.page-home .home-versions,
.page-home .home-league,
.page-home .home-bigscreen,
.page-home .home-trust {
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-live__head,
.page-home .home-editorial__head,
.page-home .home-versions__head,
.page-home .home-league__head,
.page-home .home-bigscreen__head {
  margin-bottom: 24px;
}

.page-home .home-live__head h2,
.page-home .home-editorial__head h2,
.page-home .home-versions__head h2,
.page-home .home-league__head h2,
.page-home .home-bigscreen__head h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--star-white);
}

.page-home .home-live__head p,
.page-home .home-editorial__head p,
.page-home .home-versions__head p,
.page-home .home-league__head p,
.page-home .home-bigscreen__head p {
  max-width: 780px;
  margin: 0;
  color: var(--orbit-silver);
  line-height: 1.7;
}

.page-home .home-live__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.page-home .live-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  border-top: 3px solid var(--cosmos-teal);
}

.page-home .live-stat--gold {
  border-top-color: var(--star-gold);
}

.page-home .live-stat__num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--star-gold);
  font-weight: 900;
}

.page-home .live-stat__label {
  color: var(--star-white);
  font-weight: 500;
  font-size: 0.92rem;
}

.page-home .live-stat__note {
  color: var(--dim-star);
  font-size: 0.78rem;
}

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

.page-home .home-live__panel {
  padding: 20px;
  background: rgba(8, 20, 37, 0.48);
  border: 1px solid var(--home-line);
}

.page-home .home-live__panel h3 {
  margin: 0 0 18px;
  color: var(--star-white);
  font-size: 1.04rem;
  letter-spacing: 0.04em;
}

.page-home .bar-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .bar-row__label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--orbit-silver);
  letter-spacing: 0.05em;
}

.page-home .bar-row__track {
  height: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.page-home .bar-row__track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cosmos-teal), var(--star-gold));
}

.page-home .bar-row__value {
  text-align: right;
  color: var(--star-gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-home .ring-wrap {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.page-home .ring-wrap svg {
  width: 180px;
  max-width: 70%;
  height: auto;
}

.page-home .ring-wrap__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 6;
}

.page-home .ring-wrap__progress {
  fill: none;
  stroke: url(#liveGrad);
  stroke-width: 6;
  stroke-linecap: butt;
  stroke-dasharray: 72 28;
}

.page-home .ring-wrap__number {
  fill: var(--star-white);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
}

.page-home .ring-wrap__unit {
  fill: var(--dim-star);
  font-size: 11px;
}

.page-home .ring-wrap figcaption {
  max-width: 280px;
  color: var(--dim-star);
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.6;
}

.page-home .home-editorial {
  padding: 44px 0 56px;
  background: linear-gradient(145deg, rgba(8, 20, 37, 0.96) 0%, rgba(11, 31, 58, 0.92) 60%, rgba(58, 46, 110, 0.42) 100%);
}

.page-home .home-editorial__more {
  margin-top: 20px;
}

.page-home .home-editorial__layout {
  display: grid;
  gap: 26px;
  margin-top: 26px;
}

.page-home .home-editorial__visual img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--home-line);
}

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

.page-home .editorial-list li {
  display: flex;
  gap: 16px;
  padding: 20px 2px;
  border-bottom: 1px solid rgba(192, 208, 224, 0.16);
}

.page-home .editorial-list li:first-child {
  border-top: 1px solid rgba(192, 208, 224, 0.16);
}

.page-home .editorial-list__index {
  font-family: var(--font-heading);
  color: var(--arena-red);
  font-size: 0.88rem;
  line-height: 1.6;
}

.page-home .editorial-list h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.45;
}

.page-home .editorial-list a {
  text-decoration: none;
  color: var(--star-white);
}

.page-home .editorial-list a:hover {
  color: var(--star-gold);
}

.page-home .editorial-list p {
  margin: 0;
  color: var(--dim-star);
  font-size: 0.84rem;
  line-height: 1.5;
}

.page-home .home-versions,
.page-home .home-league {
  background: linear-gradient(135deg, rgba(8, 20, 37, 0.94) 0%, rgba(18, 42, 74, 0.86) 100%);
}

.page-home .home-versions__grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.page-home .version-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--deep-fog);
  border: 1px solid rgba(192, 208, 224, 0.24);
  border-top: 4px solid var(--orbit-silver);
}

.page-home .version-card--pro {
  border-top-color: var(--star-gold);
  background: linear-gradient(160deg, rgba(18, 42, 74, 0.92), rgba(58, 46, 110, 0.58));
}

.page-home .version-card__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .version-card__edition {
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  font-size: 1.16rem;
  color: var(--star-white);
  font-weight: 700;
}

.page-home .version-card__tag {
  color: var(--cosmos-teal);
  border: 1px solid currentColor;
  padding: 3px 9px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.page-home .version-card--pro .version-card__tag {
  color: var(--star-gold);
}

.page-home .version-card h3 {
  margin: 0 0 14px;
  color: var(--star-gold);
  font-size: 1.02rem;
}

.page-home .version-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .version-card li {
  position: relative;
  padding-left: 18px;
  color: var(--orbit-silver);
  font-size: 0.92rem;
  line-height: 1.5;
}

.page-home .version-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--cosmos-teal);
}

.page-home .version-card--pro li::before {
  background: var(--star-gold);
}

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

.page-home .home-versions__note {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  background: rgba(8, 20, 37, 0.52);
  border-left: 3px solid var(--nebula-indigo);
}

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

.page-home .home-versions__note p {
  margin: 0;
  color: var(--orbit-silver);
  line-height: 1.7;
}

.page-home .home-league {
  background: linear-gradient(145deg, rgba(58, 46, 110, 0.6) 0%, rgba(8, 20, 37, 0.94) 60%, rgba(18, 42, 74, 0.9) 100%);
}

.page-home .league-picker__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 20px;
}

.page-home .league-picker__toolbar a {
  text-decoration: none;
  padding: 8px 18px;
  color: var(--star-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 208, 224, 0.3);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.page-home .league-picker__toolbar a:hover {
  color: var(--star-gold);
  border-color: var(--star-gold);
}

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

.page-home .league-card {
  padding: 20px;
  background: rgba(10, 20, 40, 0.66);
  border: 1px solid rgba(192, 208, 224, 0.26);
  border-top: 2px solid var(--star-gold);
}

.page-home .league-card h3 {
  margin: 0 0 10px;
  color: var(--star-gold);
  font-size: 1.15rem;
}

.page-home .league-card > p {
  margin: 0;
  color: var(--orbit-silver);
  line-height: 1.65;
  font-size: 0.92rem;
}

.page-home .league-card details {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .league-card summary {
  cursor: pointer;
  color: var(--star-white);
  font-weight: 500;
  font-size: 0.9rem;
}

.page-home .league-card summary:hover {
  color: var(--star-gold);
}

.page-home .league-card details p {
  margin: 10px 0 0;
  color: var(--dim-star);
  font-size: 0.86rem;
  line-height: 1.65;
}

.page-home .home-bigscreen {
  background: linear-gradient(180deg, rgba(8, 20, 37, 0.9) 0%, rgba(58, 46, 110, 0.36) 100%);
}

.page-home .home-bigscreen__shot {
  margin: 24px 0 0;
  padding: 0;
}

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

.page-home .home-bigscreen__shot figcaption {
  margin-top: 10px;
  color: var(--dim-star);
  font-size: 0.85rem;
  line-height: 1.6;
}

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

.page-home .bigscreen-features li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 208, 224, 0.2);
  color: var(--orbit-silver);
  font-size: 0.9rem;
}

.page-home .bigscreen-features li span {
  font-family: var(--font-heading);
  color: var(--star-gold);
  font-size: 1.65rem;
  line-height: 1;
}

.page-home .home-bigscreen > .container > .btn {
  margin-bottom: 34px;
}

.page-home .home-trust {
  background: linear-gradient(90deg, rgba(10, 125, 123, 0.22), rgba(11, 31, 58, 0.92) 60%);
}

.page-home .home-trust__grid {
  display: grid;
  gap: 22px;
  padding: 30px 0 36px;
}

.page-home .home-trust__grid > div {
  border-left: 2px solid var(--cosmos-teal);
  padding-left: 14px;
}

.page-home .home-trust__grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--star-white);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.page-home .home-trust__grid p {
  margin: 0;
  color: var(--dim-star);
  font-size: 0.86rem;
  line-height: 1.6;
}

.page-home .home-trust__grid .btn {
  justify-self: start;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home [data-reveal] {
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }

  .page-home [data-reveal]:not(.is-revealed) {
    opacity: 0;
    transform: translateY(14px);
  }

  .page-home [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 24px;
  }

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

  .page-home .home-live__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
  }

  .page-home .home-editorial__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }

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

  .page-home .home-versions__note {
    grid-template-columns: minmax(0, 300px) 1fr;
    align-items: center;
  }

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

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

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding-top: 44px;
  }

  .page-home .home-hero__grid {
    min-height: clamp(540px, 78vh, 720px);
  }

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

  .page-home .home-trust__grid {
    grid-template-columns: repeat(3, 1fr) auto auto;
    align-items: center;
  }
}
