.page-home {
  --home-panel-bg: rgba(27, 58, 107, 0.42);
  background: var(--clr-deep);
  color: var(--clr-white);
  overflow-x: hidden;
}
.page-home img {
  max-width: 100%;
  height: auto;
}
.page-home .home-hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: clamp(116px, 18vh, 168px) 0 56px;
  overflow: hidden;
  background: var(--clr-deep);
}
.page-home .hero-bg-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .hero-bg-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(10, 31, 68, 0.96) 18%, rgba(10, 31, 68, 0.78) 46%, rgba(27, 58, 107, 0.52) 76%, rgba(34, 76, 138, 0.35) 100%),
    radial-gradient(circle at 74% 28%, rgba(255, 215, 0, 0.14), transparent 38%);
}
.page-home .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .hero-corner-grid {
  position: absolute;
  right: 2vw;
  bottom: 44px;
  width: 180px;
  height: 180px;
  background-image:
    linear-gradient(rgba(255, 215, 0, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.4) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(135deg, transparent 22%, #000 23%);
  mask-image: linear-gradient(135deg, transparent 22%, #000 23%);
  z-index: 1;
  pointer-events: none;
}
.page-home .hero-data-line {
  top: 86px;
  right: 0;
  width: 66%;
  z-index: 1;
}
.page-home .hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
}
.page-home .hero-content {
  max-width: 720px;
}
.page-home .hero-version-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.08);
  color: var(--clr-gold);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.page-home .hero-version-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-gold);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
}
.page-home .hero-title {
  font-family: var(--font-head);
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  text-transform: uppercase;
  color: var(--clr-white);
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
}
.page-home .hero-lede {
  max-width: 640px;
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.7;
  color: rgba(242, 245, 249, 0.9);
  margin: 0 0 28px;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}
.page-home .hero-cta-btn {
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.35), 0 8px 30px rgba(255, 215, 0, 0.16);
  transition: transform 180ms ease, box-shadow 200ms ease;
}
.page-home .hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.55), 0 12px 44px rgba(255, 215, 0, 0.34);
}
.page-home .hero-outline-btn {
  border-radius: 999px;
  font-size: 16px;
  padding: 14px 30px;
}
.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--clr-gray);
}
.page-home .hero-meta-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
.page-home .hero-meta-link:hover {
  color: var(--clr-gold);
  border-color: rgba(255, 215, 0, 0.5);
}
.page-home .hero-meta-sep {
  color: rgba(169, 184, 206, 0.5);
}
.page-home .hero-preview-card {
  position: relative;
  background: rgba(10, 31, 68, 0.72);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(10px);
}
.page-home .preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.page-home .preview-title {
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--clr-gold);
  margin: 0;
}
.page-home .preview-edition {
  font-size: 12px;
  color: var(--clr-gray);
  white-space: nowrap;
}
.page-home .preview-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--clr-white);
  text-decoration: none;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding-left 180ms ease, background 180ms ease;
}
.page-home .preview-link:last-child {
  border-bottom: 0;
}
.page-home .preview-link:hover {
  padding-left: 10px;
  background: rgba(255, 215, 0, 0.06);
}
.page-home .preview-index {
  font-family: var(--font-head);
  font-size: 20px;
  color: rgba(255, 215, 0, 0.8);
  width: 34px;
}
.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 36px;
}
.page-home .section-index {
  font-family: var(--font-head);
  font-size: 66px;
  font-weight: 600;
  line-height: 0.9;
  color: rgba(255, 215, 0, 0.14);
  letter-spacing: 0.01em;
  -webkit-text-stroke: 1px rgba(255, 215, 0, 0.55);
}
.page-home .section-kicker {
  display: block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 6px;
  font-weight: 500;
}
.page-home .section-head-text {
  padding-top: 6px;
}
.page-home .home-version {
  position: relative;
  border-top: 1px solid rgba(58, 80, 117, 0.66);
  border-bottom: 1px solid rgba(58, 80, 117, 0.66);
  background: linear-gradient(180deg, #0a1f44 0%, #0d2454 36%, #0a1f44 100%);
  overflow: hidden;
}
.page-home .version-watermark {
  position: absolute;
  top: -6px;
  right: -12px;
  font-family: var(--font-head);
  font-size: clamp(128px, 20vw, 242px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 215, 0, 0.16);
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.page-home .version-container {
  position: relative;
  z-index: 1;
}
.page-home .version-layout {
  display: grid;
  gap: 28px;
}
.page-home .version-cards {
  display: grid;
  gap: 14px;
}
.page-home .version-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(135deg, rgba(27, 58, 107, 0.68), rgba(27, 58, 107, 0.38));
  border: 1px solid var(--clr-line);
  border-radius: 18px;
  padding: 26px 24px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease;
  scroll-margin-top: 24px;
}
.page-home .version-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.5);
}
.page-home .version-card-index {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--clr-gold);
  opacity: 0.9;
  margin-bottom: 8px;
}
.page-home .version-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
}
.page-home .version-card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(242, 245, 249, 0.84);
  margin: 0;
}
.page-home .version-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  align-self: stretch;
  min-height: 260px;
  border: 1px solid var(--clr-line);
}
.page-home .version-visual img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.page-home .version-visual-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 18px;
  font-size: 15px;
  letter-spacing: 0.06em;
  background: rgba(10, 31, 68, 0.8);
  color: var(--clr-gold);
  border: 1px solid rgba(255, 215, 0, 0.55);
  border-radius: 999px;
}
.page-home .home-possession {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 215, 0, 0.08), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(139, 0, 0, 0.18), transparent 28%),
    var(--clr-deep);
}
.page-home .possession-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 28px;
}
.page-home .possession-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--clr-line);
  min-height: 240px;
}
.page-home .possession-visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}
.page-home .possession-ring-block {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 14px;
  background: rgba(10, 31, 68, 0.86);
  border: 1px solid rgba(255, 215, 0, 0.42);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-float);
}
.page-home .possession-ring {
  width: 116px;
  height: 116px;
  flex: 0 0 auto;
}
.page-home .ring-track {
  stroke: var(--clr-line);
}
.page-home .ring-home {
  stroke: var(--clr-gold);
}
.page-home .ring-away {
  stroke: var(--clr-red);
}
.page-home .ring-number {
  font-family: var(--font-head);
  font-size: 24px;
  fill: var(--clr-white);
}
.page-home .ring-caption {
  font-size: 10px;
  fill: var(--clr-gray);
  letter-spacing: 0.12em;
}
.page-home .ring-legend {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--clr-gray);
}
.page-home .legend-home {
  color: var(--clr-gold);
  font-weight: 500;
}
.page-home .legend-away {
  color: #e08a8a;
  font-weight: 500;
}
.page-home .possession-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}
.page-home .possession-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(242, 245, 249, 0.88);
  margin: 0;
  max-width: 620px;
}
.page-home .possession-grid {
  display: grid;
  gap: 14px;
}
.page-home .possession-card {
  background: var(--home-panel-bg);
  border: 1px solid var(--clr-line);
  border-radius: 18px;
  padding: 20px 22px;
  scroll-margin-top: 24px;
}
.page-home .possession-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.page-home .possession-card-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-white);
  letter-spacing: 0.04em;
}
.page-home .possession-card-trend {
  font-size: 12px;
  color: var(--clr-gray);
  background: rgba(58, 80, 117, 0.36);
  padding: 4px 10px;
  border-radius: 999px;
}
.page-home .meter-caption {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--clr-gray);
  margin-bottom: 6px;
}
.page-home .meter-line {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--clr-line);
}
.page-home .meter-home-field {
  width: 61%;
  background: linear-gradient(90deg, var(--clr-gold), #ffe95e);
}
.page-home .meter-away-field {
  width: 39%;
  background: linear-gradient(90deg, var(--clr-red), #b32121);
}
.page-home .half-home {
  width: 55%;
}
.page-home .half-away {
  width: 45%;
}
.page-home .away-meter-home {
  width: 57%;
}
.page-home .away-meter-away {
  width: 43%;
}
.page-home .home-league {
  border-top: 1px solid rgba(58, 80, 117, 0.6);
  border-bottom: 1px solid rgba(58, 80, 117, 0.6);
  background:
    linear-gradient(135deg, rgba(255, 215, 0, 0.06) 0%, transparent 42%, transparent 100%),
    linear-gradient(180deg, #0f2858 0%, #0a1f44 100%);
}
.page-home .league-layout {
  display: grid;
  gap: 30px;
}
.page-home .league-intro {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(242, 245, 249, 0.9);
  max-width: 600px;
  margin: 0 0 24px;
}
.page-home .league-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-home .league-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--clr-gold);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.4);
  transition: border-color 160ms ease, color 160ms ease;
}
.page-home .league-link:hover {
  border-color: rgba(255, 215, 0, 0.9);
  color: var(--clr-white);
}
.page-home .league-visual-block {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--clr-line);
  min-height: 220px;
}
.page-home .league-visual-block img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.page-home .league-visual-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-size: 13px;
  padding: 6px 14px;
  background: rgba(10, 31, 68, 0.82);
  color: var(--clr-gold);
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.4);
}
.page-home .home-news {
  background: var(--clr-light);
  color: var(--clr-deep);
  border-top: 1px solid rgba(139, 0, 0, 0.3);
}
.page-home .home-news .section-index {
  color: rgba(10, 31, 68, 0.12);
  -webkit-text-stroke: 1px rgba(10, 31, 68, 0.42);
}
.page-home .home-news .section-kicker {
  color: var(--clr-red);
}
.page-home .news-layout {
  display: grid;
  gap: 26px;
}
.page-home .news-feature {
  background: var(--clr-white);
  border-radius: 18px;
  padding: 30px;
  border-left: 6px solid var(--clr-gold);
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.page-home .news-feature-text {
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
.page-home .news-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.page-home .news-list-block {
  background: var(--clr-deep);
  border-radius: 18px;
  padding: 26px;
  color: var(--clr-white);
  box-shadow: var(--shadow-float);
}
.page-home .news-list-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  color: var(--clr-gold);
  letter-spacing: 0.04em;
}
.page-home .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .news-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.page-home .news-list li:last-child {
  border-bottom: 0;
}
.page-home .news-list a {
  display: block;
  color: rgba(242, 245, 249, 0.9);
  text-decoration: none;
  padding: 12px 4px;
  font-size: 15px;
  transition: color 160ms ease, padding-left 180ms ease;
}
.page-home .news-list a:hover {
  color: var(--clr-gold);
  padding-left: 8px;
}
.page-home .news-trust {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--clr-gray);
  line-height: 1.6;
}
@media (min-width: 1024px) {
  .page-home .hero-shell {
    grid-template-columns: 1fr 0.72fr;
    align-items: center;
  }
  .page-home .section-index {
    font-size: 96px;
  }
  .page-home .version-layout {
    grid-template-columns: 1fr 0.72fr;
    align-items: stretch;
  }
  .page-home .version-cards {
    grid-template-columns: 1fr 1fr;
    align-content: start;
  }
  .page-home .version-card:first-child {
    grid-column: 1 / -1;
  }
  .page-home .possession-feature {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
  .page-home .possession-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .league-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
  .page-home .news-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}
@media (max-width: 640px) {
  .page-home .possession-ring-block {
    flex-direction: column;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px;
    gap: 8px;
  }
  .page-home .possession-ring {
    width: 96px;
    height: 96px;
  }
  .page-home .version-visual-tag {
    font-size: 13px;
    padding: 6px 14px;
  }
  .page-home .hero-preview-card {
    padding: 18px 16px;
  }
  .page-home .section-head {
    gap: 12px;
    margin-bottom: 28px;
  }
  .page-home .section-index {
    font-size: 50px;
  }
}
