/* 视频弹窗样式 */
.eshie-btn-click {
  cursor: pointer;
}
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.video-modal-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-modal-header {
  position: absolute;
  top: -40px;
  right: 0;
  z-index: 1000;
}

.video-modal-close {
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.video-modal-close:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

.video-modal-content video {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

.video-modal-content {
  line-height: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 响应式处理 */
@media screen and (max-width: 768px) {
  .video-modal-container {
    max-width: 95%;
    max-height: 85%;
  }

  .video-modal-content video {
    max-height: 70vh;
  }
}

/* 竖版视频优化 */
@media screen and (min-aspect-ratio: 1/1) {
  .video-modal-content video {
    max-height: 80vh;
  }
}
