* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      background: #000;
      font-family: 'Press Start 2P', cursive, 'Courier New', monospace;
      color: #FFF;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px;
      overflow: hidden;
    }
    
    .header {
      width: 100%;
      max-width: 900px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding: 15px;
      background: #111;
      border-radius: 10px;
      box-shadow: 0 0 15px #0066ff;
      transform: scale(0.75);
    }
    
    .title {
      color: #FFCC00;
      font-size: 32px;
      text-shadow: 0 0 10px #FF0000;
      letter-spacing: 2px;
    }
    
    .game-info {
      display: flex;
      gap: 30px;
    }
    
    .info-box {
      background: #222;
      padding: 12px 20px;
      border-radius: 8px;
      text-align: center;
      min-width: 180px;
    }
    
    .info-label {
      color: #FFCC00;
      font-size: 14px;
      margin-bottom: 8px;
    }
    
    .info-value {
      font-size: 24px;
      color: #FFF;
    }
    
    .lives-container {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-top: 5px;
    }
    
    .life {
      width: 20px;
      height: 20px;
      background: #FFCC00;
      clip-path: polygon(
        50% 0%, 
        100% 25%, 
        100% 75%, 
        50% 100%, 
        0% 75%, 
        0% 25%
      );
    }
    
    .game-container {
      position: relative;
    }
    
    #gameCanvas {
      background: #000;
      border-radius: 8px;
      box-shadow: 0 0 20px #0066ff;
      transform: scale(0.75); /* reduz para 75% do tamanho */
      transform-origin: top; /* ancora no topo esquerdo */
    }

    #startButton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -200%);
    padding: 20px 40px;
    font-size: 24px;
    background: yellow;
    border: 2px solid #000;
    cursor: pointer;
    z-index: 1000;
    }
    
    .controls {
      margin-top: 20px;
      text-align: center;
      font-size: 18px;
      color: #AAA;
      max-width: 900px;
      line-height: 1.6;
    }
    
    .game-over {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0, 0, 0, 0.9);
      padding: 40px;
      border-radius: 15px;
      text-align: center;
      display: none;
      border: 3px solid #FF0000;
      width: 80%;
      max-width: 600px;
      z-index: 10;
    }
    
    .game-over h2 {
      color: #FF0000;
      font-size: 48px;
      margin-bottom: 30px;
      text-shadow: 0 0 10px #FFF;
    }
    
    .final-score {
      font-size: 32px;
      color: #FFCC00;
      margin: 20px 0;
    }
    
    .restart-btn {
      background: #FFCC00;
      color: #000;
      border: none;
      padding: 15px 40px;
      font-size: 20px;
      border-radius: 50px;
      cursor: pointer;
      font-weight: bold;
      font-family: inherit;
      margin-top: 20px;
      transition: all 0.3s;
      box-shadow: 0 0 15px #FF9900;
    }
    
    .restart-btn:hover {
      background: #FFDD55;
      transform: scale(1.05);
      box-shadow: 0 0 20px #FFCC00;
    }
    
    .footer {
      margin-top: 20px;
      color: #666;
      text-align: center;
      font-size: 14px;
    }

@media (max-width: 600px) {
  .header {
    transform: scale(0.55);
  }

  #gameCanvas {
    transform: scale(0.55);
  }

  #startButton {
    transform: scale(0.75);
  }

  .controls {
    font-size: 14px;
  }
}