/* ============================================================
   Facebook Theme - Feed Video Theater Launch Cards
   ============================================================ */

.fb-video-theater-launch {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background-color: #050505 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease !important;
  user-select: none !important;
}

.fb-video-theater-launch:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3) !important;
}

.fb-feed-video-card {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  background-color: #050505 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.fb-feed-video-thumb {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), filter 0.3s ease !important;
}

.fb-video-theater-launch:hover .fb-feed-video-thumb {
  transform: scale(1.04) !important;
  filter: brightness(0.92) !important;
}

/* Play Button */
.fb-video-play-btn {
  position: absolute !important;
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
  z-index: 3 !important;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  pointer-events: none !important;
}

.fb-video-play-btn svg {
  transform: translateX(2px) !important;
  fill: #ffffff !important;
  transition: transform 0.25s ease !important;
}

.fb-video-theater-launch:hover .fb-video-play-btn {
  background: #ff0000 !important;
  border-color: #ff0000 !important;
  transform: scale(1.15) !important;
  box-shadow: 0 12px 35px rgba(255, 0, 0, 0.5) !important;
}

.fb-video-theater-launch:hover .fb-video-play-btn svg {
  transform: translateX(3px) scale(1.05) !important;
}

/* Theater Mode Badge (تكبير الشاشة) */
.fb-video-theater-badge {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  pointer-events: none !important;
  transition: background 0.25s ease, transform 0.25s ease !important;
}

.fb-video-theater-launch:hover .fb-video-theater-badge {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  transform: translateY(-2px) !important;
}

/* Views Counter Badge */
.fb-video-views-badge {
  position: absolute !important;
  bottom: 14px !important;
  left: 14px !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  pointer-events: none !important;
}

/* RTL Support */
[dir="rtl"] .fb-video-play-btn svg,
[dir="RTL"] .fb-video-play-btn svg {
  transform: translateX(-2px) !important;
}

[dir="rtl"] .fb-video-theater-launch:hover .fb-video-play-btn svg,
[dir="RTL"] .fb-video-theater-launch:hover .fb-video-play-btn svg {
  transform: translateX(-3px) scale(1.05) !important;
}

[dir="rtl"] .fb-video-theater-badge,
[dir="RTL"] .fb-video-theater-badge {
  right: auto !important;
  left: 14px !important;
}

[dir="rtl"] .fb-video-views-badge,
[dir="RTL"] .fb-video-views-badge {
  left: auto !important;
  right: 14px !important;
}

/* Mobile responsive sizing */
@media (max-width: 576px) {
  .fb-video-play-btn {
    width: 52px !important;
    height: 52px !important;
  }
  .fb-video-play-btn svg {
    width: 26px !important;
    height: 26px !important;
  }
  .fb-video-theater-badge {
    font-size: 11px !important;
    padding: 4px 10px !important;
    top: 10px !important;
    right: 10px !important;
  }
  [dir="rtl"] .fb-video-theater-badge,
  [dir="RTL"] .fb-video-theater-badge {
    left: 10px !important;
    right: auto !important;
  }
  .fb-video-views-badge {
    bottom: 10px !important;
    left: 10px !important;
  }
  [dir="rtl"] .fb-video-views-badge,
  [dir="RTL"] .fb-video-views-badge {
    right: 10px !important;
    left: auto !important;
  }
}
