html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: black;
  overflow: hidden;
}

video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0; /* Sit behind all UI */
}

#btnContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none; /* Prevent accidental clicks outside the button */
}

#nextBtn {
 position: absolute;
  top: 71%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
  
  z-index: 3;
  
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

#nextBtn.enabled {
  transform: translate(-50%, -50%) scale(1);
}

#nextBtn:active {
  transform: translate(-50%, -50%) scale(0.90);
  transition: transform 0.1s ease, scale 0.1s ease;
}

#nextBtn img {
  max-width: 125px;
  height: auto;
  user-select: none;
  pointer-events: none; /* Prevent the image from stealing pointer events */
}

@media (max-aspect-ratio: 3/5) {
  #nextBtn {
    top: 68%;
  }
}

.sparkle {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  opacity: 1;
  z-index: 9999;
  transition: transform 0.9s ease-out, opacity 0.9s ease-out;
}
