/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Lilita+One&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary-cheddar: #FFAA00;
  --primary-cheddar-hover: #E09500;
  --accent-flame: #FF5722;
  --accent-flame-hover: #E64A19;
  --midnight-indigo: #161B33;
  --charcoal-dark: #18110D;
  --charcoal-card: #221A15;
  --mint-green: #10B981;
  --warm-milk: #FFFDF9;
}

body {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  background-color: var(--warm-milk);
  color: #1F2937;
  -webkit-tap-highlight-color: transparent;
}

.font-display {
  font-family: 'Lilita One', 'Fredoka', cursive, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-thumb {
  background: #FFAA00;
  border-radius: 4px;
}

/* Cheese Glow & Pulse Animation */
@keyframes cheesePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 170, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 170, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 170, 0, 0);
  }
}

.pulse-cheese {
  animation: cheesePulse 2s infinite;
}

@keyframes flamePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.8);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 87, 34, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
  }
}

.pulse-flame {
  animation: flamePulse 1.5s infinite;
}

/* Spring Button Scale */
.btn-spring {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.btn-spring:active {
  transform: scale(0.94);
}
.btn-spring:hover {
  transform: translateY(-2px);
}

/* Food Card Hover Effect */
.food-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.food-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(255, 87, 34, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
}

/* Thermal Receipt Printable Styles */
@media print {
  body * {
    visibility: hidden;
  }
  #thermalReceiptContainer, #thermalReceiptContainer * {
    visibility: visible;
  }
  #thermalReceiptContainer {
    position: absolute;
    left: 0;
    top: 0;
    width: 80mm;
    margin: 0;
    padding: 2mm;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #000;
    background: #fff;
  }
}

.thermal-paper {
  font-family: 'Courier New', Courier, monospace;
  background-color: #FAFAFA;
  border-left: 2px dashed #D1D5DB;
  border-right: 2px dashed #D1D5DB;
}

/* Modal Backdrop Blur */
.glass-modal-backdrop {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
