/* ═══════════════════════════════════════════════════════
   FLOATING SYSTEM CHIPS — narrate "the whole restaurant moves"
   Now scoped to #terminal-showcase (the section below the
   full-bleed hero). Chips appear in sync with the existing
   terminal screen cycle via hero-cinema.js.
═══════════════════════════════════════════════════════ */

.cinema-chips {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 580px;
  height: 720px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
}

.cc-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 11px;
  background: rgba(18, 24, 38, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 11px;
  color: #E8EDF6;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.1px;
  white-space: nowrap;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5),
    0 2px 6px   rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.cc-chip.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.cc-dot.green  { background: #10B981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.7); color: #10B981; }
.cc-dot.amber  { background: #F59E0B; box-shadow: 0 0 10px rgba(245, 158, 11, 0.6); color: #F59E0B; }
.cc-dot.blue   { background: #5B73F0; box-shadow: 0 0 10px rgba(91, 115, 240, 0.7); color: #5B73F0; }
.cc-dot.violet { background: #A78BFA; box-shadow: 0 0 10px rgba(167, 139, 250, 0.7); color: #A78BFA; }
.cc-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0;
  animation: cinemaDotPing 1.8s ease-out infinite;
}
@keyframes cinemaDotPing {
  0%   { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0;   }
}

.cc-label { color: #94A3B8; font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.cc-sep   { color: rgba(255, 255, 255, 0.18); margin: 0 1px; }
.cc-val   { color: #E8EDF6; font-weight: 700; }
.cc-num   { font-family: 'JetBrains Mono', monospace; font-weight: 800; color: #10B981; }

#ccKitchen   { top: 14%;  left: 0%;  }
#ccPrint     { top: 6%;   right: 2%; }
#ccReady     { top: 38%;  right: -4%;}
#ccPaid      { top: 62%;  left: -2%; }
#ccClosed    { bottom: 8%; right: 0%;}
#ccAccount   { bottom: 24%;left: 0%;  }

.cc-iconwrap {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cc-iconwrap svg { width: 12px; height: 12px; }

@media (max-width: 900px) {
  .cinema-chips { width: 380px; height: 560px; }
  .cc-chip { font-size: 10px; padding: 7px 10px 7px 9px; }
  #ccKitchen { left: -2%; }
  #ccPaid    { left: -2%; }
  #ccPrint   { right: 0; }
  #ccReady   { right: -2%; }
  #ccClosed  { right: 0; }
  #ccAccount { left: 0; }
}

@media (max-width: 640px) {
  .cinema-chips { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-dot::after { animation: none; opacity: 0; }
  .cc-chip { transition-duration: 0.2s; }
}
