body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #fff7cc, #ffe066);
  display: flex;
  justify-content: center;
}

/* CONTAINER */
.container {
  text-align: center;
  padding: 20px;
  max-width: 500px;
  width: 100%;
}

/* BOTÕES */
.botoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  font-size: 22px;
  background: #ffd43b;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  transform: scale(1.1);
  background: #fab005;
}

/* BOTÃO DO JOGO */
.jogo {
  width: 90%;
  height: 70px;
  border-radius: 20px;
  font-size: 16px;
}

/* POPUP (CORRIGIDO) */
.overlay {
  position: fixed;
  top: 0;              /* ESSENCIAL */
  left: 0;             /* ESSENCIAL */
  width: 100%;
  height: 100%;

  display: none;
  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.5);
  z-index: 9999;       /* ESSENCIAL */
}

.popup {
  background: white;
  padding: 20px;
  border-radius: 15px;

  width: 85%;
  max-width: 400px;

  position: relative;

  animation: aparecer 0.25s ease;
}

/* BOTÃO FECHAR */
.fechar {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 18px;
}

/* ANIMAÇÃO POPUP */
@keyframes aparecer {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* CORAÇÕES CAINDO */
@keyframes cair {
  to {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* RESPONSIVO EXTRA */
@media (max-width: 480px) {
  button {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }

  .jogo {
    height: 65px;
    font-size: 14px;
  }
}