/* =========================================================
   NOCHARTE DAYLIGHT — SPORTS GALLERY COVERFLOW
   Same system as nightlife gallery, Daylight style
========================================================= */

.sports-page{
  --day-bg:#f7fbff;
  --day-ink:#080b12;
  --day-muted:rgba(8,11,18,.56);
  --day-soft:rgba(8,11,18,.68);
  --day-cyan:#00d9ff;
  --day-blue:#2fa8ff;
  --day-purple:#8b3dff;
  --top-gap:calc(var(--nav-h, 90px) + 22px);

  min-height:100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(0,217,255,.18), transparent 34%),
    radial-gradient(circle at 88% 24%, rgba(139,61,255,.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #eef6ff 100%);
  color:var(--day-ink);
  font-family:'Glacial Indifference', system-ui, sans-serif;
  overflow-x:hidden;
  overflow-y:auto;
}

html,
body{
  min-height:100%;
  height:auto !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
}

/* Background */
.sports-bg{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(70% 60% at 20% 30%, rgba(0,217,255,.18) 0%, transparent 60%),
    radial-gradient(70% 60% at 80% 25%, rgba(139,61,255,.14) 0%, transparent 60%);
}

/* =========================================================
   HEADER — Daylight inner nav
========================================================= */

.sports-page .nav{
  position:fixed !important;
  top:0;
  left:0;
  right:0;
  height:var(--nav-h, 90px);
  background:rgba(255,255,255,.88) !important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 32px rgba(0,0,0,.045);
  z-index:5000;
}

.sports-page .logo.daylight-logo img{
  height:calc(var(--logo-h) * .8);
  width:auto;
  filter:
    drop-shadow(0 0 10px rgba(0,217,255,.30))
    drop-shadow(0 8px 18px rgba(0,0,0,.08));
}

.sports-page .links.daylight-inner-links{
  gap:44px;
  align-items:center;
}

.sports-page .links.daylight-inner-links a{
  position:relative;
  padding:6px 2px !important;
  border-radius:0 !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
  color:rgba(8,11,18,.68) !important;
  text-shadow:none !important;
  font-weight:800;
}

.sports-page .links.daylight-inner-links a:hover,
.sports-page .links.daylight-inner-links a[aria-current="page"]{
  color:#080b12 !important;
}

.sports-page .links.daylight-inner-links a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-8px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg, #00d9ff, #2fa8ff, #8b3dff);
  box-shadow:
    0 0 12px rgba(0,217,255,.35),
    0 0 16px rgba(47,168,255,.24);
  transform:scaleX(0);
  transform-origin:left;
  opacity:0;
  transition:transform .25s ease, opacity .25s ease;
}

.sports-page .links.daylight-inner-links a:hover::after,
.sports-page .links.daylight-inner-links a[aria-current="page"]::after{
  transform:scaleX(1);
  opacity:1;
}

/* =========================================================
   LAYOUT — same spirit as nightlife gallery
========================================================= */

.sports-wrap{
  max-width:1400px;
  margin:0 auto;
  padding:var(--top-gap) 8vw calc(70px + env(safe-area-inset-bottom,0px));
  position:relative;
  z-index:1;
}

/* Hero top-left */
.sports-hero{
  padding-top:0;
  margin-bottom:clamp(28px, 4vw, 52px);
  max-width:850px;
  text-align:left;
}

.sports-hero__eyebrow{
  display:none !important;
}

.sports-hero__title{
  margin:0;
  font-size:clamp(76px, 14vw, 168px);
  line-height:.80;
  font-weight:900;
  letter-spacing:-.06em;
  text-transform:uppercase;
  color:var(--day-ink);
  filter:drop-shadow(0 18px 48px rgba(0,217,255,.16));
}

.sports-hero__title span{
  background:linear-gradient(
    90deg,
    #00d9ff 0%,
    #2fa8ff 52%,
    #8b3dff 100%
  );
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
}

.sports-hero__subtitle{
  max-width:650px;
  margin:clamp(14px, 1.6vw, 24px) 0 0;
  font-size:clamp(16px, 1.45vw, 23px);
  line-height:1.38;
  color:rgba(8,11,18,.66);
}

/* Year title */
.sports-year-title{
  display:flex;
  align-items:center;
  gap:18px;
  margin:0 0 12px;
  font-size:clamp(32px, 3vw, 48px);
  line-height:1;
  font-weight:900;
  color:var(--day-ink);
}

.sports-year-title::after{
  content:"";
  width:90px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg, #00d9ff, #8b3dff, transparent);
  box-shadow:
    0 0 16px rgba(0,217,255,.35),
    0 0 18px rgba(139,61,255,.22);
}

.sports-hint{
  margin:-4px 0 8px;
  font-size:.92rem;
  letter-spacing:.04em;
  color:rgba(8,11,18,.46);
}

/* =========================================================
   COVERFLOW — copied layout logic from nightlife
========================================================= */

.sports-coverflow{
  position:relative;
  margin-top:-22px;
  display:flex;
  justify-content:center;
  overflow:visible !important;
}

.sports-coverflow::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:min(620px, 70vw);
  height:260px;
  transform:translate(-50%, -42%);
  background:radial-gradient(circle, rgba(0,217,255,.18), transparent 68%);
  filter:blur(18px);
  pointer-events:none;
  z-index:-1;
}

.sports-page .stage{
  position:relative;
  height:min(42vh, 380px);
  width:100%;
  perspective:1200px;
  display:flex;
  align-items:center;
  justify-content:center;
  transform-style:preserve-3d;
  z-index:0;
  transform:translateY(-55px);
  overflow:visible !important;
}

/* Cards */
.sports-card{
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  margin:auto 0;
  width:clamp(200px, 20vw, 260px);
  aspect-ratio:4 / 5;
  border-radius:22px;
  overflow:hidden;
  background:#eef8ff;
  cursor:pointer;
  box-shadow:
    0 18px 34px rgba(0,217,255,.26),
    0 0 0 1px rgba(255,255,255,.40);
  transform-style:preserve-3d;
  transition:
    transform .5s cubic-bezier(.2,.8,.2,1),
    box-shadow .3s ease,
    filter .3s ease;
  backface-visibility:hidden;
  will-change:transform;
  display:block;
  text-decoration:none;
  color:#fff;
  user-select:none;
  -webkit-user-select:none;
  -webkit-tap-highlight-color:transparent;
}

.sports-card > *{
  pointer-events:none;
}

.sports-card img{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  object-fit:cover;
  backface-visibility:hidden;
}

/* Placeholder, visible if cover missing */
.sports-card-placeholder{
  position:absolute;
  inset:0;
  z-index:1;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,217,255,.24), transparent 34%),
    radial-gradient(circle at 85% 35%, rgba(139,61,255,.14), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #eef8ff 100%);
}

.sports-card-placeholder span{
  font-size:clamp(34px, 5vw, 64px);
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(8,11,18,.76);
}

/* Hide the broken image icon when fallback fails */
.sports-card img.is-broken{
  display:none !important;
}

.sports-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.68) 100%);
}

.sports-card .meta{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:4;
  padding:18px 18px 20px;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.35));
}

.sports-card-label{
  margin:0 0 8px;
  font-size:.64rem;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:#7eeaff;
}

.sports-card .meta h3{
  margin:0 0 7px 0;
  font-size:1.08rem;
  line-height:1.05;
  color:#fff;
  text-shadow:0 6px 18px rgba(0,0,0,.8);
}

.sports-card .meta p{
  margin:0;
  opacity:.9;
  font-size:.86rem;
  line-height:1.25;
  color:rgba(255,255,255,.84);
}

.sports-card.is-active{
  box-shadow:
    0 24px 46px rgba(0,217,255,.36),
    0 0 0 1px rgba(255,255,255,.22);
}

.sports-card:not(.is-active){
  filter:saturate(.9) brightness(.96);
}

/* Arrows */
.sports-page .float-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#080b12;
  background:rgba(255,255,255,.80);
  border:1px solid rgba(0,160,210,.22);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  cursor:pointer;
  z-index:20;
  transition:transform .2s ease, box-shadow .25s ease, opacity .25s ease;
  box-shadow:
    0 12px 28px rgba(0,0,0,.08),
    0 0 18px rgba(0,217,255,.12);
}

.sports-page .float-arrow.left{
  left:18px;
}

.sports-page .float-arrow.right{
  right:18px;
}

.sports-page .float-arrow svg{
  width:24px;
  height:24px;
}

.sports-page .float-arrow:hover{
  transform:translateY(-50%) scale(1.06);
  box-shadow:
    0 0 24px rgba(0,217,255,.28),
    0 10px 24px rgba(0,0,0,.12);
  border-color:rgba(0,217,255,.42);
}

.sports-page .float-arrow.is-disabled{
  opacity:.35;
  pointer-events:none;
}

/* Hide arrows if one event */
.sports-coverflow.has-one-card .float-arrow{
  display:none !important;
}

/* Empty state */
.sports-empty{
  display:grid;
  place-items:center;
  text-align:center;
  min-height:260px;
  width:min(720px, 92vw);
  padding:34px;
  border-radius:28px;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(0,160,210,.14);
  box-shadow:0 18px 44px rgba(0,0,0,.06);
}

.sports-empty h2{
  margin:0 0 8px;
  color:#080b12;
}

.sports-empty p{
  margin:0;
  color:rgba(8,11,18,.62);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:820px){
  .sports-page{
    --top-gap:calc(var(--mobile-header-h, 60px) + var(--mobile-gap, 12px));
  }

  .sports-page .nav{
    background:rgba(255,255,255,.92) !important;
  }

  .sports-page .nav-toggle span{
    background:#080b12 !important;
    box-shadow:none !important;
  }

  .sports-wrap{
    width:100%;
    padding:calc(var(--top-gap) + 32px) 5vw 60px;
  }

  .sports-hero{
    margin-bottom:34px;
  }

  .sports-hero__title{
    font-size:clamp(64px, 21vw, 104px);
    line-height:.82;
    letter-spacing:-.055em;
  }

  .sports-hero__subtitle{
    max-width:30ch;
    margin-top:12px;
    font-size:15px;
    line-height:1.35;
  }

  .sports-year-title{
    font-size:34px;
    margin-bottom:8px;
  }

  .sports-year-title::after{
    width:54px;
  }

  .sports-hint{
    font-size:.84rem;
  }

  .sports-coverflow{
    margin-top:8px;
  }

  .sports-page .stage{
    height:46vh;
    transform:translateY(-18px);
  }

  .sports-card{
    width:clamp(190px, 72vw, 290px);
  }

  .sports-page .float-arrow{
    width:46px;
    height:46px;
  }

  .sports-page .float-arrow.left{
    left:0;
  }

  .sports-page .float-arrow.right{
    right:0;
  }
}

@media (max-width:390px){
  .sports-hero__title{
    font-size:clamp(58px, 19vw, 88px);
  }

  .sports-card{
    width:clamp(185px, 72vw, 270px);
  }
}

/* =========================================================
   SPORTS HERO — CLEANER TITLE SIZE + FIX CLIPPING
========================================================= */

.sports-hero{
  max-width:760px !important;
  overflow:visible !important;
}

.sports-hero__title{
  font-size:clamp(68px, 10.5vw, 135px) !important;
  line-height:.86 !important;
  letter-spacing:-.045em !important;
  overflow:visible !important;
  padding-right:.08em !important;
  padding-bottom:.04em !important;
}

/* Make EVENT/S line breathe */
.sports-hero__title span{
  display:inline-block !important;
  padding-right:.08em !important;
  padding-bottom:.04em !important;
}

/* Reduce subtitle slightly */
.sports-hero__subtitle{
  max-width:620px !important;
  font-size:clamp(15px, 1.25vw, 20px) !important;
  line-height:1.4 !important;
}

/* Move year section a bit closer */
.sports-year-title{
  margin-top:-4px !important;
}

/* Mobile */
@media (max-width:820px){
  .sports-hero{
    max-width:100% !important;
  }

  .sports-hero__title{
    font-size:clamp(54px, 17vw, 88px) !important;
    line-height:.9 !important;
    letter-spacing:-.04em !important;
    padding-right:.1em !important;
  }

  .sports-hero__subtitle{
    max-width:31ch !important;
    font-size:15px !important;
  }
}