/* ========== BASE TYPOGRAPHY & GLOBAL BEHAVIOR ========== */
body {
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}
.font-bebas {
  font-family: "Bebas Neue", sans-serif;
}

main {
  min-height: 100vh;
}

/* =========================================================
   GLOBAL NAV ARROW SIZE FIX
   Prevent dropdown arrows from shrinking on text wrap
   ========================================================= */

/* Ensure nav links are flex rows */
nav .nav-link,
nav .group > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Lock arrow size */
nav .nav-link svg,
nav .group > a svg,
nav .arrow {
  flex-shrink: 0; /* 🔑 this is the key fix */
  width: 16px;
  height: 16px;
}

/* Optional: prevent awkward text + arrow line breaks */
nav .nav-link,
nav .group > a {
  line-height: 1.1;
}

/* ========== HERO SECTION ========== */
.hero-gradient {
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

/* ========== BUTTONS ========== */
.skate-now-btn {
  background: linear-gradient(to right, #38bdf8, #2563eb);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border-radius: 6px;
}
.skate-now-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  outline: 2px solid rgba(59, 130, 246, 0.4);
  outline-offset: 2px;
}
.nav-link:hover {
  color: #5fbcff;
}

/* ========== FEATURE CARDS ========== */
.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.feature-icon {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
  margin: 0 auto 1rem;
  color: #3b82f6;
  stroke: #3b82f6;
}

/* ========== FOOTER GRADIENT ========== */
.footer-gradient {
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

/* ========== STRIPE NAV SECTIONS (unchanged from your working version) ========== */
.stripes-video {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 78vh, 980px);
  background: #fff;
}
.stripe-wrapper {
  padding-top: 15vh;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.stripes-layer {
  position: relative;
  z-index: 1;
}

.stripe-container {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  transform: skewY(-12deg);
  transform-origin: left;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 15%;
  color: #fff;
  text-decoration: none;
}
.stripe-container:hover {
  box-shadow: 0 8px 25px rgba(95, 188, 255, 0.45);
  z-index: 2;
}
.stripe-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  transform: skewY(-1deg);
}
.stripe-title {
  font-family: "Bebas Neue", sans-serif !important;
  letter-spacing: 1px;
  font-size: 3rem;
  font-weight: 800;
}
.stripe-cat-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  transform: skewY(12deg);
  pointer-events: none;
  margin-left: -1rem;
}

.stripe-container:nth-child(-n + 2) .stripe-cat-icon {
  transform: skewY(12deg) scale(1.1) translateX(-20px) translateY(6px);
}

.stripe-container:first-child .stripe-cat-icon {
  transform: skewY(12deg) scale(1.05) translateX(-10px) translateY(4px);
}

@media (max-width: 900px) {
  .stripes-video {
    margin-top: 64px; /* adjust as needed */
  }
}

/* Video overlay */
.video-overlay {
  position: absolute;
  z-index: 50;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  width: clamp(360px, 28vw, 520px); /* narrower */
  height: auto;                      /* let aspect-ratio control height */
  pointer-events: none;
}
.video-shell {
  position: relative;
  width: 100%;
  height: auto;         
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}
.video-shell::before {
  content: "";
  position: absolute;
  left: -70px;
  top: 0;
  bottom: 0;
  width: 140px;
  background:
    radial-gradient(
      60px 160px at 65% 18%,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0) 70%
    ),
    radial-gradient(
      70px 190px at 55% 52%,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0) 72%
    ),
    radial-gradient(
      55px 170px at 70% 86%,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0) 70%
    ),
    linear-gradient(to right, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 3;
}
/* Desktop – refined glass highlight */
@media (min-width: 901px) {
  .video-shell::before {
    opacity: 0.55;      /* balanced visibility */
    left: -85px;        /* slightly visible but not dominating */
    width: 120px;       /* enough presence without being thick */
    filter: blur(2px);  /* smoother fade */
  }
}

.video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 4;
}
.video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  z-index: 5;
}
.video-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.9;
}
.video-title {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .stripes-video {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .stripe-wrapper {
    padding-top: 0;
    height: auto;
  }
  .stripe-container {
    padding-left: 10%;
  }
  .stripe-title {
    font-size: 1.75rem;
  }
  .stripe-cat-icon {
    width: 140px;
    height: 140px;
  }
  .stripes-layer,
  .stripe-container {
    z-index: 2;
  }

  .video-overlay {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: 18px;
    pointer-events: auto;
    z-index: 0;
    height: auto;
    transform: none;
  }
  .video-shell {
  width: min(520px, 92vw);  /* wider than before */
  margin: 0 auto;

  aspect-ratio: 9 / 16;     /* keep vertical */
  height: auto;

  border-radius: 22px;
  z-index: 1;
}
  .video-shell::before {
    display: none;
  }
}

@media (min-width: 90px) {
  .stripe-content {
    transform: translateX(-20px);
  }
}

/* ===== Desktop: pin video bubble to the top (no vertical centering) ===== */
@media (min-width: 901px) {
  .video-overlay {
    top: 0 !important;          /* move bubble to top */
    bottom: 0 !important;       /* stretch downward */
    transform: none !important; /* remove translateY(-50%) */
    height: auto !important;    /* let top/bottom control height */
    width: 518px;
  }

  .video-shell {
    height: 100% !important;    /* fill the overlay */
  }
}
/* ========== LIVE BADGE ========== */
#floatingLiveBadge {
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========== SLIDE-UP ANIMATION ========== */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-slide-up {
  opacity: 0;
  transform: translateY(20px);
}
.slide-up-visible {
  animation: slideUp 1s ease-out forwards;
}

/* =========================================================
   ✅ UNIFIED CAROUSEL ENGINE STYLES (WITH EDGE FADE)
   Works for BOTH homepage + neon (different skins)
   Breakpoint standardized: 900px
   ========================================================= */

/* Wrapper */
.sga-carousel {
  position: relative;
  width: 100%;
  overflow-x: hidden; /* prevents page horizontal scroll */
  overflow-y: visible;

  /* Fade config */
  --fade-size: 56px; /* width of fade on each side */
  --fade-z: 30;

  /* Fade color (RGB) — HOME default is white */
  --fade-rgb: 255, 255, 255;
}

/* Neon page is dark, so fade into dark */
.neon-page .sga-carousel {
  --fade-rgb: 5, 1, 9; /* matches #050109 */
}

/* Edge fade overlays (keeps shadows; no mask clipping) */
.sga-carousel::before,
.sga-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--fade-size);
  pointer-events: none;
  z-index: var(--fade-z);
}

.sga-carousel::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(var(--fade-rgb), 1) 0%,
    rgba(var(--fade-rgb), 0) 100%
  );
}

.sga-carousel::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(var(--fade-rgb), 1) 0%,
    rgba(var(--fade-rgb), 0) 100%
  );
}

/* ==========================
   DESKTOP / TABLET (>= 900px)
   ========================== */

.sga-viewport {
  width: 100%;
  max-width: none; /* full width (you said you removed max-w-7xl) */
  margin: 0;

  overflow: visible; /* stops cut-off */
  padding: 36px 0; /* vertical breathing room for shadows */
}

/* Track (desktop + base) */
.sga-track {
  display: flex;
  align-items: stretch;
  justify-content: center;

  gap: 3rem;
  padding: 0 24px;

  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Card base */
.sga-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Dots (desktop hidden) */
.sga-dots {
  display: none;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  position: relative;
  pointer-events: auto;
}

.sga-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
}

/* Default dot colors (home) */
.sga-carousel--home .sga-dot {
  background: rgba(0, 0, 0, 0.25);
}
.sga-carousel--home .sga-dot.is-active {
  width: 22px;
  background: rgba(0, 0, 0, 0.7);
}

/* Neon dot colors */
.sga-carousel--neon .sga-dot {
  background: rgba(100, 245, 255, 0.3);
}
.sga-carousel--neon .sga-dot.is-active {
  width: 22px;
  background: rgba(100, 245, 255, 0.95);
}

/* Desktop hover lift allowed */
@media (min-width: 900px) {
  .sga-carousel .event-card:hover {
    transform: translateY(-6px);
  }
  .sga-carousel .theme-card:hover {
    transform: translateY(-8px) scale(1.05);
  }
}

/* ==========================
   MOBILE (< 900px)
   swipe + snap + dots + centered emphasis
   ========================== */
@media (max-width: 899.98px) {
  /* Slightly smaller fade on mobile so it doesn’t feel heavy */
  .sga-carousel {
    --fade-size: 34px;
  }

  .sga-viewport {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;
    scroll-padding: 24px;

    /* mobile “gutter” + vertical room */
    padding: 28px 24px 32px;
  }

  /* Hide scrollbar */
  .sga-viewport::-webkit-scrollbar {
    display: none;
  }
  .sga-viewport {
    scrollbar-width: none;
  }

  .sga-track {
    transform: none !important; /* mobile uses scroll, not transform */
    will-change: auto;
    gap: 16px;
    justify-content: flex-start; /* IMPORTANT: do NOT center track on mobile */
  }

  .sga-card {
    scroll-snap-align: center;
    scroll-snap-stop: always;

    width: min(90vw, 360px);
    flex: 0 0 auto;
  }

  /* remove floaty animation on mobile */
  .event-card,
  .theme-card {
    transform: none !important;
    transition:
      transform 220ms ease,
      opacity 220ms ease;
  }

  /* centered card emphasis */
  .sga-card.is-active {
    transform: scale(1.03) !important;
    opacity: 1;
  }
  .sga-card.is-dim {
    opacity: 0.55;
  }

  .sga-dots {
    display: flex;
  }
}

/* =========================================================
   Your existing homepage card look (kept)
   ========================================================= */
.event-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

/* =========================================================
   Can-Do Kitchen animation
   ========================================================= */
.marquee-track {
  display: inline-block;
  transform: translateX(-50%);
  animation: marquee-scroll 22s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/*************************************************************
  NEON PAGE — SKATE NIGHT THEME (AZ Skate Night Inspired)
  Scope: add class="neon-page" on <body> for neon pages only
*************************************************************/

/* -------------------- BASE PAGE -------------------- */
.neon-page {
  background: #050109;
  color: #e6e6ff;
  font-family: "Montserrat", sans-serif;

  /* Scoped neon vars (prevents leaking to non-neon pages) */
  --neon-pink: #ff4fe0;
  --neon-cyan: #64f5ff;
  --neon-yellow: #ffea00;
  --neon-soft-bg: rgba(255, 255, 255, 0.06);
}

/* -------------------- NAVBAR -------------------- */
.neon-page nav {
  background: rgba(5, 1, 15, 0.9) !important;
  backdrop-filter: blur(6px);
  border-bottom: 2px solid #08e8ff;
  box-shadow: 0 0 18px #08e8ff66;
}

.neon-page nav a,
.neon-page .nav-link {
  color: #ffffff !important;
  text-shadow: 0 0 6px #08e8ff;
}

.neon-page nav a:hover,
.neon-page .nav-link:hover {
  color: #ff2df2 !important;
  text-shadow: 0 0 10px #ff2df2;
}

/* Desktop dropdowns */
.neon-page nav .group div {
  background: #0a0616 !important;
  border: 1px solid #08e8ff55;
  box-shadow: 0 0 12px #08e8ff55;
}

.neon-page nav .group div a:hover {
  background: #1a0b33 !important;
  color: #08e8ff !important;
}

/* Remove glow from logos (nav + footer only) */
.neon-page nav img,
.neon-page footer img {
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  border: none !important;
}

/* Neon hamburger menu (mobile only, neon page only) */
.neon-page #menu-btn svg {
  stroke: #7df9ff;
  width: 28px;
  height: 28px;
  filter:
    drop-shadow(0 0 6px rgba(125, 249, 255, 0.9))
    drop-shadow(0 0 14px rgba(160, 64, 255, 0.6));
}

/* -------------------- HERO SECTION -------------------- */
.neon-page .hero-gradient {
  background: radial-gradient(
    circle at center,
    #120027 0%,
    #060012 60%,
    #000000 100%
  ) !important;
  color: #08e8ff;
  text-shadow: 0 0 12px #08e8ffdd;
}

/* -------------------- SECTION BACKGROUNDS -------------------- */
.neon-page section {
  background: transparent !important;
}

.neon-page #sports,
.neon-page #about {
  background: #080313 !important;
  border-top: 1px solid #220044;
  border-bottom: 1px solid #220044;
}

/* -------------------- CTA BUTTONS (generic neon CTAs) -------------------- */
.neon-page a.inline-block:not(.skate-now-btn),
.neon-page .btn:not(.skate-now-btn) {
  background: transparent !important;
  border: 2px solid #08e8ff !important;
  color: #08e8ff !important;
  text-shadow: 0 0 10px #08e8ff;
  box-shadow: 0 0 16px #08e8ff77;
}

.neon-page a.inline-block:not(.skate-now-btn):hover,
.neon-page .btn:not(.skate-now-btn):hover {
  background: #08e8ff !important;
  color: #000 !important;
  box-shadow: 0 0 24px #08e8ff;
}

.neon-page .btn,
.neon-page a.inline-block {
  padding-top: 14px !important;
  padding-bottom: 16px !important;
}

.neon-page a.skate-now-btn,
.neon-page a.skate-now-btn:hover,
.neon-page a.skate-now-btn:focus,
.neon-page a.skate-now-btn:active {

  /* override Tailwind blue gradient */
    background: transparent !important;
  border: 2px solid #ff00c8 !important;
  color: #ff00c8 !important;
  border-radius: 9999px;
  text-shadow: 0 0 8px #ff00c8;
  box-shadow: 0 0 14px #ff00c8aa;
  transition: 0.25s ease;
}

/* Hover pop without color change */
.neon-page a.skate-now-btn:hover {
  background: #ff00c8 !important;
  color: #000 !important;
  box-shadow: 0 0 25px #ff00c8;
}

/* Kill cyan/blue ring on SKATE NOW hover/focus */
.neon-page a.skate-now-btn:hover,
.neon-page a.skate-now-btn:focus,
.neon-page a.skate-now-btn:active {
  outline: none !important;
  box-shadow:
    0 0 22px rgba(255, 0, 200, 1),
    0 0 48px rgba(255, 0, 200, 0.9) !important;
  border-color: #ff00c8 !important;
}

/* -------------------- SKATE NIGHT NAV BUTTON (specific) -------------------- */
.neon-page a[href="skate-night"] {
  background: #ff00c8 !important;
  border: 2px solid #ff00c8 !important;
  color: #000 !important;
  border-radius: 9999px;
  text-shadow: 0 0 8px #ff00c8;
  box-shadow: 0 0 14px #ff00c8aa;
  transition: 0.25s ease;
}

.neon-page a[href="skate-night"]:hover {
  background: #ff00c8 !important;
  color: #000 !important;
  box-shadow: 0 0 25px #ff00c8;
}

/* -------------------- FOOTER -------------------- */
.neon-page footer {
  background: linear-gradient(
    to bottom,
    #0a0018,
    #050009 60%,
    #000000 100%
  ) !important;
  border-top: 1px solid #08e8ff55;
  box-shadow: 0 -2px 20px #08e8ff33;
}

.neon-page footer a:hover {
  color: #ff2df2 !important;
  text-shadow: 0 0 8px #ff2df2;
}

.neon-page footer h3 {
  color: var(--neon-yellow) !important;
  text-shadow: 0 0 6px #ffea00aa;
}

/* -------------------- MOBILE MENU -------------------- */
.neon-page #mobile-menu {
  background: rgba(5, 1, 15, 0.95) !important;
  border: 1px solid #08e8ff55;
  box-shadow: 0 0 18px #08e8ff55;
}

.neon-page #mobile-menu a {
  color: #ffffff !important;
}

.neon-page #mobile-menu a:hover {
  color: #08e8ff !important;
}

/* Mobile menu: make SKATE NIGHT pill match desktop */
.neon-page #mobile-menu a[href="skate-night"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  /* consistent button sizing */
  padding: 10px 18px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;

  /* prevent warping/stretching */
  width: max-content !important;
  max-width: calc(100% - 32px) !important; /* keep it inside edges */
  margin: 10px auto 0 !important;          /* center it */

  /* keep your neon button look */
  background: #ff00c8 !important;
  border: 2px solid #ff00c8 !important;
  color: #000 !important;
  border-radius: 9999px !important;
  text-shadow: 0 0 8px #ff00c8 !important;
  box-shadow: 0 0 14px #ff00c8aa !important;
  font-weight: 800 !important;      /* stronger than font-bold */
  letter-spacing: 0.03em;           /* helps neon readability */
  -webkit-font-smoothing: auto;     /* undo Safari thinning */
  text-rendering: geometricPrecision;
}

/* Hover (same as desktop) */
.neon-page #mobile-menu a[href="skate-night"]:hover {
  background: #ff00c8 !important;
  color: #000 !important;
  box-shadow: 0 0 25px #ff00c8 !important;
}

.neon-page .neon-policy-badge {
  box-shadow:
    0 0 10px rgba(255, 234, 0, 0.75),
    0 0 22px rgba(255, 234, 0, 0.55),
    0 0 40px rgba(255, 234, 0, 0.35);
}

/*************************************************************
  NEON PULSING EFFECTS
  NOTE: We keep this scoped to neon links, but avoid applying
  it to EVERYTHING automatically (more predictable).
*************************************************************/
@keyframes neonPulsePink {
  0% {
    text-shadow:
      0 0 8px #ff00c8,
      0 0 20px #ff00c8aa;
  }
  50% {
    text-shadow:
      0 0 14px #ff4de6,
      0 0 28px #ff00c8ff;
  }
  100% {
    text-shadow:
      0 0 8px #ff00c8,
      0 0 20px #ff00c8aa;
  }
}

@keyframes neonPulseCyan {
  0% {
    text-shadow:
      0 0 10px #08e8ff,
      0 0 20px #08e8ff88;
  }
  50% {
    text-shadow:
      0 0 16px #4cffff,
      0 0 32px #08e8ffff;
  }
  100% {
    text-shadow:
      0 0 10px #08e8ff,
      0 0 20px #08e8ff88;
  }
}

@keyframes neonPulseYellow {
  0% {
    text-shadow:
      0 0 10px #ffea00,
      0 0 20px #ffea0099;
  }
  50% {
    text-shadow:
      0 0 14px #fff066,
      0 0 30px #ffea00ff;
  }
  100% {
    text-shadow:
      0 0 10px #ffea00,
      0 0 20px #ffea0099;
  }
}

/* If you still want the global neon hover pulse, keep it.
   If it ever causes weirdness, delete this ONE block. */
.neon-page a:hover {
  animation: neonPulsePink 1.8s infinite ease-in-out;
}

/*************************************************************
  TONED-DOWN NEON UTILITIES (carousel, gallery, DJ)
*************************************************************/

/* Section title */
.neon-title {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 2px;
  color: var(--neon-pink);
  text-shadow:
    0 0 8px var(--neon-pink),
    0 0 16px var(--neon-pink);
  animation: neonTitlePulse 3s ease-in-out infinite;
}

@keyframes neonTitlePulse {
  0%,
  100% {
    text-shadow:
      0 0 6px var(--neon-pink),
      0 0 14px var(--neon-pink);
  }
  50% {
    text-shadow:
      0 0 10px var(--neon-cyan),
      0 0 20px var(--neon-cyan);
  }
}

.neon-subtext {
  color: #fdfdfd;
  text-shadow: 0 0 6px rgba(100, 245, 255, 0.4);
}

/* Frosted neon panels */
.neon-panel {
  background: var(--neon-soft-bg);
  border: 2px solid var(--neon-pink);
  border-radius: 20px;
  box-shadow: 0 0 18px rgba(255, 79, 224, 0.35);
  backdrop-filter: blur(8px);
}

/* Carousel container fade mask */
.neon-page .carousel-container {
  overflow: visible;
  padding: 40px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* Themed Nights – horizontal auto scroll */
.neon-page .carousel-track {
  display: inline-flex;
  gap: 28px;
  animation: themedScroll 45s linear infinite;
  will-change: transform;
}

.neon-page .carousel-track:hover {
  animation-play-state: paused;
}

@keyframes themedScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Theme cards */
.neon-page .theme-card {
  width: 320px;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid var(--neon-cyan);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 6px 26px rgba(100, 245, 255, 0.25);
}

.neon-page .theme-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 40px rgba(100, 245, 255, 0.5);
}

.neon-page .theme-content h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
  color: var(--neon-yellow);
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 79, 224, 0.6);
}

.neon-page .theme-date {
  color: var(--neon-cyan);
  font-weight: 600;
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(100, 245, 255, 0.7);
}

/* Gallery */
.neon-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.neon-page .gallery-item {
  border: 2px solid var(--neon-pink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 26px rgba(255, 79, 224, 0.25);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.neon-page .gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(255, 79, 224, 0.5);
}

.neon-page .gallery-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* DJ Section */
.neon-page .dj-section {
  background: rgba(100, 245, 255, 0.08);
  border: 2px solid var(--neon-cyan);
  border-radius: 20px;
  box-shadow: none !important;
  backdrop-filter: blur(8px);
}

.neon-page .dj-logo {
  filter: drop-shadow(0 0 16px rgba(100, 245, 255, 0.7));
}

/*************************************************************
  CLEAN NEON HEADER SYSTEM
*************************************************************/
@keyframes heroMulticolorGlow {
  0% {
    color: var(--neon-pink);
    text-shadow:
      0 0 12px var(--neon-pink),
      0 0 22px var(--neon-pink);
  }
  25% {
    color: var(--neon-cyan);
    text-shadow:
      0 0 12px var(--neon-cyan),
      0 0 22px var(--neon-cyan);
  }
  50% {
    color: #c084fc;
    text-shadow:
      0 0 12px #c084fc,
      0 0 22px #c084fc;
  }
  75% {
    color: #fff799;
    text-shadow:
      0 0 12px #fff799,
      0 0 22px #fff799;
  }
  100% {
    color: var(--neon-pink);
    text-shadow:
      0 0 12px var(--neon-pink),
      0 0 22px var(--neon-pink);
  }
}

.neon-hero {
  animation: heroMulticolorGlow 4s linear infinite;
}

/* Glow utility headings */
.neon-heading {
  font-family: "Bebas Neue", sans-serif;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes glowPink {
  0% {
    text-shadow: 0 0 10px var(--neon-pink);
  }
  25% {
    text-shadow: 0 0 12px var(--neon-cyan);
  }
  50% {
    text-shadow: 0 0 14px #c084fc;
  }
  75% {
    text-shadow: 0 0 12px #fff799;
  }
  100% {
    text-shadow: 0 0 10px var(--neon-pink);
  }
}
@keyframes glowYellow {
  0% {
    text-shadow: 0 0 10px var(--neon-yellow);
  }
  25% {
    text-shadow: 0 0 12px var(--neon-cyan);
  }
  50% {
    text-shadow: 0 0 14px #c084fc;
  }
  75% {
    text-shadow: 0 0 12px var(--neon-pink);
  }
  100% {
    text-shadow: 0 0 10px var(--neon-yellow);
  }
}
@keyframes glowCyan {
  0% {
    text-shadow: 0 0 10px var(--neon-cyan);
  }
  25% {
    text-shadow: 0 0 12px #c084fc;
  }
  50% {
    text-shadow: 0 0 14px var(--neon-pink);
  }
  75% {
    text-shadow: 0 0 12px var(--neon-yellow);
  }
  100% {
    text-shadow: 0 0 10px var(--neon-cyan);
  }
}

.neon-pink {
  color: var(--neon-pink);
  animation-name: glowPink;
}
.neon-yellow {
  color: var(--neon-yellow);
  animation-name: glowYellow;
}
.neon-cyan {
  color: var(--neon-cyan);
  animation-name: glowCyan;
}

/*************************************************************
  HERO VIDEO CTA — solid rainbow + cyan glow
*************************************************************/
.neon-page .video-button-wrapper {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
}

.neon-page a.cta-main {
  display: inline-block;
  padding: 18px 48px;
  border-radius: 50px;

  font-family: "Rubik", sans-serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  text-decoration: none;

  background-image: linear-gradient(
    45deg,
    #ff00ff,
    #c084fc,
    #00ffff
  ) !important;
  color: #000 !important;
  border: none !important;

  box-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* IMPORTANT: keep CTA hover clean (overrides the global neon-page a:hover) */
.neon-page a.cta-main:hover {
  animation: none !important;
  text-shadow: none !important;
  color: #000 !important;

  transform: scale(1.05) !important;
  box-shadow:
    0 0 25px rgba(0, 255, 255, 0.9),
    0 0 60px rgba(0, 255, 255, 0.6),
    0 0 100px rgba(0, 255, 255, 0.4) !important;
}

.hidden-before-show {
  opacity: 0;
  transform: translate(-50%, -60%);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.show-cta {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* -------------------- MOBILE FIXES -------------------- */
@media (max-width: 768px) {
  /* Make video button full-width & fix deformation */
  .neon-page .video-button-wrapper {
    top: 58%;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
  }

  .neon-page .skate-btn {
    width: 100% !important;
    max-width: 330px !important;
    height: auto !important;
    padding: 18px 32px !important;
    font-size: 1.1rem !important;
    border-radius: 40px !important;
    background-size: 100% 100% !important;
  }

  /* your existing safety */
  body {
    overflow-x: hidden !important;
  }
}

/* =========================================================
   FIX: Neon page swipe not working (<900px)
   Cause: .carousel-container overflow + .carousel-track animation overrides
   Paste at VERY BOTTOM of style.css
   ========================================================= */

@media (max-width: 899.98px) {
  /* Force the neon viewport to actually scroll */
  .sga-carousel--neon .sga-viewport.carousel-container {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  /* Stop the neon auto-scroll animation on mobile so swipe can win */
  .sga-carousel--neon .sga-track.carousel-track {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  /* Make touch gestures prioritize horizontal panning */
  .sga-carousel--neon .sga-viewport {
    touch-action: pan-x;
  }
}

/*************************************************************
  EZFacility Styles
*************************************************************/
/* EZFacility iframe sizing */
.ez-iframe {
  height: clamp(900px, 85vh, 1300px);
}

@media (max-width: 900px) {
  #mobile-menu a[href="skate-night"] {
    display: block; /* forces its own line */
    width: fit-content; /* keeps pill sized */
    margin-left: auto; /* keeps it right-aligned */
    margin-top: 10px; /* optional: adds breathing room */
  }
}

/*************************************************************
  LIVESTREAM
*************************************************************/
.livestream-glow {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.25),
    0 18px 45px rgba(0, 0, 0, 0.18);
}

@keyframes livePop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.liveBadge {
  animation: livePop 0.35s ease-out;
}

/*************************************************************
  Form Wrappers
*************************************************************/
#facilityPdfForm {
  overflow: visible;
}

#birthdayPdfForm {
  overflow: visible;
}

#toggleFacilityOnlineForm {
  white-space: normal;
  word-break: break-word;
  height: auto;
  min-height: 48px;
  width: 100%;
  padding: 12px 20px;
}

@media (max-width: 640px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/*************************************************************
  Iframe Locks
*************************************************************/

#schedule, #leagues, #registration { scroll-margin-top: 120px; }
html { scroll-behavior: smooth; }

/*************************************************************
  Mobile Popups 
*************************************************************/
/* SGA floating popup: mobile centered pill, desktop bottom-right */
.sg-popup {
  position: fixed;
  z-index: 9999;

  /* MOBILE */
  left: 50%;
  --sg-x: -50%;
  --sg-y: 0px;
  transform: translateX(var(--sg-x)) translateY(var(--sg-y));

  bottom: 96px;
  max-width: calc(100vw - 24px);
  width: max-content;
}

@media (min-width: 768px) {
  .sg-popup {
    /* DESKTOP */
    left: auto;
    right: 24px;
    bottom: 24px;

    --sg-x: 0%;
    --sg-y: 0px;
    transform: translateX(var(--sg-x)) translateY(var(--sg-y));

    max-width: none;
    width: auto;
  }
}

/* Top popup variant */
.sg-popup--top {
  bottom: auto;
  top: 18px;

  /* keep centered (no separate transform needed) */
  max-width: 94vw;
}

@media (min-width: 768px) {
  .sg-popup--top {
    top: 24px;
  }
}

/* Delayed slide/fade in (ONLY controls Y via variable, never overrides centering) */
.sg-enter {
  opacity: 0;
  --sg-y: -10px;
  pointer-events: none;
}

.sg-enter.is-visible {
  opacity: 1;
  --sg-y: 0px;
  pointer-events: auto;
  transition: opacity 320ms ease, transform 320ms ease;
}