.video-container .vl-fs-toggle {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 100000;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-container .vl-fs-toggle:hover {
  background: rgba(40, 40, 40, 0.85);
}

/* چرخش شبیه‌سازی‌شده به حالت افقی (فقط CSS/JS - بدون API واقعی چرخش گوشی) */
html.vl-rotate-active,
html.vl-rotate-active body {
  overflow: hidden;
}

.video-container.vl-rotate-landscape {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  width: 100vh !important;
  height: 100vw !important;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center center;
  z-index: 99999 !important;
  background: #000;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-container.vl-rotate-landscape video,
.video-container.vl-rotate-landscape .plyr,
.video-container.vl-rotate-landscape .vl-intro-overlay {
  width: 100% !important;
  height: 100% !important;
}

.vl-intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.vl-intro-overlay.vl-show {
  opacity: 1;
  pointer-events: auto;
}

.vl-intro-overlay.vl-hide {
  opacity: 0;
  pointer-events: none;
}

.vl-intro-overlay .vl-intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.vl-intro-overlay .vl-skip-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 41;
  background: rgba(20, 20, 20, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: not-allowed;
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease, background 0.2s ease;
  direction: rtl;
}

.vl-intro-overlay .vl-skip-btn.vl-ready {
  cursor: pointer;
  opacity: 1;
}

.vl-intro-overlay .vl-skip-btn.vl-ready:hover {
  background: rgba(40, 40, 40, 0.9);
}

.vl-intro-overlay .vl-skip-count {
  direction: ltr;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .vl-intro-overlay .vl-skip-btn {
    bottom: 14px;
    left: 14px;
    font-size: 12px;
    padding: 6px 12px;
  }
}
