/* ==========================================================================
   ULTRA-PREMIUM LUXURY STYLES - LA CEAUNU' CRĂPAT 2027
   Haute-Gastronomie Aesthetics, Golden Foil Textures, iOS Bottom Sheets & Equalizer
   ========================================================================== */

/* Gold Metallic Foil Gradient Text */
.gold-metallic-text {
  background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
  font-weight: 800;
}

/* Glassmorphism Luxury Surface */
.glass-luxury-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 50px rgba(44, 30, 20, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .glass-luxury-card {
  background: rgba(26, 21, 16, 0.85);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animated Golden Pulse for Primary CTA */
.btn-gold-pulse {
  position: relative;
  background: linear-gradient(135deg, #C26D0B 0%, #D4AF37 50%, #9E5303 100%);
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px rgba(194, 109, 11, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.btn-gold-pulse::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: rotate(30deg);
  animation: goldShimmerSweep 4s infinite linear;
}

@keyframes goldShimmerSweep {
  0% { transform: translateX(-100%) rotate(30deg); }
  30%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* Audio Equalizer Dancing Waveform */
.soundscape-equalizer {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
  margin-left: 0.5rem;
}

.eq-bar {
  width: 3px;
  height: 100%;
  background: var(--color-brand-primary);
  border-radius: 2px;
  animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { animation-delay: 0.1s; height: 35%; }
.eq-bar:nth-child(2) { animation-delay: 0.3s; height: 85%; }
.eq-bar:nth-child(3) { animation-delay: 0.2s; height: 60%; }
.eq-bar:nth-child(4) { animation-delay: 0.4s; height: 100%; }

.soundscape-bar:not(.playing) .eq-bar {
  animation: none !important;
  height: 30% !important;
  opacity: 0.4;
}

@keyframes eqBounce {
  0% { height: 25%; }
  50% { height: 100%; }
  100% { height: 40%; }
}

/* Native Mobile Bottom Sheet Modal Styling */
@media (max-width: 768px) {
  .modal-box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0 !important;
    padding: 1.5rem 1.25rem 2.5rem !important;
    margin: 0 !important;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.45);
  }

  .modal-backdrop.open .modal-box {
    transform: translateY(0) !important;
  }

  .modal-grab-handle {
    width: 44px;
    height: 5px;
    background: var(--border-medium);
    border-radius: 3px;
    margin: -0.5rem auto 1.25rem;
  }
}

/* 3D Card Sheen Sweep Hover */
.dish-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.dish-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 2;
}

.dish-card:hover::before {
  left: 100%;
}

.dish-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px rgba(44, 30, 20, 0.12), 0 0 25px rgba(194, 109, 11, 0.15);
}
