/* CSS 样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px); /* 毛玻璃效果 */
  z-index: 1000;
  
  /* 淡入动画 */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: transparent;
  border-radius: 12px;
  width: 100%;
  /* 入场动画 */
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
  opacity: 1;
}

.close-btn {
    position: absolute;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #FFF;
    transition: color 0.2s;
    top: -40px;
    right: -40px;
}

.modal-content {
    width: 80%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    position: relative;
}

#videoPlayer {
    width: 100%;
    height: auto;
}