@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════════════
   BookArena — Emerald Prestige Design System
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Primary palette */
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;

  /* Accent gold */
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;

  /* Backgrounds */
  --bg-primary: #050b18;
  --bg-secondary: #0a1628;
  --bg-card: #0f1f35;
  --bg-card-hover: #142845;
  --bg-surface: #162a4a;
  --bg-elevated: #1a3356;

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #34d399;

  /* Borders */
  --border-subtle: rgba(52, 211, 153, 0.1);
  --border-default: rgba(52, 211, 153, 0.2);
  --border-focus: rgba(52, 211, 153, 0.5);

  /* Gradients */
  --gradient-emerald: linear-gradient(135deg, #059669, #10b981, #34d399);
  --gradient-hero: linear-gradient(135deg, #050b18 0%, #0a2a1a 50%, #050b18 100%);
  --gradient-card: linear-gradient(145deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.02));
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15), transparent 60%);
  --gradient-button: linear-gradient(135deg, #059669, #10b981);
  --gradient-button-hover: linear-gradient(135deg, #047857, #059669);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.3);
  --shadow-glow-lg: 0 0 40px rgba(16, 185, 129, 0.2);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Font */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════ Global Reset ═══════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* ═══════ Utility Classes ═══════ */

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.page-wrapper {
  min-height: 100vh;
  background: var(--bg-primary);
}

.section {
  padding: var(--space-3xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* ═══════ Turf Grid (Horizontal Layout) ═══════ */
.turf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* ═══════ Enhanced Turf Card Styles ═══════ */
.turf-grid .card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.turf-grid .card:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.turf-grid .card-image {
  width: 300px;
  height: 200px;
  flex-shrink: 0;
  position: relative;
}

.turf-grid .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.turf-grid .card-body {
  flex: 1;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.turf-grid .card-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.02);
}

/* ═══════ Responsive Design for Turf Grid ═══════ */
@media (max-width: 1024px) {
  .turf-grid .card {
    flex-direction: column;
    height: auto;
  }
  
  .turf-grid .card-image {
    width: 100%;
    height: 200px;
  }
  
  .turf-grid .card-body {
    padding: var(--space-md);
  }
}

@media (max-width: 768px) {
  .turf-grid .card {
    flex-direction: column;
  }
  
  .turf-grid .card-image {
    width: 100%;
    height: 180px;
  }
  
  .turf-grid .card-body {
    padding: var(--space-md);
  }
  
  .turf-grid .card-footer {
    padding: var(--space-sm) var(--space-md);
  }
  
  .amenity-tag {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

@media (max-width: 480px) {
  .turf-grid .card-image {
    height: 160px;
  }
  
  .turf-grid .card-body {
    padding: var(--space-sm);
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-price .amount {
    font-size: 1.25rem;
  }
}

/* ═══════ Amenity Tags ═══════ */
.amenity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--emerald-300);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ═══════ Empty State ═══════ */
.empty-state {
  text-align: center;
  padding: var(--space-3xl);
  color: var(--text-secondary);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.empty-state p {
  font-size: 1rem;
  color: var(--text-muted);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ═══════ Navbar ═══════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 11, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-md) 0;
  transition: var(--transition-base);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-emerald);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-glow);
}

.navbar-logo span.accent {
  color: var(--emerald-400);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.navbar-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--emerald-400);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-emerald);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ═══════ Buttons ═══════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-button);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--gradient-button-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--emerald-400);
  border: 1px solid var(--border-default);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--emerald-400);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: #1a1a1a;
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ═══════ Cards ═══════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--border-default);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sport {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-300);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-body {
  padding: var(--space-lg);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.card-location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}

.card-price .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald-400);
}

.card-price .period {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.card-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ═══════ Turf Card Directions & Distance ═══════ */
.turf-card-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.turf-card-wrapper .card {
  height: 100%;
}

.badge-distance {
  top: auto;
  bottom: var(--space-md);
  left: var(--space-md);
  background: rgba(5, 11, 24, 0.85);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.directions-btn {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(255, 255, 255, 0.95);
  color: var(--bg-primary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
  z-index: 5;
}

.directions-btn:hover {
  background: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ═══════ Location Bar ═══════ */
.location-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.location-bar.detected {
  border-color: rgba(52, 211, 153, 0.3);
  background: linear-gradient(to right, var(--bg-card), rgba(16, 185, 129, 0.05));
}

.location-bar.error, .location-bar.denied {
  border-color: rgba(239, 68, 68, 0.3);
}

.location-bar-content {
  display: flex;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  gap: var(--space-md);
}

.location-bar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
}

.location-bar-icon.success {
  background: rgba(52, 211, 153, 0.15);
}

.location-bar-icon.denied-icon {
  background: rgba(239, 68, 68, 0.1);
}

.location-pulse-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: var(--emerald-400);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
}

.location-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--emerald-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.location-radar {
  width: 24px;
  height: 24px;
  border: 2px solid var(--emerald-400);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.location-bar-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.location-bar-text strong {
  color: var(--text-primary);
  font-size: 1.05rem;
}

.location-bar-text span {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.link-btn {
  background: none;
  color: var(--emerald-400);
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
}

.link-btn:hover {
  color: var(--emerald-300);
}

.loading-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--emerald-400);
  border-radius: 50%;
  margin: 0 2px;
  animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@media (max-width: 640px) {
  .location-bar-content {
    flex-direction: column;
    text-align: center;
    padding: var(--space-md);
  }
  
  .location-bar-btn {
    width: 100%;
  }
}

/* ═══════ Compact Location Bar ═══════ */
.location-bar-compact {
  display: flex;
  align-items: center;
  margin-left: var(--space-lg);
  position: relative;
  height: 100%;
}

.location-enable-compact, .location-detected-compact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.location-enable-compact:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--emerald-500);
}

.location-detected-compact {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--emerald-300);
}

.location-detected-compact:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-400);
}

.location-detecting-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.mini-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-top-color: var(--emerald-400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@media (max-width: 1024px) {
  .location-bar-compact {
    display: none;
  }
}

/* ═══════ Form Elements ═══════ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  background: var(--bg-card-hover);
}

.form-input::placeholder {
  color: var(--text-muted);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394a3b8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

/* ═══════ Hero Section ═══════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(5, 150, 105, 0.04) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  color: var(--emerald-300);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--text-primary), var(--emerald-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease 0.1s both;
}

/* ═══════ Search Container ═══════ */
.search-container {
  transition: all var(--transition-base);
}

.search-container:focus-within {
  transform: translateY(-4px);
  border-color: var(--emerald-400) !important;
  box-shadow: 0 15px 50px rgba(0,0,0,0.6), var(--shadow-glow) !important;
}

@media (max-width: 640px) {
  .search-container {
    flex-direction: column;
    padding: 12px !important;
    border-radius: 20px !important;
    gap: 12px;
  }
  
  .search-container input {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle) !important;
    padding-bottom: 10px !important;
  }
  
  .search-container button {
    width: 100%;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald-400);
}

.hero-stat .stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--emerald-400);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  50% { transform: translateY(-20vh) scale(1); }
}

/* ═══════ Section Title ═══════ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  color: var(--emerald-400);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════ Sport Filter Chips ═══════ */
.sport-filters {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.sport-chip {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.sport-chip:hover,
.sport-chip.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-500);
  color: var(--emerald-300);
  box-shadow: var(--shadow-glow);
}

/* ═══════ Slot Grid ═══════ */
.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.slot-item {
  flex: 0 0 auto;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid var(--border-subtle);
}

.slot-available {
  background: rgba(16, 185, 129, 0.08);
  color: var(--emerald-400);
  border-color: rgba(16, 185, 129, 0.2);
}

.slot-available:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-400);
  transform: scale(1.05);
}

.slot-available.selected {
  background: var(--gradient-button);
  color: white;
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-glow);
}

.slot-booked {
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.2);
  cursor: not-allowed;
  opacity: 0.6;
}

.slot-blocked {
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.2);
  cursor: not-allowed;
  opacity: 0.6;
}

/* ═══════ Dashboard Layout ═══════ */
.dashboard {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  padding: var(--space-xl) 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-header {
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px var(--space-xl);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition-base);
  border-left: 3px solid transparent;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  background: rgba(16, 185, 129, 0.08);
  color: var(--emerald-400);
  border-left-color: var(--emerald-500);
}

.dashboard-main {
  flex: 1;
  margin-left: 280px;
  padding: var(--space-xl);
  max-width: 100vw;
  overflow-x: hidden;
}

/* ═══════ Stat Cards ═══════ */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-emerald);
}

.stat-card .stat-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-card .stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: var(--space-xs);
}

/* ═══════ Tables ═══════ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.data-table thead {
  background: var(--bg-surface);
}

.data-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.data-table td {
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: rgba(16, 185, 129, 0.03);
}

/* ═══════ Status Badges ═══════ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.status-confirmed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-400);
}

.status-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.status-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

/* ═══════ Modal ═══════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  width: 95%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

/* ═══════ Success Page ═══════ */
.success-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
}

.success-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  max-width: 500px;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 2.5rem;
  animation: successPulse 1s ease;
}

@keyframes successPulse {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ═══════ Footer ═══════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-brand .logo span {
  color: var(--emerald-400);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ═══════ Amenity Tags ═══════ */
.amenity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.amenity-tag {
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--emerald-300);
  font-weight: 500;
}

/* ═══════ Toast Notifications ═══════ */
.toast-container {
  position: fixed;
  top: 90px;
  right: var(--space-lg);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  padding: 14px 24px;
  border-radius: var(--radius-md);
  color: white;
  font-weight: 500;
  animation: slideInRight 0.3s ease;
  box-shadow: var(--shadow-lg);
  min-width: 300px;
}

.toast-success {
  background: linear-gradient(135deg, #059669, #10b981);
}

.toast-error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.toast-info {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

/* ═══════ Loading ═══════ */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--emerald-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ═══════ Animations ═══════ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════ Responsive ═══════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
  /* Force single column for main content grids on mobile */
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { flex-direction: column; gap: var(--space-md); }
  .hero-actions { flex-direction: column; }
  .section-title { font-size: 1.8rem; }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 11, 24, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
  }

  .navbar-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: var(--transition-base);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
    padding: var(--space-md);
    width: 100%;
    max-width: 100vw;
  }

  /* Stat cards - 2 columns on mobile */
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Override for home page featured turfs - force single column */
  .section#featured-turfs .grid-3 {
    grid-template-columns: 1fr !important;
  }

  .stat-card {
    padding: 12px 10px !important;
    text-align: center;
  }

  .stat-card .stat-icon {
    margin: 0 auto 8px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }

  .stat-card .stat-value {
    font-size: 1.1rem !important;
    word-break: break-word;
  }

  .stat-card .stat-label {
    font-size: 0.75rem !important;
  }

  .slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.95rem; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }

  .stat-card .stat-value { font-size: 1.5rem; }

  /* Card improvements for very small screens */
  .card {
    margin-bottom: 0;
  }

  .card-body {
    padding: var(--space-md) !important;
  }

  .card-title {
    font-size: 1.1rem !important;
    line-height: 1.3;
  }

  .card-location {
    font-size: 0.8rem;
  }

  .card-price .amount {
    font-size: 1.3rem !important;
  }

  .card-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md) !important;
    gap: var(--space-sm);
  }

  .card-footer .btn {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* Reduce hero section text */
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat .stat-number {
    font-size: 1.5rem;
  }

  .hero-stat .stat-label {
    font-size: 0.75rem;
  }

  /* Section adjustments */
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-tag {
    font-size: 0.7rem;
    padding: 5px 14px;
  }
}

/* ═══════ Scrollbar ═══════ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-800);
}

/* ═══════ Search Bar ═══════ */
.search-bar {
  position: relative;
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

.search-bar input {
  width: 100%;
  padding: 16px 24px 16px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-base);
}

.search-bar input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15), var(--shadow-glow);
}

.search-bar .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ═══════ Image Gallery ═══════ */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.gallery-main {
  height: 100%;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-md);
}

.gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ═══════ Empty State ═══════ */
.empty-state {
  text-align: center;
  padding: var(--space-3xl);
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

/* ═══════ New Carousel & Interactive Styles ═══════ */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 0.6;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 10%, rgba(5,11,24,0.4) 100%);
}

.detail-carousel {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-carousel-inner {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.detail-slide {
  min-width: 100%;
  height: 100%;
}

.detail-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--emerald-400);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--emerald-400);
}

/* ═══════ Horizontal Date Selector ═══════ */
.date-selector {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 5px 0 15px 0;
  margin-bottom: var(--space-lg);
}

.date-selector::-webkit-scrollbar {
  height: 4px;
}

.date-selector-item {
  flex: 0 0 calc((100% / 4) - 9px);
  min-width: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.date-selector-item:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--emerald-400);
}

.date-selector-item.active {
  background: var(--gradient-button);
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-glow);
  color: white;
}

.date-day {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.date-selector-item.active .date-day {
  color: rgba(255,255,255,0.8);
}

.date-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.date-month {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.date-selector-item.active .date-month {
  color: rgba(255,255,255,0.8);
}

/* Booking Layout Grid (Fix for Detail Page) */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

@media (max-width: 1024px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .detail-carousel {
    height: 300px;
  }
  .date-selector-item {
    flex: 0 0 auto;
    width: 75px;
  }
}


/* ═══════ Modern Slot & Date Picker ═══════ */
.date-picker-container {
  width: 100%;
  overflow-x: auto;
  padding: 5px 0 15px;
  scrollbar-width: none; /* Firefox */
}

.date-picker-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.date-picker-scroll {
  display: flex;
  gap: 12px;
  padding-bottom: 5px;
}

.date-capsule {
  flex: 0 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.date-capsule:hover {
  border-color: var(--emerald-500);
  background: var(--bg-card-hover);
}

.date-capsule.active {
  background: var(--gradient-button);
  border-color: var(--emerald-400);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.date-capsule .day {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.date-capsule.active .day {
  color: rgba(255, 255, 255, 0.8);
}

.date-capsule .date {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.date-capsule.active .date {
  color: white;
}

.date-capsule .month {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.date-capsule.active .month {
  color: rgba(255, 255, 255, 0.9);
}

/* Modern Slots */
.slot-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.slot-capsule {
  padding: 12px 8px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
}

.slot-capsule.available:hover {
  background: var(--bg-card-hover);
  border-color: var(--emerald-500);
  color: var(--emerald-400);
  transform: translateY(-2px);
}

.slot-capsule.available.selected {
  background: var(--gradient-button);
  color: white;
  border-color: var(--emerald-400);
  box-shadow: var(--shadow-glow);
}

.slot-capsule.booked {
  background: rgba(239, 68, 68, 0.05);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.1);
  cursor: not-allowed;
  opacity: 0.5;
}

.slot-capsule.blocked {
  background: rgba(245, 158, 11, 0.05);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.1);
  cursor: not-allowed;
  opacity: 0.5;
}

.empty-state-small {
  padding: 2rem;
  text-align: center;
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
  border: 1px dashed var(--border-subtle);
}

@media (max-width: 768px) {
  .slot-grid-modern {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .slot-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════ Modern Slot & Date Picker (Fixing Stack issue) ═══════ */
.date-picker-container {
  width: 100% !important;
  overflow-x: auto !important;
  padding: 5px 0 15px !important;
  display: block !important;
}

.date-picker-scroll {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  padding: 5px !important;
  min-width: max-content !important;
}

.date-capsule {
  flex: 0 0 70px !important;
  width: 70px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 8px !important;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px !important;
  cursor: pointer !important;
}

.date-capsule.active {
  background: var(--gradient-button) !important;
  border-color: var(--emerald-400) !important;
  box-shadow: var(--shadow-glow) !important;
}

.slot-grid-modern {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
  gap: 10px !important;
  margin-top: 10px !important;
}

.slot-capsule {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 8px !important;
  border-radius: 12px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}