/* ══════════════════════════════════════════════════════════════════
   BENTRAD CINEMA — hero boot, deploy sequence, welcome command, drop bay
══════════════════════════════════════════════════════════════════ */

/* ── HERO BOOT (first paint) ── */
.cinema-boot {
  position: fixed;
  inset: 0;
  z-index: 200000;
  background: #040608;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.cinema-boot.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cinema-boot-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: cinema-grid-scroll 12s linear infinite;
  opacity: 0.5;
}
@keyframes cinema-grid-scroll {
  to { background-position: 40px 40px; }
}
.cinema-boot-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0,200,255,0.6));
  animation: cinema-logo-in 1.2s ease forwards;
  position: relative;
  z-index: 1;
}
@keyframes cinema-logo-in {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cinema-boot-title {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: clamp(1rem, 3vw, 1.4rem);
  letter-spacing: 0.35em;
  color: var(--accent, #00c8ff);
  text-shadow: 0 0 30px rgba(0,200,255,0.5);
  position: relative;
  z-index: 1;
}
.cinema-boot-sub {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  position: relative;
  z-index: 1;
}
.cinema-boot-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 280px;
  position: relative;
  z-index: 1;
}
.cinema-boot-line {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(57,255,20,0.7);
  opacity: 0;
  transform: translateX(-10px);
  animation: cinema-line-in 0.4s ease forwards;
}
.cinema-boot-line.pending { color: rgba(255,255,255,0.3); }
.cinema-boot-line.active { color: var(--accent, #00c8ff); }
@keyframes cinema-line-in {
  to { opacity: 1; transform: translateX(0); }
}

/* ── FULL DEPLOY SEQUENCE ── */
.cinema-deploy {
  position: fixed;
  inset: 0;
  z-index: 150000;
  background: #020406;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.cinema-deploy.open {
  opacity: 1;
  visibility: visible;
}
.cinema-deploy-streaks {
  position: absolute;
  inset: -50%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 80px,
    rgba(0,200,255,0.03) 80px,
    rgba(0,200,255,0.08) 82px
  );
  animation: cinema-warp 0.6s linear infinite;
  opacity: 0;
}
.cinema-deploy.warp .cinema-deploy-streaks { opacity: 1; }
@keyframes cinema-warp {
  from { transform: translateX(0) scale(1); }
  to { transform: translateX(-200px) scale(1.1); }
}

.cinema-deploy-crosshair {
  position: absolute;
  width: 200px;
  height: 200px;
  pointer-events: none;
}
.cinema-deploy-crosshair::before,
.cinema-deploy-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(0,200,255,0.6);
}
.cinema-deploy-crosshair::before {
  left: 50%; top: 10%; bottom: 10%;
  width: 1px;
  transform: translateX(-50%);
}
.cinema-deploy-crosshair::after {
  top: 50%; left: 10%; right: 10%;
  height: 1px;
  transform: translateY(-50%);
}
.cinema-deploy-bracket {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent2, #ff7a1a);
  animation: cinema-bracket-lock 0.8s ease forwards;
}
.cinema-deploy-bracket.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.cinema-deploy-bracket.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.cinema-deploy-bracket.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.cinema-deploy-bracket.br { bottom: 0; right: 0; border-left: none; border-top: none; }
@keyframes cinema-bracket-lock {
  from { transform: scale(2); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cinema-deploy-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 480px;
  padding: 24px;
}
.cinema-deploy-phase {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: clamp(1.2rem, 4vw, 2rem);
  letter-spacing: 0.25em;
  color: #fff;
  text-shadow: 0 0 40px rgba(0,200,255,0.6);
  min-height: 2.5em;
}
.cinema-deploy-phase.accent { color: var(--accent, #00c8ff); }
.cinema-deploy-phase.green { color: #39ff14; text-shadow: 0 0 40px rgba(57,255,20,0.6); }

.cinema-deploy-progress {
  width: 100%;
  height: 3px;
  background: rgba(0,200,255,0.15);
  border-radius: 2px;
  margin: 24px 0;
  overflow: hidden;
}
.cinema-deploy-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent, #00c8ff), #39ff14);
  transition: width 0.15s linear;
  box-shadow: 0 0 12px rgba(0,200,255,0.6);
}

.cinema-deploy-checklist {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.cinema-deploy-check {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}
.cinema-deploy-check.done {
  color: #39ff14;
}
.cinema-deploy-check.done::before {
  content: '✓ ';
}

/* ── WELCOME COMMAND CENTER ── */
.hero-welcome-panel {
  background: linear-gradient(135deg, rgba(0,200,255,0.06) 0%, rgba(8,11,16,0.9) 50%, rgba(255,122,26,0.04) 100%);
  border: 1px solid rgba(0,200,255,0.25);
  border-radius: var(--radius-lg, 12px);
  padding: 32px 28px;
  box-shadow: 0 0 60px rgba(0,200,255,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  animation: welcome-panel-in 0.8s ease forwards;
}
@keyframes welcome-panel-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hw-header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 8px;
}
.hw-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.hw-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent, #00c8ff);
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0,200,255,0.4);
}
.hw-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #39ff14;
  border: 2px solid #080b10;
  box-shadow: 0 0 8px #39ff14;
  animation: hw-pulse 2s ease infinite;
}
@keyframes hw-pulse {
  0%, 100% { box-shadow: 0 0 8px #39ff14; }
  50% { box-shadow: 0 0 16px #39ff14; }
}
.hw-header-text { text-align: left; flex: 1; }
.hw-rank {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--accent2, #ff7a1a);
  margin-bottom: 4px;
}
.hw-greeting {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: clamp(0.85rem, 2.5vw, 1.1rem) !important;
  letter-spacing: 0.08em;
  text-align: left !important;
}

.hw-reauth-banner {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 122, 26, 0.45);
  border-radius: 8px;
  background: rgba(255, 122, 26, 0.08);
  text-align: center;
}
.hw-reauth-text {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent2, #ff7a1a);
}
.hw-reauth-btn {
  width: 100%;
  margin: 0;
}

.hw-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  margin: 16px 0;
}
@media (max-width: 520px) {
  .hw-stats-row { grid-template-columns: repeat(2, 1fr); }
}
.hw-stat-card {
  padding: 12px 8px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(0,200,255,0.12);
  border-radius: 6px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.hw-stat-card:hover {
  border-color: rgba(0,200,255,0.35);
  transform: translateY(-2px);
}
.hw-stat-num {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 1.3rem;
  color: var(--accent, #00c8ff);
  line-height: 1;
}
.hw-stat-num.alert { color: var(--accent2, #ff7a1a); }
.hw-stat-label {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.hw-intel-row {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.hw-intel-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,122,26,0.1);
  border: 1px solid rgba(255,122,26,0.3);
  border-radius: var(--radius-pill, 999px);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--accent2, #ff7a1a);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hw-intel-chip:hover {
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(255,122,26,0.25);
}
.hw-intel-chip.cyan {
  background: rgba(0,200,255,0.08);
  border-color: rgba(0,200,255,0.3);
  color: var(--accent, #00c8ff);
}

.btn-deploy-hero {
  width: 100%;
  max-width: 320px;
  justify-content: center;
  padding: 18px 40px !important;
  font-size: 1rem !important;
  background: linear-gradient(135deg, #0a3d0a, #39ff14, #0a3d0a) !important;
  background-size: 200% 100% !important;
  animation: deploy-btn-glow 3s ease infinite !important;
  box-shadow: 0 0 30px rgba(57,255,20,0.35) !important;
}
@keyframes deploy-btn-glow {
  0%, 100% { background-position: 0% 50%; box-shadow: 0 0 30px rgba(57,255,20,0.35); }
  50% { background-position: 100% 50%; box-shadow: 0 0 50px rgba(57,255,20,0.55); }
}
.btn-deploy-hero:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 0 60px rgba(57,255,20,0.6) !important;
}

/* ── HERO ENHANCEMENTS ── */
.hero-tracers, .hero-impacts { display: block !important; }

.hero-title .ht-bent,
.hero-title .ht-rad {
  display: inline-block;
  animation: title-split 1s ease forwards;
}
.hero-title .ht-rad { animation-delay: 0.15s; opacity: 0; }
@keyframes title-split {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-content.booting .hero-logo-stage,
.hero-content.booting .hero-main-row,
.hero-content.booting .hero-stats-bar,
.hero-content.booting .hero-pillars {
  opacity: 0;
  transform: translateY(30px);
}
.hero-content.revealed .hero-logo-stage { animation: hero-reveal 0.8s ease 0.1s forwards; }
.hero-content.revealed .hero-main-row { animation: hero-reveal 0.8s ease 0.25s forwards; }
.hero-content.revealed .hero-stats-bar { animation: hero-reveal 0.8s ease 0.4s forwards; }
.hero-content.revealed .hero-pillars { animation: hero-reveal 0.8s ease 0.55s forwards; }
@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-hint { display: flex; z-index: 3; }

.btn-enter-site {
  animation: enter-btn-pulse 2.5s ease infinite;
}
@keyframes enter-btn-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,200,255,0.3); }
  50% { box-shadow: 0 0 40px rgba(0,200,255,0.55), 0 0 80px rgba(0,200,255,0.15); }
}

/* ── DEPLOYMENT BAY (upload page) ── */
.dz-bay-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(8,11,16,0.95) 0%, transparent 100%);
  pointer-events: none;
}
.dz-bay-title {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent, #00c8ff);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dz-bay-status {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: #39ff14;
}
.dz-bay-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #39ff14;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 6px #39ff14;
  animation: hw-pulse 2s ease infinite;
  vertical-align: middle;
}

.dz-target-lock {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s;
}
.dropzone-arena.drag-active .dz-target-lock { opacity: 1; }
.dz-target-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border: 2px solid var(--accent, #00c8ff);
  border-radius: 50%;
  animation: target-lock 0.8s ease infinite;
}
.dz-target-ring::before {
  content: 'TARGET LOCKED';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--accent, #00c8ff);
  white-space: nowrap;
}
@keyframes target-lock {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(0.92); opacity: 1; }
}

.dz-action-btn {
  animation: dz-btn-float 4s ease-in-out infinite;
}
.dz-action-btn:nth-child(2) { animation-delay: 0.5s; }
.dz-action-btn:nth-child(3) { animation-delay: 1s; }
.dz-action-btn:nth-child(4) { animation-delay: 1.5s; }
@keyframes dz-btn-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.dz-action-btn:hover { animation: none; }

/* ── STAGING / MISSION BRIEF CINEMATIC ── */
.upload-staging.active-deploy .staging-form-panel {
  border-left-color: rgba(57,255,20,0.4);
  box-shadow: inset 0 0 40px rgba(57,255,20,0.05);
}
.staging-form-title {
  position: relative;
}
.staging-form-title::after {
  content: 'LIVE';
  margin-left: 10px;
  font-size: 0.5rem;
  padding: 2px 6px;
  background: rgba(57,255,20,0.15);
  border: 1px solid rgba(57,255,20,0.4);
  color: #39ff14;
  border-radius: 3px;
  vertical-align: middle;
  animation: sync-pulse 1.5s ease infinite;
}

.btn-deploy.deploying {
  pointer-events: none;
  background: linear-gradient(135deg, #004d88, #00c8ff) !important;
  animation: deploy-launch 0.8s ease infinite !important;
}
@keyframes deploy-launch {
  0%, 100% { box-shadow: 0 0 30px rgba(0,200,255,0.5); transform: scale(1); }
  50% { box-shadow: 0 0 60px rgba(0,200,255,0.8); transform: scale(1.02); }
}

/* ── CLIP DEPLOYED CELEBRATION ── */
.cinema-deployed {
  position: fixed;
  inset: 0;
  z-index: 140000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4,6,8,0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.cinema-deployed.open {
  opacity: 1;
  visibility: visible;
}
.cinema-deployed-card {
  text-align: center;
  padding: 48px;
  border: 2px solid rgba(57,255,20,0.4);
  border-radius: var(--radius-lg, 12px);
  background: rgba(8,11,16,0.95);
  box-shadow: 0 0 80px rgba(57,255,20,0.2);
  transform: scale(0.8);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cinema-deployed.open .cinema-deployed-card {
  transform: scale(1);
}
.cinema-deployed-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: deployed-bounce 0.6s ease infinite alternate;
}
@keyframes deployed-bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
.cinema-deployed-title {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: #39ff14;
  text-shadow: 0 0 30px rgba(57,255,20,0.5);
}
.cinema-deployed-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 0.1em;
}

/* ── HERO MAIN ROW — CTAs / welcome + polaroid (polaroid always visible) ── */
.hero-main-row {
  display: grid;
  grid-template-columns: 1fr min(320px, 34vw);
  gap: 36px;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  z-index: 2;
  position: relative;
}
.hero-guest-block {
  width: 100%;
}
.hero-polaroid-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-guest-block .hero-text { text-align: left; }
.hero-guest-block .hero-actions { justify-content: flex-start; }
.hero-guest-block .hero-auth-row { justify-content: flex-start; }
/* Logged-in: welcome panel + polaroid side by side (desktop/tablet landscape only) */
@media (min-width: 901px) {
  .hero-main-row:has(.hero-welcome-panel[style*="flex"]) {
    grid-template-columns: 1fr min(280px, 32vw);
  }
}
.hero-main-row:has(.hero-welcome-panel[style*="flex"]) .hero-guest-block {
  display: none;
}
@media (max-width: 900px) {
  .hero-main-row,
  .hero-main-row:has(.hero-welcome-panel[style*="flex"]) {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: min(100%, 420px);
    margin: 0 auto;
    padding: 0 4px;
    justify-items: center;
  }
  .hero-welcome-panel {
    width: 100%;
    max-width: 100%;
    padding: 24px 18px;
    box-sizing: border-box;
  }
  .hero-guest-block .hero-text { text-align: center; }
  .hero-guest-block .hero-actions { justify-content: center; }
  .hero-guest-block .hero-auth-row { justify-content: center; }
  .hero-polaroid-col {
    order: 2;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    justify-content: center;
  }
  .hero-squad-pic.hero-polaroid {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  .hero-polaroid .polaroid-frame {
    transform: rotate(0deg);
  }
  .hw-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .hero-main-row,
  .hero-main-row:has(.hero-welcome-panel[style*="flex"]) {
    max-width: 100%;
    padding: 0 8px;
  }
  .hero-welcome-panel {
    padding: 20px 14px;
  }
  .hero-polaroid-col {
    max-width: min(260px, 88vw);
  }
}

/* ── POLAROID CARD + BATTLES SLIDESHOW ── */
.polaroid-card {
  position: relative;
}
/* Hero polaroid — tactical dark frame (world-facing landing) */
.hero-polaroid .polaroid-frame {
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.98) 0%, rgba(8, 11, 16, 0.99) 100%);
  border: 1px solid rgba(0, 200, 255, 0.28);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 200, 255, 0.08);
  transform: rotate(1.5deg);
}
.hero-polaroid:hover .polaroid-frame {
  transform: rotate(0deg) scale(1.02);
  border-color: rgba(0, 200, 255, 0.45);
}
.hero-polaroid .polaroid-caption {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: rgba(0, 200, 255, 0.75);
  bottom: 12px;
}
.polaroid-frame {
  background: linear-gradient(180deg, #f8f8f6 0%, #eceae4 100%);
  padding: 12px 12px 48px;
  border-radius: 3px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-squad-pic.polaroid-card:hover .polaroid-frame {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 8px 40px rgba(0, 200, 255, 0.15), 0 4px 24px rgba(0, 0, 0, 0.5);
}
.polaroid-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
  border-radius: 1px;
}
.polaroid-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  filter: saturate(0.92) contrast(1.05);
  z-index: 0;
  pointer-events: none;
}
.polaroid-img.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.polaroid-img:not(.active) {
  animation: none;
  transform: none;
}
.polaroid-slideshow.single-slide .polaroid-img.active {
  animation: polaroid-ken-burns 10s ease-in-out infinite alternate;
}
@keyframes polaroid-ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.polaroid-count {
  display: block;
  text-align: center;
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 8px;
}
.polaroid-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}
.polaroid-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.polaroid-dot.active {
  background: rgba(0, 200, 255, 0.95);
  transform: scale(1.25);
}
.polaroid-dot:hover { background: rgba(0, 200, 255, 0.65); }
.polaroid-caption {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Caveat', 'Segoe Print', cursive, sans-serif;
  font-size: 1.05rem;
  color: #333;
  letter-spacing: 0.02em;
  padding: 0 12px;
  min-height: 1.4em;
  pointer-events: none;
}
.polaroid-label,
.hero-squad-pic .polaroid-label {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: rgba(0, 200, 255, 0.85);
  background: rgba(8, 11, 16, 0.85);
  padding: 4px 12px;
  border: 1px solid rgba(0, 200, 255, 0.25);
  white-space: nowrap;
  z-index: 2;
}

/* Deploy sequence polaroid — floats above warp */
.cinema-deploy-polaroid {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  width: min(280px, 70vw);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.cinema-deploy.open .cinema-deploy-polaroid {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.cinema-deploy.warp .cinema-deploy-polaroid .polaroid-frame {
  animation: polaroid-deploy-shake 0.4s ease infinite alternate;
}
@keyframes polaroid-deploy-shake {
  from { transform: rotate(-2deg) translateY(0); }
  to { transform: rotate(1deg) translateY(-4px); }
}
.cinema-deploy-polaroid .polaroid-frame {
  transform: rotate(-2deg);
  padding-bottom: 44px;
}
.cinema-deploy-polaroid .polaroid-caption {
  font-size: 0.9rem;
  bottom: 12px;
}
.cinema-deploy-polaroid .polaroid-label {
  bottom: -10px;
}
@media (max-width: 520px) {
  .cinema-deploy-polaroid { top: 8%; width: min(220px, 65vw); }
  .cinema-deploy-content { margin-top: 180px; }
}
