/* Page + Canvas Layout */
html, body {
  margin: 0;
  height: 100%;
  background: #0a0f2a; /* letterbox color */
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
  -webkit-user-select: none;
          user-select: none;
}

#wrap {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
}

canvas#screen {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #07324e; /* just in case */
  touch-action: none;
}

/* Mute toggle hit area (drawn in canvas but we set cursor) */
#wrap.mute-hover {
  cursor: pointer;
}

#watchAdBtn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #02121f;
  background: linear-gradient(180deg, #ffe27d 0%, #fabe2c 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#watchAdBtn:active {
  transform: translateX(-50%) scale(0.97);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
