/* Container responsive pentru iframe */
.yv-game-preload{
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  border-radius: 12px;

  /* Raport implicit (poți schimba la 4/3 dacă jocurile sunt mai pătrate) */
  aspect-ratio: 16 / 9;
}

/* Fallback dacă aspect-ratio nu e suportat (rar) */
@supports not (aspect-ratio: 16 / 9){
  .yv-game-preload::before{
    content:"";
    display:block;
    padding-top:56.25%;
  }
}

.yv-game-preload__stage{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  /* “imagine” neagră (poți pune și un background-image dacă vrei poster real) */
  background: #000;
}

/* Buton mare, vizibil pe mobil/tablet/desktop */
.yv-game-preload__btn{
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;

  padding: 14px 26px;
  font-weight: 700;
  line-height: 1;

  /* Mărime fluidă */
  font-size: clamp(16px, 2.2vw, 22px);

  /* Contrast bun */
  background: #ffffff;
  color: #000000;

  /* touch target */
  min-height: 48px;
  min-width: 140px;
}

.yv-game-preload__btn:focus{
  outline: 3px solid rgba(255,255,255,0.7);
  outline-offset: 4px;
}

/* Iframe full-size după încărcare */
.yv-game-preload iframe{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* După click ascundem overlay-ul */
.yv-game-preload.is-loaded .yv-game-preload__stage{
  display: none;
}
