
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.player-card {
    background: white;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 15px;
}

.player-card:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
}

.circle-j1, .x-j2 {
    width: 40px;
    height: 40px;
    -o-object-fit: contain;
    object-fit: contain;
}

.game-board {
    max-width: 400px;
    margin: 0 auto;
}

.quadrado {
    height: 100px;
    border: 2px solid #818182;
    margin: 3px;
    border-radius: 8px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.quadrado img {
    width: 60%;
    height: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -o-object-fit: contain;
    object-fit: contain;
}

.quadrado:hover {
    background-color: #f8f9fa;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.btn {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    width: 180px;
    font-size: 0.9rem;
    margin: 5px;
}

.btn:hover {
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@supports (-webkit-touch-callout: none) {
    .quadrado {
        cursor: default;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .game-board {
        width: 100%;
    }
    .quadrado img {
        position: relative;
        transform: none;
        margin: 10px auto;
    }
}

@media (max-width: 768px) {
   
    .btn {
        width: 150px;
        font-size: 0.8rem;
    }
    
    .player-card h4 {
        font-size: 0.9rem;
    }
    
    .player-card h3 {
        font-size: 1.5rem;
    }
}