/* מסך פתיחה מתוך הקובץ "פתיחה משחק.docx" */
.opening-splash {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: #fff;
  opacity: 1;
  transition: opacity .25s ease;
}
.opening-splash[hidden] { display: none; }
.opening-splash.is-ending { opacity: 0; pointer-events: none; }

.opening-sheet {
  width: min(100vw, calc(100vh * 0.707));
  height: min(100vh, calc(100vw / 0.707));
  min-height: 100vh;
  box-sizing: border-box;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000;
  overflow: hidden;
}

.opening-title {
  margin-top: 25vh;
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.2;
  direction: rtl;
  text-align: center;
  white-space: nowrap;
}

.opening-play {
  margin-top: 10vh;
  width: clamp(110px, 12vw, 160px);
  height: clamp(110px, 12vw, 160px);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease, opacity .15s ease;
}
.opening-play:hover { transform: scale(1.05); }
.opening-play:active { transform: scale(.97); }
.opening-play:disabled { opacity: .55; cursor: default; }
.opening-play img {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 700px) {
  .opening-title {
    margin-top: 28vh;
    font-size: clamp(28px, 8vw, 42px);
  }
  .opening-play {
    margin-top: 8vh;
    width: 120px;
    height: 120px;
  }
}
