/* ==========================================================================
   NPF Qatar - Embedded Reels Live Player Section
   Brand Colors: Navy (#202A73), Magenta/Fuchsia (#B3227A), Deep Dark (#0B0E27)
   ========================================================================== */

.npf-reels-section {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #090c21 0%, #0d1233 45%, #080a1c 100%);
  color: #ffffff;
  padding: 35px 20px 80px;
  margin-top: -35px;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', 'Tajawal', 'Inter', -apple-system, sans-serif;
  box-sizing: border-box;
}

[dir="rtl"] .npf-reels-section {
  font-family: 'Tajawal', 'Plus Jakarta Sans', -apple-system, sans-serif;
  text-align: right;
}

/* Ambient Backlight Glow */
.npf-reels-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.npf-reels-glow-1 {
  position: absolute;
  top: -10%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(32, 42, 115, 0.45) 0%, transparent 70%);
  filter: blur(80px);
  border-radius: 50%;
  animation: npfFloatGlow 12s ease-in-out infinite alternate;
}

.npf-reels-glow-2 {
  position: absolute;
  bottom: -15%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(179, 34, 122, 0.28) 0%, transparent 70%);
  filter: blur(90px);
  border-radius: 50%;
  animation: npfFloatGlow 14s ease-in-out infinite alternate-reverse;
}

@keyframes npfFloatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -20px) scale(1.08);
  }

  100% {
    transform: translate(-20px, 25px) scale(0.95);
  }
}

/* Container */
.npf-reels-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
}

/* Split Showcase Layout (Content Left, Phone Player Right) */
.npf-reels-split-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 10px 0;
}

.npf-reels-content-col {
  flex: 1 1 auto;
  max-width: 580px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
}

[dir="rtl"] .npf-reels-content-col {
  text-align: right;
  align-items: flex-start;
}

.npf-reels-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(179, 34, 122, 0.16);
  border: 1px solid rgba(179, 34, 122, 0.4);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  color: #ff9ed8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.npf-reels-pill-dot {
  width: 6px;
  height: 6px;
  background: #ff2e63;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff2e63;
}

.elementor-kit-86 .npf-reels-section h2,
.elementor-kit-86 .npf-reels-section .npf-reels-title,
.npf-reels-section h2.npf-reels-title,
.npf-reels-section .npf-reels-title,
.npf-reels-title {
  font-size: clamp(28px, 3.4vw, 44px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  color: #ffffff !important;
  letter-spacing: -0.5px !important;
}

.elementor-kit-86 .npf-reels-section .npf-reels-title span,
.npf-reels-section .npf-reels-title span,
.npf-reels-title span {
  background: linear-gradient(135deg, #ffffff 25%, #ff8ec7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #ffffff !important;
  display: inline-block;
}

.elementor-kit-86 .npf-reels-section p,
.elementor-kit-86 .npf-reels-section .npf-reels-desc,
.npf-reels-section .npf-reels-desc,
.npf-reels-desc {
  font-size: clamp(14px, 1.15vw, 16px) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.npf-reels-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.npf-reels-player-col {
  flex: 0 0 auto;
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

@media (max-width: 991px) {
  .npf-reels-section {
    padding: 24px 16px 55px;
    margin-top: -25px;
  }

  .npf-reels-split-layout {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 0;
  }

  .npf-reels-content-col {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 520px;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  [dir="rtl"] .npf-reels-content-col {
    align-items: center;
    text-align: center;
  }

  .npf-reels-actions {
    justify-content: center;
    margin-top: 4px;
    gap: 12px;
  }

  .npf-reels-player-col {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 360px;
  }
}

@media (max-width: 480px) {
  .npf-reels-section {
    padding: 18px 14px 45px;
    margin-top: -20px;
  }

  .npf-reels-split-layout {
    gap: 16px;
  }

  .npf-reels-content-col {
    gap: 10px;
  }

  .npf-reels-actions {
    gap: 10px;
    margin-top: 2px;
  }

  .npf-reels-player-col {
    max-width: 330px;
  }
}

.npf-reels-section a.npf-reels-btn-follow,
.npf-reels-btn-follow,
.npf-reels-btn-follow:link,
.npf-reels-btn-follow:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  height: 38px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%) !important;
  color: #ffffff !important;
  border-radius: 25px;
  border: none !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.35);
  transition: all 0.25s ease;
}

.npf-reels-section a.npf-reels-btn-follow:hover,
.npf-reels-btn-follow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(220, 39, 67, 0.55);
  color: #ffffff !important;
  background: linear-gradient(135deg, #9b45d4 0%, #ff2a2a 50%, #ffbe5b 100%) !important;
}

.npf-reels-section .npf-reels-btn-follow span,
.npf-reels-btn-follow span {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
}

.npf-reels-btn-follow svg {
  flex-shrink: 0;
  display: block;
}

.npf-reels-section a.npf-reels-btn-all,
.npf-reels-btn-all,
.npf-reels-btn-all:link,
.npf-reels-btn-all:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  height: 38px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.npf-reels-section a.npf-reels-btn-all:hover,
.npf-reels-btn-all:hover {
  background: rgba(179, 34, 122, 0.25) !important;
  border-color: #B3227A !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.npf-reels-btn-all span {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
}


/* ==========================================================================
   Showcase Split Layout: Smartphone Player + Playlist
   ========================================================================== */

.npf-reels-showcase-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 40px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   Smartphone Bezel Player (Left / Center)
   -------------------------------------------------------------------------- */
.npf-reels-player-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.npf-reels-phone-bezel {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  max-height: 670px;
  background: #000000;
  border-radius: 42px;
  border: 11px solid #1a1f38;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(179, 34, 122, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 0 4px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  user-select: none;
}

/* Dynamic Island Notch */
.npf-phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.npf-phone-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0c1226;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.npf-phone-speaker {
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: #1e2235;
}

/* The Live Video Element */
.npf-reel-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  cursor: pointer;
}

.npf-reel-active-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000000;
}

.npf-reel-active-image-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) brightness(0.45);
  transform: scale(1.12);
  display: none;
  pointer-events: none;
}

.npf-reel-active-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  padding: 0;
  box-sizing: border-box;
  pointer-events: none;
}

/* Gradient readability overlays */
.npf-reel-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  pointer-events: none;
  z-index: 10;
}

.npf-reel-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
  pointer-events: none;
  z-index: 10;
}

/* Phone Top Bar Inside Video */
.npf-reel-top-bar {
  position: absolute;
  top: 42px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.npf-reel-tag-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: transparent !important;
  border: none !important;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

.npf-reels-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff !important;
  box-shadow: none !important;
  opacity: 0.85;
}

/* Reset Elementor button styles on all reels buttons */
.elementor-kit-86 .npf-reels-section button,
.elementor-kit-86 .npf-reels-section button:hover,
.elementor-kit-86 .npf-reels-section button:focus,
.elementor-kit-86 .npf-reels-section button:active,
.elementor-kit-86 .npf-reel-video-container button,
.elementor-kit-86 .npf-reel-video-container button:hover,
.elementor-kit-86 .npf-reel-video-container button:focus,
.elementor-kit-86 .npf-reel-video-container button:active,
.npf-reels-section button,
.npf-reels-section button:hover,
.npf-reels-section button:focus,
.npf-reels-section button:active,
.npf-reel-video-container button,
.npf-reel-video-container button:hover,
.npf-reel-video-container button:focus,
.npf-reel-video-container button:active,
.npf-reel-action-btn,
.npf-reel-action-btn:hover,
.npf-reel-action-btn:focus,
.npf-reel-action-btn:active,
.npf-reel-control-btn,
.npf-reel-control-btn:hover,
.npf-reel-control-btn:focus,
.npf-reel-control-btn:active,
#npf-reel-sound-btn,
#npf-reel-sound-btn:hover,
#npf-reel-sound-btn:focus,
#npf-reel-sound-btn:active,
#npf-reel-like-btn,
#npf-reel-like-btn:hover,
#npf-reel-like-btn:focus,
#npf-reel-like-btn:active,
#npf-reel-share-btn,
#npf-reel-share-btn:hover,
#npf-reel-share-btn:focus,
#npf-reel-share-btn:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.npf-reel-control-btn {
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: none !important;
  color: #ff2e63 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0 !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.95));
}

.npf-reel-control-btn svg {
  stroke: #ff2e63 !important;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.npf-reel-control-btn:hover svg {
  stroke: #ff7597 !important;
  transform: scale(1.15);
}

/* Center Play/Pause Ripple Overlay */
.npf-reel-play-state {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(179, 34, 122, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 15;
  box-shadow: 0 8px 30px rgba(179, 34, 122, 0.5);
}

.npf-reel-play-state.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Side Action Floating Icons */
.npf-reel-side-bar {
  position: absolute;
  right: 14px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 20;
}

[dir="rtl"] .npf-reel-side-bar {
  right: auto;
  left: 14px;
}

.npf-reel-action-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: #ffffff !important;
  cursor: pointer;
  padding: 0 !important;
  transition: transform 0.2s ease;
  text-decoration: none !important;
}

.npf-reel-action-btn:hover {
  transform: scale(1.1);
  background: transparent !important;
}

.npf-reel-action-btn:active {
  transform: scale(0.9);
}

.npf-reel-action-circle {
  width: 36px;
  height: 36px;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.npf-reel-action-btn svg,
#npf-reel-like-btn svg,
#npf-reel-share-btn svg {
  stroke: #ff2e63 !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.95)) !important;
  transition: transform 0.2s ease, stroke 0.2s ease, fill 0.2s ease;
}

#npf-reel-like-btn.liked svg {
  fill: #ff2e63 !important;
  stroke: #ff2e63 !important;
}

.npf-reel-action-btn:hover svg {
  stroke: #ff7597 !important;
  transform: scale(1.18);
}

.elementor-kit-86 .npf-reels-section .npf-reel-action-count,
.npf-reels-section .npf-reel-action-count,
.npf-reel-action-count {
  display: block !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-top: 1px !important;
}

/* Bottom Caption & Product Box */
.npf-reel-details-box {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 68px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

[dir="rtl"] .npf-reel-details-box {
  left: 68px;
  right: 16px;
}

.npf-reel-details-box>* {
  pointer-events: auto;
}

.npf-reel-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.npf-reel-avatar {
  display: none !important;
}

.npf-reels-section a.npf-reel-handle,
.npf-reels-section .npf-reel-handle,
.npf-reel-handle,
.npf-reel-handle span,
.npf-reel-handle:link,
.npf-reel-handle:visited,
.npf-reel-handle:hover,
.npf-reel-handle:active,
.npf-reel-handle:focus {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none !important;
}

.npf-reel-handle span {
  color: #ffffff !important;
}

.npf-reel-verified {
  color: #0693e3 !important;
  display: inline-flex;
}

.npf-reels-section .npf-reel-text-title,
.npf-reels-section h3.npf-reel-text-title,
.npf-reel-text-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85) !important;
}

.npf-reels-section .npf-reel-text-caption,
.npf-reel-text-caption {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: normal !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.npf-reel-text-caption.expanded {
  -webkit-line-clamp: unset;
  max-height: 110px;
  overflow-y: auto;
}

.npf-reels-section button.npf-reel-caption-more,
.npf-reels-section .npf-reel-caption-more,
.npf-reel-caption-more {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: rgba(255, 255, 255, 0.75) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-top: 2px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  transition: color 0.2s ease !important;
  line-height: 1.4 !important;
  outline: none !important;
  width: fit-content !important;
  align-self: flex-start !important;
}

.npf-reels-section button.npf-reel-caption-more:hover,
.npf-reels-section .npf-reel-caption-more:hover,
.npf-reel-caption-more:hover {
  background: transparent !important;
  color: #ffffff !important;
  text-decoration: underline !important;
  transform: none !important;
  box-shadow: none !important;
}

[dir="rtl"] .npf-reel-caption-more {
  align-self: flex-start;
}

/* Product Tag CTA Pill (Hidden) */
.npf-reel-product-pill {
  display: none !important;
}

/* Scrub Progress Bar */
.npf-reel-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 25;
  cursor: pointer;
}

.npf-reel-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff2e63, #B3227A);
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   Reel Navigation Controls (On-Video Side Arrows & Carousel Switcher Bar)
   -------------------------------------------------------------------------- */

/* On-Video Floating Nav Arrows (Left & Right) */
.elementor-kit-86 .npf-reels-section .npf-reel-nav-arrow-btn,
.npf-reels-section .npf-reel-nav-arrow-btn,
.npf-reel-nav-arrow-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(11, 14, 39, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 24 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.22s ease !important;
  padding: 0 !important;
}

.npf-reel-nav-arrow-btn.npf-reel-nav-prev {
  left: 12px !important;
  right: auto !important;
}

.npf-reel-nav-arrow-btn.npf-reel-nav-next {
  right: 12px !important;
  left: auto !important;
}

[dir="rtl"] .npf-reel-nav-arrow-btn.npf-reel-nav-prev {
  left: 12px !important;
  right: auto !important;
}

[dir="rtl"] .npf-reel-nav-arrow-btn.npf-reel-nav-next {
  right: 12px !important;
  left: auto !important;
}

.npf-reel-nav-arrow-btn svg {
  stroke: #ffffff !important;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.npf-reel-nav-arrow-btn:hover {
  background: rgba(179, 34, 122, 0.9) !important;
  border-color: #ff2e63 !important;
  box-shadow: 0 0 16px rgba(255, 46, 99, 0.6) !important;
  transform: translateY(-50%) scale(1.12) !important;
}

.npf-reel-nav-arrow-btn:active {
  transform: translateY(-50%) scale(0.92) !important;
}

.npf-reel-nav-arrow-btn.npf-reel-nav-next:hover svg {
  transform: translateX(2px);
}

.npf-reel-nav-arrow-btn.npf-reel-nav-prev:hover svg {
  transform: translateX(-2px);
}

/* Subtle breathing glow on the Next button inside the video */
.npf-reel-nav-arrow-btn.npf-reel-nav-next {
  animation: npfNextBtnPulse 3s ease-in-out infinite;
}

@keyframes npfNextBtnPulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(255, 46, 99, 0);
  }

  50% {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 12px 2px rgba(255, 46, 99, 0.5);
    border-color: rgba(255, 46, 99, 0.7) !important;
  }
}

/* Top bar counter pill */
.npf-reel-counter-badge,
.npf-reel-counter-pill {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2px 7px;
  letter-spacing: 0.5px;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
}

[dir="rtl"] .npf-reel-counter-badge,
[dir="rtl"] .npf-reel-counter-pill {
  margin-left: 0;
  margin-right: 6px;
}

/* --------------------------------------------------------------------------
   Dedicated Carousel Switcher Bar (Below Phone Bezel)
   -------------------------------------------------------------------------- */
.npf-reels-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 380px;
  padding: 8px 12px;
  background: rgba(13, 18, 48, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
  gap: 8px;
}

.elementor-kit-86 .npf-reels-section .npf-reels-carousel-nav .npf-reels-nav-btn,
.npf-reels-section .npf-reels-carousel-nav .npf-reels-nav-btn,
.npf-reels-nav-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  border-radius: 22px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  height: 36px !important;
  white-space: nowrap !important;
}

.elementor-kit-86 .npf-reels-section .npf-reels-carousel-nav .npf-reels-btn-prev,
.npf-reels-section .npf-reels-carousel-nav .npf-reels-btn-prev,
.npf-reels-btn-prev {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.npf-reels-carousel-nav .npf-reels-btn-prev svg {
  stroke: currentColor !important;
  transition: transform 0.2s ease;
}

.npf-reels-carousel-nav .npf-reels-btn-prev:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: translateX(-2px);
}

[dir="rtl"] .npf-reels-carousel-nav .npf-reels-btn-prev:hover {
  transform: translateX(2px);
}

.npf-reels-carousel-nav .npf-reels-btn-prev:hover svg {
  transform: translateX(-2px);
}

[dir="rtl"] .npf-reels-carousel-nav .npf-reels-btn-prev:hover svg {
  transform: translateX(2px);
}

.elementor-kit-86 .npf-reels-section .npf-reels-carousel-nav .npf-reels-btn-next,
.npf-reels-section .npf-reels-carousel-nav .npf-reels-btn-next,
.npf-reels-btn-next {
  background: linear-gradient(135deg, #B3227A 0%, #ff2e63 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(255, 46, 99, 0.42) !important;
}

.npf-reels-carousel-nav .npf-reels-btn-next svg {
  stroke: #ffffff !important;
  transition: transform 0.2s ease;
}

.npf-reels-carousel-nav .npf-reels-btn-next:hover {
  background: linear-gradient(135deg, #c72989 0%, #ff4b78 100%) !important;
  box-shadow: 0 6px 20px rgba(255, 46, 99, 0.65) !important;
  transform: translateX(2px);
}

[dir="rtl"] .npf-reels-carousel-nav .npf-reels-btn-next:hover {
  transform: translateX(-2px);
}

.npf-reels-carousel-nav .npf-reels-btn-next:hover svg {
  transform: translateX(3px);
}

[dir="rtl"] .npf-reels-carousel-nav .npf-reels-btn-next:hover svg {
  transform: translateX(-3px);
}

.npf-reels-carousel-nav .npf-reels-btn-next:active,
.npf-reels-carousel-nav .npf-reels-btn-prev:active {
  transform: scale(0.96) !important;
}

/* Pagination Dots */
.npf-reels-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  padding: 0 4px;
}

.elementor-kit-86 .npf-reels-section .npf-reels-dot,
.npf-reels-section .npf-reels-dot,
.npf-reels-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.28) !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: none !important;
  outline: none !important;
}

.npf-reels-dot:hover {
  background: rgba(255, 255, 255, 0.6) !important;
  transform: scale(1.2);
}

.elementor-kit-86 .npf-reels-section .npf-reels-dot.active,
.npf-reels-section .npf-reels-dot.active,
.npf-reels-dot.active {
  width: 22px !important;
  background: linear-gradient(90deg, #ff2e63, #B3227A) !important;
  box-shadow: 0 0 10px rgba(255, 46, 99, 0.65) !important;
}

@media (max-width: 480px) {
  .npf-reel-nav-arrow-btn {
    width: 36px !important;
    height: 36px !important;
  }

  .npf-reels-carousel-nav {
    padding: 6px 10px;
    gap: 6px;
  }

  .elementor-kit-86 .npf-reels-section .npf-reels-carousel-nav .npf-reels-nav-btn,
  .npf-reels-section .npf-reels-carousel-nav .npf-reels-nav-btn,
  .npf-reels-nav-btn {
    padding: 7px 12px !important;
    font-size: 12px !important;
    height: 34px !important;
  }

  .npf-reels-dot.active {
    width: 18px !important;
  }
}

/* --------------------------------------------------------------------------
   Playlist & Episodes Column (Right)
   -------------------------------------------------------------------------- */
.npf-reels-playlist-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.npf-playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
}

.npf-playlist-heading {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.npf-playlist-count-pill {
  font-size: 11px;
  font-weight: 700;
  color: #B3227A;
  background: rgba(179, 34, 122, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
}

.npf-playlist-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Playlist Individual Reel Card */
.npf-playlist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(19, 25, 68, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.npf-playlist-item:hover {
  background: rgba(32, 42, 115, 0.65);
  border-color: rgba(179, 34, 122, 0.4);
  transform: translateX(4px);
}

[dir="rtl"] .npf-playlist-item:hover {
  transform: translateX(-4px);
}

.npf-playlist-item.active {
  background: linear-gradient(135deg, rgba(32, 42, 115, 0.9) 0%, rgba(179, 34, 122, 0.3) 100%);
  border-color: #B3227A;
  box-shadow: 0 8px 24px rgba(179, 34, 122, 0.25);
}

/* Mini Thumbnail */
.npf-playlist-thumb {
  position: relative;
  width: 78px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.npf-playlist-thumb img,
.npf-playlist-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.npf-playlist-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.npf-playlist-thumb-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.npf-playlist-item.active .npf-playlist-thumb-icon,
.npf-playlist-item:hover .npf-playlist-thumb-icon {
  background: #B3227A;
  transform: scale(1.1);
}

/* Active Equalizer Animation */
.npf-equalizer {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.npf-playlist-item.active .npf-equalizer {
  display: flex;
}

.npf-eq-bar {
  width: 3px;
  background: #ff2e63;
  border-radius: 2px;
  animation: npfEqualize 0.8s ease-in-out infinite alternate;
}

.npf-eq-bar:nth-child(1) {
  height: 6px;
  animation-delay: 0.1s;
}

.npf-eq-bar:nth-child(2) {
  height: 14px;
  animation-delay: 0.3s;
}

.npf-eq-bar:nth-child(3) {
  height: 9px;
  animation-delay: 0.2s;
}

@keyframes npfEqualize {
  0% {
    height: 4px;
  }

  100% {
    height: 14px;
  }
}

/* Card Content */
.npf-playlist-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.npf-playlist-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.npf-playlist-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #B3227A;
  letter-spacing: 0.5px;
}

.npf-playlist-item.active .npf-playlist-badge {
  color: #ff9ed8;
}

.npf-playlist-views {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.npf-playlist-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.npf-playlist-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.npf-playlist-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.npf-playlist-pill {
  font-size: 11px;
  font-weight: 600;
  color: #6892d7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.npf-playlist-item.active .npf-playlist-pill {
  color: #ffffff;
}

/* Playlist App Banner Card */
.npf-playlist-app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(32, 42, 115, 0.4) 0%, rgba(179, 34, 122, 0.25) 100%);
  border: 1px dashed rgba(179, 34, 122, 0.5);
  border-radius: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.npf-app-card-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.npf-app-card-text p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.npf-app-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #B3227A;
  color: #ffffff !important;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.npf-app-card-btn:hover {
  background: #ff2e63;
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* Toast Message */
.npf-reels-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(11, 14, 39, 0.95);
  border: 1px solid #B3227A;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  z-index: 999999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.npf-reels-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 992px) {
  .npf-reels-section {
    padding: 60px 16px 70px;
  }

  .npf-reels-showcase-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .npf-reels-player-wrap {
    width: 100%;
  }

  .npf-reels-phone-bezel {
    max-width: 340px;
    margin: 0 auto;
  }

  .npf-reels-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .npf-reels-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  /* Make playlist horizontal scroll on smaller screens */
  .npf-playlist-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 540px) {
  .npf-reels-phone-bezel {
    max-width: 310px;
    border-width: 8px;
    border-radius: 36px;
  }

  .npf-phone-island {
    top: 8px;
    width: 80px;
    height: 20px;
  }

  .npf-playlist-list {
    grid-template-columns: 1fr;
  }
}