body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f9;
    overflow-x: hidden;
  }
  
  h1 {
    margin: 20px 0;
    font-size: 2rem;
  }
  
  .board {
    display: grid;
    grid-template-columns: repeat(7, 80px); 
    gap: 5px;
    justify-content: center;
    margin: 20px auto;
    max-width: 90vw;
  }
  
  .cell {
    width: 80px;
    height: 80px;
    background-color: #0077b6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .red {
    background-color: red;
  }
  
  .yellow {
    background-color: yellow;
  }
  
  .info {
    margin-top: 20px;
  }
  
  #reset {
    margin: 10px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    outline: none;
    background-color: rgb(187, 222, 113);
    border-radius: 10px;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .board {
      grid-template-columns: repeat(7, 60px); 
      gap: 4px;
    }
    .cell {
      width: 60px;
      height: 60px;
    }
    h1 {
      font-size: 1.8rem;
    }
    #reset {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 768px) {
    .board {
      grid-template-columns: repeat(7, 50px); 
      gap: 3px;
    }
    .cell {
      width: 50px;
      height: 50px;
    }
    h1 {
      font-size: 1.5rem;
    }
    #reset {
      font-size: 0.8rem;
    }
  }
  
  @media (max-width: 480px) {
    .board {
      grid-template-columns: repeat(7, 40px); 
      gap: 2px;
    }
    .cell {
      width: 40px;
      height: 40px;
    }
    h1 {
      font-size: 1.2rem;
    }
    #reset {
      font-size: 0.7rem;
    }
  }
  