/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f4f8;
  }
  
  /* Mode Selection Screen */
  .mode-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    background: linear-gradient(135deg, #6c63ff, #6fcf97);
    color: #fff;
  }
  
  .mode-selection h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .mode-btn {
    background-color: #ffffff;
    color: #6c63ff;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    margin: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background-color 0.3s ease;
  }
  
  .mode-btn:hover {
    background-color: #f1f3f5;
    transform: scale(1.05);
  }
  
  .hidden {
    display: none;
  }
  
  /* Game Container */
  .game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .game-container h1 {
    font-size: 2rem;
    color: #6c63ff;
    margin-bottom: 15px;
  }
  
  /* Board */
  .board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 10px;
    margin: 20px 0;
  }
  
  .cell {
    width: 100px;
    height: 100px;
    background: #f1f3f5;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
  }
  
  .cell.taken {
    cursor: not-allowed;
  }
  
  .cell:hover:not(.taken) {
    background: #e9ecef;
  }
  
  .status {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 20px;
  }
  
  /* Restart Button */
  .restart-btn {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #6fcf97;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .restart-btn:hover {
    background-color: #57ab82;
  }
  