  * {
      margin: 0;
      padding: 0;
      font-family: 'Roboto', sans-serif;
      scroll-behavior: smooth;
  }

  :root {
      --primary: #6c5ce7;
      --secondary: #a29bfe;
      --dark: #2d3436;
      --light: #f5f6fa;
      --accent: #00cec9;
      --danger: #d63031;
      --success: #00b894;
      --bg: #1a1a2e;
      --header-bg: #16213e;
      --hover-bg: rgba(255, 255, 255, 0.1);
      --x-color: #d63031;
      --o-color: #00b894;
      --cell-bg: #0f3460;
  }

  body {
      background-color: var(--bg);
      color: var(--light);
      font-family: 'Roboto', sans-serif;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      overflow: hidden;

  }

  header {
      background-color: var(--header-bg);
      padding: 1rem 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      position: sticky;
      top: 0;
      z-index: 100;
  }
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
}
  .header-controls {
      display: flex;
      align-items: center;
      gap: 1rem;
  }

  .fullscreen-btn {
      background: transparent;
      color: white;
      border: none;
      border-radius: 25px;
      padding: 0.5rem 1rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-family: 'Roboto', sans-serif;
      transition: all 0.3s ease;
  }

  .fullscreen-btn:hover {
      background: var(--secondary);
      transform: translateY(-2px);
  }

  .logo {
      display: flex;
      align-items: center;
      gap: 1rem;
  }

  h1 {
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      background: linear-gradient(to right, var(--primary), var(--accent));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
  }

  .user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
  }

  .user-avatar:hover {
      transform: scale(1.1);
  }

  .main-container {
      display: flex;
      flex-grow: 1;
      overflow: hidden;
      height: calc(100vh - 60px);
      /* Subtract header height */
  }

  .left {
      width: 100%;
      flex-direction: column;
      align-items: center;
      justify-content: center;

  }

  .right {
      width: 100%;
      padding: 1rem;
      overflow-y: auto;
      height: calc(100vh - 60px);

  }

  .game-section {
      max-width: 600px;
      margin: 1rem auto;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      text-align: center;
  }

  .game-title {
      font-family: 'Poppins', sans-serif;
      font-size: 2rem;
      margin-bottom: 1.5rem;
      background: linear-gradient(to right, var(--primary), var(--accent));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
  }


  .game-board {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(3, 1fr);
      gap: 10px;
      width: 250px;
      height: 250px;
      margin: 0 auto 2rem;
  }

  .cell {
      background-color: var(--cell-bg);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .cell:hover {
      background-color: var(--hover-bg);
      transform: translateY(-3px);
  }


  .cell.x::before,
  .cell.x::after {
      content: "";
      position: absolute;
      width: 80%;
      height: 8px;
      background-color: var(--x-color);
      border-radius: 4px;
  }

  .cell.x::before {
      transform: rotate(45deg);
  }

  .cell.x::after {
      transform: rotate(-45deg);
  }

  .cell.o::before {
      content: "";
      position: absolute;
      width: 60%;
      height: 60%;
      border: 8px solid var(--o-color);
      border-radius: 50%;
  }


  .game-status {
      font-size: 1rem;
      margin-bottom: 1rem;
      padding: 0.8rem;

      border-radius: 8px;
      color: var(--light);
  }

  .game-controls {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 1rem;
  }

  .btn {
      padding: 0.8rem 1.5rem;
      border: none;
      border-radius: 30px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      font-family: 'Poppins', sans-serif;
  }

  .btn-primary {
      background: linear-gradient(to right, var(--primary), var(--accent));
      color: white;
      box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
  }

  .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(108, 92, 231, 0.6);
  }





  .scoreboard {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin-bottom: 1.5rem;
  }

  .score {
      padding: 0.8rem 1.5rem;
      border-radius: 8px;
      background-color: var(--dark);
      font-weight: bold;
  }

  .x-score {
      color: var(--x-color);
      border: 2px solid var(--x-color);
  }

  .o-score {
      color: var(--o-color);
      border: 2px solid var(--o-color);
  }

  .gameInfo {
      max-width: 400px;
      margin: 0 auto;
      padding: 1rem;
  }

  .gameTitle {
      text-align: center;
      margin-bottom: 1.5rem;
  }

  .player-selection {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 2rem;
  }

  .player-option {
      padding: 1rem;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.3s ease;
      background-color: var(--dark);
      text-align: center;
  }

  .player-option.active {
      background: linear-gradient(to right, var(--primary), var(--accent));
      box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
  }

  .player-option:hover {
      transform: translateY(-3px);
      background-color: var(--hover-bg);
  }

  .how-to-play {
      background-color: var(--header-bg);
      padding: 1.5rem;
      border-radius: 10px;
      margin-top: 2rem;
  }

  .how-to-play h2 {
      margin-bottom: 1rem;
      color: var(--accent);
  }

  .how-to-play ol {
      padding-left: 1.5rem;
  }

  .how-to-play li {
      margin-bottom: 0.8rem;
      line-height: 1.5;
  }

  /* Responsive Design */
  @media (max-width: 768px),
  (max-width: 480px) {
      body {
          overflow: none;

      }
 .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
    }

    .header .navContent .rightNav nav .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: white;
    }
      .main-container {
          flex-direction: column;
          overflow: none;
      }

      .left,
      .right {
          width: 100%;
          height: auto;
          overflow: none;
      }

      .right {
        display: flex;
        align-items: center;
        text-align: center;
          overflow-y: visible;
          height: auto;
      }
      .fullscreen-btn {
                display: none;
            }
  }