/* ==========================================================================
   BOYUTIX — VIDEO SPECIFIC STYLES & REAL-TIME PRIVACY SHIELD
   ========================================================================== */

/* NSFW Blurred Shield */
.video-blurred-shield {
  filter: blur(40px) brightness(0.6) !important;
}

.nsfw-shield-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  z-index: 50;
  padding: 16px;
}

.nsfw-shield-card {
  max-width: 360px;
  background: #181c2b;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.nsfw-shield-icon {
  font-size: 2.2rem;
  color: var(--accent-red);
  margin-bottom: 10px;
}

.nsfw-shield-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.nsfw-shield-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 18px;
}

.nsfw-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-shield-unblur {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-shield-skip {
  background: var(--accent-red);
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

/* Floating Reaction Particle */
.reaction-particle {
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 2.2rem;
  pointer-events: none;
  z-index: 100;
  animation: floatUpClean 1.8s cubic-bezier(0.2, 0.6, 0.35, 1) forwards;
}

@keyframes floatUpClean {
  0% { opacity: 1; transform: translateY(0) scale(var(--scale, 1)); }
  100% { opacity: 0; transform: translateY(-320px) translateX(var(--drift-x, 15px)) scale(1.4); }
}

/* Boyutix Floating Reactions & Gifts Dock */
.video-reactions-dock {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 15, 29, 0.75);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 30;
}

.reaction-btn-mini {
  background: transparent;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.reaction-btn-mini:hover {
  transform: scale(1.35);
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
}

/* Boyutix Speed Dating Timer Badge */
.match-timer-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 35;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.match-timer-pill.urgent {
  border-color: #ef4444;
  color: #ef4444;
  animation: pulseUrgent 1s infinite;
}

@keyframes pulseUrgent {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); box-shadow: 0 0 15px rgba(239, 68, 68, 0.6); }
  100% { transform: scale(1); }
}

.btn-extend-timer {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-extend-timer:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Boyutix Quick Icebreaker Chips */
.icebreaker-dock {
  display: flex;
  gap: 8px;
  padding: 8px 4px 4px 4px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.icebreaker-dock::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.chip-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

/* Boyutix Card Swipe Animation */
.video-box.swipe-left {
  animation: slideOutLeft 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.video-box.swipe-right {
  animation: slideOutRight 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.video-box.swipe-in {
  animation: slideInBottom 0.35s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes slideOutLeft {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(-120%) scale(0.9) rotate(-6deg); opacity: 0; }
}

@keyframes slideOutRight {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(120%) scale(0.9) rotate(6deg); opacity: 0; }
}

@keyframes slideInBottom {
  0% { transform: translateY(40px) scale(0.94); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Live AR Filters */
.filter-cyberpunk {
  filter: contrast(130%) saturate(140%) hue-rotate(15deg) !important;
}

.filter-beauty {
  filter: contrast(105%) brightness(108%) saturate(115%) blur(0.2px) !important;
}

.filter-noir {
  filter: grayscale(100%) contrast(140%) brightness(95%) !important;
}

.filter-vhs {
  filter: sepia(20%) hue-rotate(-20deg) contrast(120%) !important;
}

.filter-warm-date {
  filter: sepia(25%) saturate(135%) brightness(105%) !important;
}

/* ==========================================================================
   BOYUTIX OVERLAYS & SKELETON SHIMMER SYSTEM
   ========================================================================== */

/* Animated Shimmer Skeleton Loading */
.skeleton-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.8s infinite linear;
}

@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #090b11;
  z-index: 15;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.skeleton-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}

/* Boyutix Partner Info Pill (Bottom Right of Remote Video) */
.boyutix-partner-pill {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 15, 29, 0.75);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  z-index: 25;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  user-select: none;
  transition: all 0.25s ease;
}

/* Boyutix Like Heart Button on Remote Video */
.btn-boyutix-like {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-boyutix-like:hover {
  background: rgba(239, 68, 68, 0.35);
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.45);
}

.btn-boyutix-like:active {
  transform: scale(0.92);
}

.btn-boyutix-like.liked {
  background: #ef4444;
  color: #fff;
  animation: heartPop 0.4s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Boyutix Discreet ID Watermark (Bottom Left of Remote Video) */
.boyutix-id-watermark {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 25;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Boyutix Quick Shortcut Hints (Under Bottom Action Bar) */
.boyutix-shortcuts-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.76rem;
  color: var(--text-dim);
}

.boyutix-kbd-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  padding: 2px 6px;
  color: #cbd5e1;
  font-size: 0.7rem;
  font-family: monospace;
  margin-right: 4px;
}

/* Slim Reaction Corridor: Floats ONLY on the right margin */
.reaction-corridor {
  position: absolute;
  top: 15%;
  bottom: 70px;
  right: 14px;
  width: 50px;
  pointer-events: none;
  overflow: hidden;
  z-index: 40;
}

.reaction-particle-clean {
  position: absolute;
  bottom: 0;
  right: 4px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cleanCorridorFloat 1.8s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
}

@keyframes cleanCorridorFloat {
  0% { opacity: 0; transform: translateY(10px) scale(0.6); }
  15% { opacity: 1; transform: translateY(-30px) scale(1.15); }
  70% { opacity: 0.95; transform: translateY(-180px) scale(1); }
  100% { opacity: 0; transform: translateY(-280px) scale(0.75); }
}

/* Sound toggle button in dock */
.btn-sound-toggle {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 4px;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-sound-toggle:hover {
  color: #fff;
}

/* Mobile Touch Gestures & Dynamic Burst Animations */
@keyframes floatHeartBurst {
  0% {
    opacity: 0;
    transform: scale(0.4) translateY(0);
  }
  30% {
    opacity: 1;
    transform: scale(1.4) translateY(-25px);
  }
  70% {
    opacity: 0.9;
    transform: scale(1.1) translateY(-60px);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) translateY(-100px);
  }
}

.is-mobile-device .video-box {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.is-mobile-device .action-bar {
  padding: 8px 12px;
  gap: 8px;
}

@media (max-width: 768px) {
  .controls-left .tool-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .btn-primary-action, .btn-next-action, .btn-stop-action {
    padding: 10px 18px;
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   INTEREST & TOPIC MATCHING BAR (Emerald / Omezy Style)
   ========================================================================== */
.interests-bar {
  margin: 6px 4px 10px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.interests-bar::-webkit-scrollbar {
  display: none;
}

.interests-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
}

.interests-title {
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.interest-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}

.interest-chip:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.interest-chip.active {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-color: #818cf8;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
}

/* Common Topic Badge on Call */
.common-tag-badge {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid #6366f1;
  color: #c7d2fe;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-left: 6px;
  animation: pulseTag 2s infinite;
}
@keyframes pulseTag {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ==========================================================================
   REAL-TIME WEBRTC CONNECTION HEALTH & LATENCY PILL
   ========================================================================== */
.connection-quality-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
  z-index: 25;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  user-select: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.connection-quality-badge:hover {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.03);
}

.quality-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.quality-dot.green {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.quality-dot.yellow {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.quality-dot.red {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.quality-sep {
  opacity: 0.4;
  font-size: 0.7rem;
}

/* ==========================================================================
   PARTNER TYPING INDICATOR BUBBLE
   ========================================================================== */
.partner-typing-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: fadeInTyping 0.25s ease-out;
}

@keyframes fadeInTyping {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #818cf8;
  display: inline-block;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.4); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.typing-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ==========================================================================
   P2P CHAT IMAGE BUBBLE
   ========================================================================== */
.chat-image-msg {
  max-width: 220px;
  max-height: 180px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-image-msg:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}



