/* HD Lanches - Cardápio Digital Estilo App */
:root {
  --hd-red: #D92520;
  --hd-red-dark: #B91C1C;
  --hd-red-light: #FEE2E2;
  --hd-yellow: #FFB800;
  --hd-yellow-hover: #F59E0B;
  --hd-yellow-light: #FEF3C7;
  --hd-bg: #F8FAFC;
  --hd-card: #FFFFFF;
  --hd-text: #0F172A;
  --hd-muted: #64748B;
  --hd-border: #F1F5F9;
  --hd-radius: 1.25rem;
  --hd-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

body {
  background-color: var(--hd-bg);
  color: var(--hd-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Custom scrollbar hiding */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Floating Bottom Navigation Bar (App style McDonald's / KFC / Burger King) */
.bottom-nav-floating {
  position: fixed;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  padding: 0.25rem 0.5rem;
}

/* Bottom sheet slide-up animation */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Desktop QR Code Experience Styling */
.desktop-hero-card {
  background: #FFFFFF;
  border-radius: 2rem;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.08), 0 10px 30px -5px rgba(0, 0, 0, 0.04);
}

.qr-frame {
  background: #FFFFFF;
  border: 3px solid #FEF3C7;
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 10px 25px -3px rgba(245, 158, 11, 0.15);
  display: inline-block;
  transition: transform 0.2s ease;
}

.qr-frame:hover {
  transform: scale(1.02);
}

/* Safe Area Inset Support for modern smartphones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .bottom-nav-floating {
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
  }
  .app-content-container {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
}
