/* ==========================================
   ATVI Video v2
   ========================================== */
.atvi-video-v2-component {
  position: relative;
  width: 100%;
  aspect-ratio: 1.77777778;
  background: #171717;
  color: #fff;
  overflow: hidden;
  --video-accent: #ff0000;
  /* Hidden Elements */
  /* ======================================
       Cover, Player, Age Gate
       ====================================== */
  /* ======================================
       Video Cover / Trigger
       ====================================== */
  /* Default MP4 Cover */
  /* ======================================
       Play Button
       ====================================== */
  /* ======================================
       Age Gate
       ====================================== */
  /* ======================================
       Age Gate Fields
       ====================================== */
  /* Age Gate Error Message */
  /* ======================================
       Video Player
       ====================================== */
  /* Playback Error */
  /* ======================================
       Mobile
       ====================================== */
  /* ======================================
       Reduced Motion Accessibility
       ====================================== */
}
.atvi-video-v2-component [hidden] {
  display: none !important;
}
.atvi-video-v2-component .atvi-video-v2__cover,
.atvi-video-v2-component .atvi-video-v2__player,
.atvi-video-v2-component .atvi-video-v2__gate {
  position: absolute;
  inset: 0;
}
.atvi-video-v2-component .atvi-video-v2__trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #171717;
  color: #fff;
  cursor: pointer;
  /* Pulse on hover or keyboard focus */
}
.atvi-video-v2-component .atvi-video-v2__trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atvi-video-v2-component .atvi-video-v2__trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
}
.atvi-video-v2-component .atvi-video-v2__trigger:hover .atvi-video-v2__play::after,
.atvi-video-v2-component .atvi-video-v2__trigger:focus-visible .atvi-video-v2__play::after {
  animation: atvi-v2-pulse 1.5s ease-out infinite;
}
.atvi-video-v2-component .atvi-video-v2__fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #292929, #111111);
}
.atvi-video-v2-component .atvi-video-v2__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--video-accent, #ff0000);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  isolation: isolate;
  text-indent: 7px;
  /* Outward-only pulse ring */
}
.atvi-video-v2-component .atvi-video-v2__play::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--video-accent, #ff0000);
  opacity: 0;
  transform: scale(1);
  pointer-events: none;
}
.atvi-video-v2-component .atvi-video-v2__gate {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px;
  overflow: auto;
  background: #161616;
  text-align: center;
  /* Failed Age Verification */
}
.atvi-video-v2-component .atvi-video-v2__gate form {
  width: 100%;
  max-width: 450px;
}
.atvi-video-v2-component .atvi-video-v2__gate h2 {
  margin: 0 0 30px;
  color: #fff;
  font-size: 24px;
}
.atvi-video-v2-component .atvi-video-v2__gate button {
  margin-top: 16px;
  padding: 10px 24px;
  cursor: pointer;
  background: #fff;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
}
.atvi-video-v2-component .atvi-video-v2__gate.is-failed h2,
.atvi-video-v2-component .atvi-video-v2__gate.is-failed input {
  opacity: 0.45;
}
.atvi-video-v2-component .atvi-video-v2__gate.is-failed .atvi-video-v2__error {
  opacity: 1;
}
.atvi-video-v2-component .atvi-video-v2__fields {
  display: flex;
  gap: 12px;
}
.atvi-video-v2-component .atvi-video-v2__fields label {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.atvi-video-v2-component .atvi-video-v2__fields input {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  font-size: 16px;
}
.atvi-video-v2-component .atvi-video-v2__fields input:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.atvi-video-v2-component .atvi-video-v2__error {
  display: block;
  margin: 12px 0 0;
  color: #ff0000;
  line-height: 1.4;
}
.atvi-video-v2-component .atvi-video-v2__error:empty {
  display: none;
}
.atvi-video-v2-component .atvi-video-v2__player iframe,
.atvi-video-v2-component .atvi-video-v2__player video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.atvi-video-v2-component .atvi-video-v2__playback-error {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 20px;
  text-align: center;
}
@media (max-width: 480px) {
  .atvi-video-v2-component .atvi-video-v2__play {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }
  .atvi-video-v2-component .atvi-video-v2__gate {
    padding: 12px;
  }
  .atvi-video-v2-component .atvi-video-v2__gate h2 {
    font-size: 18px;
  }
  .atvi-video-v2-component .atvi-video-v2__fields {
    gap: 8px;
  }
  .atvi-video-v2-component .atvi-video-v2__fields input {
    padding: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .atvi-video-v2-component .atvi-video-v2__trigger:hover .atvi-video-v2__play::after,
  .atvi-video-v2-component .atvi-video-v2__trigger:focus-visible .atvi-video-v2__play::after {
    animation: none;
  }
}
/* ==========================================
   Outward-Only Pulse Animation
   ========================================== */
@keyframes atvi-v2-pulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
