/* ========================================
   JOGO DA VELHA - ESTILOS ESPECÍFICOS
   ======================================== */

.tic-tac-toe-game-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.tic-tac-toe-game-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tic-tac-toe-game-btn-start {
    background: #F59E0B !important;
    color: white !important;
}

.tic-tac-toe-game-btn-rules {
    background: #8B5CF6 !important;
    color: white !important;
}

/* Tabuleiro do Jogo da Velha */
.tic-tac-toe-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-width: 300px;
    margin: 0 auto;
}

.tic-tac-toe-cell {
    width: 80px;
    height: 80px;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    background: white;
    transition: background-color 0.2s;
}

.tic-tac-toe-cell:hover {
    background: #f0f0f0;
}

.tic-tac-toe-cell.x {
    color: #ff6b35;
}

.tic-tac-toe-cell.o {
    color: #667eea;
}

/* Ranking do Jogo da Velha */
#ticTacToeRankingDisplay {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #A78BFA, #7C3AED);
    border-radius: 12px;
    padding: 8px;
    margin-top: 8px;
    color: white;
}

#ticTacToeRankingDisplay h4 {
    margin: 0;
    color: white;
    font-size: 13px;
}

#ticTacToeRankingDisplay button {
    background: #A78BFA;
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
}

#ticTacToeRankingList {
    background: white;
    border-radius: 8px;
    padding: 6px;
}

/* Tabuleiro do Jogo da Velha - Desktop */
@media (min-width: 769px) {
    .tic-tac-toe-board {
        max-width: 350px !important;
        margin: 0 auto !important;
    }
    
    .tic-tac-toe-cell {
        width: 90px !important;
        height: 90px !important;
    }
}
