/**
 * ==========================================================================
 * GSAP MOTION STUDIO & LIQUID GLASS DESIGN SYSTEM
 * Ultra-Luxury Glassmorphism, Specular Refractions & High-Tech Micro-Interactions
 * Inspired by Apple VisionOS & Velvet Noir / Radiant Crimson Aesthetic
 * ==========================================================================
 */

:root {
  /* Liquid Glass Core Tokens */
  --liquid-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(13, 16, 26, 0.78);
  --liquid-glass-bg-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%), rgba(18, 22, 34, 0.84);
  --liquid-glass-border: rgba(255, 255, 255, 0.14);
  --liquid-glass-border-hover: rgba(229, 9, 20, 0.5);
  --liquid-glass-blur: 28px;
  --liquid-glass-specular: rgba(255, 255, 255, 0.28);
  --liquid-glass-shadow: 
    0 24px 48px -12px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.5),
    0 0 24px rgba(229, 9, 20, 0.1);
  --liquid-glass-shadow-hover: 
    0 32px 64px -16px rgba(0, 0, 0, 0.85),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.6),
    0 0 35px rgba(229, 9, 20, 0.3);
}

/* ==========================================================================
   1. AMBIENT LIQUID GLASS MESH & BLOBS (BACKGROUND REFRACTION)
   ========================================================================== */
.liquid-ambient-scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  -webkit-filter: blur(85px);
  opacity: 0.28;
  mix-blend-mode: screen;
  will-change: transform;
  pointer-events: none;
}

.liquid-blob-1 {
  width: 480px;
  height: 480px;
  top: -80px;
  left: 10%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.75) 0%, rgba(229, 9, 20, 0) 70%);
}

.liquid-blob-2 {
  width: 520px;
  height: 520px;
  top: 15%;
  right: 5%;
  background: radial-gradient(circle, rgba(255, 94, 40, 0.65) 0%, rgba(255, 94, 40, 0) 70%);
}

.liquid-blob-3 {
  width: 580px;
  height: 580px;
  bottom: 5%;
  left: 30%;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.55) 0%, rgba(121, 40, 202, 0) 70%);
}

@media (max-width: 768px) {
  .liquid-blob {
    filter: blur(55px);
    -webkit-filter: blur(55px);
    opacity: 0.22;
  }
  .liquid-blob-1 { width: 300px; height: 300px; }
  .liquid-blob-2 { width: 320px; height: 320px; }
  .liquid-blob-3 { width: 340px; height: 340px; }
}

/* ==========================================================================
   2. LIQUID GLASS CARD & SURFACE SPECULAR SYSTEM
   ========================================================================== */
.liquid-glass,
.mockup-card,
.event-card,
.table-preview-card,
.modal-box,
.wizard-step-card {
  background: var(--liquid-glass-bg) !important;
  backdrop-filter: blur(var(--liquid-glass-blur)) saturate(190%) !important;
  -webkit-backdrop-filter: blur(var(--liquid-glass-blur)) saturate(190%) !important;
  border: 1px solid var(--liquid-glass-border) !important;
  box-shadow: var(--liquid-glass-shadow) !important;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Dynamic Cursor-Tracking Specular Light Reflection */
.mockup-card::after,
.event-card::after,
.liquid-glass::after,
.modal-box::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    360px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}

.mockup-card:hover::after,
.event-card:hover::after,
.liquid-glass:hover::after {
  opacity: 1;
}

/* Ambient Liquid Sheen Wave */
.liquid-sheen-sweep {
  position: relative;
  overflow: hidden;
}

.liquid-sheen-sweep::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 70%
  );
  transform: translateX(-100%) rotate(25deg);
  pointer-events: none;
  opacity: 0;
  z-index: 4;
}

.liquid-sheen-sweep:hover::before {
  animation: liquidSheenAnim 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes liquidSheenAnim {
  0% { transform: translateX(-120%) rotate(25deg); opacity: 0; }
  30% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(120%) rotate(25deg); opacity: 0; }
}

/* ==========================================================================
   3. LIQUID GLASS HEADER & NAVBAR
   ========================================================================== */
.site-header__inner {
  background: rgba(13, 16, 26, 0.8) !important;
  backdrop-filter: blur(32px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.5),
    0 0 24px rgba(229, 9, 20, 0.16) !important;
  position: relative;
  overflow: hidden;
}

.site-header__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
}

/* ==========================================================================
   4. LIQUID SEARCH PILL & FILTER BUTTONS
   ========================================================================== */
.hero-search-pill input {
  background: rgba(16, 20, 32, 0.72) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.55) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-search-pill input:focus {
  border-color: rgba(229, 9, 20, 0.7) !important;
  box-shadow: 
    0 0 28px rgba(229, 9, 20, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    0 12px 36px rgba(0, 0, 0, 0.8) !important;
  background: rgba(22, 27, 42, 0.9) !important;
}

/* Frosted Liquid Category Pills */
.pill-btn,
.category-pills .pill-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pill-btn:hover,
.category-pills .pill-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 8px 20px rgba(0, 0, 0, 0.55) !important;
}

.pill-btn.active,
.category-pills .pill-btn.active {
  background: linear-gradient(135deg, #e50914 0%, #ff5a1f 100%) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: 
    0 6px 20px rgba(229, 9, 20, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

/* ==========================================================================
   5. HERO SHOWCASE CARDS (LIQUID GLASS 3D PERSPECTIVE)
   ========================================================================== */
.mockup-card:hover {
  border-color: rgba(229, 9, 20, 0.5) !important;
  box-shadow: var(--liquid-glass-shadow-hover) !important;
}

/* VIP Table Grid Frosted Cells */
.vip-table-cell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vip-table-cell:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* ==========================================================================
   6. LIQUID GLASS MODALS & BOOKING WIZARD
   ========================================================================== */
.modal-backdrop {
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  background: rgba(4, 6, 12, 0.82) !important;
}

.modal-box {
  background: linear-gradient(145deg, rgba(20, 24, 38, 0.88) 0%, rgba(10, 13, 22, 0.94) 100%) !important;
  backdrop-filter: blur(36px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(36px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 
    0 32px 72px -16px rgba(0, 0, 0, 0.9),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.6),
    0 0 35px rgba(229, 9, 20, 0.2) !important;
  border-radius: 24px !important;
}

.wizard-steps-nav,
.wizard-step-pill {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ==========================================================================
   7. LIQUID TACTILE DROPLET RIPPLE EFFECT
   ========================================================================== */
.liquid-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 75%);
  pointer-events: none;
  transform: scale(0);
  z-index: 10;
}

/* ==========================================================================
   8. GSAP KINETIC CARDS & BUTTONS MICRO-INTERACTIONS
   ========================================================================== */
.nav-cta-btn,
.btn-fire,
.btn-primary {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.nav-cta-btn::before,
.btn-fire::before,
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-cta-btn:hover::before,
.btn-fire:hover::before,
.btn-primary:hover::before {
  transform: translateX(100%);
}
