body {
  text-align: center;
  background: #fafafa;
  font-family: Arial, sans-serif;
}

canvas {
  border: 1px solid black;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;

  width: auto;
  height: auto;
}

#infoHeader {
    width: 100%;
    background: #ffffff;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 2px solid #e3e3e3;
    font-size: 16px;
    margin-bottom: 20px;
}

#infoHeader .infoItem {
    color: #444;
}


#gameWrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 20px;
    width: 100%;
}

#board {
    display: block;
}

#description {
    max-width: 300px;
    text-align: left;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#description img, 
#description video {
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
}


#ui {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

#ui button {
    background: #ffffff;
    border: 2px solid #dcdcdc;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#ui button:hover {
    background: #f2f2f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

#ui button:active {
    transform: translateY(0px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#btnRestart {
    border-color: #ff7878;
}
#btnRestart:hover {
    background: #ffecec;
}

#btnPause {
    border-color: #78aaff;
}
#btnPause:hover {
    background: #eaf1ff;
}

#btnMute {
    border-color: #a678ff;
}
#btnMute:hover {
    background: #f3eaff;
}

