body {
    font-family: DynaPuff, sans-serif;
    margin: auto;
    padding: 0;
    background: linear-gradient(to bottom, #4a90e2, #003f7f);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: white;
  }
  
  .container {
    text-align: center;
    max-width: 100%;
    width: 90%;
  }
  
  .game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    
  }
  
  
  
  .components {
        margin-left: 28px;
    margin-rigth: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: -3px;
    justify-content: space-evenly;
   
   
    
  }
  
  
  
  .component {
    width: 50px;
    cursor: pointer;
  }
  
  .game-board {
  
    
    
    display: grid;
    grid-template-columns: repeat(3, 131px);
    grid-gap: 6px;
    
    justify-content: center;
  }
  
  .component-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease; /* Adiciona uma transição suave */
  }
  
  .component-wrapper:hover {
    transform: scale(1.2); /* Aumenta o tamanho em 10% ao passar o mouse */
  }
  .component-name {
    text-shadow: 1px 2px 4px black;
    margin-bottom: 5px; /* Espaço abaixo do nome */
    font-size: 13px;
    color: white;
    text-align: center;
  }
  
  .component {
    width: 80px; /* Aumentar o tamanho dos componentes */
    cursor: pointer;
  }
  
  .slot {
    text-shadow: 1px 2px 2px black;
    font-family: Arial, Helvetica, sans-serif;
    width: 132px; /* Aumentar o tamanho dos slots */
    height: 80px;
    border: 2px dashed white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 13px;
    color: white;
    padding: 0px;
  }
  
  
  .lamp {
    margin-bottom: 20px;
  }
  
  .lamp img {
    width: 50px;
  }
  
  .cerejinha {
    margin-bottom: 20px;
  }
  
  #cerejinha {
    width: 100px;
    transition: transform 0.3s ease;
  }
  
  #reset {
    margin-shadow: 1px 2px 3px pink;
    border-radius: 20px;
  font-family: DynaPuff;
    background-color: #008CBA;
    font-size: 18px;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #003f7f;
    color: rgb(249, 249, 22);
    border: none;
    cursor: pointer;
  }
  
  #message {
    font-size:larger;
    text-shadow: 0 0 5px #0043ff82, 0 0 10px #ff1800a6, 0 0 20px #ff0000, 0 0 40px #ff3b00, 0 0 80px #ff00ea;
    animation: blinkNeon 1.5s infinite alternate; /* Animação para piscar */
  
      
  }
    font-size: 20px;
    margin-top: 10px;
    font-weight: bold;
  
  
  /* Responsividade */
  @media (max-width: 768px) {
    .game-board {
      grid-template-columns: repeat(3, 92px); /* Duas colunas em telas menores */
    }
  
    .slot, .component {
      width: 70px;
      height: 42px;
    }
  
    .lamp img {
      width: 40px;
    }
  
    #cerejinha {
      width: 80px;
    }
  
    #reset {
      width: 100%;
    }
  }
  
  /* Estilo para as cerejas caindo */
  .cherry {
    position: absolute;
    width: 30px;
    animation: fall linear infinite;
  }
  
  @keyframes fall {
    0% {
      transform: translateY(-100px);
      opacity: 1;
    }
    100% {
      transform: translateY(100vh);
      opacity: 0;
    }
  }
  
  .cerejinha-container {
    position: relative; /* Permite o posicionamento absoluto do balão */
    display: inline-block; /* Mantém a imagem e o balão juntos */
    margin-bottom: 20px; /* Espaçamento abaixo do contêiner */
  }
  
  .speech-bubble {
    text-shadow: 1px 2px 2px black;
    position: absolute;
    bottom: 23%;
    left: 238%;
    transform: translateX(-80%);
    background-color: #2f2b35;
    border-radius: 36px;
    padding: 28px;
    box-shadow: 0 0 33px rgba(0, 0, 0, 0.4);
    color: #fafafa;
    font-size: 14px;
    z-index: 1;
  }
  
  
  
  /* Opcional: Para adicionar uma "ponta" ao balão */
  .speech-bubble::after {
    content: "";
    position: absolute;
    bottom:36%; /* Fica acima do balão */
    left: 0%; /* Centraliza a ponta em relação ao balão */
    transform: translateX(-54%);
    border-width: 10px; /* Tamanho da ponta */
    border-style: solid;
    border-color: transparent transparent #75bf77 transparent; /* Cores da ponta */
  }
  
  
  .neon-text {
    color: #fff; /* Cor do texto */
  
    text-shadow: 0 0 5px #eeff00, 0 0 10px #eeff00, 0 0 20px #eeff00, 0 0 40px #eeff00, 0 0 80px #eeff00;
    animation: blinkNeon 1.5s infinite alternate; /* Animação para piscar */
  }
  
    .instruction-box {
      text-shadow: 1px 1px 2px black;
      background-color: #75bf77;
      border: 2px solid #333;
      padding: 0px;
      border-radius: 35px;
      box-shadow: 5px 4px 10px rgba(0, 0, 0, 0.2);
      text-align: center;
      width: 99%;
      margin: -2px auto;
      font-family: 'DynaPuff', cursive;
      font-size: 0.90rem;
      color: #ffffff;
  }

  .lamp-brilho {
    animation: brilho 1s infinite alternate;
  }
  
  @keyframes brilho {
    from { filter: brightness(1); }
    to { filter: brightness(1.5); }
  }
  
  .tip-bubble {
    position: absolute;
    top: 10%; /* Ajuste conforme necessário */
    left: 50%;
    transform: translateX(-10%);
    
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    color: #000;
    font-size: 12px;
    z-index: 999; /* Aumentar para garantir que esteja acima */
    max-width: 200px;
    display: none; /* Inicialmente escondido */
    background-color: rgba(255, 204, 0, 0.9); /* Leve transparência para destaque */
    border: 2px solid #000; /* Borda preta */
  }
