/* ==========================================================================
   VIDEO PLAYER — Mux player wrapper for responsive embedding.
   ========================================================================== */

.otb-player {
  position: relative;
  background: var(--color-dark);
  width: 100%;
  max-width: 100%;
}

.otb-player mux-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Poster image fallback when player hasn't loaded */
.otb-player__poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-dark);
}

.otb-player__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play button overlay on poster */
.otb-player__poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  transition: background 0.2s ease;
}

.otb-player__poster-play:hover {
  background: var(--color-primary-btn);
  border-color: var(--color-primary-btn);
}

.otb-player__poster-play svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
  margin-left: 4px;
}
