*{
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body{
    margin:0;
    padding: 0;
    background:linear-gradient(135deg,#8052ec,#d161ff);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

h1{
    font-family: 'Roboto',sans-serif;
    font-size: 60px;
    font-weight: bolder;
    color: white;
    margin: 0;
}

.turn{
    color: white;
    font-weight: bold;
    font-size: large;
}

.gameboard{
    display: grid;
    grid-template:repeat(3,80px)/repeat(3,80px);
    gap: 8px;
}

.gameboard > div{
    background-color: white;
    height: 100%;
    width: 100%;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gameboard > div > span {
  font-size: 40px;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(135deg, #8052ec, #d161ff);
  background-clip: text;
}

body > button{
    display: block;
    color: white;
    background-color: black;
    border: none;
    cursor: pointer;
    font-weight:900;
    font-size: larger;
    padding: 12px 24px;
    border-radius: 12px;
    transition: transform 0.2s ease,box-shadow 0.2s ease;
}

body > button:hover{
    transform: scale(1.08);            
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.result-text{
    color: white;
    font-size: xx-large;
    font-weight: bold;
}

.hidden{
    display: none;
}