@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&family=Bebas+Neue&family=Chakra+Petch:wght@500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Teko:wght@600;700&display=swap');

:root {
  --pitch-void: #05070a;
  --pitch-dark: #080b11;
  --pitch-surface: #0e131d;
  --pitch-elevated: #141a27;
  --pitch-border: rgba(255, 255, 255, 0.08);
  --pitch-border-subtle: rgba(255, 255, 255, 0.04);
  --volt: #ccff00;
  --volt-glow: rgba(204, 255, 0, 0.22);
  --gold-metallic: #d4af37;
  --gold-light: #f5e4a8;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --turf-emerald: #10b981;
  --whatsapp: #25d366;
}

/* ========================================================= */
/* BASE TYPOGRAPHY & SMOOTH SCROLLING                        */
/* ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  box-sizing: border-box;
}

#cart-drawer.translate-x-full {
  visibility: hidden;
  pointer-events: none;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--pitch-void);
  color: #f1f5f9;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

.font-editorial {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.font-athletic {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.font-tech {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
}

.font-mono-code {
  font-family: 'JetBrains Mono', monospace;
}

.font-jersey-num {
  font-family: 'Teko', sans-serif;
}

/* ========================================================= */
/* JERSEY NATION INSPIRED CINEMATIC HERO SLIDESHOW           */
/* ========================================================= */
.jn-hero-slideshow {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 740px;
  height: 740px;
  overflow: hidden;
  background: #05070a;
}

@media (min-width: 640px) {
  .jn-hero-slideshow {
    height: 680px;
    min-height: 680px;
  }
}

@media (min-width: 1024px) {
  .jn-hero-slideshow {
    height: 640px;
    min-height: 640px;
  }
}

.jn-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.04);
  pointer-events: none;
}

.jn-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.jn-slide-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
}

.jn-slide-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 7, 10, 0.95) 0%,
    rgba(5, 7, 10, 0.82) 42%,
    rgba(5, 7, 10, 0.45) 75%,
    rgba(5, 7, 10, 0.25) 100%
  );
  z-index: 2;
}

.jn-slide-indicator-bar {
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* Category Quick Circles (Story Bubbles like Jersey Nation) */
.story-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-bubble:hover {
  transform: translateY(-4px);
}

.story-bubble-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #ccff00, #d4af37, #38bdf8);
  box-shadow: 0 4px 15px rgba(204, 255, 0, 0.15);
  transition: all 0.3s ease;
}

.story-bubble:hover .story-bubble-ring {
  box-shadow: 0 8px 25px rgba(204, 255, 0, 0.35);
  transform: scale(1.05);
}

.story-bubble-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #090e18;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid #05070a;
}
.stadium-glow {
  background: 
    radial-gradient(circle at 50% -10%, rgba(204, 255, 0, 0.08), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.06), transparent 45%),
    radial-gradient(circle at 20% 40%, rgba(56, 189, 248, 0.04), transparent 50%);
}

/* Premium Athletic Store Atmosphere */
.hero-banner-atmosphere {
  position: relative;
  background-color: #080b11;
  background-image: 
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

/* Subtle Ambient Spotlights (No Sci-Fi Beams) */
.stadium-light-ray-left,
.stadium-light-ray-right {
  display: none;
}

/* Hero Showcase Podium Pedestal (Subtle Studio Floor Reflection) */
.hero-pedestal-platform {
  background: radial-gradient(ellipse at 50% 80%, rgba(255, 255, 255, 0.06), transparent 70%);
  position: relative;
}

.hero-pedestal-platform::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 14px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.6), transparent 70%);
  filter: blur(6px);
  border-radius: 50%;
  pointer-events: none;
}

.ambient-pedestal {
  background: radial-gradient(ellipse at 50% 100%, rgba(204, 255, 0, 0.12), transparent 70%);
}

.ambient-gold-pedestal {
  background: radial-gradient(ellipse at 50% 100%, rgba(212, 175, 55, 0.15), transparent 70%);
}

/* Luxury Carbon Micro-Grid & Pitch lines */
.pitch-grid-subtle {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
}

.jersey-mesh-bg {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 10px 10px;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(14, 19, 29, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-subtle {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-panel-gold {
  background: rgba(212, 175, 55, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Metallic Text & Borders */
.text-gold-gradient {
  background: linear-gradient(135deg, #fcedb6 0%, #d4af37 50%, #aa841e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-silver-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-volt-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #ccff00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========================================================= */
/* ANIMATIONS & MICRO-INTERACTIONS                           */
/* ========================================================= */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-ticker {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.animate-ticker:hover {
  animation-play-state: paused;
}

/* Card Float & Shadow Hover (Human Luxury Retail) */
.kit-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.kit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Customizer 3D perspective jersey container */
.perspective-container {
  perspective: 1000px;
}

.jersey-3d-box {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

.jersey-3d-box:hover {
  transform: rotateY(8deg) rotateX(4deg) scale(1.02);
}

/* Shimmer Light Sweep on Badges */
.badge-shimmer {
  position: relative;
  overflow: hidden;
}

.badge-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shimmer-sweep 5s infinite ease-in-out;
}

@keyframes shimmer-sweep {
  0%, 60% { transform: translateX(-150%) rotate(30deg); }
  100% { transform: translateX(350%) rotate(30deg); }
}

/* Clean Confident Primary Buttons */
.volt-glow-button {
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.volt-glow-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.45);
}

.gold-glow-button {
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.gold-glow-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.45);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: var(--pitch-void);
}

::-webkit-scrollbar-thumb {
  background: #1e2638;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* No-scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Human Community Social Toast Animation */
@keyframes slideUpFade {
  0% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.animate-slide-up {
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ========================================================= */
/* COLLECTION CAROUSEL SLIDER STYLING                        */
/* ========================================================= */
#collection-hero-banner {
  touch-action: pan-y pinch-zoom;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

#collection-slides-track {
  display: flex;
  width: 100%;
  max-width: 100%;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.col-slider-slide {
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Defensive containment to strictly eliminate any mobile horizontal blowout */
#hero-proper-jersey-stage {
  perspective: 1200px;
}

#hero-jersey-3d-card {
  transform-style: preserve-3d;
  will-change: transform;
}

#hero-3d-canvas-container canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none !important;
  touch-action: none;
  cursor: grab;
}

#hero-3d-canvas-container canvas:active {
  cursor: grabbing;
}

/* Responsive Centered Layout for Main Catalog Sections */
.mobile-contain,
#featured-kits,
#comparison-section,
#competitor-comparison,
#collection-page-hero,
#collection-products-grid {
  width: 100% !important;
  max-width: 80rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
  min-width: 0 !important;
  overflow-x: clip !important;
}

/* Full-Bleed Edge-to-Edge Sections with Centered Content Containers */
#customizer-lab,
#retro-vault {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-x: clip !important;
}

#customizer-lab > div:not(.absolute),
#retro-vault > div:not(.absolute) {
  width: 100% !important;
  max-width: 80rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

#collection-sticky-selection-bar {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#kits-grid {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.kit-card {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Sticky Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 45 !important;
  background: rgba(5, 7, 10, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 8px 6px !important;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5) !important;
}

@media (min-width: 640px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

.mobile-bottom-nav a,
.mobile-bottom-nav button,
.mobile-nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  font-size: 10px !important;
  font-family: 'JetBrains Mono', monospace, sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #94a3b8 !important;
  padding: 4px 6px !important;
  border-radius: 8px !important;
  transition: color 0.2s ease !important;
  position: relative !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none !important;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover,
.mobile-bottom-nav button:hover,
.mobile-nav-item.active {
  color: #ccff00 !important;
}

.mobile-bottom-nav svg,
.mobile-bottom-nav i {
  width: 16px !important;
  height: 16px !important;
}

@media (max-width: 639px) {
  body {
    padding-bottom: 64px !important;
  }
}

.slider-grab {
  cursor: grab;
}

.slider-grabbing {
  cursor: grabbing !important;
  user-select: none !important;
}

.kit-thumb-hover {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.kit-thumb-hover:hover {
  transform: translateY(-4px) scale(1.04);
}


