.page-home {
  --home-hero-glow: rgba(0,255,170,.09);
  --home-cyan-glow: rgba(0,229,255,.12);
  --home-orange-glow: rgba(255,94,58,.16);
  --home-card-border: rgba(0,229,255,.14);
  position: relative;
  background:
    radial-gradient(circle at 88% -4%, var(--home-cyan-glow), transparent 32%),
    radial-gradient(circle at 8% 42%, var(--home-hero-glow), transparent 26%),
    var(--clr-deep-blue);
  color: var(--clr-white);
  overflow-x: clip;
  font-family: var(--font-body);
}
.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}
.page-home .page-context {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 20px 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--clr-muted-silver);
}
.page-home .page-context__slash {
  color: var(--clr-electric-green);
  font-weight: 700;
}
.page-home .hero-split {
  padding: 40px 0 48px;
  position: relative;
}
.page-home .hero-split__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.page-home .hero-split__copy {
  position: relative;
  z-index: 2;
}
.page-home .hero-split h1 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  margin: 16px 0 18px;
  letter-spacing: -.01em;
}
.page-home .hero-split h1 em {
  font-style: normal;
  color: var(--clr-electric-green);
}
.page-home .hero-split__lead {
  font-size: 16px;
  line-height: 1.8;
  color: #C9D8F1;
  max-width: 30em;
}
.page-home .hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
}
.page-home .hero-keyword {
  padding: 6px 12px;
  border: 1px solid rgba(0,229,255,.3);
  border-radius: 999px;
  background: rgba(0,229,255,.06);
  color: #C7E9FF;
  font-size: 13px;
  font-family: var(--font-body);
}
.page-home .hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .hero-split__visual {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10,17,40,.7), rgba(17,27,61,.78)), var(--clr-dark-zone);
  box-shadow: 0 24px 80px rgba(0,0,0,.38), inset 0 0 0 1px var(--home-card-border);
  isolation: isolate;
}
.page-home .hero-split__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  z-index: -1;
}
.page-home .hero-split__radar {
  position: absolute;
  top: 6%;
  right: -2%;
  width: 72%;
  height: auto;
  z-index: 1;
  opacity: .96;
  filter: drop-shadow(0 8px 30px rgba(0,229,255,.16));
}
.page-home .hero-scoreline {
  position: absolute;
  left: 5%;
  bottom: 4%;
  width: min(88%, 320px);
  z-index: 2;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(10,17,40,.8);
  border: 1px solid var(--home-card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0,0,0,.36);
}
.page-home .hero-scoreline__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(0,229,255,.14);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-cyan-glow);
}
.page-home .hero-scoreline__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 2px;
}
.page-home .hero-scoreline__row + .hero-scoreline__row {
  border-top: 1px dashed rgba(255,255,255,.08);
}
.page-home .hero-scoreline__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-home .hero-scoreline__sport {
  font-size: 12px;
  color: var(--clr-muted-silver);
}
.page-home .hero-scoreline__teams {
  font-size: 14px;
  font-weight: 600;
  color: #EDF6FF;
}
.page-home .hero-scoreline__score {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 22px;
  color: var(--clr-electric-green);
  letter-spacing: .03em;
  transition: color var(--transition-fast);
}
.page-home .hero-scoreline:hover .hero-scoreline__score {
  color: var(--clr-lime-yellow);
}
.page-home .device-demo-section {
  padding: 12px 0 36px;
}
.page-home .device-demo {
  display: grid;
  gap: 24px;
  position: relative;
  overflow: hidden;
  padding: 26px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(17,27,61,.88), rgba(10,17,40,.9));
  border: 1px solid var(--home-card-border);
  border-top: 2px solid var(--clr-electric-green);
  box-shadow: 0 18px 54px rgba(0,0,0,.3);
}
.page-home .device-demo::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--home-orange-glow), transparent 66%);
  pointer-events: none;
}
.page-home .device-demo__copy {
  position: relative;
  z-index: 1;
}
.page-home .device-demo__copy h2 {
  margin: 14px 0 12px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.15;
}
.page-home .device-demo__copy p {
  margin: 0 0 16px;
  font-size: 15px;
  color: #CBD9F0;
  line-height: 1.75;
}
.page-home .device-demo__steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 4px;
}
.page-home .device-demo__step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,.07);
  font-size: 14px;
  color: #DCE7F5;
  line-height: 1.6;
}
.page-home .device-demo__step:last-child {
  border-bottom: 0;
}
.page-home .device-demo__step-num {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0,255,170,.12);
  color: var(--clr-electric-green);
  font-family: var(--font-heading);
  font-size: 13px;
}
.page-home .device-demo__visual {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: #0A1128;
}
.page-home .device-demo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}
.page-home .device-shapes {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 260px;
  padding: 24px;
}
.page-home .device-shapes__phone {
  width: 72px;
  height: 126px;
  border-radius: 14px;
  border: 2px solid rgba(0,229,255,.5);
  background: rgba(10,17,40,.6);
  box-shadow: 0 0 28px var(--home-cyan-glow);
  position: relative;
}
.page-home .device-shapes__phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(0,229,255,.34);
}
.page-home .device-shapes__phone::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 46px;
  height: 46px;
  border-radius: 7px;
  background: rgba(0,255,170,.16);
  box-shadow: 0 0 14px rgba(0,255,170,.08);
}
.page-home .device-shapes__desktop {
  width: 116px;
  height: 82px;
  border-radius: 12px;
  border: 2px solid rgba(0,229,255,.42);
  background: rgba(10,17,40,.58);
  box-shadow: 0 0 24px var(--home-cyan-glow);
  position: relative;
}
.page-home .device-shapes__desktop::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 14px;
  height: 30px;
  border-radius: 6px;
  background: rgba(0,255,170,.15);
}
.page-home .device-shapes__desktop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 48px;
  height: 8px;
  border-radius: 0 0 6px 6px;
  background: rgba(0,229,255,.22);
}
.page-home .device-shapes__arrow {
  font-size: 34px;
  color: var(--clr-electric-green);
  font-weight: 700;
  text-shadow: 0 0 18px rgba(0,255,170,.4);
}
.page-home .score-radar-section {
  padding: 44px 0 56px;
}
.page-home .score-radar {
  display: grid;
  gap: 32px;
  align-items: center;
}
.page-home .score-radar__chartbox {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--home-card-border);
  background: linear-gradient(180deg, var(--clr-dark-zone), var(--clr-panel-blue));
  isolation: isolate;
}
.page-home .score-radar__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
  z-index: -1;
}
.page-home .score-radar__svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  position: relative;
  z-index: 1;
}
.page-home .score-radar__badge {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10,17,40,.76);
  border: 1px solid rgba(0,255,170,.38);
  color: var(--clr-electric-green);
  font-size: 13px;
  font-weight: 600;
}
.page-home .score-radar__feed h2 {
  margin: 12px 0 6px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.12;
}
.page-home .feed-list {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .feed-list__item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--clr-electric-green);
  border-radius: 14px;
  background: rgba(17,27,61,.76);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.page-home .feed-list__item:hover {
  border-color: var(--clr-electric-green);
  border-left-color: var(--clr-lime-yellow);
  transform: translateX(4px);
}
.page-home .feed-list__type {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-muted-silver);
}
.page-home .feed-list__teams {
  font-size: 15px;
  font-weight: 600;
  color: #EAF5FF;
}
.page-home .feed-list__score {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 20px;
  color: var(--clr-electric-green);
}
.page-home .feed-list__time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--clr-signal-orange);
  white-space: nowrap;
}
.page-home .feed-list__time::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-signal-orange);
  box-shadow: 0 0 0 4px rgba(255,94,58,.12);
}
.page-home .feed-list__item--meta {
  grid-template-columns: 1fr auto;
}
.page-home .feed-list__item--meta .feed-list__type {
  grid-column: 1 / -1;
}
.page-home .league-section {
  padding: 56px 0 12px;
}
.page-home .section-head {
  max-width: 720px;
  margin-bottom: 26px;
}
.page-home .section-head h2 {
  margin: 12px 0 10px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.14;
}
.page-home .section-head p {
  margin: 0;
  font-size: 15px;
  color: #C8D7EF;
}
.page-home .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-electric-green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,255,170,.4);
  transition: color var(--transition-fast), border-color var(--transition-fast), gap var(--transition-fast);
}
.page-home .text-link:hover {
  color: var(--clr-lime-yellow);
  border-color: var(--clr-lime-yellow);
  gap: 10px;
}
.page-home .league-section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.page-home .league-section__head h2 {
  margin: 12px 0 8px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.14;
}
.page-home .league-section__head p {
  margin: 0;
  font-size: 15px;
  color: #C8D7EF;
}
.page-home .league-banner {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 22px;
  border: 1px solid var(--home-card-border);
  box-shadow: 0 14px 40px rgba(0,0,0,.3);
}
.page-home .league-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-cyan-glow) rgba(255,255,255,.06);
}
.page-home .league-card {
  flex: 0 0 min(240px, 78%);
  scroll-snap-align: start;
  min-height: 200px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 18px;
  border: 1px solid var(--home-card-border);
  background: linear-gradient(150deg, rgba(17,27,61,.92), rgba(10,17,40,.96));
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.page-home .league-card::before {
  content: "";
  position: absolute;
  top: -38px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, var(--home-orange-glow), transparent 68%);
  transform: rotate(12deg);
}
.page-home .league-card:nth-child(even)::before {
  background: radial-gradient(circle, var(--home-cyan-glow), transparent 68%);
}
.page-home .league-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-signal-orange);
  background: linear-gradient(150deg, rgba(17,27,61,.98), rgba(10,17,40,1));
}
.page-home .league-card__tag {
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,170,.32);
  background: rgba(0,255,170,.08);
  color: var(--clr-electric-green);
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.page-home .league-card:nth-child(even) .league-card__tag {
  border-color: rgba(0,229,255,.38);
  background: rgba(0,229,255,.08);
  color: var(--clr-cyan-glow);
}
.page-home .league-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}
.page-home .league-card p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--clr-muted-silver);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.page-home .league-card__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.page-home .favorites-section {
  padding: 48px 0 16px;
}
.page-home .favorites-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}
.page-home .fav-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}
.page-home .fav-card:hover {
  border-color: rgba(0,255,170,.45);
  background: rgba(17,27,61,.72);
  transform: translateY(-4px);
}
.page-home .fav-card__type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--clr-cyan-glow);
}
.page-home .fav-card__type::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-cyan-glow);
  box-shadow: 0 0 0 4px rgba(0,229,255,.12);
}
.page-home .fav-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.3;
}
.page-home .fav-card p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #C9D8F1;
}
.page-home .fav-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .fav-card__meta-item {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,229,255,.05);
  color: var(--clr-muted-silver);
  font-size: 12px;
}
.page-home .favorites-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .commit-section {
  margin-top: 36px;
  padding: 56px 20px 64px;
  background:
    radial-gradient(circle at 18% 28%, var(--home-orange-glow), transparent 30%),
    radial-gradient(circle at 84% 12%, var(--home-cyan-glow), transparent 34%),
    var(--clr-dark-zone);
  clip-path: polygon(0 3.2%, 100% 0, 100% 100%, 0 100%);
}
.page-home .commit-section .container {
  padding-inline: 0;
}
.page-home .commit-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.page-home .commit-stat {
  padding: 22px 14px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(0,255,170,.14);
  background: rgba(17,27,61,.68);
  position: relative;
  overflow: hidden;
}
.page-home .commit-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-electric-green), var(--clr-cyan-glow));
}
.page-home .commit-stat__num {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  color: var(--clr-white);
}
.page-home .commit-stat__unit {
  color: var(--clr-electric-green);
}
.page-home .commit-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--clr-muted-silver);
}
.page-home .commit-note {
  margin-top: 26px;
  max-width: 56em;
  padding: 16px 18px;
  border-radius: 0 14px 14px 0;
  border-left: 3px solid var(--clr-signal-orange);
  background: rgba(0,229,255,.05);
  color: var(--clr-muted-silver);
  font-size: 14px;
  line-height: 1.8;
}
@media (min-width: 700px) {
  .page-home .hero-split__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .page-home .device-demo {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 32px;
  }
  .page-home .score-radar {
    grid-template-columns: 1.02fr .98fr;
    gap: 40px;
  }
  .page-home .league-section__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .page-home .league-banner {
    height: 280px;
  }
  .page-home .favorites-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .commit-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .commit-section {
    padding: 64px 20px 76px;
  }
}
@media (min-width: 1080px) {
  .page-home .hero-split {
    padding: 56px 0 72px;
  }
  .page-home .score-radar-section {
    padding: 56px 0 72px;
  }
  .page-home .commit-stats {
    grid-template-columns: repeat(6, 1fr);
  }
}
