/* ==========================================================================
   CAMERA SURPRISE MODAL & FLOATING PREVIEW STYLES (GUEST)
   ========================================================================== */

/* Fullscreen Consent Modal */
.camera-consent-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 4, 15, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.5s ease;
  transform: scale(0.95);
}

.camera-consent-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.camera-consent-card {
  max-width: 380px;
  width: 100%;
  background: rgba(28, 16, 44, 0.92);
  border: 1px solid rgba(255, 182, 193, 0.3);
  border-radius: 28px;
  padding: 36px 26px 30px 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(255, 51, 102, 0.35);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.camera-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 51, 102, 0.18);
  border: 1px solid rgba(255, 51, 102, 0.4);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f3a6b2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.camera-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 10px;
}

.camera-card-title span {
  background: linear-gradient(135deg, #fff, #f3a6b2, #ff3366);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.camera-card-text {
  font-size: 0.95rem;
  color: #dcd0ea;
  line-height: 1.6;
  margin-bottom: 18px;
}

.camera-privacy-notice {
  background: rgba(10, 5, 20, 0.6);
  border: 1px solid rgba(249, 211, 113, 0.25);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: #f9d371;
  line-height: 1.45;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.camera-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-allow-camera {
  width: 100%;
  padding: 15px 24px;
  border-radius: 9999px;
  border: none;
  background: linear-gradient(135deg, #ff3366 0%, #ff5e62 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(255, 51, 102, 0.45);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-allow-camera:active {
  transform: scale(0.96);
}

.camera-card-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #dcd0ea;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.camera-card-close:hover {
  background: rgba(255, 51, 102, 0.2);
  color: #fff;
  border-color: #ff3366;
}

.btn-not-now {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  color: #dcd0ea;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  padding: 12px 18px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-not-now:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Floating Self-Camera Preview (Hidden per user request) */
.camera-floating-preview {
  display: none !important;
}

/* Floating Status Pill */
.camera-floating-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  background: rgba(10, 5, 20, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  padding: 3px 6px;
  font-size: 0.65rem;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.camera-floating-badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
}

/* Stop Camera Button on Floating Preview */
.btn-stop-camera {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  padding: 4px 6px;
  border-radius: 9999px;
  background: rgba(230, 57, 70, 0.88);
  border: none;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-stop-camera:active {
  transform: scale(0.92);
}

/* Floating Surprise Trigger Button (if closed with "Not now") */
.camera-surprise-fab {
  position: fixed;
  bottom: 86px;
  left: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3366, #9d4edd);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.25rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.5);
  z-index: 1999;
  animation: pulseFab 2s infinite ease-in-out;
}

.camera-surprise-fab.show {
  display: flex;
}

@keyframes pulseFab {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 10px 30px rgba(255, 51, 102, 0.8); }
}

@keyframes floatPreview {
  0% { transform: translateY(20px) scale(0.8); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
