/* ==========================================================================
   LUXURY RESTAURANT 360 — Ultra-Luxury Mobile & Desktop Design System
   Gold & Obsidian Palette · Glassmorphism · 60fps Micro-Interactions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,900;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-deep: #070709;
  --bg-surface: #0e0e12;
  --bg-card: #14141a;
  --bg-card-hover: #1a1a23;
  --bg-glass: rgba(18, 18, 24, 0.82);
  --bg-glass-strong: rgba(10, 10, 14, 0.94);
  
  --gold-100: #fff9e6;
  --gold-200: #fbf0c4;
  --gold-300: #f5e08b;
  --gold-400: #d4af37;
  --gold-500: #c5a059;
  --gold-600: #aa771c;
  --gold-700: #7a530f;
  
  --gold-gradient: linear-gradient(135deg, #fdf1c0 0%, #d4af37 45%, #b38222 85%, #8c6010 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(245, 224, 139, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
  --gold-border-gradient: linear-gradient(135deg, rgba(245, 224, 139, 0.45) 0%, rgba(212, 175, 55, 0.18) 50%, rgba(170, 119, 28, 0.35) 100%);
  
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.28);
  --gold-glow-strong: 0 0 35px rgba(212, 175, 55, 0.5);
  
  --text-pure: #ffffff;
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-gold: #e2be5a;
  
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.07);
  
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
  background-color: var(--bg-deep);
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden !important;
  position: relative;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.09) 0%, transparent 55%),
    radial-gradient(circle at 90% 40%, rgba(170, 119, 28, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
}

/* Typography Classes */
.font-brand {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Gold Gradient Text */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Luxury Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 224, 139, 0.4), transparent);
  pointer-events: none;
}

.glass-card:active {
  transform: scale(0.985);
}

@media (min-width: 640px) {
  .glass-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.9), var(--gold-glow);
    transform: translateY(-4px);
  }
}

/* Primary Luxury Gold Button */
.btn-gold {
  background: var(--gold-gradient);
  color: #08080a;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  user-select: none;
  font-size: 0.875rem;
}

.btn-gold:active {
  transform: scale(0.96);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

@media (min-width: 640px) {
  .btn-gold:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
  }
}

/* Outline Gold Button */
.btn-outline-gold {
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-300);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-outline-gold:active {
  background: rgba(212, 175, 55, 0.18);
  transform: scale(0.97);
}

/* Category Filter Tabs (Horizontal Mobile Slider) */
.category-pill {
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(24, 24, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.category-pill:active {
  transform: scale(0.95);
}

.category-pill.active {
  background: var(--gold-gradient);
  color: #070709;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

/* 360 Badge Pulsing */
.badge-360 {
  background: linear-gradient(135deg, rgba(245, 224, 139, 0.95), rgba(212, 175, 55, 0.95));
  color: #060608;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
  animation: pulse-gold 2.5s infinite;
  user-select: none;
}

@keyframes pulse-gold {
  0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(212, 175, 55, 0.4); }
  50% { transform: scale(1.04); box-shadow: 0 0 20px rgba(212, 175, 55, 0.75); }
}

/* Hotspot Pulse Pins */
.hotspot-pin {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle, #fff3c4 0%, #d4af37 60%, #aa771c 100%);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: pin-pulse 2.2s infinite ease-in-out;
  pointer-events: auto;
}

.hotspot-pin.hidden-motion {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.5) !important;
  pointer-events: none !important;
  animation: none !important;
}

.hotspot-pin:active {
  transform: translate(-50%, -50%) scale(1.25);
}

@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.75); }
  50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}

/* Canvas 360 View Container */
.canvas-360-container {
  touch-action: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  overscroll-behavior: none !important;
}

/* Modal Fullscreen / Sheet Backdrop */
.modal-backdrop {
  background: rgba(4, 4, 6, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overscroll-behavior: contain;
}

/* Bottom Action Pill Sheet */
.mobile-sheet {
  border-top: 1px solid var(--border-gold);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

/* Custom Scrollbar for inner elements */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #252530;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}
