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

:root {
  --bg-dark: #070708;
  --bg-card: #111114;
  --bg-card-hover: #17171c;
  --gold-primary: #d4af37;
  --gold-light: #f5e49b;
  --gold-dark: #9a7b38;
  --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-border: rgba(212, 175, 55, 0.35);
  --gold-border-bright: rgba(212, 175, 55, 0.8);
  --text-main: #f3f3f5;
  --text-muted: #a0a0ab;
  --glass-bg: rgba(17, 17, 20, 0.75);
  --glass-border: rgba(212, 175, 55, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography Custom Classes */
.font-cinzel {
  font-family: 'Cinzel', serif;
}

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

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.border-gold {
  border: 1px solid var(--gold-border);
}

.border-gold-bright {
  border: 1px solid var(--gold-border-bright);
}

.gold-glow {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.gold-glow-hover:hover {
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.35);
  border-color: var(--gold-primary);
  transform: translateY(-4px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #09090b;
}
::-webkit-scrollbar-thumb {
  background: #2a2517;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Luxury Card Glass Effect */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

/* Liquid Height Visualizer */
.liquid-fill {
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease;
}

/* Shimmer Button */
.btn-gold {
  position: relative;
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 12px 28px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  background: var(--gold-primary);
  color: #000;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.btn-gold-solid {
  background: var(--gold-gradient);
  color: #0d0d0f;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold-solid:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.03); }
}

.pulse-gold {
  animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.floating-element {
  animation: floatAnim 6s ease-in-out infinite;
}

/* Decant vs Bottle Toggle Switch */
.toggle-option {
  transition: all 0.3s ease;
  cursor: pointer;
}
.toggle-option.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(154, 123, 56, 0.15));
  border-color: var(--gold-primary);
  color: #fff;
}

/* Modal Overlay backdrop */
.modal-backdrop {
  background: rgba(4, 4, 5, 0.85);
  backdrop-filter: blur(12px);
}
