.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.video-modal__container {
  position: relative;
  max-width: 800px;
  max-height: 80vh;
  width: 90%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-bg-dark, #111);
}

.video-modal__player {
  width: 100%;
  max-height: 80vh;
  display: block;
}

.video-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.video-modal__close:hover {
  background: rgba(0, 0, 0, 0.85);
}
