* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  touch-action: manipulation;
}

.app {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-wrap {
  position: relative;
  width: 2360px;
  height: 1640px;
  transform: scale(var(--s, 1));
  transform-origin: center;
  will-change: transform;
}

.is-portrait .stage-wrap {
  width: 1640px;
  height: 2360px;
  transform: rotate(90deg) scale(var(--s, 1));
}

.stage {
  position: relative;
  width: 2360px;
  height: 1640px;
}


.stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* full-screen invisible click layer */
#tapArea {
  position: absolute;
  inset: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}
/* --- HIT ZONES --- */
.hit{
  position:absolute;
  border:0;
  background: transparent;
  cursor:pointer;
  display:none; /* pali se po stepovima */
}

/* start: full screen */
.hit--full{ inset:0; }

/* Q hit zones (podesit ćemo precizno po tvom layoutu) */
.hit--a{
  left: 220px;
  right: 220px;
  top: 480px;
  height: 300px;
}
.hit--b{
  left: 220px;
  right: 220px;
  top: 820px;
  height: 300px;
}
.hit--c{
  left: 220px;
  right: 220px;
  top: 1160px;
  height: 300px;
}
.hit--done{
  left: 980px;
  top: 1225px;
  width: 400px;
  height: 260px;
  border-radius: 80px;
}
#exitBtn{
  position:absolute;
  top: 71px;
  right: 96px;
  width: 84px;
  height: 89px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.0);
  background: rgba(0,0,0,.0);
  color: rgba(255,255,255,.100);
  font-size: 0px;
  line-height: 0;
  cursor:pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0);
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), background 220ms cubic-bezier(.2,.9,.2,1);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 50;
}
#exitBtn:hover{ background: rgba(0,0,0,.28); }
#exitBtn:active{ transform: scale(.98); }
