/* 豐巢咖啡 2026 台灣國際咖啡展 專屬樣式 */

:root {
  --coffee-dark: #120e0c;
  --coffee-espresso: #1a1412;
  --coffee-roast: #2c201b;
  --coffee-accent: #c89658;
  --coffee-gold: #d4af37;
  --coffee-gold-light: #f3df9b;
  --coffee-cream: #fbf8f3;
  --coffee-cream-dark: #eee7dc;
  --coffee-muted: #8d837c;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #14100e;
}
::-webkit-scrollbar-thumb {
  background: #3a2e28;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c89658;
}

/* Background Gradients & Effects */
.bg-coffee-radial {
  background: radial-gradient(circle at 50% 20%, rgba(200, 150, 88, 0.15) 0%, rgba(18, 14, 12, 0.95) 60%, #0d0a09 100%);
}

.bg-coffee-glow {
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
}

.glass-card {
  background: rgba(30, 22, 19, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 150, 88, 0.2);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.glass-nav {
  background: rgba(18, 14, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 150, 88, 0.15);
}

/* Golden Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #fdf8e6 0%, #d4af37 50%, #b3842c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-gradient-text {
  background: linear-gradient(135deg, #ffd8a8 0%, #c89658 60%, #9c6c32 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Steam Animation */
@keyframes steamFloat {
  0% {
    transform: translateY(0) scaleX(1);
    opacity: 0.15;
  }
  50% {
    transform: translateY(-20px) scaleX(1.15);
    opacity: 0.4;
  }
  100% {
    transform: translateY(-40px) scaleX(1.3);
    opacity: 0;
  }
}

.steam-particle {
  animation: steamFloat 4s ease-in-out infinite;
}
.steam-particle:nth-child(2) {
  animation-delay: 1.3s;
}
.steam-particle:nth-child(3) {
  animation-delay: 2.6s;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(200, 150, 88, 0.2), inset 0 0 10px rgba(200, 150, 88, 0.1);
  }
  50% {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.45), inset 0 0 15px rgba(212, 175, 55, 0.2);
  }
}

.pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}

/* Smooth transitions */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ticket Pass Styles */
.ticket-pass {
  position: relative;
  background: linear-gradient(145deg, #241a15 0%, #17110e 100%);
  border: 1px dashed rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(200, 150, 88, 0.15);
}

.ticket-pass::before,
.ticket-pass::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  background-color: #120e0c;
  border-radius: 50%;
  transform: translateY(-50%);
}
.ticket-pass::before {
  left: -12px;
  border-right: 1px dashed rgba(212, 175, 55, 0.5);
}
.ticket-pass::after {
  right: -12px;
  border-left: 1px dashed rgba(212, 175, 55, 0.5);
}

/* Shimmer Effect for Buttons */
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0.35) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 3s infinite;
  content: '';
}
