html:has(body.menu-open) {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
  height: 100vh;
}

/* DEMO PREVIEW */
.plinko-demo-section {
  position: relative;
  margin-bottom: 34px;
}

.plinko-demo-section__media {
  position: relative;
  width: 100%;
  height: 430px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(126, 178, 255, 0.32);
  background: #071742;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 0 30px rgba(52, 113, 255, 0.12);
  transition: height 0.35s ease;
}

.plinko-demo-section.is-demo-active .plinko-demo-section__media {
  height: 820px;
}

.plinko-demo-section__preview {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.plinko-demo-section__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plinko-demo-section.is-demo-active .plinko-demo-section__preview::after {
  opacity: 1;
}

.plinko-demo-section__preview img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 63%;
}

.plinko-demo-section__glow {
  position: absolute;
  inset: 10%;
  z-index: 1;
  border-radius: 50%;
  background: rgba(255, 59, 167, 0.28);
  filter: blur(60px);
}

.plinko-demo-section__lottie {
  position: absolute;
  inset: -18%;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
     transform: scale(3) translateY(0%);
}

.plinko-demo-section.is-demo-active .plinko-demo-section__lottie {
  transform: scale(1.7) translateY(2%);
}

.plinko-demo-section__lottie lottie-player {
  width: 100%;
  height: 100%;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.plinko-demo-section__iframe {
  position: absolute;
  left: 50%;
  top: 78px;
  z-index: 6;

  width: min(920px, 90%);
  height: 0;

  overflow: hidden;
  border-radius: 18px;
  background: #000;

  transform: translateX(-50%);

  opacity: 0;
  pointer-events: none;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  transition:
    height 0.35s ease,
    opacity 0.25s ease;
}

.plinko-demo-section.is-demo-active .plinko-demo-section__iframe {
 height: 600px;
  opacity: 1;
  pointer-events: auto;
}

.plinko-demo-section__iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.plinko-demo-section__close {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.plinko-demo-section.is-demo-active .plinko-demo-section__close {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.plinko-demo-section__close {
  position: absolute;
  top: -2px;
  right: -2px;

  z-index: 20;

  width: 40px;
  height: 40px;

  border: 0;
  border-radius: 50%;

  background: rgba(7, 23, 66, .92);
  color: #fff;

  font-size: 22px;
  font-weight: 700;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: .2s ease;
}

.plinko-demo-section__close:hover {
  background: #ff1d8e;
  /* transform: scale(1.05); */
}
@media (max-width: 590px) {
  .plinko-demo-section__media {
    height: auto;
    aspect-ratio: 16 / 11;
    max-height: none;
  }
     .plinko-demo-section__iframe {
    top: 48px;
    width: 96%;
  }

  .plinko-demo-section.is-demo-active .plinko-demo-section__media {
    height: 695px;
}

  .plinko-demo-section__preview img {
    object-fit: contain;
    object-position: center center;
    background: #071742;
  }

}

@media (max-width: 420px) {

  .plinko-demo-section.is-demo-active .plinko-demo-section__media {
    aspect-ratio: 16 / 13;
  }

  .plinko-demo-section__iframe {
    top: 48px;
    width: 96%;
  }
}