:root {
  --gold: #B8860B;
  --gold-muted: #8B7355;
  --charcoal: #080808;
  --ivory: #F5F5F0;
  --glass: rgba(15, 15, 15, 0.7);
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--charcoal);
  color: var(--ivory);
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  letter-spacing: -0.015em;
  line-height: 1.6;
}
.font-serif {
  font-family: 'Cormorant Garamond', serif;
}
.font-display {
  font-family: 'Playfair Display', serif;
}
.text-gold {
  color: var(--gold);
}
.bg-gold {
  background-color: var(--gold);
}
.border-gold {
  border-color: var(--gold);
}

/* Grain Texture Overlay */
.texture-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Cinematic Arrival Overlay */
#arrival-veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 2s cubic-bezier(0.7, 0, 0.3, 1);
}

.st-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.5s cubic-bezier(0.2, 1, 0.2, 1);
}
.st-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom UI Elements */
.category-tab {
  position: relative;
  opacity: 0.4;
  transition: all 0.5s ease;
}
.category-tab.active {
  opacity: 1;
  color: var(--gold);
}
.category-tab.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.table-checkin-card {
  background: linear-gradient(135deg, rgba(30,30,30,0.4) 0%, rgba(15,15,15,0.6) 100%);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(184, 134, 11, 0.15);
  box-shadow: 
      0 40px 80px rgba(0,0,0,0.7),
      inset 0 1px 1px rgba(255,255,255,0.03);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#table-number {
  transition: all 0.5s ease;
  text-shadow: 0 0 20px rgba(184, 134, 11, 0);
}
#table-number:focus {
  text-shadow: 0 0 30px rgba(184, 134, 11, 0.3);
  color: var(--gold);
}
#table-number::placeholder {
  color: rgba(255,255,255,0.05);
  transition: opacity 0.5s ease;
}
#table-number:focus::placeholder {
  opacity: 0;
}

.luxury-card {
  background: linear-gradient(180deg, rgba(32,32,32,0.5) 0%, rgba(18,18,18,0.7) 100%);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 
      0 30px 70px rgba(0,0,0,0.7),
      inset 0 1px 1px rgba(255,255,255,0.04);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.luxury-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(184, 134, 11, 0.05) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shine-sweep 8s infinite linear;
  pointer-events: none;
}
@keyframes shine-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.luxury-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(184, 134, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.luxury-card:hover {
  background: linear-gradient(180deg, rgba(35,35,35,0.6) 0%, rgba(25,25,25,0.8) 100%);
  border-color: rgba(184, 134, 11, 0.2);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
      0 40px 80px rgba(0,0,0,0.7),
      inset 0 1px 1px rgba(184, 134, 11, 0.12);
}

.order-dock {
  background: rgba(12, 12, 12, 0.5);
  backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
      0 20px 50px rgba(0,0,0,0.6),
      inset 0 1px 1px rgba(255,255,255,0.05);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(0);
}
.order-dock.dock-hidden {
  transform: translateY(150%) scale(0.95);
  opacity: 0;
}

.gold-btn {
  background: transparent;
  border: 1px solid rgba(184, 134, 11, 0.1);
  color: var(--gold);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}
.gold-btn:hover {
  border-color: rgba(184, 134, 11, 0.5);
  box-shadow: 
      0 0 30px rgba(184, 134, 11, 0.15),
      inset 0 0 10px rgba(184, 134, 11, 0.05);
  transform: translateY(-2px);
}
.gold-btn:disabled {
  opacity: 0.3;
  filter: grayscale(1);
  cursor: not-allowed;
}
.gold-btn:active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: scale(0.97);
}

/* Ambient Light & Shadows */
.ambient-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
      radial-gradient(circle at 20% 30%, rgba(184, 134, 11, 0.03) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(184, 134, 11, 0.02) 0%, transparent 40%),
      radial-gradient(circle at 50% -10%, rgba(184, 134, 11, 0.08) 0%, transparent 80%);
  pointer-events: none;
  z-index: 1;
  animation: slow-drift 20s infinite alternate ease-in-out;
}

@keyframes slow-drift {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(20px, 10px); }
}

.hero-content {
    transition: 
      opacity 2.5s cubic-bezier(0.2, 1, 0.2, 1),
      transform 2.5s cubic-bezier(0.2, 1, 0.2, 1);
    transform: translateY(30px) scale(0.98);
}

.hero-title {
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 40px rgba(0,0,0,0.6);
    will-change: transform;
}

#hero-bg {
    will-change: transform;
    transition: opacity 4s cubic-bezier(0.2, 1, 0.2, 1), transform 4s cubic-bezier(0.2, 1, 0.2, 1);
}

input:focus {
  outline: none;
  border-color: var(--gold);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
