@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --color-primary: #f59e0b;
  --color-primary-hover: #fbbf24;
  --color-primary-dark: #d97706;
  --color-accent: #dc2626;
  --color-bg-dark: #09090b;
  --color-bordeaux-deep: #1a0505;
  --color-bordeaux-card: #2d0a0a;
  --color-surface-dark: #121215;
  --color-card-dark: #18181b;
  --color-border-dark: rgba(255, 255, 255, 0.08);
}

body {
  font-family: var(--font-heading);
  background-color: var(--color-bg-dark);
  color: #f4f4f5;
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: var(--font-display); letter-spacing: 0.04em; }
.font-heading { font-family: var(--font-heading); }
.font-sans-body { font-family: var(--font-sans); }
.font-serif-heading { font-family: var(--font-serif); }
.font-mono-code { font-family: var(--font-mono); }

/* Custom Backgrounds & Gradients */
.bg-bordeaux-deep { background-color: var(--color-bordeaux-deep); }
.bg-bordeaux-card { background-color: var(--color-bordeaux-card); }

.hero-gradient-overlay {
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.82) 0%,
    rgba(26, 5, 5, 0.75) 40%,
    rgba(9, 9, 11, 0.96) 100%
  );
}

.fire-glow-radial {
  background: radial-gradient(
    circle at 50% 40%,
    rgba(220, 38, 38, 0.22) 0%,
    rgba(245, 158, 11, 0.12) 45%,
    transparent 80%
  );
}

/* Preloader & Curtain Reveal */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #0d0303;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader-curtain {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1f0606 0%, #09090b 100%);
  z-index: 1;
}

.preloader-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.sparkle-ember {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, #dc2626 70%, transparent 100%);
  pointer-events: none;
  animation: floatEmber 3s infinite ease-out;
}

@keyframes floatEmber {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-120px) scale(1.2); opacity: 0; }
}

/* Text Brush & Highlight Styles */
.brush-stroke-red {
  background: linear-gradient(90deg, #dc2626 0%, #991b1b 100%);
  display: inline-block;
  padding: 0.15em 0.5em;
  border-radius: 0.375rem;
  box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.5);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Bento Grid & Card Effects */
.bento-card, .bento-card-anim {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 24, 27, 0.6);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.bento-card:hover, .bento-card-anim:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 30px -5px rgba(245, 158, 11, 0.2);
}

.bento-card img, .bento-card video, .bento-card-anim img, .bento-card-anim video {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.bento-card:hover img, .bento-card:hover video, .bento-card-anim:hover img, .bento-card-anim:hover video {
  transform: scale(1.06);
}

/* Otimização de Performance para Elementos Animados */
.plano-card-anim,
.cardapio-item-anim,
.regras-card-anim,
.horarios-card-anim,
.hero-anim-item,
.hero-badge-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Pricing Cards */
.card-plano-prata {
  background: linear-gradient(145deg, #ffffff 0%, #e2e8f0 100%);
  color: #0f172a;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.card-plano-gold {
  background: linear-gradient(145deg, #fffbeb 0%, #fde68a 100%);
  color: #451a03;
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.3);
}

.card-plano-diamond {
  background: linear-gradient(145deg, #18181b 0%, #09090b 100%);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #f4f4f5;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(245, 158, 11, 0.3);
}

/* Glassmorphism & Cards */
.glass-panel {
  background: rgba(18, 18, 21, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card {
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(245, 158, 11, 0.15);
}

/* Glowing Elements */
.amber-glow {
  box-shadow: 0 0 35px -5px rgba(245, 158, 11, 0.25);
}

.ember-glow {
  box-shadow: 0 0 45px -8px rgba(234, 88, 12, 0.3);
}

.btn-glow-pulse {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #09090b;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Micro animations */
@keyframes flame-flicker {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; }
  25% { transform: translateY(-1px) scale(1.05); opacity: 1; }
  50% { transform: translateY(1px) scale(0.98); opacity: 0.8; }
  75% { transform: translateY(-0.5px) scale(1.02); opacity: 0.95; }
}

.flame-anim {
  animation: flame-flicker 2s infinite ease-in-out;
  display: inline-block;
}

/* ESTILOS DE IMPRESSÃO PARA RETAGUARDA (CUPOM TÉRMICO 80mm / 58mm) */
@media print {
  body * {
    visibility: hidden !important;
  }
  
  #printable-area, #printable-area * {
    visibility: visible !important;
  }
  
  #printable-area {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 76mm;
    max-width: 76mm;
    margin: 0;
    padding: 1mm 2mm;
    background: #ffffff !important;
    color: #000000 !important;
    font-family: 'Courier Prime', 'Courier New', Courier, monospace !important;
    font-size: 12px;
    line-height: 1.35;
  }

  .no-print {
    display: none !important;
  }

  @page {
    size: auto;
    margin: 0mm;
  }
}
