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

:root {
  --bg-primary: #0a0908;
  --bg-surface: #141210;
  --bg-card: #1c1917;
  --bg-card-hover: #24201d;
  --accent-fire: #ff7a1a;
  --accent-glow: #e65100;
  --accent-gold: #f59e0b;
  --text-primary: #fafaf9;
  --text-secondary: #d6d3d1;
  --text-muted: #8c857f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 122, 26, 0.3);
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  
  /* Fluid Spacing & Scale */
  --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.85rem);
  --space-sm: clamp(0.85rem, 0.7rem + 0.7vw, 1.35rem);
  --space-md: clamp(1.25rem, 1rem + 1.2vw, 2.25rem);
  --space-lg: clamp(2rem, 1.5rem + 2vw, 4rem);
  --space-xl: clamp(3.5rem, 2.5rem + 4vw, 7.5rem);
}

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

html {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film Grain Overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  top: -15vh;
  right: -10vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.08) 0%, rgba(255, 122, 26, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-bottom {
  position: fixed;
  bottom: -20vh;
  left: -10vw;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(230, 81, 0, 0.06) 0%, rgba(230, 81, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Fluid Typography */
.font-display {
  font-family: var(--font-display);
}

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

.text-fluid-hero {
  font-size: clamp(2rem, 1.3rem + 3.2vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.text-fluid-h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-fluid-lead {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.35rem);
  line-height: 1.65;
}

/* Glassmorphism & Containers */
.glass-panel {
  background: rgba(28, 25, 23, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
}

.glass-nav {
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: clamp(0.75rem, 0.6rem + 0.5vw, 1.1rem) clamp(1.4rem, 1.1rem + 1vw, 2.2rem);
  background: linear-gradient(135deg, #ff8c33 0%, #ff6b00 100%);
  color: #fff;
  font-weight: 600;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  letter-spacing: 0.02em;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(255, 107, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.5);
  background: linear-gradient(135deg, #ffa055 0%, #ff7700 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: clamp(0.75rem, 0.6rem + 0.5vw, 1.1rem) clamp(1.4rem, 1.1rem + 1vw, 2.2rem);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-weight: 500;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 122, 26, 0.12);
  border: 1px solid rgba(255, 122, 26, 0.3);
  border-radius: 9999px;
  color: #ff9d4d;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* ====================================================
   HERO SCROLL-SCRUBBING ENGINE (10k-websites & 12/10)
   Kinowe składanie potrawy z Google Flow
   ==================================================== */
.hero-scroll-container {
  position: relative;
  height: 400vh;
  background: #0a0908;
}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  background: #0a0908;
}

/* 1. Warstwa Mediów - tło na pełny ekran (Full Bleed Cinematic) */
.hero-media-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-poster-layer,
.hero-video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: translateZ(0);
  filter: contrast(1.05) saturate(1.12);
  -webkit-filter: contrast(1.05) saturate(1.12);
}

.hero-video-layer {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-sticky-stage.video-ready .hero-video-layer {
  opacity: 1;
}

/* 2. Kinowa winieta i delikatne przyciemnienie lewej krawędzi (film w centrum pozostaje w 100% czysty) */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 9, 8, 0.75) 0%, rgba(10, 9, 8, 0.45) 26%, rgba(10, 9, 8, 0.08) 50%, transparent 75%),
              linear-gradient(to bottom, rgba(10, 9, 8, 0.7) 0%, transparent 16%, transparent 84%, rgba(10, 9, 8, 0.95) 100%);
  pointer-events: none;
  z-index: 2;
}

/* 3. Warstwa Tekstowa Story Beats - dyskretna, po lewej stronie, bez zasłaniania dania */
.hero-captions-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

/* Pojedynczy beat - zakotwiczony z lewej strony, czyste tło bez ciężkich kart */
.story-beat {
  position: absolute;
  top: 50%;
  left: clamp(1.5rem, 5.5vw, 6.5rem);
  transform: translateY(-44%);
  width: calc(100% - 3rem);
  max-width: 540px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.5s;
  pointer-events: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.story-beat.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%);
  pointer-events: auto;
}

.story-beat .pill-tag {
  margin-left: 0;
  margin-right: auto;
  background: rgba(14, 12, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 122, 26, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Dyskretne, ultra-czytelne cienie tekstu nad wideo */
.story-beat h1,
.story-beat h2 {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95), 0 8px 30px rgba(0, 0, 0, 0.9);
}

.story-beat p {
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 4px 16px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
  .hero-scroll-container {
    height: 420vh;
  }
  .hero-sticky-stage {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
  }
  .story-beat {
    left: 1.25rem;
    right: 1.25rem;
    width: auto;
    max-width: 100%;
    top: auto;
    bottom: 11vh;
    transform: translateY(20px);
    text-align: left;
  }
  .story-beat.active {
    transform: translateY(0);
  }
  .story-beat h1,
  .story-beat h2 {
    font-size: clamp(1.5rem, 5.2vw, 2rem);
    line-height: 1.15;
  }
  .story-beat p {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }
  .hero-vignette {
    background: linear-gradient(to top, rgba(10, 9, 8, 0.95) 0%, rgba(10, 9, 8, 0.65) 32%, rgba(10, 9, 8, 0.15) 60%, transparent 100%),
                linear-gradient(to bottom, rgba(10, 9, 8, 0.75) 0%, transparent 20%);
  }
}

/* 4. Stream Ring (wskaźnik ładowania wideo) w prawym dolnym rogu */
.stream-ring-box {
  position: absolute;
  bottom: 2.2rem;
  right: 2.2rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(10, 9, 8, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: opacity 0.5s ease;
}

.stream-ring-box.loaded {
  opacity: 0;
  pointer-events: none;
}

.ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-circle {
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  transition: stroke-dashoffset 0.1s linear;
}

.ring-text {
  position: absolute;
  font-size: 0.68rem;
  font-weight: 700;
}

/* 5. Wskaźnik scrolla w dolnej części */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  background: rgba(10, 9, 8, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.4s ease;
}

.hero-sticky-stage.video-scrolled .scroll-hint {
  opacity: 0;
}

/* Menu, Karty, Modal */
.menu-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.menu-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.menu-tab-btn.active {
  background: var(--accent-fire);
  color: #fff;
  border-color: var(--accent-fire);
  box-shadow: 0 2px 14px rgba(255, 122, 26, 0.4);
}

.dish-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.dish-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 122, 26, 0.12);
}

.dish-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #181512;
}

.dish-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-card:hover .dish-img-wrap img {
  transform: scale(1.06);
}

.dish-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(10, 9, 8, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 122, 26, 0.4);
  color: #ff9d4d;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  z-index: 5;
}

.dish-badge.badge-spicy {
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
  background: rgba(185, 28, 28, 0.25);
}

.dish-verified-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(10, 9, 8, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  z-index: 4;
}

/* Karta Typograficzna (dla dań bez autentycznego zdjęcia z lokalu) */
.dish-card-typography {
  background: linear-gradient(180deg, rgba(28, 24, 21, 0.8) 0%, rgba(18, 16, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dish-typo-header {
  padding: 1.25rem 1.4rem 0.75rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.typo-cat-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.typo-icon {
  font-size: 1.25rem;
}

.typo-cat-text {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* =======================================================
   REWOLUCYJNY EFEKT DUAL-LAYER HOVER & MICRO-ZOOM DLA PIZZY
   ======================================================= */
.dish-card-pizza {
  position: relative;
  background: #14110e;
  border: 1px solid rgba(255, 122, 26, 0.18);
  overflow: hidden;
}

.dish-card-pizza:hover {
  border-color: rgba(255, 122, 26, 0.55);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 122, 26, 0.2);
}

.pizza-dual-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d0b09;
}

/* WARSTWA 1: WIZUALNA & MICRO-ZOOM */
.pizza-layer-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pizza-microzoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
  filter: contrast(1.05) saturate(1.1);
}

.dish-card-pizza:hover .pizza-microzoom-img,
.dish-card-pizza.dual-active .pizza-microzoom-img {
  transform: scale(1.18) rotate(1.2deg);
  filter: contrast(1.12) saturate(1.25);
}

.pizza-ember-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, transparent 40%, rgba(255, 80, 0, 0.12) 70%, rgba(10, 8, 7, 0.75) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.pizza-badges-row {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  z-index: 5;
}

.pizza-badges-row .dish-badge {
  position: static;
}

.pizza-hover-prompt {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 122, 26, 0.4);
  color: #ff9d4d;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 4;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pizza-hover-prompt .prompt-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #ff7a1a;
  animation: pulse 1.8s infinite;
}

.dish-card-pizza:hover .pizza-hover-prompt,
.dish-card-pizza.dual-active .pizza-hover-prompt {
  opacity: 0;
  transform: translateY(6px);
}

.pizza-mobile-toggle {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 122, 26, 0.9);
  color: #fff;
  border: none;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  z-index: 6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* WARSTWA 2: THE EXPLODED INGREDIENTS DECK (HUD WYSUNIĘCIE) */
.pizza-layer-ingredients {
  position: absolute;
  inset: 0;
  background: rgba(14, 11, 9, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--accent-fire);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(102%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  z-index: 10;
}

.dish-card-pizza:hover .pizza-layer-ingredients,
.dish-card-pizza.dual-active .pizza-layer-ingredients {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.hud-top {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hud-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-fire);
  letter-spacing: 0.12em;
}

.hud-dish-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hud-lead-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}

.hud-ingredients-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
  max-height: 95px;
  overflow-y: auto;
}

.hud-ing-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f5f4;
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.hud-ing-chip .chip-bullet {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: var(--accent-fire);
}

.hud-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hud-price-tag {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-fire);
}

.hud-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-fire);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 122, 26, 0.35);
}

.hud-order-btn:hover {
  background: #ff8e38;
  transform: scale(1.04);
}

.dish-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dish-price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-fire);
}

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

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  max-width: 750px;
  width: 100%;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-backdrop.open .modal-content {
  transform: scale(1);
}

/* Status Pill */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.live-status-pill.open {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.live-status-pill.closed {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.live-status-pill.open .status-dot {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 2s infinite;
}

.live-status-pill.closed .status-dot {
  background: #ef4444;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 768px) {
  .layer-indicator {
    display: none; /* Ukryj skomplikowane linie na małych ekranach */
  }
  .burger-layers-stack {
    width: 320px;
  }
}

/* Przełącznik dań w Hero */
.dish-switch-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(15, 12, 10, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.25s ease;
  cursor: pointer;
}

.dish-switch-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 122, 26, 0.4);
}

.dish-switch-btn.active {
  background: linear-gradient(135deg, #ff8c33 0%, #ff6b00 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.4);
}

/* ====================================================
   DYSKRETNE TŁA KULINARNE W SEKCJECH (Ambient Food Motifs)
   Pizze, burgery, steki w miękkim, nastrojowym półcieniu
   ==================================================== */
.section-ambient-wrap {
  position: relative;
  overflow: hidden;
}

.ambient-dish-bg {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambient-dish-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ambient-dish-pizza {
  top: 5%;
  right: -130px;
  width: clamp(380px, 35vw, 560px);
  height: clamp(380px, 35vw, 560px);
  opacity: 0.15;
  filter: blur(2px) brightness(0.85) contrast(1.1);
  transform: rotate(25deg);
  mask-image: radial-gradient(circle at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 75%);
}

.ambient-dish-burger {
  top: 10%;
  left: -120px;
  width: clamp(360px, 32vw, 500px);
  height: clamp(360px, 32vw, 500px);
  opacity: 0.12;
  filter: blur(3px) brightness(0.8);
  transform: rotate(-15deg);
  mask-image: radial-gradient(circle at center, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 35%, transparent 75%);
}

.ambient-dish-steak {
  top: 8%;
  right: -100px;
  width: clamp(340px, 30vw, 480px);
  height: clamp(340px, 30vw, 480px);
  opacity: 0.11;
  filter: blur(3px) brightness(0.8);
  transform: rotate(15deg);
  mask-image: radial-gradient(circle at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 75%);
}

.ambient-dish-wine {
  bottom: 0;
  left: -90px;
  width: clamp(320px, 28vw, 450px);
  height: clamp(320px, 28vw, 450px);
  opacity: 0.11;
  filter: blur(3px) brightness(0.75);
  transform: rotate(-10deg);
  mask-image: radial-gradient(circle at center, black 38%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 38%, transparent 75%);
}

/* Miękkie poświaty ognia / pieca w tle */
.ambient-glow-accent {
  position: absolute;
  width: clamp(400px, 45vw, 700px);
  height: clamp(400px, 45vw, 700px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(255, 107, 0, 0.02) 45%, transparent 70%);
}

@media (max-width: 768px) {
  .ambient-dish-pizza {
    right: -180px;
    opacity: 0.10;
  }
  .ambient-dish-burger {
    left: -170px;
    opacity: 0.09;
  }
  .ambient-dish-steak {
    right: -160px;
    opacity: 0.09;
  }
}
