
    body {
        font-family: 'Arial', sans-serif;
        background: #faf8ef;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        min-height: 100vh;
      }
      .score-container {
        font-size: 24px;
        color: #776e65;
        text-align: center;
        padding: 10px;
      }
      .score-container span {
        margin: 0 5px;
      }
      .game-container {
        background: #bbada0;
        border-radius: 6px;
        box-shadow: 0 0 10px rgba(0,0,0,0.5);
        margin-top: 20px;
      }
      /* Grid layout with defined gap and padding */
      .grid {
        position: relative;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 15px;
        padding: 15px;
        background: #bbada0;
        border-radius: 6px;
        box-sizing: border-box;
      }
      .grid-cell {
        width: 100%;
        height: 100%;
        background: #cdc1b4;
        border-radius: 6px;
      }
      /* Dynamic tile styling */
      .tile {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        font-weight: bold;
        transition: all 0.2s ease;
      }
      /* Responsive rules */
      @media (min-width: 500px) {
        .game-container {
          width: 500px;
        }
        .grid {
          height: 500px;
        }
      }
      @media (max-width: 500px) {
        .game-container {
          width: 90%;
        }
        .grid {
          height: calc((90vw - 30px) + 15px); /* roughly square */
        }
      }
      .game-title {
    font-family: 'Arial', sans-serif;
    font-size: 48px;
    color: #776e65;
    text-align: center;
    margin-top: 20px;
  }
  
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* if you want to completely prevent vertical scrolling, you can use: */
    overflow-y: hidden;
    height: 100%;
  }
  
  