/* Snap City Styles */

.snap-city-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.snap-city-btn.grey {
  background: #e2e8f0;
  color: #64748b;
}

.snap-city-btn.blue {
  background: #3b82f6;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.snap-city-btn.pro-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.snap-city-btn:hover {
  transform: translateY(-1px);
}

/* Modal Overlay & Player Container */
.snap-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.snap-player-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 90vh;
  max-height: 750px;
  background: #000000;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.snap-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Static Poster Mode */
.snap-poster-view {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.snap-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  padding: 24px;
}

.snap-lock-icon {
  font-size: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  animation: pulseLock 2s infinite ease-in-out;
}

@keyframes pulseLock {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.snap-poster-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.snap-poster-subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Paywall Bottom Sheet */
.snap-paywall-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  color: #1e293b;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 24px;
  box-shadow: 0 -10px 25px rgba(0,0,0,0.3);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.snap-paywall-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.snap-paywall-desc {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.4;
}

.snap-cta-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
}

.snap-cta-secondary {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: #64748b;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

/* Full Video Mode Overlay Actions */
.snap-video-actions {
  position: absolute;
  right: 16px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

.snap-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

/* Analytics Dashboard Card */
.snap-analytics-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.snap-analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}

.snap-stat-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.snap-stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
}

.snap-stat-lbl {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 4px;
}

.snap-warning-banner {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #873800;
  margin-bottom: 16px;
}
