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

:root {
  /* Color system - Dark Theme */
  --bg-primary: #090d16;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  
  --accent-color: #10b981; /* Turf Emerald Green */
  --accent-glow: rgba(16, 185, 129, 0.4);
  --accent-light: #34d399;
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  
  --border-glow: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--bg-secondary);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

body {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #ffffff;
}

/* Premium Utilities */
.bg-gradient-turf {
  background-image: radial-gradient(circle at top right, rgba(16, 185, 129, 0.15), transparent 60%),
                    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.1), transparent 60%);
  background-color: var(--bg-primary) !important;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-hover:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 40px -10px var(--accent-glow);
  transform: translateY(-2px);
}

/* Styled Inputs */
.input-premium {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.input-premium:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-glow);
  background: rgba(255, 255, 255, 0.05);
}

/* Premium Buttons */
.btn-premium {
  background: var(--accent-color);
  color: #0b0f19;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
}
.btn-premium:hover {
  background: var(--accent-light);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-premium:active {
  transform: translateY(0);
}
.btn-premium:disabled {
  background: var(--text-muted);
  color: var(--bg-primary);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Movie Ticket Style Slots Grid */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.slot-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  user-select: none;
}

/* Available State */
.slot-card.available {
  border-color: rgba(16, 185, 129, 0.2);
}
.slot-card.available:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px var(--accent-glow);
  transform: scale(1.03);
}

/* Selected State */
.slot-card.selected {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #000000 !important;
  box-shadow: 0 0 15px var(--accent-glow);
  font-weight: 600;
}
.slot-card.selected * {
  color: #000000 !important;
}

/* Booked State */
.slot-card.booked {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.15);
  color: var(--text-muted);
  cursor: not-allowed;
  text-decoration: line-through;
}
.slot-card.booked::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 45%, rgba(239, 68, 68, 0.15) 50%, transparent 55%);
  background-size: 10px 10px;
  pointer-events: none;
  border-radius: 0.5rem;
}
.slot-card.booked * {
  color: var(--text-muted) !important;
}

/* Dashboard Cards */
.card-stat {
  border-radius: 0.75rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.card-stat::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Receipt styles */
.ticket-receipt {
  background: #111827; /* Matches --bg-secondary */
  color: #f3f4f6; /* Matches --text-primary */
  border-radius: 1rem;
  padding: 2rem;
  font-family: 'Courier New', Courier, monospace;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ticket-receipt::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background-image: radial-gradient(circle, #111827 4px, transparent 5px);
  background-size: 10px 10px;
  background-repeat: repeat-x;
  transform: translateY(5px);
}
.ticket-receipt h3, .ticket-receipt h4 {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  text-align: center;
}
.ticket-divider {
  border-top: 2px dashed rgba(255, 255, 255, 0.15);
  margin: 1rem 0;
}

/* Micro-animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Category Pill Filters Scrollbar and Hover */
.scrollbar-none {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.scrollbar-none::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

#lobbyCategoryFilters button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#lobbyCategoryFilters button:hover:not(.active) {
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #ffffff !important;
  background: rgba(16, 185, 129, 0.05) !important;
  transform: translateY(-1px);
}
#lobbyCategoryFilters button.active {
  background: var(--accent-color) !important;
  color: var(--bg-primary) !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 4px 15px var(--accent-glow) !important;
}

/* Premium Zoom Hover for Turf Cards */
.card-img-container {
  position: relative;
  height: 12rem; /* 192px matching h-48 */
  overflow: hidden;
}
.card-img-zoom {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-hover:hover .card-img-zoom {
  transform: scale(1.06);
}

/* Immersive Hero Parallax and Cross-Fade transitions */
#heroBgActive, #heroBgFade {
  will-change: transform, opacity;
  transition: opacity 0.7s ease-in-out, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mobile Drawer Nav Item Active Style */
.mobile-drawer-item.active {
  background: rgba(16, 185, 129, 0.1) !important;
  color: var(--accent-light) !important;
  border-left: 3px solid var(--accent-color);
  padding-left: 13px; /* Slightly adjust padding for offset */
}

/* Responsive Header Actions */
#headerActions {
  display: none !important;
}
.is-logged-in #headerActions {
  display: none !important;
}
@media (min-width: 768px) {
  .is-logged-in #headerActions {
    display: flex !important;
  }
}


