body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    height: 100vh;
    margin: 0;
    justify-content: center;
  }
  
  h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
  }
  
  .board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .cell {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: #ffecd2;
    color: #333;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .cell:hover {
    background-color: #ffab40;
    transform: scale(1.1);
  }
  
  .cell.X {
    color: #ff4081;
  }
  
  .cell.O {
    color: #40c4ff;
  }
  
  #status {
    margin: 20px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
  }
  
  #restart {
    padding: 10px 20px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  #restart:hover {
    background-color: #ffab40;
    color: #fff;
  }
  .win {
    background-color: #ff4081;
    color: #fff;
    animation: winHighlight 0.5s alternate infinite;
  }
  
  @keyframes winHighlight {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
  }
  