html, body {
    margin: 0;
    padding: 0;
    background: #1A1F2B;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #game-container {
    position: relative;
    aspect-ratio: 4 / 3; /* 👈 maintain 800x600 ratio */
    width: 95vw;
    max-width: 1000px;
    height: auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: contain; /* 👈 prevents distortion */
    border-radius: 8px;
  }
  xLink.on('pointerover', () => {
    xLink.setStyle({ fill: '#00B3FF' });
  });
  xLink.on('pointerout', () => {
    xLink.setStyle({ fill: '#ffffff' });
  });
  