/* The Torch House - Warm Saudi Dessert Lounge Theme */

@layer utilities {
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Background Gradients */
.bg-radial-gradient {
  background: radial-gradient(circle at 50% 20%, #3B1B10 0%, #200E07 55%, #140703 100%);
}

.bg-radial-glow {
  background: radial-gradient(circle, rgba(229, 169, 60, 0.25) 0%, rgba(200, 90, 50, 0.08) 50%, transparent 80%);
}

.bg-radial-flame {
  background: radial-gradient(circle at center, rgba(255, 170, 0, 0.75) 0%, rgba(220, 60, 20, 0.5) 50%, transparent 80%);
}

/* Flame animation */
@keyframes flameFlicker {
  0% { transform: scaleY(0.95) scaleX(1) skewX(0deg); opacity: 0.9; }
  25% { transform: scaleY(1.15) scaleX(0.9) skewX(-3deg); opacity: 1; }
  50% { transform: scaleY(1) scaleX(1.05) skewX(2deg); opacity: 0.95; }
  75% { transform: scaleY(1.2) scaleX(0.95) skewX(-2deg); opacity: 1; }
  100% { transform: scaleY(0.95) scaleX(1) skewX(0deg); opacity: 0.9; }
}

.animate-flame {
  animation: flameFlicker 0.14s infinite ease-in-out alternate;
}

/* Views Management */
.view-panel {
  position: absolute;
  inset: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.view-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Tabs and Station Styles */
.station-tab {
  background: rgba(52, 22, 12, 0.8);
  color: #E5A93C;
  border: 1px solid rgba(229, 169, 60, 0.2);
}

.station-tab.active {
  background: #C85A32;
  color: #FFFFFF;
  border-color: #E5A93C;
  box-shadow: 0 4px 12px rgba(200, 90, 50, 0.4);
}

.item-card.active {
  border-color: #E5A93C;
  background: #4C2112;
  box-shadow: 0 0 0 2px rgba(229, 169, 60, 0.5), inset 0 2px 4px rgba(0,0,0,0.4);
}

/* Bottom Navigation */
.nav-tab {
  color: rgba(253, 248, 240, 0.6);
}

.nav-tab.active {
  color: #E5A93C;
  background: rgba(229, 169, 60, 0.12);
}

/* Chat mask */
.mask-top-gradient {
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
}

/* Floating Heart Upwards Animation */
@keyframes floatUpFade {
  0% { transform: translateY(0) scale(0.6); opacity: 1; }
  50% { transform: translateY(-80px) scale(1.1) translateX(8px); opacity: 0.9; }
  100% { transform: translateY(-160px) scale(0.9) translateX(-6px); opacity: 0; }
}

.floating-heart {
  position: absolute;
  bottom: 0;
  animation: floatUpFade 2.2s forwards ease-out;
}

/* ASMR Crunch Text Pop */
@keyframes crunchPop {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  50% { transform: translate(-50%, -80%) scale(1.2); opacity: 1; }
  100% { transform: translate(-50%, -120%) scale(1); opacity: 0; }
}

.crunch-popup {
  position: absolute;
  font-family: 'Fredoka', cursive, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFDE59;
  text-shadow: 0 3px 6px rgba(0,0,0,0.8), 0 0 10px rgba(255, 120, 0, 0.6);
  pointer-events: none;
  animation: crunchPop 0.8s forwards ease-out;
}

/* Smoke Sparkle particles */
@keyframes emberRise {
  0% { transform: translateY(0) scale(1); opacity: 0.9; }
  100% { transform: translateY(-40px) scale(0.2); opacity: 0; }
}

.ember-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FFB300;
  box-shadow: 0 0 6px #FF5722;
  animation: emberRise 0.6s forwards ease-out;
}