body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
  }

  h1 {
    text-align: center;
    color: #333;
  }

  .board {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 300px;
    margin: 0 auto;
  }

  .cell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    font-size: 48px;
    font-weight: bold;
    color: #333;
    background-color: #f2f2f2;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  }

  .cell:hover {
    background-color: #e6e6e6;
  }

  .cell.x {
    color: #ff4d4d;
  }

  .cell.o {
    color: #4d94ff;
  }

  .winner {
    background-color: #c1f0c1 !important;
  }

  .message {
    text-align: center;
    margin-top: 20px;
    font-size: 24px;
    color: #333;
  }

  .restart-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
  }

  .restart-button:hover {
    background-color: #555;}