/* 视频弹出层样式 */
#div_adv_778562746647187456{
  cursor: pointer;
}
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease-in-out;
}

.video-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  animation: slideIn 0.3s ease-in-out;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  background: none;
  border: none;
  padding: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: transform 0.2s;
}

.video-modal-close:hover {
  transform: scale(1.2);
}

.video-modal-video {
  width: 100%;
  height: auto;
  display: block;
  outline: none;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .video-modal-content {
    width: 95%;
  }
  
  .video-modal-close {
    top: -35px;
    font-size: 30px;
  }
}
