/* Pyreclast Reserve - Custom Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Syne:wght@700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg-main: #0B0C10;
  --bg-card: #13161F;
  --bg-card-hover: #181C28;
  --border-subtle: #242938;
  --border-active: #FF4D00;
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --flame-red: #FF2E00;
  --flame-orange: #FF5A00;
  --flame-amber: #FF9900;
  --flame-yellow: #FFC700;
  --flame-purple: #A855F7;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0C10;
}
::-webkit-scrollbar-thumb {
  background: #242938;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF5A00;
}

/* Ember & Flame Glows */
.glow-ember {
  box-shadow: 0 0 35px -5px rgba(255, 77, 0, 0.35);
}
.glow-ember-sm {
  box-shadow: 0 0 15px -3px rgba(255, 77, 0, 0.25);
}
.text-gradient-fire {
  background: linear-gradient(135deg, #FFF 10%, #FF9900 50%, #FF2E00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-nuclear {
  background: linear-gradient(135deg, #FF4D00 0%, #EC4899 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Card Hover */
.product-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 77, 0, 0.4);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px -5px rgba(255, 77, 0, 0.2);
}

/* Heat Level Gauge Indicator */
.heat-meter-bar {
  height: 6px;
  border-radius: 3px;
  background: #1E2330;
  position: relative;
  overflow: hidden;
}
.heat-meter-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}
.heat-1, .heat-2, .heat-3 {
  background: linear-gradient(90deg, #10B981, #FBBF24);
}
.heat-4, .heat-5, .heat-6 {
  background: linear-gradient(90deg, #F59E0B, #F97316);
}
.heat-7, .heat-8 {
  background: linear-gradient(90deg, #EA580C, #DC2626);
}
.heat-9, .heat-10 {
  background: linear-gradient(90deg, #DC2626, #7E22CE, #EC4899);
}

/* Glassmorphism Navigation */
.nav-glass {
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Badge Styles */
.badge-heat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
}
.badge-mild {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-medium {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-hot {
  background: rgba(234, 88, 12, 0.15);
  color: #FB923C;
  border: 1px solid rgba(234, 88, 12, 0.3);
}
.badge-extreme {
  background: rgba(220, 38, 38, 0.2);
  color: #F87171;
  border: 1px solid rgba(220, 38, 38, 0.4);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(220, 38, 38, 0.3); }
  50% { box-shadow: 0 0 20px rgba(236, 72, 153, 0.6); }
}

/* Interactive Drawer & Modals */
.drawer-backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.cart-drawer {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Flavor radar bar */
.flavor-bar-bg {
  background: #181C28;
  height: 6px;
  border-radius: 9999px;
  overflow: hidden;
}
.flavor-bar-fill {
  background: linear-gradient(90deg, #FF9900, #FF4D00);
  height: 100%;
  border-radius: 9999px;
}

/* Range input styling for Scoville Slider */
input[type="range"].heat-range {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #1F2433;
  border-radius: 4px;
  outline: none;
}
input[type="range"].heat-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FF5A00;
  border: 2px solid #FFF;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 90, 0, 0.8);
  transition: transform 0.15s ease;
}
input[type="range"].heat-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
