/* Custom styles for ЛУ́НА Beauty Bar (BookBeauty Luxury Editorial Edition) */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #FAF7F2;
}

::-webkit-scrollbar-thumb {
  background: #D4C9BC;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D25A82;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.animate-slow-zoom {
  animation: slowZoom 24s ease-in-out infinite alternate;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-badge {
  background: linear-gradient(90deg, rgba(210, 90, 130, 0.1) 0%, rgba(210, 90, 130, 0.4) 50%, rgba(210, 90, 130, 0.1) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

/* Mega Menu Dropdowns */
.nav-dropdown-group {
  position: relative;
}

.nav-dropdown-group:hover .nav-dropdown-menu {
  display: block;
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Soft Pink Glow Shadows */
.btn-pink-glow {
  box-shadow: 0 4px 20px rgba(210, 90, 130, 0.35);
  transition: all 0.3s ease;
}

.btn-pink-glow:hover {
  box-shadow: 0 6px 28px rgba(210, 90, 130, 0.55);
}

/* Script Typography Glow */
.text-script-glow {
  text-shadow: 0 3px 14px rgba(210, 90, 130, 0.45);
}

/* Stories Ring Glow */
.story-ring {
  background: linear-gradient(45deg, #D25A82, #F4C1D2, #D4AF37, #D25A82);
  background-size: 300% 300%;
  animation: shimmer 4s infinite linear;
}

/* Before / After Slider Component */
.ba-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.ba-before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #FFFFFF;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #D25A82;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(210, 90, 130, 0.6);
  border: 3px solid white;
}

/* Luxury VIP Card Shimmer */
.luxury-card-bg {
  background: radial-gradient(circle at 10% 20%, #2A2624 0%, #151413 90%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

/* Active Slot Buttons */
.slot-pill:hover {
  transform: translateY(-1px);
}

.slot-filter-btn.active-filter {
  background-color: #D25A82 !important;
  color: #FFFFFF !important;
  font-weight: 600;
}

/* Selected modal chip */
.modal-time-chip.selected {
  background-color: #D25A82 !important;
  color: #FFFFFF !important;
  border-color: #D25A82 !important;
  font-weight: 600;
}
