/* ==========================================================================
   BOBIWINE MOVIES COMPONENT STYLES
   Exact replicate of s-u.in layout, buttons, pill navbar, cards, and modal
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FLOATING PILL NAVBAR
   -------------------------------------------------------------------------- */
.nv-nav-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  pointer-events: none;
  padding: 0 16px;
}

.nv-nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  background: rgba(21, 23, 28, 0.78);
  border: 1px solid var(--nv-border-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--nv-radius-pill);
  padding: 5px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all var(--nv-duration-normal) var(--nv-ease-smooth);
  gap: 4px;
}

.nv-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  cursor: pointer;
  user-select: none;
}

.nv-brand-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--nv-accent-glow));
  transition: transform 250ms var(--nv-ease-smooth);
}

.nv-nav-brand:hover .nv-brand-logo-img {
  transform: scale(1.1) rotate(4deg);
}

.nv-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--nv-accent);
  color: var(--nv-on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 14px var(--nv-accent-glow);
}

.nv-brand-name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.3px;
  color: var(--nv-text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nv-brand-name span {
  color: var(--nv-accent);
}

.nv-nav-divider {
  width: 1px;
  height: 20px;
  background: var(--nv-border);
  margin: 0 4px;
}

.nv-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--nv-radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--nv-text-secondary);
  transition: all var(--nv-duration-fast) var(--nv-ease-smooth);
  position: relative;
  user-select: none;
}

.nv-nav-link svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2px;
  transition: transform var(--nv-duration-fast) var(--nv-ease-smooth);
}

.nv-nav-link:hover {
  color: var(--nv-text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nv-nav-link.active {
  color: var(--nv-accent);
  background: rgba(var(--nv-accent-rgb), 0.16);
  font-weight: 600;
}

.nv-nav-link.active svg {
  stroke: var(--nv-accent);
  transform: scale(1.08);
}

.nv-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--nv-text-secondary);
  transition: all var(--nv-duration-fast) var(--nv-ease-smooth);
}

.nv-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2px;
}

.nv-nav-btn:hover {
  color: var(--nv-text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.nv-search-shortcut {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--nv-text-muted);
  margin-left: 2px;
}

/* --------------------------------------------------------------------------
   2. HERO SHOWCASE BILLBOARD CAROUSEL
   -------------------------------------------------------------------------- */
.nv-hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 520px;
  max-height: 820px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.nv-hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.02);
  transition: opacity 600ms ease, transform 600ms ease;
  z-index: 1;
}

.nv-hero-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(
    to bottom,
    rgba(12, 13, 15, 0.78) 0%,
    rgba(12, 13, 15, 0.4) 55%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

.nv-hero-gradient-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--nv-bg) 0%,
    rgba(12, 13, 15, 0.85) 20%,
    rgba(12, 13, 15, 0.45) 50%,
    transparent 80%
  );
  z-index: 2;
}

.nv-hero-gradient-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--nv-bg) 0%,
    rgba(12, 13, 15, 0.85) 30%,
    rgba(12, 13, 15, 0.3) 60%,
    transparent 85%
  );
  z-index: 2;
}

.nv-hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 850px;
  padding: 0 4vw 60px 4vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nv-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--nv-accent);
  background: rgba(var(--nv-accent-rgb), 0.15);
  border: 1px solid rgba(var(--nv-accent-rgb), 0.3);
  padding: 4px 12px;
  border-radius: var(--nv-radius-pill);
  width: fit-content;
}

.nv-hero-title {
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.nv-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--nv-text-secondary);
}

.nv-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 193, 7, 0.18);
  color: #ffc107;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.nv-quality-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: 5px;
  color: #FFFFFF;
}

.nv-hero-overview {
  font-size: 15px;
  line-height: 1.6;
  color: var(--nv-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 680px;
}

.nv-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.nv-btn-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--nv-accent);
  color: var(--nv-on-accent);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--nv-radius-pill);
  box-shadow: 0 0 24px var(--nv-accent-glow);
  transition: all var(--nv-duration-fast) var(--nv-ease-smooth);
}

.nv-btn-play:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px var(--nv-accent-glow);
  background: var(--nv-accent-strong);
}

.nv-btn-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nv-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--nv-radius-pill);
  transition: all var(--nv-duration-fast) var(--nv-ease-smooth);
}

.nv-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.nv-btn-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--nv-duration-fast) var(--nv-ease-smooth);
}

.nv-btn-icon-circle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.nv-btn-icon-circle.active {
  background: rgba(var(--nv-accent-rgb), 0.25);
  border-color: var(--nv-accent);
  color: var(--nv-accent);
}

/* Hero Carousel Dots */
.nv-hero-dots {
  position: absolute;
  right: 4vw;
  bottom: 60px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nv-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all var(--nv-duration-fast) var(--nv-ease-smooth);
  cursor: pointer;
}

.nv-hero-dot.active {
  width: 28px;
  border-radius: 6px;
  background: var(--nv-accent);
  box-shadow: 0 0 10px var(--nv-accent-glow);
}

/* --------------------------------------------------------------------------
   3. CATALOG ROWS & HORIZONTAL SCROLL
   -------------------------------------------------------------------------- */
.nv-content-section {
  position: relative;
  padding: 24px 0 32px 0;
  width: 100%;
}

.nv-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw 16px 4vw;
}

.nv-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nv-section-bar {
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: var(--nv-accent);
}

.nv-section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--nv-text-primary);
}

.nv-section-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nv-see-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--nv-radius-pill);
  cursor: pointer;
  transition: all var(--nv-duration-fast) var(--nv-ease-smooth);
  user-select: none;
  text-decoration: none;
}

.nv-see-all-btn:hover {
  background: rgba(0, 220, 130, 0.2);
  border-color: var(--nv-accent, #00DC82);
  color: var(--nv-accent, #00DC82);
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(0, 220, 130, 0.3);
}

.nv-see-all-btn svg {
  transition: transform 0.2s ease;
}

.nv-see-all-btn:hover svg {
  transform: translateX(3px);
}

.nv-row-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--nv-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nv-text-secondary);
  transition: all var(--nv-duration-fast) var(--nv-ease-smooth);
}

.nv-row-nav-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--nv-text-primary);
  transform: scale(1.05);
}

.nv-row-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4vw 16px 4vw;
}

/* --------------------------------------------------------------------------
   4. POSTER CARD
   -------------------------------------------------------------------------- */
.nv-poster-card {
  position: relative;
  flex: 0 0 185px;
  width: 185px;
  scroll-snap-align: start;
  cursor: pointer;
  user-select: none;
  transition: transform 280ms var(--nv-ease-smooth);
}

.nv-poster-card:hover {
  transform: translateY(-6px) scale(1.03);
}

.nv-poster-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--nv-radius-poster);
  overflow: hidden;
  background: var(--nv-card);
  box-shadow: var(--nv-shadow-sm);
  border: 1px solid var(--nv-border);
  transition: border-color 280ms ease, box-shadow 280ms ease;
}

.nv-poster-card:hover .nv-poster-inner {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--nv-shadow-md), 0 0 20px rgba(0, 0, 0, 0.6);
}

.nv-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.nv-poster-card:hover .nv-poster-img {
  transform: scale(1.06);
}

.nv-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 40%, transparent 80%);
  opacity: 0;
  transition: opacity 280ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nv-poster-card:hover .nv-card-overlay {
  opacity: 1;
}

.nv-card-play-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--nv-accent);
  color: var(--nv-on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--nv-accent-glow);
  transform: scale(0.85);
  transition: transform 280ms var(--nv-ease-spring);
}

.nv-poster-card:hover .nv-card-play-icon {
  transform: scale(1);
}

.nv-card-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.nv-card-badge-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #ffc107;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nv-card-badge-type {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: var(--nv-text-primary);
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
}

.nv-card-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nv-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--nv-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.nv-card-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 5px;
  font-size: 12px;
  color: var(--nv-text-muted);
  line-height: 1.35;
}

.nv-sub-vj {
  color: #c084fc;
  font-weight: 700;
}

.nv-sub-dot {
  opacity: 0.6;
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   5. DETAIL MODAL & DRAWER
   -------------------------------------------------------------------------- */
.nv-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
  padding: 24px;
}

.nv-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.nv-modal-window {
  position: relative;
  width: 100%;
  max-width: 1050px;
  max-height: 90vh;
  background: var(--nv-surface);
  border: 1px solid var(--nv-border-light);
  border-radius: var(--nv-radius-card);
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.98);
  transition: transform 300ms var(--nv-ease-smooth);
}

.nv-modal-backdrop.open .nv-modal-window {
  transform: translateY(0) scale(1);
}

.nv-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--nv-duration-fast) ease;
}

.nv-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.nv-detail-hero {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.nv-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nv-detail-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--nv-surface) 0%, rgba(21, 23, 28, 0.6) 50%, transparent 100%);
}

.nv-detail-body {
  position: relative;
  padding: 0 36px 40px 36px;
  margin-top: -120px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nv-detail-header {
  display: flex;
  gap: 30px;
}

.nv-detail-poster {
  flex: 0 0 170px;
  width: 170px;
  aspect-ratio: 2 / 3;
  border-radius: var(--nv-radius-poster);
  overflow: hidden;
  box-shadow: var(--nv-shadow-lg);
  border: 2px solid var(--nv-border-light);
  background: var(--nv-card);
}

.nv-detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nv-detail-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.nv-detail-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
}

.nv-detail-tagline {
  font-size: 15px;
  font-style: italic;
  color: var(--nv-text-muted);
}

.nv-detail-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nv-genre-pill {
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--nv-border);
  color: var(--nv-text-secondary);
  padding: 4px 10px;
  border-radius: var(--nv-radius-pill);
}

.nv-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.nv-detail-overview-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--nv-text-primary);
  margin-bottom: 6px;
}

.nv-detail-overview {
  font-size: 15px;
  line-height: 1.7;
  color: var(--nv-text-secondary);
}

/* Cast members carousel */
.nv-cast-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.nv-cast-card {
  flex: 0 0 90px;
  text-align: center;
}

.nv-cast-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px auto;
  border: 2px solid var(--nv-border);
  background: var(--nv-card);
}

.nv-cast-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--nv-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nv-cast-role {
  font-size: 11px;
  color: var(--nv-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* TV Series Season & Episode Picker */
.nv-series-picker {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.nv-season-select-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nv-season-select {
  background: var(--nv-card);
  border: 1px solid var(--nv-border-light);
  color: var(--nv-text-primary);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

.nv-episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}

.nv-episode-card {
  display: flex;
  gap: 14px;
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: all var(--nv-duration-fast) ease;
}

.nv-episode-card:hover {
  background: var(--nv-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nv-episode-card.active {
  border-color: var(--nv-accent);
  background: rgba(var(--nv-accent-rgb), 0.1);
}

.nv-episode-thumb {
  position: relative;
  flex: 0 0 110px;
  width: 110px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.nv-episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nv-episode-thumb-play {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms ease;
}

.nv-episode-card:hover .nv-episode-thumb-play {
  opacity: 1;
}

.nv-episode-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
}

.nv-episode-num {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--nv-accent);
  font-weight: 700;
}

.nv-episode-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nv-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nv-episode-desc {
  font-size: 11.5px;
  color: var(--nv-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   6. VIDEO PLAYER VIEW (CODESPECTERS EMBED)
   -------------------------------------------------------------------------- */
.nv-player-view {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.nv-player-view.active {
  opacity: 1;
  pointer-events: auto;
}

.nv-player-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  border: none;
  z-index: 100;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nv-player-view.idle .nv-player-topbar {
  opacity: 0;
  visibility: hidden;
}

.nv-player-back-btn {
  position: absolute;
  left: 18px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: var(--nv-radius-pill);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--nv-duration-fast) ease;
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
}

.nv-player-back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.03);
}

.nv-player-title-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  pointer-events: none;
  max-width: 68%;
}

.nv-player-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nv-player-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nv-player-controls-right {
  position: absolute;
  right: 18px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.nv-server-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  border-radius: var(--nv-radius-pill);
  border: 1px solid var(--nv-border);
}

.nv-server-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--nv-radius-pill);
  color: var(--nv-text-secondary);
  transition: all var(--nv-duration-fast) ease;
  user-select: none;
}

.nv-server-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.nv-server-btn.active {
  background: var(--nv-accent);
  color: var(--nv-on-accent);
  font-weight: 700;
  box-shadow: 0 0 12px var(--nv-accent-glow);
}

.nv-player-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--nv-radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--nv-duration-fast) ease;
}

.nv-player-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.nv-player-action-btn:active {
  transform: translateY(0);
}

.nv-player-frame-wrap {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nv-player-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #000000;
}

/* --------------------------------------------------------------------------
   7. SEARCH VIEW & GRID
   -------------------------------------------------------------------------- */
.nv-search-container {
  padding: 100px 4vw 60px 4vw;
  max-width: 1350px;
  margin: 0 auto;
  min-height: 80vh;
}

.nv-search-bar-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto 30px auto;
}

.nv-search-input {
  width: 100%;
  background: var(--nv-surface);
  border: 2px solid var(--nv-border-light);
  border-radius: var(--nv-radius-pill);
  padding: 16px 54px 16px 54px;
  font-size: 17px;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all var(--nv-duration-fast) ease;
}

.nv-search-input:focus {
  border-color: var(--nv-accent);
  box-shadow: 0 0 25px var(--nv-accent-glow);
}

.nv-search-icon-left {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nv-text-muted);
  pointer-events: none;
}

.nv-search-clear-btn {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nv-text-muted);
  cursor: pointer;
  padding: 4px;
}

.nv-search-clear-btn:hover {
  color: #FFFFFF;
}

.nv-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.nv-filter-pill {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--nv-radius-pill);
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  color: var(--nv-text-secondary);
  cursor: pointer;
  transition: all var(--nv-duration-fast) ease;
}

.nv-filter-pill:hover {
  background: var(--nv-surface-hover);
  color: var(--nv-text-primary);
}

.nv-filter-pill.active {
  background: var(--nv-accent);
  color: var(--nv-on-accent);
  border-color: var(--nv-accent);
  box-shadow: 0 0 16px var(--nv-accent-glow);
}

.nv-grid-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 22px;
}

.nv-search-summary-tag {
  grid-column: 1 / -1;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--nv-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 2px 10px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.nv-search-summary-tag span {
  color: #00DC82;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7b. CATEGORY & SEE ALL FULL-GRID VIEW
   -------------------------------------------------------------------------- */
.nv-category-container {
  padding: 100px 4vw 60px 4vw;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 80vh;
}

.nv-category-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nv-category-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--nv-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--nv-duration-fast) ease;
  user-select: none;
}

.nv-category-back-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.03);
}

.nv-category-title-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nv-category-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.nv-category-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--nv-accent, #00DC82);
}

/* --------------------------------------------------------------------------
   8. LIBRARY / WATCHLIST VIEW
   -------------------------------------------------------------------------- */
.nv-library-container {
  padding: 100px 4vw 60px 4vw;
  max-width: 1350px;
  margin: 0 auto;
  min-height: 80vh;
}

.nv-library-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--nv-border);
  padding-bottom: 16px;
}

.nv-empty-state {
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--nv-text-muted);
}

.nv-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nv-text-muted);
}

/* --------------------------------------------------------------------------
   9. SETTINGS & CUSTOMIZATION MODAL
   -------------------------------------------------------------------------- */
.nv-settings-card {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.nv-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nv-color-options {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nv-color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 200ms ease;
  border: 2px solid transparent;
}

.nv-color-btn:hover {
  transform: scale(1.15);
}

.nv-color-btn.active {
  border-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Toggle Switch */
.nv-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: background 200ms ease;
}

.nv-toggle.active {
  background: var(--nv-accent);
}

.nv-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: transform 200ms ease;
}

.nv-toggle.active .nv-toggle-knob {
  transform: translateX(22px);
}

/* ==========================================================================
   9. FIREBASE AUTHENTICATION & ACCOUNT MODAL
   ========================================================================== */
.nv-auth-modal-window {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: var(--nv-surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.2);
}

.nv-auth-header {
  text-align: center;
  margin-bottom: 18px;
}

.nv-auth-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--nv-text-primary);
  letter-spacing: -0.3px;
}

.nv-auth-subtitle {
  font-size: 13px;
  color: var(--nv-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* Tabs: Sign In / Create Account */
.nv-auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}

.nv-auth-tab {
  flex: 1;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nv-text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--nv-duration-fast) ease;
  text-align: center;
}

.nv-auth-tab:hover {
  color: #fff;
}

.nv-auth-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Google Sign In Button */
.nv-btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--nv-text-primary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--nv-duration-fast) ease;
}

.nv-btn-google:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.nv-btn-google:active {
  transform: translateY(0);
}

/* Divider */
.nv-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
  color: var(--nv-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nv-auth-divider::before,
.nv-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nv-auth-divider span {
  padding: 0 10px;
}

/* Alert Box */
.nv-auth-alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.nv-auth-alert.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.nv-auth-alert.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

/* Form Styles */
.nv-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nv-form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.nv-form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nv-text-secondary);
  margin-bottom: 5px;
  letter-spacing: 0.2px;
}

.nv-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nv-input-icon {
  position: absolute;
  left: 12px;
  color: var(--nv-text-muted);
  pointer-events: none;
}

.nv-auth-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 13.5px;
  transition: all var(--nv-duration-fast) ease;
}

.nv-auth-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--nv-accent);
  box-shadow: 0 0 0 3px rgba(var(--nv-accent-rgb), 0.15);
}

.nv-auth-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.nv-input-eye-btn {
  position: absolute;
  right: 10px;
  padding: 4px;
  color: var(--nv-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--nv-duration-fast) ease;
}

.nv-input-eye-btn:hover {
  color: #fff;
}

.nv-btn-auth-submit {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 6px;
  cursor: pointer;
}

.nv-btn-auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.nv-auth-link {
  color: var(--nv-accent);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--nv-duration-fast) ease;
}

.nv-auth-link:hover {
  opacity: 0.8;
}

.nv-auth-footer {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--nv-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Logged-In Profile View */
.nv-profile-header {
  text-align: center;
  margin-bottom: 20px;
}

.nv-profile-avatar-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 12px auto;
}

.nv-profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--nv-accent);
  box-shadow: 0 0 20px var(--nv-accent-glow);
}

.nv-profile-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #00DC82 0%, #7928CA 100%);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--nv-accent);
  box-shadow: 0 0 20px var(--nv-accent-glow);
}

.nv-profile-badge-vip {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f59e0b;
  color: #000;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--nv-surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.nv-profile-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.nv-profile-email {
  font-size: 13px;
  color: var(--nv-text-muted);
}

.nv-profile-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: var(--nv-radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--nv-accent);
  background: rgba(var(--nv-accent-rgb), 0.15);
  border: 1px solid rgba(var(--nv-accent-rgb), 0.35);
}

.nv-profile-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  text-align: left;
}

.nv-profile-feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.nv-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(var(--nv-accent-rgb), 0.15);
  color: var(--nv-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nv-feature-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.nv-feature-desc {
  font-size: 11.5px;
  color: var(--nv-text-muted);
}

.nv-btn-signout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--nv-duration-fast) ease;
}

.nv-btn-signout:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #ef4444;
  color: #fff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   10. TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.nv-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.nv-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(21, 23, 28, 0.92);
  border: 1px solid var(--nv-border-light);
  backdrop-filter: blur(16px);
  padding: 12px 20px;
  border-radius: var(--nv-radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  animation: nvFadeUp 250ms var(--nv-ease-smooth);
}

.nv-toast-icon {
  color: var(--nv-accent);
}


/* ==========================================================================
   LUXURY SEGMENTED CATALOG SWITCHER
   Smooth Apple / s-u.in Frosted Glass Pill with Gliding Indicator
   ========================================================================== */
.nv-catalog-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 3px;
  user-select: none;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.04), 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nv-catalog-pill:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.nv-catalog-slider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(135deg, #00DC82, #00b368);
  box-shadow: 0 2px 10px rgba(0, 220, 130, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.32s ease, box-shadow 0.32s ease;
}

.nv-catalog-pill[data-active="translated"] .nv-catalog-slider {
  transform: translateX(100%);
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  box-shadow: 0 2px 12px rgba(147, 51, 234, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.nv-catalog-tab {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--nv-text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nv-catalog-tab svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nv-catalog-tab:hover {
  color: var(--nv-text-primary);
}

.nv-catalog-tab:hover svg {
  transform: scale(1.1);
}

.nv-catalog-tab.active {
  color: #000;
  font-weight: 700;
}

.nv-catalog-pill[data-active="translated"] .nv-catalog-tab.active {
  color: #fff;
}

/* Mobile Catalog Bar */
.nv-mobile-catalog-bar {
  display: none;
  width: 100%;
  justify-content: center;
  padding: 10px 16px 4px;
  position: relative;
  z-index: 50;
}

@media (max-width: 900px) {
  .nv-nav-pill .nv-catalog-pill {
    display: none;
  }
  .nv-mobile-catalog-bar {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 999;
    justify-content: center;
    margin: 0;
    padding: 0 10px;
    pointer-events: none;
  }
  .nv-mobile-catalog-bar .nv-catalog-pill {
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

/* ==========================================================================
   VJ TRANSLATOR FILTER BAR
   ========================================================================== */
.nv-vj-filter-bar {
  padding: 16px 4vw 8px 4vw;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  position: relative;
}

.nv-vj-filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--nv-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nv-vj-scroll-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  position: relative;
}

.nv-vj-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--nv-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--nv-duration-fast) ease;
  z-index: 2;
}

.nv-vj-nav-btn:hover {
  background: rgba(168, 85, 247, 0.25);
  border-color: #c084fc;
  color: #fff;
  transform: scale(1.08);
}

.nv-vj-nav-btn:active {
  transform: scale(0.94);
}

.nv-vj-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
  flex: 1;
  scroll-behavior: smooth;
}

.nv-vj-chips::-webkit-scrollbar { display: none; }

.nv-vj-chip {
  padding: 6px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  color: var(--nv-text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.nv-vj-chip:hover {
  border-color: rgba(168, 85, 247, 0.4);
  color: #fff;
  background: rgba(147, 51, 234, 0.12);
  transform: translateY(-1px);
}

.nv-vj-chip.active {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  border-color: #a855f7;
  color: #fff;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.4);
}

@media (max-width: 768px) {
  .nv-vj-filter-bar { padding: 12px 16px 8px; gap: 8px; }
}

/* ==========================================================================
   POSTER CARD BADGES & QUICK DOWNLOAD BUTTON
   ========================================================================== */
.nv-card-badge-vj {
  font-size: 9.5px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.95), rgba(126, 34, 206, 0.95));
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.4);
}

.nv-card-dl-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(14, 16, 26, 0.88);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.nv-card-dl-btn:hover {
  background: #9333ea;
  border-color: #a855f7;
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(147, 51, 234, 0.5);
}

/* ==========================================================================
   DETAIL MODAL & PLAYER DOWNLOAD BUTTONS
   ========================================================================== */
.nv-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(126, 34, 206, 0.3));
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  border-radius: 10px;
  color: #d8b4fe;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nv-btn-download:hover {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  border-color: #a855f7;
  color: #fff;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.45);
  transform: translateY(-1px);
}

.nv-btn-download svg {
  flex-shrink: 0;
}

.nv-ep-dl-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--nv-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-ep-dl-btn:hover {
  background: #9333ea;
  border-color: #a855f7;
  color: #fff;
  box-shadow: 0 2px 10px rgba(147, 51, 234, 0.4);
}

/* ==========================================================================
   UNIVERSAL DOWNLOAD MODAL & SERVER CARD STYLES
   ========================================================================== */
.nv-download-server-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-button);
  cursor: pointer;
  transition: all var(--nv-duration-fast) var(--nv-ease-smooth);
}

.nv-download-server-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--nv-accent-rgb), 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.nv-download-server-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(var(--nv-accent-rgb), 0.12);
  color: var(--nv-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nv-download-server-card:hover .nv-download-server-icon {
  background: var(--nv-accent);
  color: var(--nv-on-accent);
}

/* ==========================================================================
   USER PROFILE TABS, WATCHLIST, WATCH HISTORY & 2-DEVICE LIMIT
   ========================================================================== */
.nv-profile-tabs {
  display: flex;
  gap: 5px;
  margin: 16px 0 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nv-profile-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--nv-text-secondary);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nv-profile-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nv-profile-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.nv-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  background: var(--nv-accent);
  color: #000;
  line-height: 1;
}

.nv-profile-panel {
  display: none;
  animation: nvFadeIn 0.2s ease;
  margin-bottom: 16px;
}

.nv-profile-panel.active {
  display: block;
}

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

.nv-panel-list {
  max-height: 290px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 2px;
}

.nv-panel-empty {
  text-align: center;
  color: var(--nv-text-muted);
  font-size: 12px;
  padding: 24px 14px;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

/* Mini Cards for Watchlist & Watch History */
.nv-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  transition: all 0.2s ease;
  text-align: left;
}

.nv-mini-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.nv-mini-thumb {
  width: 44px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #151820;
}

.nv-mini-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nv-mini-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nv-mini-meta {
  font-size: 11px;
  color: var(--nv-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nv-mini-progress-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.nv-mini-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00DC82, #7928CA);
  border-radius: 2px;
}

.nv-mini-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nv-mini-btn-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nv-accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nv-mini-btn-play:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px var(--nv-accent-glow);
}

.nv-mini-btn-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--nv-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.nv-mini-btn-remove:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Device Management & Limit Alert */
.nv-device-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nv-device-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.nv-device-card.is-current {
  border-color: rgba(0, 220, 130, 0.45);
  background: rgba(0, 220, 130, 0.06);
}

.nv-device-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nv-device-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nv-text-secondary);
  flex-shrink: 0;
}

.nv-device-card.is-current .nv-device-icon {
  background: rgba(0, 220, 130, 0.18);
  color: #00DC82;
}

.nv-device-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.nv-device-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nv-device-this-badge {
  font-size: 9.5px;
  font-weight: 800;
  background: #00DC82;
  color: #000;
  padding: 1px 6px;
  border-radius: 4px;
}

.nv-device-time {
  font-size: 11px;
  color: var(--nv-text-muted);
}

.nv-btn-device-remove {
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nv-btn-device-remove:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fff;
  border-color: #ef4444;
}

/* Device Limit Exceeded Alert Box */
.nv-device-limit-box {
  margin: 12px 0 16px;
  padding: 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px;
  text-align: left;
}

.nv-device-limit-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #f87171;
  margin-bottom: 4px;
}

.nv-device-limit-desc {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
  margin-bottom: 10px;
}

.nv-device-limit-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Detail Modal Watchlist Button */
.nv-btn-watchlist {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nv-btn-watchlist:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.nv-btn-watchlist.in-watchlist {
  background: rgba(0, 220, 130, 0.15);
  border-color: rgba(0, 220, 130, 0.5);
  color: #00DC82;
}

.nv-btn-watchlist.in-watchlist:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}



/* ============================================================
   TELEGRAM COMMUNITY WELCOME POPUP
   ============================================================ */
.nv-community-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: nvFadeIn 0.3s ease;
}

@keyframes nvFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes nvPopupSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.nv-community-popup {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 1px solid rgba(0, 220, 130, 0.25);
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 220, 130, 0.08);
  animation: nvPopupSlideUp 0.4s ease 0.1s both;
  position: relative;
  overflow: hidden;
}

.nv-community-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00DC82, #9333ea, #00DC82);
  background-size: 200% 100%;
  animation: nvShimmer 3s linear infinite;
}

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

.nv-community-emoji {
  font-size: 52px;
  margin-bottom: 12px;
  line-height: 1;
}

.nv-community-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.nv-community-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 28px;
}

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

.nv-community-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nv-community-join {
  background: linear-gradient(135deg, #0088cc, #00aaee);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.35);
}
.nv-community-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
  background: linear-gradient(135deg, #009ddd, #00bbff);
}

.nv-community-later {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.nv-community-later:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 480px) {
  .nv-community-popup {
    padding: 32px 24px 24px;
    border-radius: 16px;
  }
  .nv-community-emoji {
    font-size: 44px;
  }
  .nv-community-title {
    font-size: 20px;
  }
  .nv-community-desc {
    font-size: 13px;
    margin-bottom: 22px;
  }
  .nv-community-btn {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 10px;
  }
}


/* ==========================================================================
   TRANSLATED MOVIE NOTIFICATION CENTER & BADGES
   ========================================================================== */

/* Navbar Bell Button & Badge */
.nv-nav-btn-notif {
  position: relative;
}

.nv-notif-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: var(--nv-accent, #00DC82);
  color: #07090C;
  font-size: 10px;
  font-weight: 800;
  height: 16px;
  min-width: 16px;
  padding: 0 4.5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #0F1115;
  box-shadow: 0 0 10px rgba(0, 220, 130, 0.65);
  animation: nvPulseBadge 2.4s infinite ease-in-out;
  pointer-events: none;
  line-height: 1;
}

@keyframes nvPulseBadge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(0, 220, 130, 0.6);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 16px rgba(0, 220, 130, 0.95);
  }
}

/* Notifications Modal Window */
.nv-notif-modal-window {
  max-width: 540px !important;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 220, 130, 0.08);
}

/* Modal Header */
.nv-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px 24px;
  background: linear-gradient(180deg, rgba(25, 28, 36, 0.95) 0%, rgba(17, 19, 24, 0.8) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
}

.nv-notif-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nv-notif-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 220, 130, 0.2) 0%, rgba(147, 51, 234, 0.25) 100%);
  border: 1px solid rgba(0, 220, 130, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nv-accent, #00DC82);
  box-shadow: 0 4px 15px rgba(0, 220, 130, 0.2);
}

.nv-notif-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.nv-notif-subtitle {
  font-size: 12px;
  color: var(--nv-text-muted, #7E8299);
  margin: 3px 0 0 0;
}

.nv-notif-header .nv-modal-close-btn {
  position: static;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.nv-notif-header .nv-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  transform: scale(1.05);
}

/* Controls Toolbar */
.nv-notif-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(14, 16, 20, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nv-notif-count-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--nv-accent, #00DC82);
  background: rgba(0, 220, 130, 0.1);
  border: 1px solid rgba(0, 220, 130, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.nv-notif-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nv-notif-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-notif-action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.nv-notif-action-btn.active {
  background: rgba(0, 220, 130, 0.15);
  border-color: rgba(0, 220, 130, 0.35);
  color: var(--nv-accent, #00DC82);
}

/* Notification Items List */
.nv-notif-list {
  padding: 14px 20px 24px 20px;
  overflow-y: auto;
  max-height: calc(85vh - 130px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nv-notif-list::-webkit-scrollbar {
  width: 6px;
}

.nv-notif-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.nv-notif-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

/* Individual Notification Card */
.nv-notif-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.nv-notif-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateX(2px);
}

.nv-notif-card.unread {
  background: linear-gradient(90deg, rgba(0, 220, 130, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(0, 220, 130, 0.25);
  box-shadow: inset 3px 0 0 var(--nv-accent, #00DC82);
}

.nv-notif-card.unread:hover {
  background: linear-gradient(90deg, rgba(0, 220, 130, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: rgba(0, 220, 130, 0.45);
}

/* Thumbnail Wrap */
.nv-notif-thumb-wrap {
  position: relative;
  width: 52px;
  height: 74px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #1b1e26;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.nv-notif-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.nv-notif-card:hover .nv-notif-thumb {
  transform: scale(1.06);
}

.nv-notif-unread-dot {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 9px;
  height: 9px;
  background: var(--nv-accent, #00DC82);
  border-radius: 50%;
  border: 1.5px solid #0F1115;
  box-shadow: 0 0 8px var(--nv-accent, #00DC82);
}

/* Card Info */
.nv-notif-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nv-notif-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nv-notif-vj-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #E9D5FF;
  background: rgba(147, 51, 234, 0.28);
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 1.5px 7px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.nv-notif-type-tag {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.07);
  padding: 1.5px 6px;
  border-radius: 5px;
}

.nv-notif-year-tag {
  font-size: 10px;
  color: var(--nv-text-muted, #7E8299);
}

.nv-notif-new-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #07090C;
  background: var(--nv-accent, #00DC82);
  padding: 1.5px 6px;
  border-radius: 5px;
  letter-spacing: 0.3px;
}

.nv-notif-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.nv-notif-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--nv-text-muted, #7E8299);
}

.nv-notif-rating {
  color: #F59E0B;
  font-weight: 700;
}

.nv-notif-dubbed {
  color: rgba(0, 220, 130, 0.85);
  font-weight: 600;
}

/* Card Actions */
.nv-notif-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nv-notif-btn-play {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  background: rgba(0, 220, 130, 0.15);
  border: 1px solid rgba(0, 220, 130, 0.35);
  color: var(--nv-accent, #00DC82);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-notif-btn-play:hover {
  background: var(--nv-accent, #00DC82);
  color: #07090C;
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(0, 220, 130, 0.4);
}

.nv-notif-btn-dl {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-notif-btn-dl:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.06);
}

/* Empty State */
.nv-notif-empty {
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nv-notif-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nv-text-muted, #7E8299);
}

.nv-notif-empty h3 {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.nv-notif-empty p {
  font-size: 13px;
  color: var(--nv-text-muted, #7E8299);
  max-width: 320px;
  line-height: 1.5;
  margin: 0;
}

/* Mobile Responsiveness for Notification Modal */
@media (max-width: 640px) {
  .nv-notif-modal-window {
    max-width: calc(100vw - 20px) !important;
    max-height: 88vh;
    border-radius: 18px;
  }
  .nv-notif-header {
    padding: 16px 18px 14px 18px;
  }
  .nv-notif-title {
    font-size: 16px;
  }
  .nv-notif-toolbar {
    padding: 10px 18px;
  }
  .nv-notif-list {
    padding: 12px 14px 20px 14px;
    gap: 8px;
  }
  .nv-notif-card {
    padding: 10px 12px;
    gap: 10px;
  }
  .nv-notif-thumb-wrap {
    width: 44px;
    height: 62px;
  }
  .nv-notif-card-title {
    font-size: 13.5px;
  }
  .nv-notif-btn-play span {
    display: none;
  }
  .nv-notif-btn-play {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
    border-radius: 8px;
  }
}


/* ==========================================================================
   NETWORK CONNECTIVITY STATUS BAR (OFFLINE & ONLINE SUPPORT)
   ========================================================================== */
.nv-network-bar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  z-index: 10005;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  max-width: 90vw;
}

.nv-network-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nv-network-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-size: 13px;
  line-height: 1.3;
}

/* Offline Styling */
.nv-network-bar.offline .nv-network-content {
  background: rgba(36, 15, 18, 0.94);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
}

/* Online Styling */
.nv-network-bar.online .nv-network-content {
  background: rgba(10, 32, 22, 0.94);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #A7F3D0;
}

/* Pulsing Status Dot */
.nv-network-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nv-network-dot.offline {
  background: #EF4444;
  box-shadow: 0 0 10px #EF4444;
  animation: nvPulseOffline 1.6s infinite;
}

.nv-network-dot.online {
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: nvPulseOnline 1.6s infinite;
}

@keyframes nvPulseOffline {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes nvPulseOnline {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}

.nv-network-text-wrap {
  display: flex;
  flex-direction: column;
}

.nv-network-title {
  font-weight: 700;
  color: #FFFFFF;
}

.nv-network-sub {
  font-size: 11px;
  opacity: 0.85;
}

.nv-network-retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 4px;
}

.nv-network-retry-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

.nv-network-retry-btn.loading svg {
  animation: nvSpin 1s linear infinite;
}

@keyframes nvSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .nv-network-bar {
    top: 10px;
    width: calc(100vw - 24px);
  }
  .nv-network-content {
    padding: 8px 14px;
    gap: 9px;
  }
  .nv-network-title {
    font-size: 12px;
  }
  .nv-network-sub {
    font-size: 10px;
  }
}


/* ==========================================================================
   MODERN CINEMA VIDEO PLAYER & CUSTOM CONTROLS
   ========================================================================== */
.nv-modern-player {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Artplayer Modern Cinema Container */
.nv-artplayer-container,
#artplayerContainer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 10;
}

.nv-modern-player .art-video-player,
#artplayerContainer .art-video-player {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  inset: 0 !important;
  font-family: inherit !important;
}

.nv-modern-player .art-mask {
  background: transparent !important;
}

/* ==========================================================================
   Artplayer Bottom Navigation, Seek Bar & Controls Elevation
   Elevates bottom controls bar and timeline comfortably above screen bezel
   ========================================================================== */
.art-video-player {
  --art-bottom-height: 140px !important;
  --art-bottom-offset: 40px !important;
}

.art-video-player .art-bottom {
  position: absolute !important;
  inset: 0 !important;
  z-index: 60 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  pointer-events: none !important;
  padding: 0 32px 28px 32px !important;
  background-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.92) 100%) !important;
  background-size: 100% 160px !important;
  background-repeat: repeat-x !important;
  background-position: center bottom !important;
  box-sizing: border-box !important;
}

/* Elevated Seek Bar / Scrubber */
.art-video-player .art-bottom .art-progress {
  position: relative !important;
  pointer-events: auto !important;
  width: 100% !important;
  margin-bottom: 12px !important;
  padding: 8px 0 !important;
  cursor: pointer !important;
}

.art-video-player .art-bottom .art-progress .art-control-progress {
  height: 5px !important;
  border-radius: 3px !important;
  transition: height 0.15s ease !important;
}

.art-video-player .art-bottom .art-progress:hover .art-control-progress,
.art-video-player .art-bottom .art-progress .art-control-progress:hover {
  height: 8px !important;
}

.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner {
  border-radius: 3px !important;
  overflow: hidden !important;
}

.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-indicator {
  width: 14px !important;
  height: 14px !important;
  top: -4.5px !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 10px rgba(0, 220, 130, 0.9) !important;
  border: 2px solid var(--nv-accent, #00DC82) !important;
}

/* Controls Bar Row */
.art-video-player .art-bottom .art-controls {
  position: relative !important;
  pointer-events: auto !important;
  width: 100% !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.art-video-player .art-bottom .art-controls .art-controls-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
}

.art-video-player .art-bottom .art-controls .art-controls-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.art-video-player .art-bottom .art-controls .art-control {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  min-width: 38px !important;
  padding: 0 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.art-video-player .art-bottom .art-controls .art-control:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--nv-accent, #00DC82) !important;
}

.art-video-player .art-bottom .art-controls .art-control-fullscreen {
  flex-shrink: 0 !important;
  display: flex !important;
}


/* Custom Luxury Cinema Volume Control in Artplayer */
.art-video-player .art-control-volume {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  transition: all 0.2s ease !important;
}

.art-video-player .art-control-volume .art-volume-panel {
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.art-video-player .art-control-volume .art-volume-panel .art-volume-slider-handle {
  background: #FFFFFF !important;
  border: 2px solid var(--nv-accent, #00DC82) !important;
  box-shadow: 0 0 10px rgba(0, 220, 130, 0.9) !important;
}

.art-video-player .art-control-volume .art-volume-panel .art-volume-slider-handle:before {
  background: var(--nv-accent, #00DC82) !important;
}

.art-video-player .art-control-volume:hover .art-volume-panel {
  width: 70px !important;
  margin-right: 8px !important;
}

.nv-art-volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 4px;
}

.nv-art-vol-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  line-height: 1;
}

.nv-art-vol-btn:hover {
  color: var(--nv-accent, #00DC82);
  transform: scale(1.1);
}

.nv-art-vol-slider-wrap {
  display: flex;
  align-items: center;
  width: 70px;
}

.nv-art-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  background-image: linear-gradient(var(--nv-accent, #00DC82), var(--nv-accent, #00DC82));
  background-size: var(--vol-pct, 100%) 100%;
  background-repeat: no-repeat;
  outline: none;
  cursor: pointer;
  transition: height 0.15s ease;
}

.nv-art-vol-slider:hover {
  height: 6px;
}

.nv-art-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.nv-art-vol-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  background: var(--nv-accent, #00DC82);
}

.nv-art-vol-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.nv-art-vol-text {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  min-width: 30px;
  text-align: left;
  user-select: none;
  font-variant-numeric: tabular-nums;
}

/* Custom 10s Rewind and Forward buttons in Artplayer */
.nv-art-step-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  padding: 0 4px;
  color: #FFFFFF;
  background: transparent;
  border: none;
  outline: none;
  transition: transform 0.18s ease, color 0.18s ease;
}

.nv-art-step-btn:hover {
  color: var(--nv-accent, #00DC82);
  transform: scale(1.12);
}

.nv-art-step-tag {
  position: absolute;
  font-size: 8px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 1px;
}

.nv-art-step-btn:hover .nv-art-step-tag {
  color: var(--nv-accent, #00DC82);
}

.nv-modern-player .nv-player-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* Center Play/Pause Overlay */
.nv-player-center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(15, 17, 21, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nv-player-center-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--nv-accent, #00DC82);
  color: #000000;
  border-color: var(--nv-accent, #00DC82);
  box-shadow: 0 0 30px rgba(0, 220, 130, 0.6);
}

.nv-player-center-play.playing {
  opacity: 0;
  pointer-events: none;
}

.nv-modern-player:not(.idle) .nv-player-center-play {
  opacity: 1;
  pointer-events: auto;
}

.nv-modern-player.idle .nv-player-center-play {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Buffering Spinner */
.nv-player-buffering {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 22;
  pointer-events: none;
}

.nv-spinner-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--nv-accent, #00DC82);
  animation: nvPlayerSpin 0.8s linear infinite;
}

@keyframes nvPlayerSpin {
  to { transform: rotate(360deg); }
}

/* Quick Seek Flash Feedback (-10s / +10s) */
.nv-player-seek-flash {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 25;
}

.nv-player-seek-flash.left {
  left: 15%;
}

.nv-player-seek-flash.right {
  right: 15%;
}

.nv-player-seek-flash.show {
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

/* Modern Controls Overlay Bar */
.nv-modern-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 28px 26px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 10, 0.6) 35%, rgba(5, 7, 10, 0.96) 100%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nv-modern-player.idle .nv-modern-controls {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.nv-modern-player.idle {
  cursor: none;
}

/* Timeline Scrubber */
.nv-player-timeline-wrap {
  position: relative;
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nv-player-timeline {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: height 0.15s ease;
}

.nv-player-timeline-wrap:hover .nv-player-timeline {
  height: 8px;
}

.nv-timeline-buffered {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  width: 0%;
  pointer-events: none;
}

.nv-timeline-played {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #00DC82 0%, #34D399 100%);
  border-radius: 4px;
  width: 0%;
  pointer-events: none;
}

.nv-timeline-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%) scale(0);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(0, 220, 130, 0.9);
  border: 2px solid var(--nv-accent, #00DC82);
  pointer-events: none;
  transition: transform 0.15s ease;
}

.nv-player-timeline-wrap:hover .nv-timeline-handle,
.nv-player-timeline-wrap.dragging .nv-timeline-handle {
  transform: translate(-50%, -50%) scale(1);
}

.nv-timeline-tooltip {
  position: absolute;
  bottom: 26px;
  transform: translateX(-50%);
  background: rgba(15, 17, 21, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.nv-player-timeline-wrap:hover .nv-timeline-tooltip {
  opacity: 1;
}

/* Controls Bottom Row */
.nv-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nv-controls-left,
.nv-controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nv-ctrl-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-ctrl-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.08);
}

/* Volume Wrap & Slider */
.nv-volume-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nv-volume-slider-wrap {
  width: 0;
  overflow: hidden;
  transition: width 0.25s ease;
  display: flex;
  align-items: center;
}

.nv-volume-wrap:hover .nv-volume-slider-wrap {
  width: 72px;
}

.nv-volume-slider {
  width: 68px;
  height: 4px;
  accent-color: var(--nv-accent, #00DC82);
  cursor: pointer;
}

/* Time Display */
.nv-time-display {
  font-size: 12.5px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

.nv-time-sep {
  opacity: 0.5;
}

/* Speed Selector Menu */
.nv-speed-wrap {
  position: relative;
}

.nv-speed-btn {
  font-size: 12px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  width: 44px;
  border-radius: 8px;
}

.nv-speed-menu {
  position: absolute;
  bottom: 42px;
  right: 0;
  background: rgba(15, 17, 21, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 120px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 50;
}

.nv-speed-menu button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.nv-speed-menu button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.nv-speed-menu button.active {
  background: rgba(0, 220, 130, 0.2);
  color: var(--nv-accent, #00DC82);
  font-weight: 800;
}

/* Modern Error Recovery Card */
.nv-player-error-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(17, 19, 24, 0.94);
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 34px 28px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(245, 158, 11, 0.1);
  z-index: 40;
}

.nv-err-icon {
  margin-bottom: 12px;
}

.nv-err-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.nv-err-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px 0;
}

.nv-err-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nv-err-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.nv-err-retry {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.nv-err-retry:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.nv-err-download {
  background: linear-gradient(135deg, #00DC82 0%, #059669 100%);
  color: #000000;
  box-shadow: 0 4px 15px rgba(0, 220, 130, 0.4);
}

.nv-err-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 220, 130, 0.6);
}

.nv-err-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-err-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .nv-modern-controls {
    padding: 24px 14px calc(20px + env(safe-area-inset-bottom, 0px)) 14px;
    gap: 10px;
  }
  .nv-player-center-play {
    width: 58px;
    height: 58px;
  }
  .nv-ctrl-btn {
    width: 32px;
    height: 32px;
  }
  .nv-time-display {
    font-size: 11px;
    margin-left: 2px;
  }
  .nv-volume-wrap {
    display: none; /* Mobile has physical volume buttons */
  }
}

/* ==========================================================================
   Responsive Artplayer Elevation & Mobile Compact Layout
   ========================================================================== */
@media (max-width: 768px) {
  .art-video-player {
    --art-bottom-height: 125px !important;
  }

  .art-video-player .art-bottom {
    padding: 0 16px calc(22px + env(safe-area-inset-bottom, 0px)) 16px !important;
    background-size: 100% 140px !important;
  }

  .art-video-player .art-bottom .art-progress {
    margin-bottom: 8px !important;
    padding: 8px 0 !important;
  }

  .art-video-player .art-bottom .art-controls {
    height: 38px !important;
  }

  /* 1. Mobile Volume: Hide percentage text so it does not push fullscreen button off screen */
  .nv-art-vol-text {
    display: none !important;
  }

  .nv-art-volume-wrap {
    gap: 3px !important;
    padding: 0 2px !important;
  }

  .nv-art-vol-slider-wrap {
    width: 44px !important;
  }

  .art-video-player .art-bottom .art-controls .art-controls-left {
    gap: 5px !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }

  .art-video-player .art-bottom .art-controls .art-controls-right {
    gap: 5px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }

  .art-video-player .art-bottom .art-controls .art-control-fullscreen {
    flex-shrink: 0 !important;
    display: flex !important;
  }
}

@media (max-width: 560px) {
  .art-video-player .art-bottom {
    padding: 0 12px calc(20px + env(safe-area-inset-bottom, 0px)) 12px !important;
  }

  /* Hide auxiliary buttons (screenshot, pip) that crowd out mobile portrait screens */
  .art-video-player .art-bottom .art-controls .art-control-screenshot,
  .art-video-player .art-bottom .art-controls .art-control-pip {
    display: none !important;
  }

  .art-video-player .art-bottom .art-controls .art-control {
    height: 34px !important;
    min-width: 34px !important;
  }

  .nv-art-step-btn {
    padding: 0 2px !important;
  }

  .nv-art-step-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  .nv-art-step-tag {
    font-size: 7.5px !important;
  }

  .art-video-player .art-bottom .art-controls .art-control-time {
    font-size: 11px !important;
    padding: 0 3px !important;
  }

  .nv-art-vol-slider-wrap {
    width: 38px !important;
  }
}

@media (max-width: 380px) {
  .art-video-player .art-bottom {
    padding: 0 8px calc(18px + env(safe-area-inset-bottom, 0px)) 8px !important;
  }

  .art-video-player .art-bottom .art-controls .art-control {
    height: 30px !important;
    min-width: 30px !important;
  }

  .nv-art-vol-slider-wrap {
    width: 32px !important;
  }

  .art-video-player .art-bottom .art-controls .art-control-time {
    font-size: 10px !important;
    padding: 0 2px !important;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .art-video-player .art-bottom {
    padding: 0 calc(22px + env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) calc(22px + env(safe-area-inset-left, 0px)) !important;
    background-size: 100% 110px !important;
  }

  .art-video-player .art-bottom .art-progress {
    margin-bottom: 6px !important;
  }

  .art-video-player .art-bottom .art-controls {
    height: 34px !important;
  }

  .art-video-player .art-bottom .art-controls .art-control-screenshot,
  .art-video-player .art-bottom .art-controls .art-control-pip {
    display: flex !important;
  }
}

.nv-player-view.nv-fullscreen-landscape .art-video-player .art-bottom {
  padding: 0 24px 22px 24px !important;
}

.nv-player-view.nv-fullscreen-landscape .art-video-player .art-bottom .art-controls .art-control-screenshot,
.nv-player-view.nv-fullscreen-landscape .art-video-player .art-bottom .art-controls .art-control-pip {
  display: flex !important;
}

/* ==========================================================================
   SHARE BUTTONS & RICH SHARE MODAL STYLES
   ========================================================================== */

/* Card Overlay Share Button */
.nv-card-share-btn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(14, 16, 26, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  z-index: 3;
}

.nv-card-share-btn:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.55);
}

.nv-card-share-btn:active {
  transform: scale(0.95);
}

/* Navbar Share Button */
.nv-nav-btn-share {
  color: var(--nv-text-secondary);
  transition: all 0.2s ease;
}

.nv-nav-btn-share:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-1px);
}

/* Detail Modal & Hero Share Button */
#btnDetailShare,
#btnHeroShare {
  border-color: rgba(56, 189, 248, 0.3);
}

#btnDetailShare:hover,
#btnHeroShare:hover {
  border-color: #38bdf8;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

/* Share Modal Layout */
.nv-share-modal-window {
  max-width: 520px;
  padding: 26px 24px;
  border-radius: 20px;
  background: rgba(18, 20, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 220, 130, 0.1);
  animation: nvModalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nvModalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.nv-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.nv-share-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nv-share-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.nv-share-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.nv-share-subtitle {
  font-size: 12.5px;
  color: var(--nv-text-muted);
  margin: 2px 0 0 0;
}

/* Live Link Preview Card */
.nv-share-preview-card {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 18px;
  align-items: center;
  overflow: hidden;
}

.nv-share-preview-thumb-wrap {
  position: relative;
  width: 78px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 9px;
  overflow: hidden;
  background: #111317;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nv-share-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nv-share-badge-type {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #00DC82;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid rgba(0, 220, 130, 0.4);
  letter-spacing: 0.4px;
}

.nv-share-preview-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nv-share-preview-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nv-share-preview-desc {
  font-size: 12px;
  color: var(--nv-text-secondary);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nv-share-preview-link {
  font-size: 11px;
  color: #38bdf8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
  font-family: monospace;
}

/* Copy Link Bar */
.nv-share-link-group {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.nv-share-link-input {
  flex: 1;
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px 14px;
  color: #e2e8f0;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.nv-share-link-input:focus {
  border-color: #38bdf8;
}

.nv-btn-copy-link {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  cursor: pointer;
  background: linear-gradient(135deg, #00DC82, #059669);
  color: #000000;
  border: none;
  transition: all 0.2s ease;
}

.nv-btn-copy-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 220, 130, 0.4);
}

.nv-btn-copy-link.copied {
  background: #10b981 !important;
  color: #ffffff !important;
}

/* Social Share Grid */
.nv-share-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.nv-social-share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nv-social-share-btn svg {
  transition: transform 0.2s ease;
}

.nv-social-share-btn:hover {
  transform: translateY(-3px);
}

.nv-social-share-btn:hover svg {
  transform: scale(1.12);
}

.nv-share-wa:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: #25d366;
  color: #25d366;
}

.nv-share-tg:hover {
  background: rgba(0, 136, 204, 0.16);
  border-color: #0088cc;
  color: #38bdf8;
}

.nv-share-x:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.nv-share-fb:hover {
  background: rgba(24, 119, 242, 0.16);
  border-color: #1877f2;
  color: #60a5fa;
}

.nv-btn-native-share {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
  font-size: 13.5px;
}

/* ==========================================================================
   UNIVERSAL MODERN VIDEO PLAYER (PLYR LUXURY THEME)
   High compatibility across iOS, Safari, iPadOS, Android, Desktop
   ========================================================================== */
.nv-plyr-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.nv-plyr-wrapper .plyr,
.nv-plyr-wrapper .plyr--video {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  border-radius: 0 !important;
  background: #000000 !important;
  font-family: inherit !important;
}

.nv-plyr-wrapper .plyr__video-wrapper {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000000 !important;
}

.nv-plyr-wrapper video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000000 !important;
}

/* Custom Emerald Luxury Theme Variables for Plyr */
:root {
  --plyr-color-main: #00DC82;
  --plyr-video-control-color: #f1f5f9;
  --plyr-video-control-color-hover: #00DC82;
  --plyr-video-control-background-hover: rgba(0, 220, 130, 0.15);
  --plyr-video-controls-background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.95) 100%);
  --plyr-range-fill-background: #00DC82;
  --plyr-range-thumb-background: #ffffff;
  --plyr-range-thumb-shadow: 0 0 12px rgba(0, 220, 130, 0.8);
  --plyr-menu-background: rgba(10, 14, 22, 0.96);
  --plyr-menu-color: #f8fafc;
  --plyr-menu-border-color: rgba(255, 255, 255, 0.1);
  --plyr-tooltip-background: rgba(6, 10, 16, 0.95);
  --plyr-tooltip-color: #ffffff;
  --plyr-control-radius: 8px;
  --plyr-control-spacing: 12px;
}

/* Bottom Controls Bar Elevation & Padding - Guaranteed Visibility */
.nv-plyr-wrapper .plyr__controls {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 120 !important;
  display: flex !important;
  align-items: center !important;
  padding: 16px 28px calc(24px + env(safe-area-inset-bottom, 0px)) 28px !important;
  gap: 10px !important;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.65) 30%, rgba(0, 0, 0, 0.96) 100%) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease !important;
}

/* Control Buttons - Ensure size, touch targets and visible fill */
.nv-plyr-wrapper .plyr__control {
  min-width: 40px !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
  color: #f1f5f9 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  background: transparent !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}

.nv-plyr-wrapper .plyr__control:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: var(--nv-accent, #00DC82) !important;
  transform: scale(1.08) !important;
}

.nv-plyr-wrapper .plyr__control svg {
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
  display: block !important;
  pointer-events: none !important;
}

/* Ensure controls fade only when player is actively playing AND idle */
.nv-player-view.idle .nv-plyr-wrapper .plyr__controls {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(14px) !important;
}

/* When hovered, touched, or video is paused, always show controls */
.nv-player-view:not(.idle) .nv-plyr-wrapper .plyr__controls,
.nv-plyr-wrapper:hover .plyr__controls,
.nv-plyr-wrapper.show-controls .plyr__controls,
.plyr--paused .plyr__controls {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* Modern Play/Pause Large Center Button */
.nv-plyr-wrapper .plyr__control--overlaid {
  background: rgba(0, 220, 130, 0.92) !important;
  color: #050a0e !important;
  padding: 20px !important;
  box-shadow: 0 8px 30px rgba(0, 220, 130, 0.4) !important;
  border-radius: 50% !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s !important;
}

.nv-plyr-wrapper .plyr__control--overlaid:hover {
  background: #00DC82 !important;
  transform: scale(1.12) !important;
  box-shadow: 0 12px 36px rgba(0, 220, 130, 0.65) !important;
}

.nv-plyr-wrapper .plyr__control--overlaid svg {
  width: 28px !important;
  height: 28px !important;
  fill: #050a0e !important;
}

/* Modern Progress Bar */
.nv-plyr-wrapper .plyr__progress__container {
  flex: 1;
  min-width: 0;
}

.nv-plyr-wrapper .plyr__progress input[type="range"] {
  height: 6px;
  border-radius: 4px;
  cursor: pointer;
}

/* Time display formatting */
.nv-plyr-wrapper .plyr__time {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #cbd5e1;
}

/* Settings Menu Dropdown */
.nv-plyr-wrapper .plyr__menu__container {
  background: rgba(10, 15, 24, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8) !important;
}

.nv-plyr-wrapper .plyr__menu__container [role="menuitem"]:hover,
.nv-plyr-wrapper .plyr__menu__container [role="menuitemradio"][aria-checked="true"] {
  background: rgba(0, 220, 130, 0.15) !important;
  color: var(--nv-accent, #00DC82) !important;
}

/* Tap to Unmute Overlay Button (Essential for iOS Safari & Mobile) */
.nv-unmute-overlay-btn {
  position: absolute;
  top: 80px;
  left: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: rgba(10, 15, 25, 0.9);
  border: 1.5px solid var(--nv-accent, #00DC82);
  border-radius: 999px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 220, 130, 0.35);
  cursor: pointer;
  animation: nvPulseBounce 2s infinite ease-in-out;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nv-unmute-overlay-btn:hover {
  background: var(--nv-accent, #00DC82);
  color: #06090e;
  transform: scale(1.04);
  box-shadow: 0 10px 40px rgba(0, 220, 130, 0.6);
}

.nv-unmute-icon-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nv-accent, #00DC82);
}

.nv-unmute-overlay-btn:hover .nv-unmute-icon-pulse {
  color: #06090e;
}

@keyframes nvPulseBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Mobile responsive optimizations for Plyr */
@media (max-width: 768px) {
  .nv-unmute-overlay-btn {
    top: 64px;
    left: 16px;
    padding: 9px 15px;
    font-size: 12px;
  }
  .nv-plyr-wrapper .plyr__controls {
    padding: 12px 14px calc(16px + env(safe-area-inset-bottom, 0px)) 14px !important;
    gap: 6px !important;
  }
  .nv-plyr-wrapper .plyr__control--overlaid {
    padding: 16px !important;
  }
  .nv-plyr-wrapper .plyr__control--overlaid svg {
    width: 22px !important;
    height: 22px !important;
  }
  .nv-plyr-wrapper .plyr__volume {
    max-width: 32px;
  }
  .nv-plyr-wrapper .plyr__volume input[type="range"] {
    display: none !important;
  }
}

/* ==========================================================================
   REAL-TIME DEVICE STATUS & OVERVIEW STYLING
   ========================================================================== */
.nv-device-summary-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--nv-radius-md, 12px);
  background: rgba(0, 220, 130, 0.08);
  border: 1px solid rgba(0, 220, 130, 0.25);
  margin-bottom: 14px;
}

.nv-device-summary-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nv-device-summary-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

.nv-device-summary-sub {
  font-size: 11.5px;
  color: var(--nv-text-muted, #94a3b8);
}

.nv-device-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00DC82;
  box-shadow: 0 0 10px #00DC82;
  animation: nvPulseGlow 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes nvPulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 8px rgba(0, 220, 130, 0.8);
  }
  50% {
    transform: scale(1.25);
    opacity: 0.7;
    box-shadow: 0 0 16px rgba(0, 220, 130, 1);
  }
}

.nv-device-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.nv-device-status-badge.active-this {
  background: rgba(0, 220, 130, 0.18);
  color: #00DC82;
  border: 1px solid rgba(0, 220, 130, 0.4);
}

.nv-device-status-badge.active-other {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.nv-device-status-badge.idle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--nv-text-muted, #94a3b8);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nv-device-card.is-current {
  border-color: rgba(0, 220, 130, 0.45) !important;
  background: rgba(0, 220, 130, 0.04) !important;
}

