.page-home{
  --home-gap: clamp(0.85rem, 2vw, 1.5rem);
  --home-section-gap: clamp(3rem, 7vw, 5rem);
  overflow-x: hidden;
  background: var(--c-paper);
  color: var(--c-ink);
}

.page-home .home-crumb{
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,247,250,0.68);
  background: #081829;
}
.page-home .home-crumb span[aria-current="page"]{
  color: var(--c-neon);
}

.page-home .home-hero{
  position: relative;
  background: linear-gradient(118deg, var(--c-deep) 0%, var(--c-deep) 58%, #0d2c50 58.5%, #0d2c50 100%);
  color: var(--c-paper);
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  border-bottom: 2px solid var(--c-neon);
  overflow: hidden;
}
.page-home .home-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 0 64%, rgba(0,255,136,0.05) 64% 100%);
  pointer-events: none;
}
.page-home .home-hero::after{
  content: "";
  position: absolute;
  left: -6rem;
  bottom: -8rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(0,255,136,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.page-home .home-hero__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.page-home .home-hero__content .section-label{
  color: var(--c-neon);
}
.page-home .home-hero__title{
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-paper);
}
.page-home .home-hero__lead{
  max-width: 42rem;
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: rgba(245,247,250,0.85);
}
.page-home .home-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.page-home .home-hero__ghost{
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 2px solid rgba(245,247,250,0.6);
  color: var(--c-paper);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.page-home .home-hero__ghost:hover{
  border-color: var(--c-neon);
  background: rgba(0,255,136,0.08);
  color: var(--c-neon);
}
.page-home .home-hero__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(245,247,250,0.18);
  border-bottom: 1px solid rgba(245,247,250,0.18);
  margin-bottom: 1.5rem;
}
.page-home .home-hero__meta span{
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(245,247,250,0.7);
}
.page-home .home-hero__meta strong{
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--c-neon);
}
.page-home .home-hero__index{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  align-items: center;
}
.page-home .home-hero__index-title{
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,247,250,0.55);
}
.page-home .home-hero__index a{
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-paper);
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid rgba(0,255,136,0.4);
  transition: border-color 0.2s;
}
.page-home .home-hero__index a:hover{
  border-bottom-color: var(--c-neon);
}
.page-home .hero-field{
  position: relative;
  background: #071627;
  padding: 1rem;
  border: 1px solid rgba(0,255,136,0.35);
  box-shadow: 12px 12px 0 rgba(0,255,136,0.08);
  transform: rotate(-1deg);
}
.page-home .hero-field::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 4px;
  background: var(--c-neon);
  z-index: 2;
}
.page-home .hero-field img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.page-home .hero-field__scorecard{
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  background: rgba(11,31,58,0.92);
  border-left: 4px solid var(--c-orange);
  padding: 0.75rem 1rem 0.9rem;
  text-align: right;
  color: var(--c-paper);
}
.page-home .hero-field__scorecard-label{
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--c-neon);
  margin-bottom: 0.25rem;
}
.page-home .hero-field__scorecard strong{
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--c-paper);
}
.page-home .hero-field__scorecard-meta{
  display: block;
  font-size: 0.68rem;
  color: rgba(245,247,250,0.7);
  margin-top: 0.25rem;
}

.page-home .home-matches{
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--c-paper);
}
.page-home .home-matches .section-head{
  margin-bottom: 2.25rem;
  max-width: 48rem;
}
.page-home .match-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.page-home .match-card{
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #ffffff;
  border: 1px solid rgba(11,31,58,0.12);
}
.page-home .match-card--feature{
  border-left: 4px solid var(--c-neon);
}
.page-home .match-card__media{
  position: relative;
  background: var(--c-deep);
  overflow: hidden;
}
.page-home .match-card__media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.page-home .match-card__media .tag{
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}
.page-home .match-card__media--pattern{
  min-height: 120px;
}
.page-home .match-card__media--pattern::before{
  content: "";
  position: absolute;
  left: -1.5rem;
  top: -1.5rem;
  width: 4rem;
  height: 4rem;
  background: var(--c-orange);
  transform: rotate(12deg);
}
.page-home .match-card__media--pattern::after{
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1.2rem;
  width: 4.5rem;
  height: 4.5rem;
  border: 0.45rem solid var(--c-neon);
  transform: rotate(45deg);
}
.page-home .match-card--tennis .match-card__media--pattern::after{
  border-color: var(--c-gold);
}
.page-home .match-card--derby .match-card__media--pattern::after{
  border-color: var(--c-orange);
}
.page-home .match-card__body{
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.1rem 1.25rem;
}
.page-home .match-card__league{
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a5b6a;
  font-weight: 700;
}
.page-home .match-card__scoreboard{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-title);
}
.page-home .match-card__team{
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.3;
}
.page-home .match-card__score{
  color: var(--c-orange);
  font-weight: 900;
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}
.page-home .match-card__desc{
  font-size: 0.85rem;
  line-height: 1.6;
  color: #3d4f5e;
  margin: 0;
}
.page-home .home-matches__more{
  margin-top: 1.75rem;
  text-align: right;
}
.page-home .home-matches__more a{
  color: var(--c-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid var(--c-neon);
  padding-bottom: 0.15rem;
}

.page-home .home-toplist{
  position: relative;
  background: var(--c-deep);
  color: var(--c-paper);
  padding: var(--home-section-gap) 0;
  overflow: hidden;
}
.page-home .home-toplist::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, transparent 55%, rgba(0,255,136,0.04) 55% 100%);
  pointer-events: none;
}
.page-home .home-toplist__inner{
  position: relative;
  z-index: 1;
}
.page-home .home-toplist__media{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  max-height: 150px;
  overflow: hidden;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}
.page-home .home-toplist__media img{
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 18%;
}
.page-home .home-toplist .section-head{
  max-width: 46rem;
  margin-bottom: 2rem;
}
.page-home .home-toplist .section-label{
  color: var(--c-neon);
}
.page-home .home-toplist h2{
  color: var(--c-paper);
}
.page-home .home-toplist .section-subtitle{
  color: rgba(245,247,250,0.7);
}
.page-home .scorer-list{
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0;
}
.page-home .scorer-item{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 2.2fr) auto;
  gap: 0.9rem;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.7rem 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.page-home .scorer-item:hover{
  border-color: var(--c-neon);
  transform: translateX(4px);
}
.page-home .scorer-item--top{
  border-color: var(--c-gold);
}
.page-home .scorer-item__rank{
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  color: var(--c-neon);
}
.page-home .scorer-item--top .scorer-item__rank{
  color: var(--c-gold);
}
.page-home .scorer-item__name{
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .scorer-item__bar{
  display: block;
  height: 8px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.page-home .scorer-item__fill{
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-neon), rgba(0,255,136,0.3));
}
.page-home .scorer-item--top .scorer-item__fill{
  background: linear-gradient(90deg, var(--c-gold), var(--c-neon));
}
.page-home .scorer-item:nth-child(1) .scorer-item__fill{ width: 92%; }
.page-home .scorer-item:nth-child(2) .scorer-item__fill{ width: 82%; }
.page-home .scorer-item:nth-child(3) .scorer-item__fill{ width: 68%; }
.page-home .scorer-item:nth-child(4) .scorer-item__fill{ width: 63%; }
.page-home .scorer-item:nth-child(5) .scorer-item__fill{ width: 52%; }
.page-home .scorer-item__goals{
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--c-neon);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.page-home .home-toplist__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.8rem;
  color: rgba(245,247,250,0.7);
}

.page-home .home-access{
  display: grid;
  gap: 1.5rem;
  padding-top: var(--home-section-gap);
  padding-bottom: var(--home-section-gap);
}
.page-home .access-panel{
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(11,31,58,0.12);
  background: #ffffff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.page-home .access-panel:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(11,31,58,0.06);
}
.page-home .access-panel--primary{
  border-top: 4px solid var(--c-orange);
}
.page-home .access-panel--calendar{
  border-top: 4px solid var(--c-neon);
  background: var(--c-deep);
  color: var(--c-paper);
}
.page-home .access-panel h2{
  margin: 0.75rem 0;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.25;
}
.page-home .access-panel p{
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}
.page-home .access-panel ul{
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.5rem;
}
.page-home .access-panel li{
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.page-home .access-panel li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--c-neon);
}
.page-home .access-panel--primary li::before{
  background: var(--c-orange);
}
.page-home .access-panel--calendar .section-label{
  color: var(--c-neon);
}
.page-home .access-panel a{
  font-weight: 700;
  color: var(--c-blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.page-home .access-panel--calendar a{
  color: var(--c-neon);
  text-decoration: none;
  border-bottom: 2px solid rgba(0,255,136,0.4);
  padding-bottom: 0.1rem;
}

.page-home .home-ios{
  position: relative;
  background: linear-gradient(115deg, var(--c-deep) 0%, var(--c-blue) 100%);
  color: var(--c-paper);
  padding: var(--home-section-gap) 0;
  overflow: hidden;
}
.page-home .home-ios::before{
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 70%;
  height: 100%;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: skewX(-12deg);
  pointer-events: none;
}
.page-home .home-ios__inner{
  position: relative;
  z-index: 1;
}
.page-home .home-ios__badge{
  display: inline-block;
  background: var(--c-neon);
  color: var(--c-deep);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.5rem;
}
.page-home .home-ios h2{
  max-width: 680px;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--c-paper);
}
.page-home .home-ios p{
  max-width: 640px;
  line-height: 1.75;
  color: rgba(245,247,250,0.8);
}
.page-home .home-ios__stats{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0;
}
.page-home .home-ios__stat{
  display: grid;
  gap: 0.25rem;
  min-width: 120px;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
}
.page-home .home-ios__stat strong{
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--c-neon);
}
.page-home .home-ios__stat em{
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(245,247,250,0.65);
}
.page-home .home-ios__actions{
  margin-top: 1.75rem;
}

.page-home .home-news{
  padding: var(--home-section-gap) 0;
  background: var(--c-paper);
}
.page-home .home-news__grid{
  display: grid;
  gap: 2rem;
  align-items: start;
}
.page-home .news-list{
  display: grid;
  gap: 1rem;
}
.page-home .news-item{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(11,31,58,0.1);
  border-left: 3px solid var(--c-neon);
}
.page-home .news-item__index{
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  color: var(--c-orange);
}
.page-home .news-item__content .tag{
  display: inline-block;
  margin-bottom: 0.35rem;
}
.page-home .news-item__content h3{
  margin: 0.4rem 0 0.25rem;
  font-size: 1rem;
  line-height: 1.35;
}
.page-home .news-item__content p{
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #3d4f5e;
}
.page-home .news-item__content a{
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-blue);
  text-decoration: none;
  border-bottom: 1px solid var(--c-neon);
  padding-bottom: 0.1rem;
}
.page-home .news-media{
  padding: 1rem;
  background: var(--c-deep);
  border: 1px solid rgba(11,31,58,0.1);
}
.page-home .news-media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.page-home .news-media p{
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(245,247,250,0.78);
}

.page-home .home-entry{
  position: relative;
  background: var(--c-deep);
  color: var(--c-paper);
  padding: var(--home-section-gap) 0;
  overflow: hidden;
}
.page-home .home-entry::before{
  content: "";
  position: absolute;
  right: -5rem;
  top: -6rem;
  width: 18rem;
  height: 18rem;
  border: 2px solid rgba(0,255,136,0.2);
  transform: rotate(45deg);
}
.page-home .home-entry__inner{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}
.page-home .home-entry .section-label{
  color: var(--c-neon);
}
.page-home .home-entry h2{
  margin: 0.75rem 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
}
.page-home .home-entry p{
  max-width: 50rem;
  line-height: 1.7;
  color: rgba(245,247,250,0.8);
}
.page-home .home-entry__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.page-home .home-entry__link{
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 2px solid rgba(245,247,250,0.6);
  color: var(--c-paper);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.page-home .home-entry__link:hover{
  border-color: var(--c-neon);
  color: var(--c-neon);
}

@media (min-width: 720px){
  .page-home .match-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .match-card--feature{
    grid-column: 1 / -1;
  }
  .page-home .home-ios__stats{
    grid-template-columns: repeat(3, auto);
  }
  .page-home .home-news__grid{
    grid-template-columns: 1fr 0.8fr;
  }
}

@media (min-width: 900px){
  .page-home .home-hero__inner{
    grid-template-columns: 1.05fr 0.9fr;
    gap: 3.5rem;
  }
  .page-home .home-access{
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .page-home .home-entry__inner{
    grid-template-columns: 1.4fr 0.6fr;
  }
}

@media (min-width: 1080px){
  .page-home .match-grid{
    grid-template-columns: repeat(12, 1fr);
  }
  .page-home .match-card--feature{
    grid-column: span 6;
    grid-row: span 2;
  }
  .page-home .match-card--basket{
    grid-column: span 6;
  }
  .page-home .match-card--tennis,
  .page-home .match-card--derby{
    grid-column: span 3;
  }
  .page-home .match-card__media--pattern{
    min-height: 150px;
  }
}
