#tictactoe .board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 5px;
    margin-bottom: 10px;
}
#tictactoe .cell {
    width: 100px;
    height: 100px;
    background: #eee;
    font-size: 2em;
    text-align: center;
    line-height: 100px;
    cursor: pointer;
}


#tictactoe-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
}



.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    background: #eee;
    cursor: pointer;
}

#tictactoe-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  position:relative;
  padding-bottom: 4rem;
}

#tictactoe {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: repeat(3, 100px);
  gap: 5px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#tictactoe-controls {
  margin-top: 20px;
  text-align: center;
  position:absolute;
  width:300px;
  bottom:1rem;
}

#tictactoe .status{
  font-size: 1.2rem;
  margin-bottom: 10px;
  background-color: green;
  color:white;
  border-radius:1rem;
}

#tictactoe .status .emoji {
    margin: 5px 2px;
}

#reset {
  padding: 8px 16px;
  font-size: 1rem;
  cursor: pointer;
}


#difficulty-selector {
  margin-top: 20px;
  text-align: center;
  font-family: sans-serif;
}

#difficulty-selector label {
  font-size: 0.9rem;
  margin-right: 10px;
  color: #333;
  font-weight: 600;
}

#difficulty {
  padding: 6px 12px;
  margin: 5px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease;
}

#difficulty:focus {
  border-color: #0078D7;
  outline: none;
}

.ai-logo {
    width: 80%;
    height: 80%;
    object-fit: contain;
    pointer-events: none;
}
