/* Sportunity Home — night electric theme
   Smooth scroll: no will-change, no ken-burns, no filter on scroll layers. */

.homePage {
  --sp-void: #020b18;
  --sp-navy: #071a33;
  --sp-depth: #0b2748;
  --sp-blue: #2f8fff;
  --sp-cyan: #4ee3ff;
  --sp-ice: #d7e8ff;
  --sp-muted: rgba(215, 232, 255, 0.62);
  --sp-line: rgba(78, 227, 255, 0.22);
  --sp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sp-display: 'Syne', 'Outfit', system-ui, sans-serif;
  --sp-body: 'Outfit', 'Manrope', system-ui, sans-serif;

  font-family: var(--sp-body);
  color: #e8f1ff;
  background: var(--sp-void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.homePage *,
.homePage *::before,
.homePage *::after {
  box-sizing: border-box;
}

/* —— Home-only dark header —— */
body.sp-home .spAppHeader {
  transition: box-shadow 0.25s var(--sp-ease);
}

body.sp-home .spAppHeader__bar {
  background: linear-gradient(180deg, #041628 0%, #061a32 100%) !important;
  box-shadow: 0 1px 0 rgba(78, 227, 255, 0.12) !important;
  border-bottom: 1px solid rgba(47, 143, 255, 0.2) !important;
}

body.sp-home .spAppHeader__bar a,
body.sp-home .spAppHeader__bar span,
body.sp-home .spAppHeader__bar button,
body.sp-home .spAppHeader__bar p,
body.sp-home .spAppHeader__bar div {
  color: rgba(232, 241, 255, 0.92) !important;
}

body.sp-home .spAppHeader__bar a:hover,
body.sp-home .spAppHeader__bar a:focus-visible {
  color: #4ee3ff !important;
}

/* Active nav becomes neon chip instead of white box */
body.sp-home .spNavLink--active {
  background: rgba(47, 143, 255, 0.22) !important;
  background-color: rgba(47, 143, 255, 0.22) !important;
  color: #4ee3ff !important;
  border: 1px solid rgba(78, 227, 255, 0.45) !important;
  border-radius: 8px !important;
  box-shadow: 0 0 18px rgba(47, 143, 255, 0.25) !important;
}

body.sp-home .spNavLink {
  transition: color 0.2s ease, background-color 0.2s ease !important;
}

/* —— Hero —— */
.spHero {
  position: relative;
  min-height: calc(100svh - 62px);
  width: 100%;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--sp-void);
  contain: layout paint style;
}

.spHero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  z-index: 0;
  /* static — animated transform on large images janks scroll */
  transform: none;
}

.spHero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 78% 42%, rgba(47, 143, 255, 0.28), transparent 62%),
    linear-gradient(
      105deg,
      rgba(2, 11, 24, 0.96) 0%,
      rgba(2, 11, 24, 0.78) 36%,
      rgba(2, 11, 24, 0.35) 62%,
      rgba(7, 26, 51, 0.45) 100%
    ),
    linear-gradient(180deg, rgba(2, 11, 24, 0.35) 0%, transparent 28%, rgba(2, 11, 24, 0.78) 100%);
}

.spHero__veil::after {
  content: '';
  position: absolute;
  left: -20%;
  bottom: -30%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(78, 227, 255, 0.14), transparent 68%);
  animation: spPulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.spHero__inner {
  position: relative;
  z-index: 2;
  width: min(760px, 92vw);
  padding: clamp(4.5rem, 10vh, 7rem) 0 clamp(3.25rem, 7vh, 5rem) clamp(1.25rem, 5.5vw, 4.5rem);
  animation: spRise 0.75s var(--sp-ease) both;
}

.spHero__brand {
  position: relative;
  display: inline-block;
  margin: 0 0 1.1rem;
  font-family: var(--sp-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 10vw, 6rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 0 40px rgba(47, 143, 255, 0.35);
}

.spHero__brand::after {
  content: '';
  display: block;
  margin-top: 0.85rem;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sp-cyan), var(--sp-blue), transparent);
  transform-origin: left center;
  animation: spDraw 1s var(--sp-ease) 0.25s both;
}

.spHero__title {
  margin: 0 0 0.9rem;
  font-family: var(--sp-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f2f8ff;
  max-width: 16ch;
}

.spHero__sub {
  margin: 0 0 1.85rem;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--sp-muted);
  max-width: 34ch;
}

.spHero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.spHero__store {
  display: inline-flex;
  border-radius: 10px;
  transition: transform 0.28s var(--sp-ease), box-shadow 0.28s var(--sp-ease);
  box-shadow: 0 0 0 0 rgba(78, 227, 255, 0);
}

.spHero__store:hover,
.spHero__store:focus-visible {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 0 0 2px rgba(78, 227, 255, 0.55), 0 12px 28px rgba(7, 26, 51, 0.45);
}

/* —— Sections —— */
.spSection {
  content-visibility: auto;
  contain-intrinsic-size: 1px 680px;
}

.spSection__head {
  max-width: 1180px;
  margin: 0 auto 2.35rem;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.spSection__label {
  margin: 0 0 0.7rem;
  font-family: var(--sp-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.05;
}

.spSection__sub {
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--sp-muted);
}

/* —— Venues —— */
.spVenues {
  padding: clamp(3.75rem, 7vw, 5.75rem) 0;
  background:
    radial-gradient(800px 380px at 85% 10%, rgba(47, 143, 255, 0.16), transparent 60%),
    linear-gradient(180deg, var(--sp-navy) 0%, var(--sp-void) 100%);
}

.spVenues__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.spVenue {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.spVenue__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: var(--sp-depth);
  border: 1px solid rgba(78, 227, 255, 0.12);
  transition: border-color 0.3s var(--sp-ease), transform 0.35s var(--sp-ease);
  contain: layout paint;
}

.spVenue__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 42%,
    rgba(2, 11, 24, 0.88) 100%
  );
  pointer-events: none;
}

.spVenue__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--sp-ease);
}

.spVenue:hover .spVenue__media,
.spVenue:focus-visible .spVenue__media {
  border-color: rgba(78, 227, 255, 0.55);
  transform: translate3d(0, -4px, 0);
}

.spVenue:hover .spVenue__shot,
.spVenue:focus-visible .spVenue__shot {
  transform: scale(1.05);
}

.spVenue__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 1rem 1rem 1.15rem;
  font-family: var(--sp-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

/* —— Concept —— */
.spConcept {
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2rem);
  background:
    radial-gradient(700px 320px at 15% 80%, rgba(47, 143, 255, 0.12), transparent 55%),
    var(--sp-void);
}

.spConcept__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.spConcept__copy .spSection__label {
  margin-bottom: 1rem;
}

.spConcept__visual {
  position: relative;
  min-height: clamp(240px, 36vw, 420px);
  background: rgba(11, 39, 72, 0.55) center / contain no-repeat;
  border: 1px solid rgba(78, 227, 255, 0.14);
  border-radius: 16px;
}

/* —— Numbers —— */
.spNumbers {
  padding: clamp(5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 2rem);
  background:
    linear-gradient(120deg, #04182e 0%, #0a3060 45%, #0b4a8a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.spNumbers::before {
  content: '';
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 80%;
  background: radial-gradient(circle, rgba(78, 227, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.spNumbers__title {
  position: relative;
  margin: 0 auto 3.25rem;
  max-width: 1180px;
  font-family: var(--sp-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.spNumbers__row {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.25rem 1.75rem;
}

.spNumbers__item {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(78, 227, 255, 0.28);
  min-height: 8.5rem;
}

.spNumbers__value {
  font-family: 'Outfit', var(--sp-body), system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0.15rem 0 1rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  /* Real text — no gradient clip (that made Syne digits look squashed) */
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #fff;
}

.spNumbers__label {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(232, 241, 255, 0.68);
  max-width: 14ch;
}

.homePage .element,
.homeBelow {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
  background: var(--sp-void);
  color: #e8f1ff;
}

.spGoal {
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 2rem) 1rem;
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(47, 143, 255, 0.16), transparent 60%),
    var(--sp-navy);
}

.homeBelow .spGoal > div {
  margin-top: 0 !important;
}

body.sp-home .spPhone,
body.sp-home .spPhone div {
  color: #e8f1ff;
}

body.sp-home .spPhone button {
  color: #fff;
}

/* —— Solution / phone diagram —— */
.spPhone {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem);
  background:
    radial-gradient(700px 360px at 85% 40%, rgba(47, 143, 255, 0.18), transparent 58%),
    linear-gradient(180deg, #071a33 0%, #04101f 100%);
}

.spPhone__copy {
  max-width: 34rem;
  padding-right: 1rem;
}

.spPhone__title {
  margin: 0 0 1rem;
  font-family: var(--sp-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff !important;
}

.spPhone__sub {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(215, 232, 255, 0.78) !important;
}

.spPhone__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.85rem;
}

.spPhone__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important;
  background: linear-gradient(135deg, #1a7ad4, #2f8fff);
  border: 1px solid rgba(78, 227, 255, 0.35);
  transition: transform 0.25s var(--sp-ease), box-shadow 0.25s var(--sp-ease);
}

.spPhone__btn:hover,
.spPhone__btn:focus-visible {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 10px 28px rgba(26, 122, 212, 0.35);
}

.spPhone__btn--ghost {
  background: transparent;
  color: #4ee3ff !important;
  border-color: rgba(78, 227, 255, 0.45);
}

.spPhone__visual {
  position: relative;
  border-radius: 20px;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: #0b2748;
  border: 1px solid rgba(78, 227, 255, 0.22);
  box-shadow: 0 24px 48px rgba(2, 11, 24, 0.45);
  overflow: hidden;
}

.spPhone__shot {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  min-height: clamp(280px, 36vw, 460px);
  object-fit: contain;
  background-color: #ffffff;
  border-radius: 12px;
  /* No mix-blend / opacity — keep the diagram crisp */
}

@media (max-width: 900px) {
  .spPhone {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .spPhone__copy {
    max-width: none;
    padding-right: 0;
  }
  .spPhone__ctas {
    justify-content: center;
  }
  .spPhone__shot {
    min-height: 280px;
  }
}

body.sp-home .spNavLink--active {
  background: rgba(47, 143, 255, 0.22) !important;
  background-color: rgba(47, 143, 255, 0.22) !important;
  color: #4ee3ff !important;
}

/* Force readable titles that ship with default/black Poppins styles */
body.sp-home .homeBelow h1,
body.sp-home .homeBelow h2,
body.sp-home .homeBelow h3,
body.sp-home .spGoal h1,
body.sp-home .spGoal h2,
body.sp-home .spGoal h3 {
  color: #fff !important;
}

body.sp-home .homeBelow p,
body.sp-home .spGoal p {
  color: #dce9ff !important;
}

body.sp-home .homeBelow {
  color: #e8f1ff;
}

body.sp-home .spInform--dark {
  color: #fff;
}

@keyframes spRise {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes spDraw {
  from { transform: scaleX(0); opacity: 0.2; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes spPulse {
  from { opacity: 0.45; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0.85; transform: translate3d(4%, -3%, 0) scale(1.06); }
}

@media (max-width: 980px) {
  .spVenues__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spVenue__media {
    aspect-ratio: 16 / 11;
  }
  .spConcept__grid {
    grid-template-columns: 1fr;
  }
  .spNumbers__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .spHero__inner {
    padding: 4rem 1.25rem 3rem;
  }
  .spVenues__rail {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .spNumbers__row {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spHero__inner,
  .spHero__brand::after,
  .spHero__veil::after,
  .spVenue__shot,
  .spVenue__media,
  .spHero__store {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
