.trailer-player {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #05070d;
}

.trailer-player a, .trailer-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-player a {
  position: relative;
  text-decoration: none;
}

.trailer-player img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trailer-player span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 18px;
  border-radius: 24px;
  background: #10232f;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.trailer-player a:focus-visible {
  outline: 3px solid #2ee6d6;
  outline-offset: -4px;
}
