.video-player-wrapper {
  background: var(--bs-dark);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#wrap {
  position: relative;
  width: 100%;
}

#preview {
  position: relative;
  width: 100%;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

#preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#preview:hover img {
  transform: scale(1.05);
}

#playBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

#playBtn:hover {
  background: rgba(13, 110, 253, 1);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.6);
}

#playBtn::after {
  content: '';
  width: 0;
  height: 0;
  margin-left: 6px;
  border-style: solid;
  border-width: 15px 0 15px 26px;
  border-color: transparent transparent transparent #fff;
}

.video-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  background: #000;
  display: block;
}

/* Скрываем контейнеры которые создаёт secure_iframe.php */
#TOP1, #TOP10 {
  display: none;
}
