/* Botao Play independente dos estilos antigos da landing. */
.mz-video--real .mz-video__frame { position: relative !important; }
.mz-video--real .mz-play-definitivo {
  position: absolute !important;
  left: 50% !important; top: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9999 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: clamp(78px, 9vw, 116px) !important;
  height: clamp(78px, 9vw, 116px) !important;
  padding: 0 !important; margin: 0 !important;
  border: 2px solid rgba(206,255,248,.95) !important;
  border-radius: 50% !important;
  background: #00bca9 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 9px rgba(0,224,199,.15), 0 0 28px rgba(0,245,219,.8), 0 0 65px rgba(0,224,199,.4) !important;
  opacity: 1 !important; visibility: visible !important;
  cursor: pointer !important;
  animation: mz-play-pulse 3.8s ease-in-out infinite !important;
  -webkit-tap-highlight-color: transparent;
}
.mz-video--real .mz-play-definitivo svg {
  display: block !important; width: 43% !important; height: 43% !important;
  fill: #fff !important; color: #fff !important; opacity: 1 !important;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.18));
  transform: translateX(5%) !important;
}
.mz-video--real .mz-play-definitivo::after {
  content: '' !important; position: absolute !important; inset: -13px !important;
  border: 2px solid rgba(0,245,219,.35) !important; border-radius: 50% !important;
  animation: mz-play-ring 3.8s ease-in-out infinite !important;
  pointer-events: none !important;
}
.mz-video--real .mz-play-definitivo:focus-visible { outline: 3px solid #fff !important; outline-offset: 6px !important; }
.mz-video--real .mz-play-definitivo[hidden] { display: none !important; }
@keyframes mz-play-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 7px rgba(0,224,199,.10), 0 0 22px rgba(0,245,219,.55), 0 0 48px rgba(0,224,199,.24); }
  50% { opacity: .78; box-shadow: 0 0 0 14px rgba(0,224,199,.22), 0 0 42px rgba(0,245,219,1), 0 0 85px rgba(0,224,199,.55); }
}
@keyframes mz-play-ring { 0%,100% { opacity: .45; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.12); } }
@media (max-width: 767px) {
  .mz-video--real .mz-play-definitivo { width: 78px !important; height: 78px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mz-video--real .mz-play-definitivo, .mz-video--real .mz-play-definitivo::after { animation: none !important; }
}
/* CAPA E VIDEO: ESTADOS EXCLUSIVOS */

/* O video nao cobre a capa antes da reproducao */
.mz-video--real .mz-video__frame:not(.mz-video-playing) video {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Capa desktop */
.mz-video--real .mz-video__frame {
    background: url("mizark-cover-desktop.webp") center / 100% 100% no-repeat !important;
}

/* Capa mobile */
@media (max-width: 767px) {
    .mz-video--real {
        aspect-ratio: 9 / 16 !important;
    }

    .mz-video--real .mz-video__frame {
        background-image: url("mizark-cover-mobile.webp") !important;
    }
}

/* Quando o video comeca, a capa desaparece */
.mz-video--real .mz-video__frame.mz-video-playing {
    background-image: none !important;
}

.mz-video--real .mz-video__frame.mz-video-playing video {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Remove qualquer camada antiga sobre o video */
.mz-video--real .mz-video__frame::before {
    content: none !important;
    display: none !important;
}

/* Apenas o botao definitivo */
.mz-video--real .mz-play-definitivo {
    z-index: 99999 !important;
}

.mz-video--real .mz-play-definitivo[hidden] {
    display: none !important;
}


/* MIZARK — CORRECAO ESTRUTURAL DO PLAYER */

/* Antes do clique, o video nao ocupa a frente da capa */
.mz-video--real .mz-video__frame:not(.mz-video-playing) video {
    display: none !important;
}

/* A capa ocupa toda a area do player */
.mz-video--real .mz-video__frame {
    background-image: url("mizark-cover-desktop.webp") !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
}

/* Ao iniciar, remove a capa e revela o video */
.mz-video--real .mz-video__frame.mz-video-playing {
    background-image: none !important;
}

.mz-video--real .mz-video__frame.mz-video-playing video {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Mobile: capa vertical sem recorte */
@media (max-width: 767px) {
    .mz-video--real {
        aspect-ratio: 9 / 16 !important;
    }

    .mz-video--real .mz-video__frame {
        background-image: url("mizark-cover-mobile.webp") !important;
    }
}


/* Capas oficiais MIZARK-Capa-Cine */
.mz-video--real .mz-video__frame {
    background-image: url("mizark-cover-desktop.png") !important;
}

@media (max-width: 767px) {
    .mz-video--real .mz-video__frame {
        background-image: url("mizark-cover-mobile.png") !important;
    }
}


/* MIZARK - CORRECAO FINAL DA CAPA */
.mz-video--real .mz-video__frame {
  position: relative !important;
  background: url("mizark-cover-desktop.png") center center / 100% 100% no-repeat !important;
}

.mz-video--real .mz-video__frame video {
  visibility: hidden !important;
}

.mz-video--real .mz-video__frame.mz-video-playing {
  background-image: none !important;
}

.mz-video--real .mz-video__frame.mz-video-playing video {
  visibility: visible !important;
}

.mz-video--real .mz-video__frame .mz-play-definitivo {
  z-index: 9999 !important;
}

.mz-video--real .mz-video__frame.mz-video-playing .mz-play-definitivo {
  display: none !important;
}

@media (max-width: 767px) {
  .mz-video--real {
    aspect-ratio: 9 / 16 !important;
  }

  .mz-video--real .mz-video__frame {
    background-image: url("mizark-cover-mobile.png") !important;
  }

  .mz-video--real .mz-video__frame.mz-video-playing {
    background-image: none !important;
  }
}


/* MIZARK - CORRECAO FINAL DA CAPA */
.mz-video--real .mz-video__frame {
  position: relative !important;
  background: url("mizark-cover-desktop.png") center center / 100% 100% no-repeat !important;
}

.mz-video--real .mz-video__frame video {
  visibility: hidden !important;
}

.mz-video--real .mz-video__frame.mz-video-playing {
  background-image: none !important;
}

.mz-video--real .mz-video__frame.mz-video-playing video {
  visibility: visible !important;
}

.mz-video--real .mz-video__frame .mz-play-definitivo {
  z-index: 9999 !important;
}

.mz-video--real .mz-video__frame.mz-video-playing .mz-play-definitivo {
  display: none !important;
}

@media (max-width: 767px) {
  .mz-video--real {
    aspect-ratio: 9 / 16 !important;
  }

  .mz-video--real .mz-video__frame {
    background-image: url("mizark-cover-mobile.png") !important;
  }

  .mz-video--real .mz-video__frame.mz-video-playing {
    background-image: none !important;
  }
}


/* MIZARK - FUNDO VERDE CINEMATOGRAFICO */
.mz-video--real {
  background: linear-gradient(
    110deg,
    #031c18 0%,
    #06342b 30%,
    #082c25 50%,
    #06342b 70%,
    #031c18 100%
  ) !important;
}

/* Mantem as laterais verdes durante a reproducao */
.mz-video--real .mz-video__frame.mz-video-playing {
  background: transparent !important;
}

/* Mobile: preserva o formato vertical */
@media (max-width: 767px) {
  .mz-video--real {
    aspect-ratio: 9 / 16 !important;
  }
}


/* MIZARK - VERDE PROFUNDO DEFINITIVO */
.mz-video--real {
  background: #001c16 !important;
}


/* MIZARK - COR EXTRAIDA DA IMAGEM DE REFERENCIA */
.mz-video--real {
    background: #000C0B !important;
}

