.video-tilt {
  perspective: 700px;
  border-radius: 28px;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.video-tilt.is-enhanced { touch-action: none; }
.video-tilt__surface { display: block; line-height: 0; }
.video-tilt__surface > iframe { display: block !important; margin: 0; width: 100%; vertical-align: top; }
.video-tilt.is-enhanced > .video-tilt__surface {
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(var(--tilt-scale, 1));
  box-shadow: 0 3px 7px rgb(0 55 85 / 12%);
  transition: box-shadow .25s;
}
.video-tilt .video-popup {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}
.video-tilt.is-enhanced > .video-tilt__surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at var(--glare-x, 50%) var(--glare-y, 20%), rgb(255 255 255 / 38%) 0%, rgb(230 245 255 / 9%) 25%, transparent 60%),
    linear-gradient(var(--glare-angle, 125deg), transparent 18%, rgb(210 235 255 / 3%) 35%, rgb(255 255 255 / 17%) 43%, rgb(255 245 225 / 5%) 49%, transparent 58%);
  opacity: var(--glare-opacity, 0);
  mix-blend-mode: screen;
}
.video-tilt.is-enhanced.is-active > .video-tilt__surface { box-shadow: 0 16px 30px rgb(0 55 85 / 22%); }
@media (orientation: portrait) { .video-tilt { border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .video-tilt.is-enhanced > .video-tilt__surface { transform: none; }
  .video-tilt__surface::after { display: none; }
}
