body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  background-color: #2c3e50;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#game-container {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and 11 */
  user-select: none;
  /* Standard syntax */
  position: relative;
  width: 90vw;
  height: 80vh;
  background: #ecf0f1;
  background-image: url('assets/bedroom.png');
  background-size: cover;
  background-position: center;
  border: 5px solid #bdc3c7;
  border-radius: 10px;
  cursor: crosshair;
  overflow: hidden;
}

#hud {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and 11 */
  user-select: none;
  /* Standard syntax */
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
  background: rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

#start-screen {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and 11 */
  user-select: none;
  /* Standard syntax */
  position: absolute;
  inset: 0;
  background: rgba(44, 62, 80, 0.95);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

input,
button {
  padding: 10px 20px;
  margin: 10px;
  font-size: 18px;
  border-radius: 5px;
  border: none;
}

button {
  background: #e74c3c;
  color: #ffee02;
  cursor: pointer;
}

#rank-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.mosquito {
  position: absolute;
  width: 66px;
  height: 66px;
  transition: all 0.4s ease-out;
  user-select: none;
  pointer-events: auto;
  -webkit-user-drag: none;
}


.splat {
  pointer-events: none;
}

/* Esconde o cursor padrão dentro do container */
#game-container {
  /* Altere para cursor default ou auto */
  cursor: auto;
}


/* Estilo do novo cursor (a mão) */
#custom-cursor {
  position: fixed;
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  display: none;
}


/* Efeito de "tapa" ao clicar */
#custom-cursor.slap-animation {
  transform: translate(-50%, -50%) scale(0.8) rotate(-20deg);
}

@media (max-width: 600px) {
  .mosquito {
    width: 45px;
    height: 45px;
  }
}