body {
    font-family: 'Arial', sans-serif;
    background-color: #0f101f;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
  }
  
  .container {
    text-align: center;
  }
  
  h1 {
    font-size: 3rem;
    color: #e0e0e0;
    margin-bottom: 20px;
  }
  
  .board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 10px;
    margin: 20px auto;
  }
  
  .cell {
    background-color: #0a0636;
    border: 2px solid #8683de; 
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #EBD3F8; 
    cursor: pointer;
    transition: background-color 0.5s ease, transform 0.2s ease;
  }
  
  .cell:hover {
    background-color: #5D63D4;
    transform: scale(1.05);
  }
  
  .cell[data-value="X"] {
    color: #EBD3F8;
  }
  
  .cell[data-value="O"] {
    color: #EBD3F8; 
  }
  
  .status {
    font-size: 1.5rem;
    margin: 20px 0;
    color: #8683de;
  }
  
  .reset-btn {
    background-color: #01043B; 
    color: #EBD3F8;
    border: 1px solid #5D63D4;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .reset-btn:hover {
    background-color: #5D63D4;
    transform: scale(1.05);
  }
  
  .cell.winner {
    background-color: #5D63D4; 
    animation: pulse 1s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
