/* ==========================================================================
   KortLab Tenis - Grand Slam Luxury Athletic Design System
   Aesthetic: Dark Obsidian + Roland Garros Terra-Cotta Clay + Electric Tennis Neon Lime
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Premium Athletic Palette */
  --obsidian-dark: #070d18;
  --obsidian-surface: #0e1726;
  --obsidian-card: rgba(14, 23, 38, 0.75);
  
  --clay-primary: #c85028;
  --clay-hover: #e05d32;
  --clay-light: rgba(200, 80, 40, 0.15);
  
  --neon-lime: #c2f833;
  --neon-lime-hover: #b4ea2c;
  --neon-lime-glow: rgba(194, 248, 51, 0.35);

  --brand-navy: #0e2439;
  --brand-navy-light: #163654;
  --accent-gold: #b8892b;

  --text-pure: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #0f172a;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.15);
  --border-lime: rgba(194, 248, 51, 0.3);
  --border-clay: rgba(200, 80, 40, 0.3);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;
}

/* --- Base Enhancements --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: #fcfdfd;
  color: var(--text-dark);
}

::selection {
  background-color: var(--neon-lime);
  color: #070d18;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #070d18;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clay-primary);
}

/* --- Glassmorphic Containers & Glows --- */
.glass-obsidian {
  background: rgba(11, 19, 32, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05);
}

.glass-card-light:hover {
  border-color: rgba(200, 80, 40, 0.35);
  box-shadow: 0 25px 50px -12px rgba(200, 80, 40, 0.12);
}

.glow-lime {
  box-shadow: 0 0 35px -5px var(--neon-lime-glow);
}

.glow-clay {
  box-shadow: 0 0 35px -5px rgba(200, 80, 40, 0.4);
}

.glow-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.glow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(14, 36, 57, 0.12);
}

/* --- Gradient Texts --- */
.text-gradient-lime {
  background: linear-gradient(135deg, #ffffff 20%, #c2f833 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

/* --- Hero Backdrop Effects --- */
.hero-noise-overlay {
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Tennis Radar Pulse */
@keyframes radar-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(194, 248, 51, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(194, 248, 51, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(194, 248, 51, 0);
  }
}

.radar-ping {
  animation: radar-pulse 2.2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

/* Floating Badges Animation */
@keyframes subtle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.animate-float-slow {
  animation: subtle-float 6s ease-in-out infinite;
}

/* --- Interactive Court Surface Tabs --- */
.surface-tab-btn.active {
  background: #0e2439;
  color: #ffffff;
  border-color: #0e2439;
}

.surface-tab-btn.active .tab-icon {
  background: var(--neon-lime);
  color: #0e2439;
}

/* --- Range Slider Styling --- */
input[type=range].tennis-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: #e2e8f0;
  outline: none;
  transition: background 0.2s;
}

input[type=range].tennis-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0e2439;
  border: 3px solid #c2f833;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s, background-color 0.15s;
}

input[type=range].tennis-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #c85028;
}

/* --- Bento Grid Enhancements --- */
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
}

.bento-card:hover .bento-zoom {
  transform: scale(1.05);
}

.bento-zoom {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Accordion Transitions --- */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.open .faq-content {
  max-height: 250px;
  opacity: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background-color: #0e2439;
  color: #c2f833;
}
